Running JOnAS 4.7.4 that uses 1.5 features

Audrius Meskauskas audriusa at bluewin.ch
Tue Aug 8 15:04:55 UTC 2006


We have tried to run the newest version of, JOnAS 4.7.4, on GNU 
Classpath CVS head and JamVM. This version required the 1.5 features, so 
it is not strange that it had some problems. Older versions are known to 
run better.

The first thing to do was to set the carol.protocols=jeremie in 
conf/carol.properties. RMI still not supported, despite the Carol team 
said that the blocking bug 27383 on Classpath side is recently fixed and 
they are working on that.

There are also multiple exceptions claiming that the management - 
related class is missing, mostly claiming the very small ModelMBean 
interface. I am not sure if having this interface would be sufficient or 
it would result further exceptions requiring more complicated classes.

JOnAS also failed to load the JacORB CORBA implementation via our 
org.omg classes. Despite our ObjectCreator.forName searches the thread 
context class loader and then walks through the stack, trying the class 
loader of every class there, the jacorb.jar is still missing in the path 
of all tried loaders (I have checked with the .toString() method of our 
class loader - is lists all files in the path). I have no idea from 
where the JacORB classes should be loaded (the jacorb.jar itself is 
present in JOnAS distribution).

To work around, I temporary changed the code to force using our CORBA 
instead. JOnAS swallowed it without throwing exceptions, but the server 
still cannot start due management problems.

The full stack trace of this experiment is attached.


-------------- next part --------------
JONAS_BASE set to /home/audriusa/applications/jonas
2006-08-08 16:57:10,046 : Logger.log : JVM used is 1.4.2 version of GNU Classpath vendor on Linux 2.6.16-1.2133_FC5smp/i386 OS.
2006-08-08 16:57:10,057 : Logger.log : Using JOnAS PolicyConfigurationFactory provider and JOnAS Policy provider
Created MBeanServer with ID: 3nn3zs:eqmedbzm.0:localhost.localdomain:1
2006-08-08 16:57:12,490 : NameServiceManager.startNonStartedNS : Name service for jeremie is started on port 2000
2006-08-08 16:57:12,514 : Logger.log : registry service started
2006-08-08 16:57:13,765 : RMIConnectorServer.start : RMIConnectorServer started at: service:jmx:rmi://localhost/jndi/jrmi://localhost:2000/jeremieconnector_jonas
2006-08-08 16:57:13,825 : Logger.log : jmx service started
2006-08-08 16:57:30,623 : Logger.log : Could not register J2EEDomain MBean
javax.management.MBeanException: Cannot load ModelMBean class
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:369)
   at org.objectweb.jonas.server.Server.start(Server.java:460)
   at org.objectweb.jonas.server.Server.main(Server.java:181)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: java.lang.ClassNotFoundException:  not found in org.objectweb.jonas.server.JClassLoader[Apps, urls=file:/home/audriusa/applications/jonas/lib/catalina/bin/bootstrap.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/naming-resources.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/naming-factory-dbcp.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jasper-compiler.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jasper-compiler-jdt.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jsp-api.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/commons-el.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/servlet-api.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jasper-runtime.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/naming-factory.jar]
   at java.net.URLClassLoader.findClass(URLClassLoader.java:531)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:342)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:362)
   ...5 more
2006-08-08 16:57:30,827 : Server.start : Could not create J2EEServer MBean : Cannot instantiate ModelMBean of class org.objectweb.jonas.server.J2EEServerMBean
javax.management.MBeanException: Cannot instantiate ModelMBean of class org.objectweb.jonas.server.J2EEServerMBean
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:383)
   at org.objectweb.jonas.server.Server.start(Server.java:488)
   at org.objectweb.jonas.server.Server.main(Server.java:181)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: java.lang.IllegalArgumentException: The attribute can not be both unreadable and unwritable.
   at javax.management.MBeanAttributeInfo.<init>(MBeanAttributeInfo.java:146)
   at javax.management.modelmbean.ModelMBeanAttributeInfo.<init>(ModelMBeanAttributeInfo.java:47)
   at javax.management.modelmbean.ModelMBeanAttributeInfo.<init>(ModelMBeanAttributeInfo.java:42)
   at org.apache.commons.modeler.AttributeInfo.createAttributeInfo(AttributeInfo.java:236)
   at org.apache.commons.modeler.ManagedBean.createMBeanInfo(ManagedBean.java:417)
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:377)
   ...5 more
2006-08-08 16:57:30,843 : Server.start : Could not create JVM MBean : Cannot load ModelMBean class
javax.management.MBeanException: Cannot load ModelMBean class
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:369)
   at org.objectweb.jonas.server.Server.start(Server.java:529)
   at org.objectweb.jonas.server.Server.main(Server.java:181)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: java.lang.ClassNotFoundException:  not found in org.objectweb.jonas.server.JClassLoader[Apps, urls=file:/home/audriusa/applications/jonas/lib/catalina/bin/bootstrap.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/naming-resources.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/naming-factory-dbcp.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jasper-compiler.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jasper-compiler-jdt.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jsp-api.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/commons-el.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/servlet-api.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jasper-runtime.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/naming-factory.jar]
   at java.net.URLClassLoader.findClass(URLClassLoader.java:531)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:342)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:362)
   ...5 more
2006-08-08 16:57:30,926 : Current.<init> : JOTM 2.0.11
2006-08-08 16:57:30,969 : Current.setDefaultRecovery : Jotm Recovery= false
javax.management.MBeanException: Cannot instantiate ModelMBean of class org.objectweb.jonas.jtm.JTAResourceMBean
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:383)
   at org.objectweb.jonas.jtm.TransactionServiceImpl.doStart(TransactionServiceImpl.java:267)
   at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:80)
   at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:336)
   at org.objectweb.jonas.server.Server.start(Server.java:546)
   at org.objectweb.jonas.server.Server.main(Server.java:181)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: java.lang.IllegalArgumentException: The attribute can not be both unreadable and unwritable.
   at javax.management.MBeanAttributeInfo.<init>(MBeanAttributeInfo.java:146)
   at javax.management.modelmbean.ModelMBeanAttributeInfo.<init>(ModelMBeanAttributeInfo.java:47)
   at javax.management.modelmbean.ModelMBeanAttributeInfo.<init>(ModelMBeanAttributeInfo.java:42)
   at org.apache.commons.modeler.AttributeInfo.createAttributeInfo(AttributeInfo.java:236)
   at org.apache.commons.modeler.ManagedBean.createMBeanInfo(ManagedBean.java:417)
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:377)
   ...8 more
2006-08-08 16:57:31,075 : Logger.log : JOnAS: Cannot register JTAResource mBeanjavax.management.MBeanException: Cannot instantiate ModelMBean of class org.objectweb.jonas.jtm.JTAResourceMBean
2006-08-08 16:57:31,077 : Logger.log : jtm service started
2006-08-08 16:57:31,340 : Logger.log : Starting HSQLDB server 1.8.0 on port 9001
2006-08-08 16:57:35,143 : Logger.log : HSQLDB server started.
2006-08-08 16:57:35,214 : Logger.log : Dropping and adding user 'jonas' with password 'jonas'.
2006-08-08 16:57:35,241 : Logger.log : db service started
2006-08-08 16:57:35,256 : DataBaseServiceImpl.doStart : JOnAS: Cannot register JDBCResource mBean
javax.management.MBeanException: Cannot load ModelMBean class
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:369)
   at org.objectweb.jonas.dbm.DataBaseServiceImpl.doStart(DataBaseServiceImpl.java:243)
   at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:80)
   at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:336)
   at org.objectweb.jonas.server.Server.start(Server.java:546)
   at org.objectweb.jonas.server.Server.main(Server.java:181)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: java.lang.ClassNotFoundException:  not found in org.objectweb.jonas.server.JClassLoader[Apps, urls=file:/home/audriusa/applications/jonas/lib/catalina/bin/bootstrap.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/naming-resources.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/naming-factory-dbcp.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jasper-compiler.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jasper-compiler-jdt.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jsp-api.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/commons-el.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/servlet-api.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jasper-runtime.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/naming-factory.jar]
   at java.net.URLClassLoader.findClass(URLClassLoader.java:531)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:342)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:362)
   ...8 more
2006-08-08 16:57:35,469 : Logger.log : Mapping ConnectionManager jdbc:hsqldb:hsql://localhost:9001/db_jonas on jdbc_1
2006-08-08 16:57:35,497 : DataBaseServiceImpl.doStart : JOnAS: Cannot create datasource: 'HSQL1'
javax.management.MBeanException: Cannot instantiate ModelMBean of class org.objectweb.jonas.dbm.JDBCDataSourceMBean
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:383)
   at org.objectweb.jonas.dbm.DataBaseServiceImpl.createDataSource(DataBaseServiceImpl.java:390)
   at org.objectweb.jonas.dbm.DataBaseServiceImpl.doStart(DataBaseServiceImpl.java:262)
   at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:80)
   at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:336)
   at org.objectweb.jonas.server.Server.start(Server.java:546)
   at org.objectweb.jonas.server.Server.main(Server.java:181)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: java.lang.IllegalArgumentException: The attribute can not be both unreadable and unwritable.
   at javax.management.MBeanAttributeInfo.<init>(MBeanAttributeInfo.java:146)
   at javax.management.modelmbean.ModelMBeanAttributeInfo.<init>(ModelMBeanAttributeInfo.java:47)
   at javax.management.modelmbean.ModelMBeanAttributeInfo.<init>(ModelMBeanAttributeInfo.java:42)
   at org.apache.commons.modeler.AttributeInfo.createAttributeInfo(AttributeInfo.java:236)
   at org.apache.commons.modeler.ManagedBean.createMBeanInfo(ManagedBean.java:417)
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:377)
   ...9 more
2006-08-08 16:57:35,504 : Logger.log : Please check if HSQL1.properties is available
2006-08-08 16:57:35,521 : Logger.log : dbm service started
2006-08-08 16:57:38,776 : Logger.log : security service started
2006-08-08 16:57:39,889 : Logger.log : Error processing Rar: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema  Unregister also failed with MBeanServer cannot find MBean with ObjectName jonas:type=resourceadapter,name=/home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcDM.rar
2006-08-08 16:57:39,892 : Logger.log : JOnAS: Cannot create resource: /home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcDM.rar exception: org.objectweb.jonas.resource.ResourceServiceException : Error processing Rar: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema  Unregister also failed with MBeanServer cannot find MBean with ObjectName jonas:type=resourceadapter,name=/home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcDM.rar: org.objectweb.jonas_rar.deployment.api.RarDeploymentDescException: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema
org.objectweb.jonas.resource.ResourceServiceException : Error processing Rar: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema  Unregister also failed with MBeanServer cannot find MBean with ObjectName jonas:type=resourceadapter,name=/home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcDM.rar: org.objectweb.jonas_rar.deployment.api.RarDeploymentDescException: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema
   at org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(ResourceServiceImpl.java:692)
   at org.objectweb.jonas.resource.ResourceServiceImpl.doStart(ResourceServiceImpl.java:510)
   at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:80)
   at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:336)
   at org.objectweb.jonas.server.Server.start(Server.java:546)
   at org.objectweb.jonas.server.Server.main(Server.java:181)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: org.objectweb.jonas_rar.deployment.api.RarDeploymentDescException: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema
   at org.objectweb.jonas_rar.deployment.lib.wrapper.RarManagerWrapper.getInstance(RarManagerWrapper.java:142)
   at org.objectweb.jonas.resource.Rar.processRar(Rar.java:351)
   at org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(ResourceServiceImpl.java:682)
   ...8 more
Caused by: org.objectweb.jonas_lib.deployment.api.DeploymentDescException: Error setting feature: http://apache.org/xml/features/validation/schema
   at org.objectweb.jonas_lib.deployment.digester.JDigester.<init>(JDigester.java:98)
   at org.objectweb.jonas_rar.deployment.lib.RarDeploymentDescManager.loadConnector(RarDeploymentDescManager.java:324)
   at org.objectweb.jonas_rar.deployment.lib.RarDeploymentDescManager.getInstance(RarDeploymentDescManager.java:284)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas_rar.deployment.lib.wrapper.RarManagerWrapper.getInstance(RarManagerWrapper.java:136)
   ...10 more
Caused by: org.xml.sax.SAXNotSupportedException: http://apache.org/xml/features/validation/schema
   at gnu.xml.stream.SAXParserFactory.setFeature(SAXParserFactory.java:91)
   at org.apache.commons.digester.Digester.setFeature(Digester.java:546)
   at org.objectweb.jonas_lib.deployment.digester.JDigester.<init>(JDigester.java:95)
   ...15 more
2006-08-08 16:57:40,838 : Logger.log : Error processing Rar: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema  Unregister also failed with MBeanServer cannot find MBean with ObjectName jonas:type=resourceadapter,name=/home/audriusa/applications/jonas/rars/autoload/joram_for_jonas_ra.rar
2006-08-08 16:57:40,841 : Logger.log : JOnAS: Cannot create resource: /home/audriusa/applications/jonas/rars/autoload/joram_for_jonas_ra.rar exception: org.objectweb.jonas.resource.ResourceServiceException : Error processing Rar: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema  Unregister also failed with MBeanServer cannot find MBean with ObjectName jonas:type=resourceadapter,name=/home/audriusa/applications/jonas/rars/autoload/joram_for_jonas_ra.rar: org.objectweb.jonas_rar.deployment.api.RarDeploymentDescException: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema
org.objectweb.jonas.resource.ResourceServiceException : Error processing Rar: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema  Unregister also failed with MBeanServer cannot find MBean with ObjectName jonas:type=resourceadapter,name=/home/audriusa/applications/jonas/rars/autoload/joram_for_jonas_ra.rar: org.objectweb.jonas_rar.deployment.api.RarDeploymentDescException: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema
   at org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(ResourceServiceImpl.java:692)
   at org.objectweb.jonas.resource.ResourceServiceImpl.doStart(ResourceServiceImpl.java:510)
   at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:80)
   at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:336)
   at org.objectweb.jonas.server.Server.start(Server.java:546)
   at org.objectweb.jonas.server.Server.main(Server.java:181)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: org.objectweb.jonas_rar.deployment.api.RarDeploymentDescException: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema
   at org.objectweb.jonas_rar.deployment.lib.wrapper.RarManagerWrapper.getInstance(RarManagerWrapper.java:142)
   at org.objectweb.jonas.resource.Rar.processRar(Rar.java:351)
   at org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(ResourceServiceImpl.java:682)
   ...8 more
Caused by: org.objectweb.jonas_lib.deployment.api.DeploymentDescException: Error setting feature: http://apache.org/xml/features/validation/schema
   at org.objectweb.jonas_lib.deployment.digester.JDigester.<init>(JDigester.java:98)
   at org.objectweb.jonas_rar.deployment.lib.RarDeploymentDescManager.loadConnector(RarDeploymentDescManager.java:324)
   at org.objectweb.jonas_rar.deployment.lib.RarDeploymentDescManager.getInstance(RarDeploymentDescManager.java:284)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas_rar.deployment.lib.wrapper.RarManagerWrapper.getInstance(RarManagerWrapper.java:136)
   ...10 more
Caused by: org.xml.sax.SAXNotSupportedException: http://apache.org/xml/features/validation/schema
   at gnu.xml.stream.SAXParserFactory.setFeature(SAXParserFactory.java:91)
   at org.apache.commons.digester.Digester.setFeature(Digester.java:546)
   at org.objectweb.jonas_lib.deployment.digester.JDigester.<init>(JDigester.java:95)
   ...15 more
2006-08-08 16:57:42,046 : Logger.log : Error processing Rar: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema  Unregister also failed with MBeanServer cannot find MBean with ObjectName jonas:type=resourceadapter,name=/home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcDS.rar
2006-08-08 16:57:42,050 : Logger.log : JOnAS: Cannot create resource: /home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcDS.rar exception: org.objectweb.jonas.resource.ResourceServiceException : Error processing Rar: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema  Unregister also failed with MBeanServer cannot find MBean with ObjectName jonas:type=resourceadapter,name=/home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcDS.rar: org.objectweb.jonas_rar.deployment.api.RarDeploymentDescException: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema
org.objectweb.jonas.resource.ResourceServiceException : Error processing Rar: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema  Unregister also failed with MBeanServer cannot find MBean with ObjectName jonas:type=resourceadapter,name=/home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcDS.rar: org.objectweb.jonas_rar.deployment.api.RarDeploymentDescException: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema
   at org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(ResourceServiceImpl.java:692)
   at org.objectweb.jonas.resource.ResourceServiceImpl.doStart(ResourceServiceImpl.java:510)
   at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:80)
   at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:336)
   at org.objectweb.jonas.server.Server.start(Server.java:546)
   at org.objectweb.jonas.server.Server.main(Server.java:181)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: org.objectweb.jonas_rar.deployment.api.RarDeploymentDescException: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema
   at org.objectweb.jonas_rar.deployment.lib.wrapper.RarManagerWrapper.getInstance(RarManagerWrapper.java:142)
   at org.objectweb.jonas.resource.Rar.processRar(Rar.java:351)
   at org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(ResourceServiceImpl.java:682)
   ...8 more
Caused by: org.objectweb.jonas_lib.deployment.api.DeploymentDescException: Error setting feature: http://apache.org/xml/features/validation/schema
   at org.objectweb.jonas_lib.deployment.digester.JDigester.<init>(JDigester.java:98)
   at org.objectweb.jonas_rar.deployment.lib.RarDeploymentDescManager.loadConnector(RarDeploymentDescManager.java:324)
   at org.objectweb.jonas_rar.deployment.lib.RarDeploymentDescManager.getInstance(RarDeploymentDescManager.java:284)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas_rar.deployment.lib.wrapper.RarManagerWrapper.getInstance(RarManagerWrapper.java:136)
   ...10 more
Caused by: org.xml.sax.SAXNotSupportedException: http://apache.org/xml/features/validation/schema
   at gnu.xml.stream.SAXParserFactory.setFeature(SAXParserFactory.java:91)
   at org.apache.commons.digester.Digester.setFeature(Digester.java:546)
   at org.objectweb.jonas_lib.deployment.digester.JDigester.<init>(JDigester.java:95)
   ...15 more
2006-08-08 16:57:42,834 : Logger.log : Error processing Rar: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema  Unregister also failed with MBeanServer cannot find MBean with ObjectName jonas:type=resourceadapter,name=/home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcXA.rar
2006-08-08 16:57:42,837 : Logger.log : JOnAS: Cannot create resource: /home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcXA.rar exception: org.objectweb.jonas.resource.ResourceServiceException : Error processing Rar: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema  Unregister also failed with MBeanServer cannot find MBean with ObjectName jonas:type=resourceadapter,name=/home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcXA.rar: org.objectweb.jonas_rar.deployment.api.RarDeploymentDescException: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema
org.objectweb.jonas.resource.ResourceServiceException : Error processing Rar: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema  Unregister also failed with MBeanServer cannot find MBean with ObjectName jonas:type=resourceadapter,name=/home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcXA.rar: org.objectweb.jonas_rar.deployment.api.RarDeploymentDescException: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema
   at org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(ResourceServiceImpl.java:692)
   at org.objectweb.jonas.resource.ResourceServiceImpl.doStart(ResourceServiceImpl.java:510)
   at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:80)
   at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:336)
   at org.objectweb.jonas.server.Server.start(Server.java:546)
   at org.objectweb.jonas.server.Server.main(Server.java:181)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: org.objectweb.jonas_rar.deployment.api.RarDeploymentDescException: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema
   at org.objectweb.jonas_rar.deployment.lib.wrapper.RarManagerWrapper.getInstance(RarManagerWrapper.java:142)
   at org.objectweb.jonas.resource.Rar.processRar(Rar.java:351)
   at org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(ResourceServiceImpl.java:682)
   ...8 more
Caused by: org.objectweb.jonas_lib.deployment.api.DeploymentDescException: Error setting feature: http://apache.org/xml/features/validation/schema
   at org.objectweb.jonas_lib.deployment.digester.JDigester.<init>(JDigester.java:98)
   at org.objectweb.jonas_rar.deployment.lib.RarDeploymentDescManager.loadConnector(RarDeploymentDescManager.java:324)
   at org.objectweb.jonas_rar.deployment.lib.RarDeploymentDescManager.getInstance(RarDeploymentDescManager.java:284)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas_rar.deployment.lib.wrapper.RarManagerWrapper.getInstance(RarManagerWrapper.java:136)
   ...10 more
Caused by: org.xml.sax.SAXNotSupportedException: http://apache.org/xml/features/validation/schema
   at gnu.xml.stream.SAXParserFactory.setFeature(SAXParserFactory.java:91)
   at org.apache.commons.digester.Digester.setFeature(Digester.java:546)
   at org.objectweb.jonas_lib.deployment.digester.JDigester.<init>(JDigester.java:95)
   ...15 more
2006-08-08 16:57:43,611 : Logger.log : Error processing Rar: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema  Unregister also failed with MBeanServer cannot find MBean with ObjectName jonas:type=resourceadapter,name=/home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcCP.rar
2006-08-08 16:57:43,614 : Logger.log : JOnAS: Cannot create resource: /home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcCP.rar exception: org.objectweb.jonas.resource.ResourceServiceException : Error processing Rar: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema  Unregister also failed with MBeanServer cannot find MBean with ObjectName jonas:type=resourceadapter,name=/home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcCP.rar: org.objectweb.jonas_rar.deployment.api.RarDeploymentDescException: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema
org.objectweb.jonas.resource.ResourceServiceException : Error processing Rar: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema  Unregister also failed with MBeanServer cannot find MBean with ObjectName jonas:type=resourceadapter,name=/home/audriusa/applications/jonas/rars/autoload/JOnAS_jdbcCP.rar: org.objectweb.jonas_rar.deployment.api.RarDeploymentDescException: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema
   at org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(ResourceServiceImpl.java:692)
   at org.objectweb.jonas.resource.ResourceServiceImpl.doStart(ResourceServiceImpl.java:510)
   at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:80)
   at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:336)
   at org.objectweb.jonas.server.Server.start(Server.java:546)
   at org.objectweb.jonas.server.Server.main(Server.java:181)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: org.objectweb.jonas_rar.deployment.api.RarDeploymentDescException: RarDeploymentDescManager.getInstance fails: Error setting feature: http://apache.org/xml/features/validation/schema
   at org.objectweb.jonas_rar.deployment.lib.wrapper.RarManagerWrapper.getInstance(RarManagerWrapper.java:142)
   at org.objectweb.jonas.resource.Rar.processRar(Rar.java:351)
   at org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(ResourceServiceImpl.java:682)
   ...8 more
Caused by: org.objectweb.jonas_lib.deployment.api.DeploymentDescException: Error setting feature: http://apache.org/xml/features/validation/schema
   at org.objectweb.jonas_lib.deployment.digester.JDigester.<init>(JDigester.java:98)
   at org.objectweb.jonas_rar.deployment.lib.RarDeploymentDescManager.loadConnector(RarDeploymentDescManager.java:324)
   at org.objectweb.jonas_rar.deployment.lib.RarDeploymentDescManager.getInstance(RarDeploymentDescManager.java:284)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas_rar.deployment.lib.wrapper.RarManagerWrapper.getInstance(RarManagerWrapper.java:136)
   ...10 more
Caused by: org.xml.sax.SAXNotSupportedException: http://apache.org/xml/features/validation/schema
   at gnu.xml.stream.SAXParserFactory.setFeature(SAXParserFactory.java:91)
   at org.apache.commons.digester.Digester.setFeature(Digester.java:546)
   at org.objectweb.jonas_lib.deployment.digester.JDigester.<init>(JDigester.java:95)
   ...15 more
2006-08-08 16:57:43,643 : Logger.log : Could not register Archive Configuration MBean
javax.management.MBeanException: Cannot load ModelMBean class
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:369)
   at org.objectweb.jonas.resource.ResourceServiceImpl.doStart(ResourceServiceImpl.java:555)
   at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:80)
   at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:336)
   at org.objectweb.jonas.server.Server.start(Server.java:546)
   at org.objectweb.jonas.server.Server.main(Server.java:181)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: java.lang.ClassNotFoundException:  not found in org.objectweb.jonas.server.JClassLoader[Apps, urls=file:/home/audriusa/applications/jonas/lib/catalina/bin/bootstrap.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/naming-resources.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/naming-factory-dbcp.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jasper-compiler.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jasper-compiler-jdt.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jsp-api.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/commons-el.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/servlet-api.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jasper-runtime.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/naming-factory.jar]
   at java.net.URLClassLoader.findClass(URLClassLoader.java:531)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:342)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:362)
   ...8 more
2006-08-08 16:57:43,648 : Logger.log : resource service started
2006-08-08 16:57:43,660 : EJBServiceImpl.doInit : Cannot create MBean
javax.management.MBeanException: Cannot load ModelMBean class
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:369)
   at org.objectweb.jonas.container.EJBServiceImpl.doInit(EJBServiceImpl.java:421)
   at org.objectweb.jonas.service.AbsServiceImpl.init(AbsServiceImpl.java:72)
   at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:335)
   at org.objectweb.jonas.server.Server.start(Server.java:546)
   at org.objectweb.jonas.server.Server.main(Server.java:181)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: java.lang.ClassNotFoundException:  not found in org.objectweb.jonas.server.JClassLoader[Apps, urls=file:/home/audriusa/applications/jonas/lib/catalina/bin/bootstrap.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/naming-resources.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/naming-factory-dbcp.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jasper-compiler.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jasper-compiler-jdt.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jsp-api.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/commons-el.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/servlet-api.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/jasper-runtime.jar;file:/home/audriusa/applications/jonas/lib/catalina/common/lib/naming-factory.jar]
   at java.net.URLClassLoader.findClass(URLClassLoader.java:531)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:342)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
   at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:362)
   ...8 more
2006-08-08 16:57:43,698 : Logger.log : ejb service started
2006-08-08 16:57:44,520 : Logger.log : ws service started
JOnAS error: org.objectweb.jonas.service.ServiceException : Cannot init/start service 'web': Problems when invoking start: java.lang.RuntimeException: The ORB org.jacorb.orb.ORB cannot be instantiated.: org.objectweb.jonas.service.ServiceException : Problems when invoking start: java.lang.RuntimeException: The ORB org.jacorb.orb.ORB cannot be instantiated.
org.objectweb.jonas.service.ServiceException : Cannot init/start service 'web': Problems when invoking start: java.lang.RuntimeException: The ORB org.jacorb.orb.ORB cannot be instantiated.: org.objectweb.jonas.service.ServiceException : Problems when invoking start: java.lang.RuntimeException: The ORB org.jacorb.orb.ORB cannot be instantiated.
   at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:339)
   at org.objectweb.jonas.server.Server.start(Server.java:546)
   at org.objectweb.jonas.server.Server.main(Server.java:181)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: org.objectweb.jonas.service.ServiceException : Problems when invoking start: java.lang.RuntimeException: The ORB org.jacorb.orb.ORB cannot be instantiated.
   at org.objectweb.jonas.web.wrapper.catalina55.CatalinaJWebContainerServiceWrapper.invoke(CatalinaJWebContainerServiceWrapper.java:165)
   at org.objectweb.jonas.web.wrapper.catalina55.CatalinaJWebContainerServiceWrapper.start(CatalinaJWebContainerServiceWrapper.java:528)
   at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:336)
   ...5 more
Caused by: java.lang.RuntimeException: The ORB org.jacorb.orb.ORB cannot be instantiated.
   at org.omg.CORBA.ORB.noORB(ORB.java:1237)
   at org.omg.CORBA.ORB.createORB(ORB.java:1215)
   at org.omg.CORBA.ORB.init(ORB.java:890)
   at org.objectweb.carol.jndi.ns.JacORBCosNaming.initORB(JacORBCosNaming.java:267)
   at org.objectweb.carol.jndi.ns.JacORBCosNaming.getOrb(JacORBCosNaming.java:257)
   at org.objectweb.jonas.naming.NamingManager.createEnvironmentContext(NamingManager.java:204)
   at org.objectweb.jonas.web.catalina55.CatalinaJWebContainerServiceImpl.setGlobalNamingResources(CatalinaJWebContainerServiceImpl.java:313)
   at org.objectweb.jonas.web.catalina55.CatalinaJWebContainerServiceImpl.doStart(CatalinaJWebContainerServiceImpl.java:264)
   at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:80)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.web.wrapper.catalina55.CatalinaJWebContainerServiceWrapper.invoke(CatalinaJWebContainerServiceWrapper.java:157)
   ...7 more
Caused by: java.lang.ClassNotFoundException: org.jacorb.orb.ORB
   at gnu.CORBA.ObjectCreator.forName(ObjectCreator.java:588)
   at org.omg.CORBA.ORB.createORB(ORB.java:1211)
   ...17 more
JOnAS halting
The JOnAS Server 'jonas' has been stopped
2006-08-08 16:58:12,326 : Logger.log : JOnAS server 'jonas' stopped
[root at localhost unix]# 2006-08-08 16:58:17,332 : Logger.log : ResourceService: Cannot stop the Archive Config MBean:
javax.management.InstanceNotFoundException: MBeanServer cannot find MBean with ObjectName jonas:type=archiveConfig,name=ArchiveConfigMBean
2006-08-08 16:58:17,340 : Logger.log : EJBService: Cannot stop the DataBase service
2006-08-08 16:58:17,588 : RMIConnectorServer.stop : RMIConnectorServer stopped at: service:jmx:rmi://localhost/jndi/jrmi://localhost:2000/jeremieconnector_jonas
2006-08-08 16:58:17,591 : Logger.log : Cannot unregister JEEDomain MBean:jonas:j2eeType=J2EEDomain,name=jonas
2006-08-08 16:58:17,593 : Logger.log : Cannot unregister JEEServer MBean:jonas:j2eeType=J2EEServer,name=jonas
Exception when haltingCannot stop services: ; nested exception is:
        org.objectweb.jonas.service.ServiceException : Cannot stop the service 'dbm': org.objectweb.jonas.service.ServiceException : DataBaseService: Cannot stop the DataBase service: javax.management.InstanceNotFoundException: MBeanServer cannot find MBean with ObjectName jonas:j2eeType=JDBCResource,name=JDBCResource,J2EEServer=jonas
Exception during execution of org.objectweb.jonas.server.Server : Cannot stop services: ; nested exception is:
        org.objectweb.jonas.service.ServiceException : Cannot stop the service 'dbm': org.objectweb.jonas.service.ServiceException : DataBaseService: Cannot stop the DataBase service: javax.management.InstanceNotFoundException: MBeanServer cannot find MBean with ObjectName jonas:j2eeType=JDBCResource,name=JDBCResource,J2EEServer=jonas
java.rmi.RemoteException: Cannot stop services: ; nested exception is:
        org.objectweb.jonas.service.ServiceException : Cannot stop the service 'dbm': org.objectweb.jonas.service.ServiceException : DataBaseService: Cannot stop the DataBase service: javax.management.InstanceNotFoundException: MBeanServer cannot find MBean with ObjectName jonas:j2eeType=JDBCResource,name=JDBCResource,J2EEServer=jonas
   at org.objectweb.jonas.adm.Adm.stopServer(Adm.java:574)
   at org.objectweb.jonas.server.Server.stop(Server.java:619)
   at org.objectweb.jonas.server.Server.main(Server.java:195)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: org.objectweb.jonas.service.ServiceException : Cannot stop the service 'dbm': org.objectweb.jonas.service.ServiceException : DataBaseService: Cannot stop the DataBase service: javax.management.InstanceNotFoundException: MBeanServer cannot find MBean with ObjectName jonas:j2eeType=JDBCResource,name=JDBCResource,J2EEServer=jonas
   at org.objectweb.jonas.service.ServiceManager.stopServices(ServiceManager.java:542)
   at org.objectweb.jonas.adm.Adm.stopServer(Adm.java:572)
   ...5 more




More information about the Classpath mailing list