dcsimg
org.jboss.deployment.DeploymentException: Invalid XML: file=META-INF/jboss.xml@40
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   k_thils
Posted On:   Saturday, February 11, 2006 02:08 AM

Hi.. i am using jboss-4.0.3 with MySQL 5.0. when i try to deploy my jar file(MDB and JMS) It gives the goll exception .. Can anyone help me to solve this? 2003-09-03 01:26:40,343 ERROR [org.jboss.deployment.MainDeployer] Could not initialise deployment: file:/D:/jboss/jboss-4.0.3/server/default/deploy/ims.jar org.jboss.deployment.DeploymentException: Invalid XML: file=META-INF/jboss.xml@40:1; - nested throwable: (org.xml.sax.SAXParseException: Invalid encoding name "Cp1252".) at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:327) at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:257) at org.jboss.ejb.EJBDeployer.init(EJBDeploy   More>>

			
Hi..
i am using jboss-4.0.3 with MySQL 5.0.
when i try to deploy my jar file(MDB and JMS)

It gives the goll exception ..
Can anyone help me to solve this?


2003-09-03 01:26:40,343 ERROR [org.jboss.deployment.MainDeployer] Could not initialise deployment: file:/D:/jboss/jboss-4.0.3/server/default/deploy/ims.jar
org.jboss.deployment.DeploymentException: Invalid XML: file=META-INF/jboss.xml@40:1; - nested throwable: (org.xml.sax.SAXParseException: Invalid encoding name "Cp1252".)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:327)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:257)
at org.jboss.ejb.EJBDeployer.init(EJBDeployer.java:447)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy24.init(Unknown Source)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:843)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182)
Caused by: org.xml.sax.SAXParseException: Invalid encoding name "Cp1252".
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)
... 38 more
2003-09-03 01:26:40,375 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@ebe0617d{ url=file:/D:/jboss/jboss-4.0.3/server/default/deploy/ims.jar, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: Invalid XML: file=META-INF/jboss.xml@40:1; - nested throwable: (org.xml.sax.SAXParseException: Invalid encoding name "Cp1252".)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:327)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:257)


   <<Less

Re: org.jboss.deployment.DeploymentException: Invalid XML: file=META-INF/jboss.xml@40

Posted By:   ankush_purwar  
Posted On:   Monday, February 13, 2006 01:50 PM

Try to check your jboss.xml inside the meta-inf directory.
and see the encoding scheme that you have used in the xml.
About | Sitemap | Contact