[jboss-user] [Advanced Documentation] - Switch from JBoss 3.0.5 to JBoss 4.0.5

techdev do-not-reply at jboss.com
Fri Sep 4 01:06:10 EDT 2009


Hi,

I am switching an application from JBoss3.0.5 to JBoss4.2.3 as well JDK1.3 to JDK1.5.

I have installed GA version of JBoss4.2.3 and ported this application. On starting the JBoss4.2.3 Application server, I get the following error:

13:17:31,040 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
13:17:31,040 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
13:17:31,040 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
13:17:31,040 INFO  [ServiceConfigurator] Problem configuring service jboss:type=Service,name=BootstrapEditors
org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute at 17f409c on mbean jboss:type=Service,name=BootstrapEditors; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.util.propertyeditor.ObjectNameEditor)
	at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:707)
	at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332)
	at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:462)
	at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
	at org.jboss.system.ServiceController.install(ServiceController.java:226)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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:251)
	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(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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 $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(Unknown Source)
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.util.propertyeditor.ObjectNameEditor
	at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
	at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
	at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at org.jboss.varia.property.PropertyEditorManagerService.registerEditor(PropertyEditorManagerService.java:100)
	at org.jboss.varia.property.PropertyEditorManagerService.setEditors(PropertyEditorManagerService.java:194)
	at org.jboss.varia.property.PropertyEditorManagerService.setBootstrapEditors(PropertyEditorManagerService.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:136)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:103)
	at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461)
	at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:608)
	at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:703)
	... 36 more

but looking at the similar line when the JBoss3.0.5 runs, its as follows:
04:21:56,755 DEBUG [SARDeployer] Deploying SAR, create step: url file:/D:/Java/jboss-3.0.5/server/grmbs/conf/jboss-service.xml
04:21:56,755 DEBUG [SARDeployer] Registering service UCL=jmx.loading:UCL=3c1b02
04:21:56,755 DEBUG [ServiceCreator] About to create bean: jboss:type=Service,name=BootstrapEditors
04:21:56,755 DEBUG [ServiceCreator] code: org.jboss.varia.property.PropertyEditorManagerService
04:21:56,833 DEBUG [ServiceCreator] Created bean: jboss:type=Service,name=BootstrapEditors
04:21:57,146 DEBUG [ServiceConfigurator] BootstrapEditors set to java.math.BigDecimal=org.jboss.util.propertyeditor.BigDecimalEditor
       java.lang.Boolean=org.jboss.util.propertyeditor.BooleanEditor
       java.lang.Class=org.jboss.util.propertyeditor.ClassEditor
       java.util.Date=org.jboss.util.propertyeditor.DateEditor
       java.io.File=org.jboss.util.propertyeditor.FileEditor
       java.net.InetAddress=org.jboss.util.propertyeditor.InetAddressEditor
       java.lang.Integer=org.jboss.util.propertyeditor.IntegerEditor
       javax.management.ObjectName=org.jboss.util.propertyeditor.ObjectNameEditor
       java.util.Properties=org.jboss.util.propertyeditor.PropertiesEditor
       [Ljava.lang.String;=org.jboss.util.propertyeditor.StringArrayEditor
       java.net.URL=org.jboss.util.propertyeditor.URLEditor in jboss:type=Service,name=BootstrapEditors
04:21:57,161 DEBUG [ServiceCreator] About to create bean: jboss:type=Service,name=SystemProperties

Can you please suggest what could be the issue.

Thanks,

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

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



More information about the jboss-user mailing list