Discussion:
question on EAR deployment
(too old to reply)
neoedmund
2008-07-02 04:41:08 UTC
Permalink
My EAR includes WAR, EJB JAR,和common lib jars.
common lib jars is both used by WAR and EJB JAR.
I delpoy the EAR on weblogic 9.2
1. i add commonLib.jar in application.xml ,using <module><java>
it doesnt work, because it says ejb jar cannot find classes in
commonLib.jar.
<module><java> seems not working on weblogic as excepected?

2. I add Class-Path: commonLib.jar in MANIFEST.MF in Ejb jar. This
time, it
seem's common classes is found but it says:
weblogic.ejb.container.deployer.DeploymentDescriptorException which
lacks a String contructor, original message - Unable to load a class
specified in your ejb-jar.xml:xxx.yyy.Zzz

Right now,i am using the "undeployable" way, I add commonLib.jar in
the classpath of weblogic start script, and deploy Ejb and Webapp
seperatly, it works but is not a profesional way.

So, can you help with this EAR deployment problem?
earlyfly
2008-07-02 08:37:29 UTC
Permalink
Loading...