[jboss-user] [Installation, Configuration & DEPLOYMENT] - Error on Jboss 4.2.2

amitsh do-not-reply at jboss.com
Tue Jul 1 06:18:23 EDT 2008


HI Friends,

I have been working towards migrating from Jboss 4.0.2 to Jboss 4.2.2.

Now for some details we have three different server configured using the binding.xml Where one server handles web requests, One where we have our sessions beans and other where we have our web server Api.

As earlier we were using Jboss 4.0.2 we are unable to have the latest jboss portal bundled. which has resulted in doing the migration from 4.0.2 to 4.2.2

Now just to start I just followed the build process which creates the servers for me inside jboss-4.2.2/server folder.

Just to test whether things work on jboss-4.2.2, I am just starting one of the server without deploying any of our application code.

But this give me the below error and server stops.
stack trace


  | 
  | 14:56:49,083 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 14:56:49,083 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
  | 14:56:49,083 INFO  [Server] Home Dir: D:\server\jboss-4.2.2
  | 14:56:49,099 INFO  [Server] Home URL: file:/D:/server/jboss-4.2.2/
  | 14:56:49,099 INFO  [Server] Patch URL: null
  | 14:56:49,099 INFO  [Server] Server Name: Business
  | 14:56:49,099 INFO  [Server] Server Home Dir: D:\server\jboss-4.2.2\server\Business
  | 14:56:49,099 INFO  [Server] Server Home URL: file:/D:/server/jboss-4.2.2/server/Business/
  | 14:56:49,099 INFO  [Server] Server Log Dir: D:\server\jboss-4.2.2\server\Business\log
  | 14:56:49,099 INFO  [Server] Server Temp Dir: D:\server\jboss-4.2.2\server\Business\tmp
  | 14:56:49,208 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 14:56:49,911 INFO  [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc.
  | 14:56:49,911 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_09-b03,Sun Microsystems Inc.
  | 14:56:49,911 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
  | Failed to boot JBoss:
  | org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
  | 	at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
  | 	at org.jboss.system.ServiceController.install(ServiceController.java:226)
  | 	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:585)14:56:50,474 INFO  [Server] Core system initialized
  | 14:56:52,083 INFO  [SystemPropertiesService] Loaded system properties from: file:/D:/server//properties/business.properties
  | 14:56:52,083 INFO  [SystemPropertiesService] Loaded system properties from: file:/D:/server//properties/reporting.properties
  | 14:56:52,083 INFO  [SystemPropertiesService] Loaded system properties from: file:/D:/server//license/License.properties
  | 14:56:52,817 ERROR [MainDeployer] Could not create deployment: file:/D:/server/jboss-4.2.2/server/Business/conf/jboss-service.xml
  | org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
  | 	at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
  | 	at org.jboss.system.ServiceController.install(ServiceController.java:226)
  | 	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:585)
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 	at $Proxy4.install(Unknown Source)
  | 	at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
  | 	at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
  | 	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:585)
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 	at $Proxy5.deploy(Unknown Source)
  | 	at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
  | 	at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
  | 	at org.jboss.Main.boot(Main.java:200)
  | 	at org.jboss.Main$1.run(Main.java:508)
  | 	at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.lang.reflect.UndeclaredThrowableException
  | 	at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)
  | 	at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
  | 	at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
  | 	... 36 more
  | Caused by: java.lang.NoClassDefFoundError: org/jboss/xml/binding/ObjectModelFactory
  | 	at org.jboss.security.auth.login.XMLLoginConfig.<init>(XMLLoginConfig.java:33)
  | 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  | 	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  | 	at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1233)
  | 	at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
  | 	at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
  | 	at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
  | 	... 38 more
  | 
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 	at $Proxy4.install(Unknown Source)
  | 	at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
  | 	at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
  | 	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:585)
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 	at $Proxy5.deploy(Unknown Source)
  | 	at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
  | 	at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
  | 	at org.jboss.Main.boot(Main.java:200)
  | 	at org.jboss.Main$1.run(Main.java:508)
  | 	at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.lang.reflect.UndeclaredThrowableException
  | 	at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)
  | 	at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
  | 	at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
  | 	... 36 more
  | Caused by: java.lang.NoClassDefFoundError: org/jboss/xml/binding/ObjectModelFactory
  | 	at org.jboss.security.auth.login.XMLLoginConfig.<init>(XMLLoginConfig.java:33)
  | 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)14:56:52,880 INFO  [Server] Runtime shutdown hook called, forceHalt: true
  | 14:56:52,880 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
  | 14:56:52,880 INFO  [Server] Shutdown complete
  | Shutdown complete
  | Halting VM
  | 
  | 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  | 	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  | 	at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1233)
  | 	at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
  | 	at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
  | 	at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
  | 	... 38 more
  | 
  | 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161718#4161718

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161718



More information about the jboss-user mailing list