-
1. Re: jmx, MySqlDS
davidjencks Apr 9, 2003 11:23 PM (in response to kaupta)1. upgrade to a not-completely-obsolete jboss version such as 3.0.7 or 3.2 latest.
2. Use the example config file that comes with the newer jboss version as a starting point. The *-ds.xml files for 3.2 are much simpler than the configs for 3.0.x
3. If there are problems, look in jndiview: you should see something like java:/MySQLDS
4. Look in server.log for the section where the datasource is getting deployed (search for the filename). Look carefully for any problems. If you can't figure out what the problem is, post this section of your log. -
2. Re: jmx, MySqlDS
kaupta Apr 10, 2003 2:06 PM (in response to kaupta)Hello David,
I installed jboss-3.0.7_jakarta-tomcat-4.1.24. After that I started the server but I got follwoing errors.
1. 2003-04-10 10:36:10,673 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@e922bf39{ url=file:/C:/jboss-3.0.7_jakarta-tomcat-4.1.24/server/default/deploy/jboss-local-jdbc.rar, deployedLastModified=0 }
2. 2003-04-10 10:36:10,873 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@8dce2723{ url=file:/C:/jboss-3.0.7_jakarta-tomcat-4.1.24/server/default/deploy/jboss-xa-jdbc.rar, deployedLastModified=0 }
3. 2003-04-10 10:36:11,123 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@5cf4def2{ url=file:/C:/jboss-3.0.7_jakarta-tomcat-4.1.24/server/default/deploy/jms-ra.rar, deployedLastModified=0 }
4. 2003-04-10 10:36:13,457 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@e922bf39 { url=file:/C:/jboss-3.0.7_jakarta-tomcat-4.1.24/server/default/deploy/jboss-local-jdbc.rar }
deployer: org.jboss.resource.RARDeployer@86
status: null
state: FAILED
watch: file:/C:/jboss-3.0.7_jakarta-tomcat-4.1.24/server/default/deploy/jboss-local-jdbc.rar
lastDeployed: 1049996170663
lastModified: 1049996170612
mbeans:
, org.jboss.deployment.DeploymentInfo@8dce2723 { url=file:/C:/jboss-3.0.7_jakarta-tomcat-4.1.24/server/default/deploy/jboss-xa-jdbc.rar }
deployer: org.jboss.resource.RARDeployer@86
status: null
state: FAILED
watch: file:/C:/jboss-3.0.7_jakarta-tomcat-4.1.24/server/default/deploy/jboss-xa-jdbc.rar
lastDeployed: 1049996170873
lastModified: 1049996170853
mbeans:
, org.jboss.deployment.DeploymentInfo@5cf4def2 { url=file:/C:/jboss-3.0.7_jakarta-tomcat-4.1.24/server/default/deploy/jms-ra.rar }
deployer: org.jboss.resource.RARDeployer@86
status: null
state: FAILED
watch: file:/C:/jboss-3.0.7_jakarta-tomcat-4.1.24/server/default/deploy/jms-ra.rar
lastDeployed: 1049996171123
lastModified: 1049996171053
mbeans:
]MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: jboss.jca:service=LocalTxCM,name=hsqldbDS
state: CONFIGURED
I Depend On: jboss.jca:service=LocalTxDS,name=hsqldbDS
jboss.jca:service=LocalTxPool,name=hsqldbDS
jboss.jca:service=CachedConnectionManager
jboss.security:service=JaasSecurityManager
jboss.jca:service=RARDeployer
Depends On Me: , ObjectName: jboss.jca:service=LocalTxDS,name=hsqldbDS
state: CONFIGURED
I Depend On: jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper
jboss:service=Hypersonic
Depends On Me: jboss.jca:service=LocalTxCM,name=hsqldbDS
, ObjectName: jboss.jca:service=XaTxCM,name=jmsra
state: CONFIGURED
I Depend On: jboss.jca:service=RARDeployer
jboss.jca:service=XaTxDS,name=jmsra
jboss.jca:service=XaTxPool,name=jmsra
jboss.jca:service=CachedConnectionManager
jboss.security:service=JaasSecurityManager
Depends On Me: , ObjectName: jboss.jca:service=XaTxDS,name=jmsra
state: CONFIGURED
I Depend On: jboss.jca:service=RARDeployment,name=JMS Adapter
Depends On Me: jboss.jca:service=XaTxCM,name=jmsra
]
I am not sure what is happing. like always it says MySqlDs not bound.
Ap -
3. Re: jmx, MySqlDS
kaupta Apr 10, 2003 2:41 PM (in response to kaupta)David,
I installed jboss-3.2.0RC1_tomcat-4.1.18 but I could not start the jboss. Here is the error
2003-04-10 11:29:32,058 DEBUG [org.jboss.logging.Log4jService] Installed System.out adapter
2003-04-10 11:29:32,068 DEBUG [org.jboss.logging.Log4jService] Installed System.err adapter
2003-04-10 11:29:32,078 DEBUG [org.jboss.logging.Log4jService] Added ThrowableListener: org.jboss.logging.Log4jService$ThrowableListenerLoggingAdapter@53
2003-04-10 11:29:32,078 INFO [org.jboss.logging.Log4jService] Created
2003-04-10 11:29:32,078 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.system:type=Log4jService,service=Logging dependents are: []
2003-04-10 11:29:32,078 DEBUG [org.jboss.system.ServiceController] Creating service jboss.rmi:type=RMIClassLoader
2003-04-10 11:29:32,088 DEBUG [org.jboss.util.property.jmx.SystemPropertyClassValue] Error loading class org.jboss.system.JBossRMIClassLoader property java.rmi.server.RMIClassLoaderSpi not set.
java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.system.JBossRMIClassLoader
at org.jboss.mx.loading.LoadMgr.beginLoadTask(LoadMgr.java:155)
at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:161)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at org.jboss.util.property.jmx.SystemPropertyClassValue.setSystemPropertyClassValue(SystemPropertyClassValue.java:118)
at org.jboss.util.property.jmx.SystemPropertyClassValue.create(SystemPropertyClassValue.java:94)
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:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:957)
at $Proxy0.create(Unknown Source)
Thanks
AP