Hi, 
I'm trying to setup mysql-3.23.41 with jboss3.0.0
alpha, by placing the file mysql-service.xml in the
deploy directory and have added the
driver(mm.mysql-2.0.4-bin.jar)in the lib/ext
directory. I hope this is the correct procedure,
however I am getting the following error on startup.
Can anybody advise me, 
Kind Regards,
J.

Error extract from server.log file

[2002-01-20 11:02:52,059,AutoDeployer,INFO] Auto
deploy of
file:/D:/servers/jboss-3.0.0alpha/deploy/mysql-service.xml
[2002-01-20 11:02:52,069,ServiceDeployer,DEBUG]
deploying document
file:/D:/servers/jboss-3.0.0alpha/deploy/mysql-service.xml
[2002-01-20 11:02:52,079,ServiceDeployer,DEBUG] jars
from deployment: []
[2002-01-20 11:02:52,079,ServiceDeployer,DEBUG] xml's
from deployment:
[file:/D:/servers/jboss-3.0.0alpha/tmp/deploy/ServiceDeployer/deploy.56/mysql-service.xml]
[2002-01-20 11:02:52,089,ServiceDeployer,DEBUG] found
classpath <classpath archives="mm.mysql-2.0.4-bin.jar"
/>
[2002-01-20 11:02:52,089,ServiceDeployer,DEBUG]
setting up classpath <classpath
archives="mm.mysql-2.0.4-bin.jar" />
[2002-01-20 11:02:52,089,ServiceDeployer,DEBUG]
codebase is 
[2002-01-20 11:02:52,089,ServiceDeployer,DEBUG]
archives are mm.mysql-2.0.4-bin.jar
[2002-01-20 11:02:52,089,ServiceDeployer,DEBUG]
deploying document
file:/D:/servers/jboss-3.0.0alpha//lib/ext/mm.mysql-2.0.4-bin.jar
[2002-01-20 11:02:52,110,ServiceDeployer,DEBUG] jars
from deployment:
[file:/D:/servers/jboss-3.0.0alpha/tmp/deploy/ServiceDeployer/deploy.57/mm.mysql-2.0.4-bin.jar]
[2002-01-20 11:02:52,110,ServiceDeployer,DEBUG] xml's
from deployment: []
[2002-01-20 11:02:52,110,Default,INFO] Libraries
adding URLClassLoader 1040486657 key URL
file:/D:/servers/jboss-3.0.0alpha//lib/ext/mm.mysql-2.0.4-bin.jar
[2002-01-20 11:02:52,110,ServiceDeployer,DEBUG]
deployed classes for
file:/D:/servers/jboss-3.0.0alpha//lib/ext/mm.mysql-2.0.4-bin.jar
[2002-01-20 11:02:52,110,ServiceDeployer,DEBUG] about
to copy 0 local directories
[2002-01-20 11:02:52,110,ServiceDeployer,DEBUG]
addMBeans: url
file:/D:/servers/jboss-3.0.0alpha/deploy/mysql-service.xml
[2002-01-20 11:02:52,110,ServiceDeployer,DEBUG]
deploying with ServiceController mbean <mbean
code="org.jboss.resource.ConnectionFactoryLoader"
name="jboss.jca:service=ConnectionFactoryLoader,name=fooDS">
  <attribute
name="ManagedConnectionFactoryProperties">ConnectionURL=jdbc:mysql://localhost/foo
DriverClass=org.gjt.mm.mysql.Driver
UserName=</attribute> 
  <attribute name="JndiName">fooDS</attribute> 
  <attribute
name="TransactionManagerName">java:/TransactionManager</attribute>

  <depends
optional-attribute-name="ResourceAdapterName">jboss.jca:service=RARDeployment,name=Minerva
JDBC LocalTransaction ResourceAdapter</depends> 
  <depends
optional-attribute-name="ConnectionManagerFactoryLoaderName">jboss.jca:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory</depends>

  <attribute name="ConnectionManagerProperties"># #Wed
Aug 15 16:17:29 EDT 2001 BlockingTimeoutMillis=500000
IdleTimeoutMinutes=30 MaxSize=10
CleanupIntervalMinutes=10 MinSize=0
MaxIdleTimeoutPercent=1.0</attribute> 
  <attribute
name="PrincipalMappingClass">org.jboss.resource.security.ManyToOnePrincipalMapping</attribute>

  <attribute
name="PrincipalMappingProperties">UserName=</attribute>

  </mbean>
[2002-01-20 11:02:52,120,AutoDeployer,DEBUG] Received
notification of mbean ZClassLoaders:id=408268023's
deployment.
[2002-01-20 11:02:52,120,ServiceCreator,INFO] About to
create the
beanjboss.jca:service=ConnectionFactoryLoader,name=fooDS
[2002-01-20 11:02:52,120,AutoDeployer,DEBUG] Received
notification of mbean
jboss.jca:service=ConnectionFactoryLoader,name=fooDS's
deployment.
[2002-01-20 11:02:52,120,ServiceCreator,INFO] Created
the
beanjboss.jca:service=ConnectionFactoryLoader,name=fooDS
[2002-01-20 11:02:52,150,Configurator,DEBUG]
ManagedConnectionFactoryProperties set to
ConnectionURL=jdbc:mysql://localhost/foo
DriverClass=org.gjt.mm.mysql.Driver UserName= in
jboss.jca:service=ConnectionFactoryLoader,name=fooDS
[2002-01-20 11:02:52,180,Configurator,DEBUG] JndiName
set to fooDS in
jboss.jca:service=ConnectionFactoryLoader,name=fooDS
[2002-01-20 11:02:52,200,Configurator,DEBUG]
TransactionManagerName set to java:/TransactionManager
in
jboss.jca:service=ConnectionFactoryLoader,name=fooDS
[2002-01-20 11:02:52,230,Configurator,DEBUG]
ConnectionManagerProperties set to # #Wed Aug 15
16:17:29 EDT 2001 BlockingTimeoutMillis=500000
IdleTimeoutMinutes=30 MaxSize=10
CleanupIntervalMinutes=10 MinSize=0
MaxIdleTimeoutPercent=1.0 in
jboss.jca:service=ConnectionFactoryLoader,name=fooDS
[2002-01-20 11:02:52,260,Configurator,DEBUG]
PrincipalMappingClass set to
org.jboss.resource.security.ManyToOnePrincipalMapping
in
jboss.jca:service=ConnectionFactoryLoader,name=fooDS
[2002-01-20 11:02:52,280,Configurator,DEBUG]
PrincipalMappingProperties set to UserName= in
jboss.jca:service=ConnectionFactoryLoader,name=fooDS
[2002-01-20 11:02:52,280,Configurator,DEBUG] found 0
mbean-ref elements
[2002-01-20 11:02:52,280,ConnectionFactoryLoader,INFO]
Starting
[2002-01-20 11:02:52,290,fooDS,ERROR] Stopped
javax.management.RuntimeOperationsException: Object
name cannot be null
        at
com.sun.management.jmx.MBeanServerImpl.isRegistered(MBeanServerImpl.java:1096)
        at
org.jboss.resource.ConnectionFactoryLoader.startService(ConnectionFactoryLoader.java:402)
        at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:117)
        at
sun.reflect.GeneratedMethodAccessor11.invoke(Unknown
Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
        at java.lang.reflect.Method.invoke(Method.java:313)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:775)
        at $Proxy0.start(Unknown Source)
        at
org.jboss.system.ServiceController.start(ServiceController.java:479)
        at
org.jboss.system.ServiceController.registerAndStartService(ServiceController.java:273)
        at
org.jboss.system.ServiceController.deploy(ServiceController.java:257)
        at
sun.reflect.GeneratedMethodAccessor13.invoke(Unknown
Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
        at java.lang.reflect.Method.invoke(Method.java:313)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at
org.jboss.deployment.ServiceDeployer.invoke(ServiceDeployer.java:732)
        at
org.jboss.deployment.ServiceDeployer.addMBeans(ServiceDeployer.java:668)
        at
org.jboss.deployment.ServiceDeployer.deploy(ServiceDeployer.java:215)
        at
org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBeanSupport.java:107)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
        at java.lang.reflect.Method.invoke(Method.java:313)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at
org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
        at
org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
        at
org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:509)
        at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:117)
        at
sun.reflect.GeneratedMethodAccessor3.invoke(Unknown
Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
        at java.lang.reflect.Method.invoke(Method.java:313)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:775)
        at $Proxy0.start(Unknown Source)
        at
org.jboss.system.ServiceController.start(ServiceController.java:479)
        at
org.jboss.system.ServiceController.registerAndStartService(ServiceController.java:273)
        at
org.jboss.system.ServiceController.deploy(ServiceController.java:257)
        at
sun.reflect.GeneratedMethodAccessor2.invoke(Unknown
Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
        at java.lang.reflect.Method.invoke(Method.java:313)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at
org.jboss.deployment.ServiceDeployer.invoke(ServiceDeployer.java:732)
        at
org.jboss.deployment.ServiceDeployer.addMBeans(ServiceDeployer.java:668)
        at
org.jboss.deployment.ServiceDeployer.deploy(ServiceDeployer.java:215)
        at
org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBeanSupport.java:107)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
        at java.lang.reflect.Method.invoke(Method.java:313)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at org.jboss.Main.<init>(Main.java:199)
        at org.jboss.Main$1.run(Main.java:411)
        at java.security.AccessController.doPrivileged(Native
Method)
        at org.jboss.Main.main(Main.java:406)
[2002-01-20 11:02:52,310,Default,ERROR]
javax.management.RuntimeOperationsException: Object
name cannot be null
[2002-01-20 11:02:52,310,Default,ERROR]         at
com.sun.management.jmx.MBeanServerImpl.isRegistered(MBeanServerImpl.java:1096)
[2002-01-20 11:02:52,310,Default,ERROR]         at
org.jboss.resource.ConnectionFactoryLoader.startService(ConnectionFactoryLoader.java:402)
[2002-01-20 11:02:52,310,Default,ERROR]         at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:117)
[2002-01-20 11:02:52,320,Default,ERROR]         at
sun.reflect.GeneratedMethodAccessor11.invoke(Unknown
Source)
[2002-01-20 11:02:52,320,Default,ERROR]         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
[2002-01-20 11:02:52,320,Default,ERROR]         at
java.lang.reflect.Method.invoke(Method.java:313)
[2002-01-20 11:02:52,320,Default,ERROR]         at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[2002-01-20 11:02:52,320,Default,ERROR]         at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[2002-01-20 11:02:52,320,Default,ERROR]         at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:775)
[2002-01-20 11:02:52,320,Default,ERROR]         at
$Proxy0.start(Unknown Source)
[2002-01-20 11:02:52,320,Default,ERROR]         at
org.jboss.system.ServiceController.start(ServiceController.java:479)
[2002-01-20 11:02:52,320,Default,ERROR]         at
org.jboss.system.ServiceController.registerAndStartService(ServiceController.java:273)
[2002-01-20 11:02:52,320,Default,ERROR]         at
org.jboss.system.ServiceController.deploy(ServiceController.java:257)
[2002-01-20 11:02:52,330,Default,ERROR]         at
sun.reflect.GeneratedMethodAccessor13.invoke(Unknown
Source)
[2002-01-20 11:02:52,330,Default,ERROR]         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
[2002-01-20 11:02:52,330,Default,ERROR]         at
java.lang.reflect.Method.invoke(Method.java:313)
[2002-01-20 11:02:52,330,Default,ERROR]         at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[2002-01-20 11:02:52,330,Default,ERROR]         at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[2002-01-20 11:02:52,330,Default,ERROR]         at
org.jboss.deployment.ServiceDeployer.invoke(ServiceDeployer.java:732)
[2002-01-20 11:02:52,330,Default,ERROR]         at
org.jboss.deployment.ServiceDeployer.addMBeans(ServiceDeployer.java:668)
[2002-01-20 11:02:52,330,Default,ERROR]         at
org.jboss.deployment.ServiceDeployer.deploy(ServiceDeployer.java:215)
[2002-01-20 11:02:52,330,Default,ERROR]         at
org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBeanSupport.java:107)
[2002-01-20 11:02:52,330,Default,ERROR]         at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[2002-01-20 11:02:52,330,Default,ERROR]         at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
[2002-01-20 11:02:52,330,Default,ERROR]         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
[2002-01-20 11:02:52,330,Default,ERROR]         at
java.lang.reflect.Method.invoke(Method.java:313)
[2002-01-20 11:02:52,330,Default,ERROR]         at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[2002-01-20 11:02:52,330,Default,ERROR]         at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[2002-01-20 11:02:52,340,Default,ERROR]         at
org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
[2002-01-20 11:02:52,340,Default,ERROR]         at
org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
[2002-01-20 11:02:52,340,Default,ERROR]         at
org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:509)
[2002-01-20 11:02:52,340,Default,ERROR]         at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:117)
[2002-01-20 11:02:52,340,Default,ERROR]         at
sun.reflect.GeneratedMethodAccessor3.invoke(Unknown
Source)
[2002-01-20 11:02:52,340,Default,ERROR]         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
[2002-01-20 11:02:52,340,Default,ERROR]         at
java.lang.reflect.Method.invoke(Method.java:313)
[2002-01-20 11:02:52,340,Default,ERROR]         at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[2002-01-20 11:02:52,340,Default,ERROR]         at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[2002-01-20 11:02:52,340,Default,ERROR]         at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:775)
[2002-01-20 11:02:52,340,Default,ERROR]         at
$Proxy0.start(Unknown Source)
[2002-01-20 11:02:52,340,Default,ERROR]         at
org.jboss.system.ServiceController.start(ServiceController.java:479)
[2002-01-20 11:02:52,340,Default,ERROR]         at
org.jboss.system.ServiceController.registerAndStartService(ServiceController.java:273)
[2002-01-20 11:02:52,340,Default,ERROR]         at
org.jboss.system.ServiceController.deploy(ServiceController.java:257)
[2002-01-20 11:02:52,340,Default,ERROR]         at
sun.reflect.GeneratedMethodAccessor2.invoke(Unknown
Source)
[2002-01-20 11:02:52,350,Default,ERROR]         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
[2002-01-20 11:02:52,350,Default,ERROR]         at
java.lang.reflect.Method.invoke(Method.java:313)
[2002-01-20 11:02:52,350,Default,ERROR]         at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[2002-01-20 11:02:52,350,Default,ERROR]         at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[2002-01-20 11:02:52,350,Default,ERROR]         at
org.jboss.deployment.ServiceDeployer.invoke(ServiceDeployer.java:732)
[2002-01-20 11:02:52,350,Default,ERROR]         at
org.jboss.deployment.ServiceDeployer.addMBeans(ServiceDeployer.java:668)
[2002-01-20 11:02:52,360,Default,ERROR]         at
org.jboss.deployment.ServiceDeployer.deploy(ServiceDeployer.java:215)
[2002-01-20 11:02:52,360,Default,ERROR]         at
org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBeanSupport.java:107)
[2002-01-20 11:02:52,360,Default,ERROR]         at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[2002-01-20 11:02:52,360,Default,ERROR]         at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
[2002-01-20 11:02:52,360,Default,ERROR]         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
[2002-01-20 11:02:52,360,Default,ERROR]         at
java.lang.reflect.Method.invoke(Method.java:313)
[2002-01-20 11:02:52,360,Default,ERROR]         at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[2002-01-20 11:02:52,360,Default,ERROR]         at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[2002-01-20 11:02:52,360,Default,ERROR]         at
org.jboss.Main.<init>(Main.java:199)
[2002-01-20 11:02:52,360,Default,ERROR]         at
org.jboss.Main$1.run(Main.java:411)
[2002-01-20 11:02:52,360,Default,ERROR]         at
java.security.AccessController.doPrivileged(Native
Method)
[2002-01-20 11:02:52,360,Default,ERROR]         at
org.jboss.Main.main(Main.java:406)
[2002-01-20 11:02:52,370,ServiceController,ERROR]
javax.management.RuntimeOperationsException: Object
name cannot be null
[2002-01-20 11:02:52,370,AutoDeployer,INFO] Started


Here is the mysql-service.xml

<?xml version="1.0" encoding="UTF-8" ?> 
<!--  $Id: mysql-service.xml,v 1.2 2002/01/14 00:16:51
d_jencks Exp $ --> 
<!-- 
=====================================================================
--> 
<!--                                                  
                     --> 
<!--  Example configuration for the mysql database.   
                     --> 
<!--  Put the driver jar mm.mysql-2.0.4-bin.jar in
lib/ext                  --> 
<!--  Contributed by Ignacio Coloma
[EMAIL PROTECTED]                    --> 
<!-- 
=====================================================================
--> 
<server>
  
  <classpath archives="mm.mysql-2.0.4-bin.jar" />
 
  <mbean
code="org.jboss.resource.ConnectionFactoryLoader"
name="jboss.jca:service=ConnectionFactoryLoader,name=fooDS">
  <attribute
name="ManagedConnectionFactoryProperties">ConnectionURL=jdbc:mysql://localhost/foo
DriverClass=org.gjt.mm.mysql.Driver
UserName=</attribute> 
  <attribute name="JndiName">fooDS</attribute> 
  <attribute
name="TransactionManagerName">java:/TransactionManager</attribute>

  <depends
optional-attribute-name="ResourceAdapterName">jboss.jca:service=RARDeployment,name=Minerva
JDBC LocalTransaction ResourceAdapter</depends> 
  <depends
optional-attribute-name="ConnectionManagerFactoryLoaderName">jboss.jca:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory</depends>

  <attribute name="ConnectionManagerProperties"># #Wed
Aug 15 16:17:29 EDT 2001 BlockingTimeoutMillis=500000
IdleTimeoutMinutes=30 MaxSize=10
CleanupIntervalMinutes=10 MinSize=0
MaxIdleTimeoutPercent=1.0</attribute> 
  <attribute
name="PrincipalMappingClass">org.jboss.resource.security.ManyToOnePrincipalMapping</attribute>

  <attribute
name="PrincipalMappingProperties">UserName=</attribute>

  </mbean>
</server>

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to