• 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

Newbie deployment problem ..Please help !

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Group,

I am taking my first steps in creating EJBs with Websphere App Server Version 6 on Windows). I followed an EJB example on the book "An introduction to IBM rational Developer - J.Fung" and when I start the server, the following 2 exceptions is thrown on the console.

If somebody could help me with clearing up the following exception, that would be great. Also, I'd appreciate any help to light up the way.

Thanks,
Aravind

----------------------- First Exception ------------------------

[7/14/05 14:07:24:843 EDT] 0000003d SystemErr R
*** ERROR ***: Thu Jul 14 14:07:24 EDT 2005 com.ibm.etools.j2ee.commonarchivecore.exception.OpenFailureException: IWAE0023E Unable to open module file "Ch6Tutorial1CollegeEJB.jar" in EAR file "C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\config\cells/ttdffxd-aelangoNode03Cell/applications/Ch6Tutorial1CollegeEJBEAR.ear\deployments\Ch6Tutorial1CollegeEJBEAR"
!Stack_trace_of_nested_exce!
com.ibm.etools.j2ee.commonarchivecore.exception.OpenFailureException: IWAE0006E Archive is not a valid EJB JAR File because the deployment descriptor can not be found (case sensitive): META-INF/ejb-jar.xml
IWAE0055E Archive is not a valid EJB JAR file (1.0) because no serialized deployment descriptors can be found, either in the manifest or in entries with a ".ser" extension
at com.ibm.etools.j2ee.commonarchivecore.impl.CommonarchiveFactoryImpl.openSpecificArchive(CommonarchiveFactoryImpl.java:724)
and ....more lines

----------------------- Second Exception -------------------------
[7/14/05 14:15:07:265 EDT] 00000029 SystemErr R
*** ERROR ***: Thu Jul 14 14:15:07 EDT 2005 com.ibm.etools.j2ee.commonarchivecore.exception.OpenFailureException: IWAE0023E Unable to open module file "Ch6Tutorial1CollegeEJB.jar" in EAR file "C:\ProgramFiles\IBM\Rational\SDP\6.0runtimes\base_v6/profiles/default\wstemp\1121364906140\workspace\cells\ttdffxd-aelangoNode03Cell\applications\Ch6Tutorial1CollegeEJBEAR.ear\deployments\Ch6Tutorial1CollegeEJBEAR"
!Stack_trace_of_nested_exce!
com.ibm.etools.j2ee.commonarchivecore.exception.OpenFailureException: IWAE0006E Archive is not a valid EJB JAR File because the deployment descriptor can not be found (case sensitive): META-INF/ejb-jar.xml
IWAE0055E Archive is not a valid EJB JAR file (1.0) because no serialized deployment descriptors can be found, either in the manifest or in entries with a ".ser" extension
at com.ibm.etools.j2ee.commonarchivecore.impl.CommonarchiveFactoryImpl.openSpecificArchive(CommonarchiveFactoryImpl.java:724)
 
Aravind Elango
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I forgot to add something important. I am using Rational Eclipse to create the EJB and also using the inbuilt WebSphere server.
 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It clearly saying that it is not finding the ejb-jar.xml (deployment descriptor for the EJB project) which needs to be META-INF folder of ejbModule.
 
Aravind Elango
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I think my question was more on Rational rather than websphere Apologies if I wasnt sure earlier. I am kinda wondering what actions needed to be taken for deployment or even starting the server.

All that I've done (In Rational App. Developer) is to create an EJB project, a bean and mapped the datasources/jndi etc. When I start the server, the above exceptions get thrown. I am not sure if there is something like the "Export' step that I am missing.

Thanks,
Aravind
 
reply
    Bookmark Topic Watch Topic
  • New Topic