[JBoss-dev] [ jboss-Bugs-697165 ] XMBeans scoped class loading not working together
Bugs item #697165, was opened at 2003-03-04 10:12 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=376685aid=697165group_id=22866 Category: JBossMX Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Jurjan-Paul Medema (jurjanpaul) Assigned to: Nobody/Anonymous (nobody) Summary: XMBeans scoped class loading not working together Initial Comment: Can't get XMBeans to work in combination with scoped class loading. Apparently a bug in the implementation of the loader- repository functionality for ears in combination with the use of XMBeans. Using JBoss 3.2.0RC2, I find scoped class loading to be working fine for e.g. Standard MBeans (the SAR inside a scoped EAR) and XMBeans to be working nicely when not trying to scope them. Combining these wonderful features consistently results in: 10:53:00,345 DEBUG [ServiceCreator] About to create xmbean object: com.xmbean_scoped_cl:service=XMBeanScopedCL with code : com.xmbean_scoped_cl.XMBeanScopedCLServer 10:53:00,345 DEBUG [ServiceCreator] Class not found for mbean: com.xmbean_scoped_cl:service=XMBeanScopedCL 10:53:00,345 WARN [ServiceConfigurator] Failed to complete install java.lang.ClassNotFoundException: No ClassLoaders found for: com.xmbean_scoped_cl.XMBeanScopedCLServer at org.jboss.mx.loading.LoadMgr.beginLoadTask (LoadMgr.java:155) at org.jboss.mx.loading.UnifiedClassLoader3.loadClass (UnifiedClassLoader3.java:161) at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClas s(UnifiedLoaderRepository3.java:144) at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClas s(UnifiedLoaderRepository3.java:489) at javax.management.loading.DefaultLoaderRepository.load Class(DefaultLoaderRepository.java:78) at org.jboss.mx.server.MBeanServerImpl.instantiate (MBeanServerImpl.java:825) at org.jboss.mx.server.MBeanServerImpl.instantiate (MBeanServerImpl.java:266) at org.jboss.system.ServiceCreator.install (ServiceCreator.java:103) at org.jboss.system.ServiceConfigurator.internalInstall (ServiceConfigurator.java:155) at org.jboss.system.ServiceConfigurator.install (ServiceConfigurator.java:118) at org.jboss.system.ServiceController.install (ServiceController.java:225) at sun.reflect.GeneratedMethodAccessor19.invoke (Unknown Source) Please find attached an example project with 1 XMBean and a (dummy) helper class. When I comment out the loader-repository tag in jboss-app.xml everything works fine. Otherwise I get the problem demonstrated above. Thanks a lot for looking into this! Jurjan-Paul -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=376685aid=697165group_id=22866 --- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-697165 ] XMBeans scoped class loading not working together
Bugs item #697165, was opened at 2003-03-04 10:12 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=376685aid=697165group_id=22866 Category: JBossMX Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Jurjan-Paul Medema (jurjanpaul) Assigned to: Nobody/Anonymous (nobody) Summary: XMBeans scoped class loading not working together Initial Comment: Can't get XMBeans to work in combination with scoped class loading. Apparently a bug in the implementation of the loader- repository functionality for ears in combination with the use of XMBeans. Using JBoss 3.2.0RC2, I find scoped class loading to be working fine for e.g. Standard MBeans (the SAR inside a scoped EAR) and XMBeans to be working nicely when not trying to scope them. Combining these wonderful features consistently results in: 10:53:00,345 DEBUG [ServiceCreator] About to create xmbean object: com.xmbean_scoped_cl:service=XMBeanScopedCL with code : com.xmbean_scoped_cl.XMBeanScopedCLServer 10:53:00,345 DEBUG [ServiceCreator] Class not found for mbean: com.xmbean_scoped_cl:service=XMBeanScopedCL 10:53:00,345 WARN [ServiceConfigurator] Failed to complete install java.lang.ClassNotFoundException: No ClassLoaders found for: com.xmbean_scoped_cl.XMBeanScopedCLServer at org.jboss.mx.loading.LoadMgr.beginLoadTask (LoadMgr.java:155) at org.jboss.mx.loading.UnifiedClassLoader3.loadClass (UnifiedClassLoader3.java:161) at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClas s(UnifiedLoaderRepository3.java:144) at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClas s(UnifiedLoaderRepository3.java:489) at javax.management.loading.DefaultLoaderRepository.load Class(DefaultLoaderRepository.java:78) at org.jboss.mx.server.MBeanServerImpl.instantiate (MBeanServerImpl.java:825) at org.jboss.mx.server.MBeanServerImpl.instantiate (MBeanServerImpl.java:266) at org.jboss.system.ServiceCreator.install (ServiceCreator.java:103) at org.jboss.system.ServiceConfigurator.internalInstall (ServiceConfigurator.java:155) at org.jboss.system.ServiceConfigurator.install (ServiceConfigurator.java:118) at org.jboss.system.ServiceController.install (ServiceController.java:225) at sun.reflect.GeneratedMethodAccessor19.invoke (Unknown Source) Please find attached an example project with 1 XMBean and a (dummy) helper class. When I comment out the loader-repository tag in jboss-app.xml everything works fine. Otherwise I get the problem demonstrated above. Thanks a lot for looking into this! Jurjan-Paul -- Comment By: Jurjan-Paul Medema (jurjanpaul) Date: 2003-03-04 10:17 Message: Logged In: YES user_id=68824 I am sorry the description for the attached file didn't get through. It should read: test project for scoped class loading with XMBeans -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=376685aid=697165group_id=22866 --- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-697165 ] XMBeans scoped class loading not working together
Bugs item #697165, was opened at 2003-03-04 02:12 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=376685aid=697165group_id=22866 Category: JBossMX Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Jurjan-Paul Medema (jurjanpaul) Assigned to: Scott M Stark (starksm) Summary: XMBeans scoped class loading not working together Initial Comment: Can't get XMBeans to work in combination with scoped class loading. Apparently a bug in the implementation of the loader- repository functionality for ears in combination with the use of XMBeans. Using JBoss 3.2.0RC2, I find scoped class loading to be working fine for e.g. Standard MBeans (the SAR inside a scoped EAR) and XMBeans to be working nicely when not trying to scope them. Combining these wonderful features consistently results in: 10:53:00,345 DEBUG [ServiceCreator] About to create xmbean object: com.xmbean_scoped_cl:service=XMBeanScopedCL with code : com.xmbean_scoped_cl.XMBeanScopedCLServer 10:53:00,345 DEBUG [ServiceCreator] Class not found for mbean: com.xmbean_scoped_cl:service=XMBeanScopedCL 10:53:00,345 WARN [ServiceConfigurator] Failed to complete install java.lang.ClassNotFoundException: No ClassLoaders found for: com.xmbean_scoped_cl.XMBeanScopedCLServer at org.jboss.mx.loading.LoadMgr.beginLoadTask (LoadMgr.java:155) at org.jboss.mx.loading.UnifiedClassLoader3.loadClass (UnifiedClassLoader3.java:161) at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClas s(UnifiedLoaderRepository3.java:144) at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClas s(UnifiedLoaderRepository3.java:489) at javax.management.loading.DefaultLoaderRepository.load Class(DefaultLoaderRepository.java:78) at org.jboss.mx.server.MBeanServerImpl.instantiate (MBeanServerImpl.java:825) at org.jboss.mx.server.MBeanServerImpl.instantiate (MBeanServerImpl.java:266) at org.jboss.system.ServiceCreator.install (ServiceCreator.java:103) at org.jboss.system.ServiceConfigurator.internalInstall (ServiceConfigurator.java:155) at org.jboss.system.ServiceConfigurator.install (ServiceConfigurator.java:118) at org.jboss.system.ServiceController.install (ServiceController.java:225) at sun.reflect.GeneratedMethodAccessor19.invoke (Unknown Source) Please find attached an example project with 1 XMBean and a (dummy) helper class. When I comment out the loader-repository tag in jboss-app.xml everything works fine. Otherwise I get the problem demonstrated above. Thanks a lot for looking into this! Jurjan-Paul -- Comment By: Jurjan-Paul Medema (jurjanpaul) Date: 2003-03-04 02:17 Message: Logged In: YES user_id=68824 I am sorry the description for the attached file didn't get through. It should read: test project for scoped class loading with XMBeans -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=376685aid=697165group_id=22866 --- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-697165 ] XMBeans scoped class loading not working together
Bugs item #697165, was opened at 2003-03-04 02:12 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=376685aid=697165group_id=22866 Category: JBossMX Group: v3.2 Status: Closed Resolution: Fixed Priority: 5 Submitted By: Jurjan-Paul Medema (jurjanpaul) Assigned to: Scott M Stark (starksm) Summary: XMBeans scoped class loading not working together Initial Comment: Can't get XMBeans to work in combination with scoped class loading. Apparently a bug in the implementation of the loader- repository functionality for ears in combination with the use of XMBeans. Using JBoss 3.2.0RC2, I find scoped class loading to be working fine for e.g. Standard MBeans (the SAR inside a scoped EAR) and XMBeans to be working nicely when not trying to scope them. Combining these wonderful features consistently results in: 10:53:00,345 DEBUG [ServiceCreator] About to create xmbean object: com.xmbean_scoped_cl:service=XMBeanScopedCL with code : com.xmbean_scoped_cl.XMBeanScopedCLServer 10:53:00,345 DEBUG [ServiceCreator] Class not found for mbean: com.xmbean_scoped_cl:service=XMBeanScopedCL 10:53:00,345 WARN [ServiceConfigurator] Failed to complete install java.lang.ClassNotFoundException: No ClassLoaders found for: com.xmbean_scoped_cl.XMBeanScopedCLServer at org.jboss.mx.loading.LoadMgr.beginLoadTask (LoadMgr.java:155) at org.jboss.mx.loading.UnifiedClassLoader3.loadClass (UnifiedClassLoader3.java:161) at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClas s(UnifiedLoaderRepository3.java:144) at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClas s(UnifiedLoaderRepository3.java:489) at javax.management.loading.DefaultLoaderRepository.load Class(DefaultLoaderRepository.java:78) at org.jboss.mx.server.MBeanServerImpl.instantiate (MBeanServerImpl.java:825) at org.jboss.mx.server.MBeanServerImpl.instantiate (MBeanServerImpl.java:266) at org.jboss.system.ServiceCreator.install (ServiceCreator.java:103) at org.jboss.system.ServiceConfigurator.internalInstall (ServiceConfigurator.java:155) at org.jboss.system.ServiceConfigurator.install (ServiceConfigurator.java:118) at org.jboss.system.ServiceController.install (ServiceController.java:225) at sun.reflect.GeneratedMethodAccessor19.invoke (Unknown Source) Please find attached an example project with 1 XMBean and a (dummy) helper class. When I comment out the loader-repository tag in jboss-app.xml everything works fine. Otherwise I get the problem demonstrated above. Thanks a lot for looking into this! Jurjan-Paul -- Comment By: Scott M Stark (starksm) Date: 2003-03-04 23:31 Message: Logged In: YES user_id=175228 This has been fixed in the 3.2 branch. The xmbean instantiation was not using the deployment class loader. -- Comment By: Jurjan-Paul Medema (jurjanpaul) Date: 2003-03-04 02:17 Message: Logged In: YES user_id=68824 I am sorry the description for the attached file didn't get through. It should read: test project for scoped class loading with XMBeans -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=376685aid=697165group_id=22866 --- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development