wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes stuck with an error while deploying Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "stuck with an error while deploying" Watch "stuck with an error while deploying" New topic
Author

stuck with an error while deploying

vijay anandm
Greenhorn

Joined: Nov 20, 2006
Posts: 4
Hi,

while starting the server using startServer.bat.I got the following error can anybody please help me


11:02:00,535 INFO [Server] Root Deployment Filename: jboss-service.xml
11:02:00,545 INFO [Server] Starting General Purpose Architecture (GPA)...
11:02:00,775 INFO [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc.
11:02:00,775 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_09-b03
,Sun Microsystems Inc.
11:02:00,775 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
11:02:01,106 INFO [Server] Core system initialized
11:02:04,431 WARN [NestedThrowable] Duplicate throwable nesting of same base ty
pe: class org.jboss.deployment.DeploymentException is assignable from: class org
.jboss.deployment.DeploymentException
11:02:04,431 ERROR [MainDeployer] could not create deployment: file:/C:/nextance
/configs/qwest/jboss4/server/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: create operation failed for package fi
le:/C:/nextance/configs/qwest/jboss4/server/conf/jboss-service.xml; - nested thr
owable: (org.jboss.deployment.DeploymentException: Error parsing the XML file, f
rom XMLMetaData: ; - nested throwable: (org.jboss.mx.util.JBossNotCompliantMBean
Exception: Error parsing the XML file, from XMLMetaData: ))
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:227)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
at org.jboss.Main.boot(Main.java:145)
at org.jboss.Main$1.run(Main.java:399)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.deployment.DeploymentException: Error parsing the XML file,
from XMLMetaData: ; - nested throwable: (org.jboss.mx.util.JBossNotCompliantMBe
anException: Error parsing the XML file, from XMLMetaData: )
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:139)
at org.jboss.system.ServiceController.install(ServiceController.java:198
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:204)
... 21 more
Caused by: org.jboss.mx.util.JBossNotCompliantMBeanException: Error parsing the
XML file, from XMLMetaData:
at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:290)
at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:219)
at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:245)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
871)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
290)
at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
317)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:178)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
tor.java:149)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:114)
... 35 more
Caused by: org.dom4j.DocumentException: Could not locate resource: xmdesc/Log4jS
ervice-xmbean.xml Nested exception: Could not locate resource: xmdesc/Log4jServi
ce-xmbean.xml
at org.dom4j.io.SAXReader.read(SAXReader.java:353)
at org.dom4j.io.SAXReader.read(SAXReader.java:236)
at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:245)
... 47 more
Failed to boot JBoss:
org.jboss.deployment.DeploymentException: create operation failed for package fi
le:/C:/nextance/configs/qwest/jboss4/server/conf/jboss-service.xml; - nested thr
owable: (org.jboss.deployment.DeploymentException: Error parsing the XML file, f
rom XMLMetaData: ; - nested throwable: (org.jboss.mx.util.JBossNotCompliantMBean
Exception: Error parsing the XML file, from XMLMetaData: ))
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:227)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
at org.jboss.Main.boot(Main.java:145)
at org.jboss.Main$1.run(Main.java:399)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.deployment.DeploymentException: Error parsing the XML file,
from XMLMetaData: ; - nested throwable: (org.jboss.mx.util.JBossNotCompliantMBe
anException: Error parsing the XML file, from XMLMetaData: )
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:139)
at org.jboss.system.ServiceController.install(ServiceController.java:198
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:204)
... 21 more
Caused by: org.jboss.mx.util.JBossNotCompliantMBeanException: Error parsing the
XML file, from XMLMetaData:
at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:290)
at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:219)
at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:245)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
871)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
290)
at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
317)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:178)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
tor.java:149)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:114)
... 35 more
Caused by: org.dom4j.DocumentException: Could not locate resource: xmdesc/Log4jS
ervice-xmbean.xml Nested exception: Could not locate resource: xmdesc/Log4jServi
ce-xmbean.xml
at org.dom4j.io.SAXReader.read(SAXReader.java:353)
at org.dom4j.io.SAXReader.read(SAXReader.java:236)
at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:245)
... 47 more
11:02:04,651 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
Shutting down
Shutdown complete
Halting VM





can anybody help me in finding the reason for the error
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

To start up jboss you run the "run.bat" file

What version of JBoss are you using. I have many copies of JBoss 4.x versions and none of them have a "startserver.bat" file.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: stuck with an error while deploying