File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Problems with deployment of an EAR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Problems with deployment of an EAR" Watch "Problems with deployment of an EAR" New topic
Author

Problems with deployment of an EAR

Sarat Burle
Greenhorn

Joined: Aug 12, 2004
Posts: 4
I am trying to deploy an EAR on WAS 4.0. The EAR has Web and EJB components. While deploying the EJB, I get the following error:

[04.08.12 18:33:49:867 GMT+05:30] 6dd12eeb Server W WSVR0013W: Module, com.ibm.ejs.models.base.config.applicationserver.impl.EJBModuleRefImpl (desiredExecutionState: START) (uri: InterfacesEngineEJB.jar), failed to start
java.io.FileNotFoundException: InterfacesEngineEJB.jar
at com.ibm.etools.commonarchive.impl.ContainerImpl.getFile(ContainerImpl.java(Compiled Code))
at com.ibm.etools.commonarchive.impl.EARFileImpl.getModuleFile(EARFileImpl.java(Compiled Code))
at com.ibm.ws.runtime.Server.startModule(Server.java:570)
at com.ibm.ws.runtime.Server.startApplication(Server.java:399)
at com.ibm.ejs.sm.util.debug.DrAdminServer.basicStartApplication(DrAdminServer.java:2311)
at com.ibm.ejs.sm.util.debug.DrAdminServer.startApplication(DrAdminServer.java:2276)
at com.ibm.ejs.sm.util.debug.DrAdminServer.handleStartApplication(DrAdminServer.java:1272)
at com.ibm.ejs.sm.util.debug.DrAdminServer.processMethod(DrAdminServer.java:744)
at com.ibm.ejs.sm.util.debug.DrAdminServer.processRequest(DrAdminServer.java:603)
at com.ibm.ejs.sm.util.debug.DrAdminServer.processRequest(DrAdminServer.java:555)
at com.ibm.ejs.sm.util.debug.DrAdminServer.listen(DrAdminServer.java:504)
at com.ibm.ejs.sm.util.debug.DrAdminServer$ServerRunner.run(DrAdminServer.java:243)

Any idea??
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Your EAR file can deploy in another application server such as JBoss, J2EE RI or not ???

And

Please check in xml file such as application.xml


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
Did you include all necessary JAR file in MANIFEST.MF as well?

It seems that WAS cannot locate your JAR files. Please check also the classpath and the project dependency to make sure that you have included the JAR files.

Nick


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Vijay S. Rathore
Ranch Hand

Joined: Oct 29, 2001
Posts: 449
Sharat,

This definitely is the problem of classpath. If your web module is making a reference to some ejb modules then you must include the ejb modules in the Manifest.mf file of web module, under Class-Path
Failed to start java.io.FileNotFoundException: InterfacesEngineEJB.jar

For example: update the Web module�s Manifest.mf like this:
Manifest-Version: 1.0
Class-Path: InterfacesEngineEJB.jar


SCJP, SCJD, SCWCD1.4, IBM486, IBM484, IBM 483, IBM 287, IBM141, IBM Certified Enterprise Developer - WebSphere Studio, V5.0
Author of IBM 287 Simulator Exam
 
 
subject: Problems with deployment of an EAR