It's not a secret anymore!
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

Problems with deployment of an EAR

Sarat Burle

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, (desiredExecutionState: START) (uri: InterfacesEngineEJB.jar), failed to start InterfacesEngineEJB.jar
at Code))
at Code))

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 ???


Please check in xml file such as application.xml

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.


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

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 file of web module, under Class-Path
Failed to start InterfacesEngineEJB.jar

For example: update the Web module�s 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
I agree. Here's the link:
subject: Problems with deployment of an EAR
It's not a secret anymore!