Guest_imported
New member
- Jan 1, 1970
- 0
Hi there,
I'm gettin the following error while deploying the EJB in weblogic5.1.0.I got ejbc jar file correctly for this and when i start the server(startweblogic) only i'm gettin this error.If any one have some soluation for the below error pl'z forward me
thax in adv
/*******************************************
Sat Feb 26 11:09:23 EST 2000:<I> <EJB> Enterprise JavaBeans initializing
Sat Feb 26 11:09:25 EST 2000:<E> <EJB> Could not deploy: 'D:/ejb+mail/ejb-eg/bea
demo/newbea.jar': file is not a valid jar file, or does not
contain a valid bean
weblogic.ejb.common.DeploymentException: DeploymentException opening JAR file D:
\ejb+mail\ejb-eg\beademo\newbea.jar; nested exception is:
weblogic.ejb.deployment.JarLoadException - with nested exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment D:/ejb+mai
l/ejb-eg/beademo/newbea.jar from D:\ejb+mail\ejb-eg\beademo\newbea.jar; nested e
xception is:
java.lang.ClassCastException: com.sun.xml.tree.TextNode]
weblogic.ejb.common.DeploymentException: Problem creating deployment D:/ejb+mail
/ejb-eg/beademo/newbea.jar from D:\ejb+mail\ejb-eg\beademo\newbea.jar; nested ex
ception is:
java.lang.ClassCastException: com.sun.xml.tree.TextNode
java.lang.ClassCastException: com.sun.xml.tree.TextNode
at weblogic.xml.dom.DOMUtils.getOptionalElementsByTagName(DOMUtils.java:
204)
at weblogic.xml.dom.DOMUtils.getOptionalElementByTagName(DOMUtils.java:1
70)
at weblogic.xml.dom.DOMUtils.getOptionalValueByTagName(DOMUtils.java:97)
at weblogic.ejb.deployment.dd.EJBReadDOM.getDescriptionValue(EJBReadDOM.
java:404)
at weblogic.ejb.deployment.dd.DescriptorLoader.createDeploymentUnit(Desc
riptorLoader.java:200)
at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:113)
at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:85)
at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java
:344)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:21
1)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:18
2)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:16
4)
at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java
:172)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
22)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
12)
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java:
629)
at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1295)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
--------------- nested within: ------------------
weblogic.ejb.deployment.JarLoadException - with nested exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment D:/ejb+mai
l/ejb-eg/beademo/newbea.jar from D:\ejb+mail\ejb-eg\beademo\newbea.jar; nested e
xception is:
java.lang.ClassCastException: com.sun.xml.tree.TextNode]
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:313)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java:
629)
at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1295)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
Sat Feb 26 11:09:25 EST 2000:<I> <EJB> 0 EJB jar files loaded, containing 0 EJBs
Sat Feb 26 11:09:25 EST 2000:<I> <EJB> 0 deployed, 0 failed to deploy.
Sat Feb 26 11:09:26 EST 2000:<I> <ZAC> ZAC ACLs initialized
Sat Feb 26 11:09:26 EST 2000:<I> <ZAC> ZAC packages stored in local directory ex
ports
Sat Feb 26 11:09:26 EST 2000:<I> <ListenThread> Listening on port: 7001
Sat Feb 26 11:09:26 EST 2000:<A> <Posix Performance Pack> Could not initialize P
OSIX Performance Pack.
Sat Feb 26 11:09:26 EST 2000:<E> <Performance Pack> Unable to load performance p
ack, using Java I/O.
Sat Feb 26 11:09:27 EST 2000:<I> <WebLogicServer> WebLogic Server started
********************************************/
regards,
Riyaz
I'm gettin the following error while deploying the EJB in weblogic5.1.0.I got ejbc jar file correctly for this and when i start the server(startweblogic) only i'm gettin this error.If any one have some soluation for the below error pl'z forward me
thax in adv
/*******************************************
Sat Feb 26 11:09:23 EST 2000:<I> <EJB> Enterprise JavaBeans initializing
Sat Feb 26 11:09:25 EST 2000:<E> <EJB> Could not deploy: 'D:/ejb+mail/ejb-eg/bea
demo/newbea.jar': file is not a valid jar file, or does not
contain a valid bean
weblogic.ejb.common.DeploymentException: DeploymentException opening JAR file D:
\ejb+mail\ejb-eg\beademo\newbea.jar; nested exception is:
weblogic.ejb.deployment.JarLoadException - with nested exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment D:/ejb+mai
l/ejb-eg/beademo/newbea.jar from D:\ejb+mail\ejb-eg\beademo\newbea.jar; nested e
xception is:
java.lang.ClassCastException: com.sun.xml.tree.TextNode]
weblogic.ejb.common.DeploymentException: Problem creating deployment D:/ejb+mail
/ejb-eg/beademo/newbea.jar from D:\ejb+mail\ejb-eg\beademo\newbea.jar; nested ex
ception is:
java.lang.ClassCastException: com.sun.xml.tree.TextNode
java.lang.ClassCastException: com.sun.xml.tree.TextNode
at weblogic.xml.dom.DOMUtils.getOptionalElementsByTagName(DOMUtils.java:
204)
at weblogic.xml.dom.DOMUtils.getOptionalElementByTagName(DOMUtils.java:1
70)
at weblogic.xml.dom.DOMUtils.getOptionalValueByTagName(DOMUtils.java:97)
at weblogic.ejb.deployment.dd.EJBReadDOM.getDescriptionValue(EJBReadDOM.
java:404)
at weblogic.ejb.deployment.dd.DescriptorLoader.createDeploymentUnit(Desc
riptorLoader.java:200)
at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:113)
at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:85)
at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java
:344)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:21
1)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:18
2)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:16
4)
at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java
:172)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
22)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
12)
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java:
629)
at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1295)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
--------------- nested within: ------------------
weblogic.ejb.deployment.JarLoadException - with nested exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment D:/ejb+mai
l/ejb-eg/beademo/newbea.jar from D:\ejb+mail\ejb-eg\beademo\newbea.jar; nested e
xception is:
java.lang.ClassCastException: com.sun.xml.tree.TextNode]
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:313)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java:
629)
at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1295)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
Sat Feb 26 11:09:25 EST 2000:<I> <EJB> 0 EJB jar files loaded, containing 0 EJBs
Sat Feb 26 11:09:25 EST 2000:<I> <EJB> 0 deployed, 0 failed to deploy.
Sat Feb 26 11:09:26 EST 2000:<I> <ZAC> ZAC ACLs initialized
Sat Feb 26 11:09:26 EST 2000:<I> <ZAC> ZAC packages stored in local directory ex
ports
Sat Feb 26 11:09:26 EST 2000:<I> <ListenThread> Listening on port: 7001
Sat Feb 26 11:09:26 EST 2000:<A> <Posix Performance Pack> Could not initialize P
OSIX Performance Pack.
Sat Feb 26 11:09:26 EST 2000:<E> <Performance Pack> Unable to load performance p
ack, using Java I/O.
Sat Feb 26 11:09:27 EST 2000:<I> <WebLogicServer> WebLogic Server started
********************************************/
regards,
Riyaz