• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deploy unders WSAD but not under WAS

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I will appreciate your help for the following problem: I'm having troubles to deploy un EAR unders WAS although it is generated by WSAD and deploy with no probleme under the test environement of WSAD. I'm getting 2 different errors unders WAS 4.0 and WAS 5.0 as following:
Unders WAS.4 I'm getting this:
===============================
U Building: /Deployed_integraEntity.jar.
[28.03.03 10:51:02:136 CET] 3e963dfb SystemOut U Invoking Java Builder on /Deployed_integraEntity.jar.
[28.03.03 10:51:02:261 CET] 3e963dfb SystemOut U Scrubbing output folder
[28.03.03 10:51:02:308 CET] 3e963dfb SystemOut U Analyzing packages
[28.03.03 10:51:02:324 CET] 3e963dfb SystemOut U Analyzing sources
[28.03.03 10:51:02:808 CET] 3e963dfb SystemOut U Copying all resources on the classpath
[28.03.03 10:51:03:668 CET] 3e963dfb SystemOut U Build done.
[28.03.03 10:51:03:730 CET] 3e963dfb SystemOut U Java build completed
[28.03.03 10:51:04:058 CET] 3e963dfb SystemOut U An unexpected exception was thrown. Halting execution.
[28.03.03 10:51:04:074 CET] 3e963dfb SystemOut U Shutting down workbench.
[28.03.03 10:51:04:215 CET] 3e963dfb SystemOut U delete with no primary key
[28.03.03 10:51:04:293 CET] 3e963dfb SystemOut U >com.ibm.etools.ejbdeploy.EJBDeploymentException (delete with no primary key)
[28.03.03 10:51:04:324 CET] 3e963dfb SystemOut U >com.ibm.etools.codegen.api.GenerationException (delete with no primary key)
[28.03.03 10:51:04:340 CET] 3e963dfb SystemOut U com.ibm.ObjectQuery.QueryException: delete with no primary key

And unders WAS 5.0,
===================
EJB deploy without any probleme but JSP dosesn't compile although it compiles well unders WAS4 and WSAD: Here is what I'm getting:
D:/home/nso/LOCALS~1/Temp/app_f433e0df6a/ear/integraWeb.war/WEB-INF/classes/customeradvice/blocs/_displayGeneralParameters.java:327: cannot resolve symbol
symbol : method setFormatKey (java.lang.String)
location: class org.apache.struts.taglib.bean.WriteTag
[28.03.03 10:07:28:210 CET] 1f9a0bc2 SystemErr R _jspx_th_bean_write_1.setFormatKey("format.date");
[28.03.03 10:07:28:210 CET] 1f9a0bc2 SystemErr R ^
[28.03.03 10:07:28:210 CET] 1f9a0bc2 SystemErr R D:/home/nso/LOCALS~1/Temp/app_f433e0df6a/ear/integraWeb.war/WEB-INF/classes/customeradvice/blocs/_displayGeneralParameters.java:439: cannot resolve symbol
symbol : method setFormatKey (java.lang.String)
location: class org.apache.struts.taglib.bean.WriteTag
[28.03.03 10:07:28:210 CET] 1f9a0bc2 SystemErr R _jspx_th_bean_write_2.setFormatKey("format.rate");
[28.03.03 10:07:28:210 CET] 1f9a0bc2 SystemErr R ^
[28.03.03 10:07:28:210 CET] 1f9a0bc2 SystemErr R D:/home/nso/LOCALS~1/Temp/app_f433e0df6a/ear/integraWeb.war/WEB-INF/classes/customeradvice/blocs/_displayGeneralParameters.java:477: cannot resolve symbol
symbol : method setFormatKey (java.lang.String)
location: class org.apache.struts.taglib.bean.WriteTag
[28.03.03 10:07:28:210 CET] 1f9a0bc2 SystemErr R _jspx_th_bean_write_3.setFormatKey("format.rate");
[28.03.03 10:07:28:210 CET] 1f9a0bc2 SystemErr R ^
[28.03.03 10:07:28:257 CET] 1f9a0bc2 SystemErr R D:/home/nso/LOCALS~1/Temp/app_f433e0df6a/ear/integraWeb.war/WEB-INF/classes/customeradvice/blocs/_displayGeneralParameters.java:1200: cannot resolve symbol
symbol : method setFormatKey (java.lang.String)
location: class org.apache.struts.taglib.bean.WriteTag
[28.03.03 10:07:28:257 CET] 1f9a0bc2 SystemErr R _jspx_th_bean_write_9.setFormatKey("format.amount");
[28.03.03 10:07:28:257 CET] 1f9a0bc2 SystemErr R ^
[28.03.03 10:07:28:273 CET] 1f9a0bc2 SystemErr R D:/home/nso/LOCALS~1/Temp/app_f433e0df6a/ear/integraWeb.war/WEB-INF/classes/customeradvice/blocs/_displayGeneralParameters.java:1300: cannot resolve symbol
symbol : method setFormatKey (java.lang.String)
location: class org.apache.struts.taglib.bean.WriteTag
[28.03.03 10:07:28:273 CET] 1f9a0bc2 SystemErr R _jspx_th_bean_write_10.setFormatKey("format.amount");
[28.03.03 10:07:28:273 CET] 1f9a0bc2 SystemErr R ^
[28.03.03 10:07:28:273 CET] 1f9a0bc2 SystemErr R D:/home/nso/LOCALS~1/Temp/app_f433e0df6a/ear/integraWeb.war/WEB-INF/classes/customeradvice/blocs/_displayGeneralParameters.java:1383: cannot resolve symbol
symbol : method setFormatKey (java.lang.String)
location: class org.apache.struts.taglib.bean.WriteTag
[28.03.03 10:07:28:273 CET] 1f9a0bc2 SystemErr R _jspx_th_bean_write_11.setFormatKey("format.rate");
[28.03.03 10:07:28:273 CET] 1f9a0bc2 SystemErr R ^
[28.03.03 10:07:28:304 CET] 1f9a0bc2 SystemErr R D:/home/nso/LOCALS~1/Temp/app_f433e0df6a/ear/integraWeb.war/WEB-INF/classes/customeradvice/blocs/_displayIndividualParameters.java:377: cannot resolve symbol
symbol : method setFormatKey (java.lang.String)
location: class org.apache.struts.taglib.bean.WriteTag
[28.03.03 10:07:28:304 CET] 1f9a0bc2 SystemErr R _jspx_th_bean_write_2.setFormatKey("format.amount");
The EAR contains all necessary Struts jars.
Thank you for your help
Nader
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the same problem,

Struts 1.1
WSAD 5.1.2, Win XP
WebSphere 5.1, Linux RedHat
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mikhail,
Welcome to JavaRanch!

Check the classloader settings are the same on the WSAD and WAS servers.
 
Mikhail Kotliar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jeanne,

settings are the same: Classloader mode PARENT_FIRST, Web classloader policy MODULE.

I deploy an EAR which contains 2 WARs, 2 EJBs and 15..20 jars. struts.jar is in /WEB_INF/lib of one of WARs
 
You totally ruined the moon. You're gonna hafta pay for that you know. This tiny ad agrees:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic