[jboss-user] [Installation, Configuration & Deployment] - Change boot library jars
hitman_in_wis
do-not-reply at jboss.com
Tue May 15 16:02:32 EDT 2007
Supposedly you should be able to set the jboss.boot.library.list property when starting up the server in order to override the defaults. If I look at the Jboss code at http://www.cenqua.com/clover/eg/jboss/report/org/jboss/system/server/ServerLoader.html and
http://www.cenqua.com/clover/eg/jboss/report/org/jboss/system/server/ServerConfig.html, it certainly seems to be the case.
However, no matter what I set jboss.boot.library.list equal to, even if I copy and paste the default of jaxp.jar,log4j-boot.jar,jboss-common.jar,jboss-system.jar, I always get a deployment exception:
14:54:13,098 DEBUG [Server] Failed to create xmbean for: org.jboss.system.ServiceController
| 14:54:13,118 WARN [BasicMBeanRegistry] preRegister() failed for jboss.system:service=ServiceController:
| java.lang.NoClassDefFoundError: org/jboss/xb/binding/sunday/unmarshalling/SchemaBindingResolver
| at org.jboss.system.ServiceController.preRegister(ServiceController.java:749)
| at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:966)
| at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:489)
| at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:654)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
| 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.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
| at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:295)
| at org.jboss.system.server.ServerImpl.createMBean(ServerImpl.java:543)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:442)
| 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:490)
| at java.lang.Thread.run(Thread.java:595)
| 14:54:13,168 INFO [ServiceController] Registration of ServiceController failed
| 14:54:13,168 DEBUG [Server] Failed to start
| javax.management.NotCompliantMBeanException: Cannot register MBean: jboss.system:service=ServiceController
| at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:314)
| 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.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
| at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:295)
| at org.jboss.system.server.ServerImpl.createMBean(ServerImpl.java:543)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:442)
| 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:490)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: javax.management.RuntimeErrorException
| at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:725)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
| ... 22 more
| Caused by: java.lang.NoClassDefFoundError: org/jboss/xb/binding/sunday/unmarshalling/SchemaBindingResolver
| at org.jboss.system.ServiceController.preRegister(ServiceController.java:749)
| at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:966)
| at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:489)
| at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:654)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
| ... 23 more
|
Anyone know what I am doing wrong? Does the property need to be set somewhere other than the command line within the 'java' command?
Thanks!
-Brett
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045936#4045936
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045936
More information about the jboss-user
mailing list