|
From: Anand H. <an...@gm...> - 2008-11-21 01:10:39
|
Hi, I am facing a wierd error that fails to deploy an ejb library inside my ear when I try to start JBOSS through Tanuki Wrapper only. The error is about 16:54:46,218 ERROR [MainDeployer] Could not create deployment: file:/D:/PSI-OPS-HOME/servers/ jboss-4.2.3.GA/server/default/deploy/atlas-lc-ops.ear/corecccejb-1.0.jar INFO | jvm 1 | 2008/11/18 16:54:46 | org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the right xml schema or define a valid DOCTYPE! INFO | jvm 1 | 2008/11/18 16:54:46 | at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:339) INFO | jvm 1 | 2008/11/18 16:54:46 | at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:166) INFO | jvm 1 | 2008/11/18 16:54:46 | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:541) INFO | jvm 1 | 2008/11/18 16:54:46 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2008/11/18 16:54:46 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO | jvm 1 | 2008/11/18 16:54:46 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 1 | 2008/11/18 16:54:46 | at java.lang.reflect.Method.invoke(Method.java:597) Although this seems that there is an error in my deployment descriptor, the same ejb library is deployed succesfully when I start JBOSS through console by using run.bat. The error is the same even when I use wrapper in console based mode. Has any faced a similar problem before. ? Any pointers or solutions are most welcome. Thanks, Anand |