dcsimg
New error while deploying jar file
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   pravallika_rani
Posted On:   Friday, January 13, 2006 03:33 PM

Hi, Today when i deploy my jar file in jboss,i am getting the following error and i dont know how to clear it. 21:23:13,375 ERROR [XmlFileLoader] Invalid XML: file=jar:file:/C:/java/jboss-4.0 .2/server/default/tmp/deploy/tmp36980publisher-ejb.jar!/META-INF/ejb-jar.xml@20: 1 org.xml.sax.SAXParseException: A pseudo attribute name is expected. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:313) at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:257) at org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.jav    More>>

Hi,
Today when i deploy my jar file in jboss,i am getting the following error and i dont know how to clear it.

21:23:13,375 ERROR [XmlFileLoader] Invalid XML: file=jar:file:/C:/java/jboss-4.0
.2/server/default/tmp/deploy/tmp36980publisher-ejb.jar!/META-INF/ejb-jar.xml@20:
1
org.xml.sax.SAXParseException: A pseudo attribute name is expected.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:313)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:257)
at org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.jav
a:229)
at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:147)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:484)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:325)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:501)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:215)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:194)
21:23:13,395 ERROR [MainDeployer] could not create deployment: file:/C:/java/jbo
ss-4.0.2/server/default/deploy/publisher-ejb.jar
org.jboss.deployment.DeploymentException: Invalid XML: file=jar:file:/C:/java/jb
oss-4.0.2/server/default/tmp/deploy/tmp36980publisher-ejb.jar!/META-INF/ejb-jar.
xml@20:1; - nested throwable: (org.xml.sax.SAXParseException: A pseudo attribute
name is expected. )
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:328)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:257)
at org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.jav
a:229)
at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:147)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:484)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:325)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:501)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:215)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:194)
Caused by: org.xml.sax.SAXParseException: A pseudo attribute name is expected.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:313)
... 25 more

It does not run anymore
any help please
thanks

   <<Less

Re: New error while deploying jar file

Posted By:   ankush_purwar  
Posted On:   Monday, January 16, 2006 02:21 PM

It seems there is something wrong with your ejb-jar.xml.
Check it there ?
About | Sitemap | Contact