• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

stuck with an error while deploying

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic