geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <j...@apache.org>
Subject [jira] Commented: (GERONIMO-5811) DeploymentException: Operation failed: start of cloudbees/cloudbees/1.0/rar failed
Date Sat, 12 Feb 2011 11:34:57 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-5811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993889#comment-12993889
] 

Matthias Weßendorf commented on GERONIMO-5811:
----------------------------------------------

Now I am running this command:


./deploy -u system -p manager deploy ../repository/org/tranql/tranql-connector-ra/1.6/tranql-connector-ra-1.6.rar
~/Dropbox/cloudbees-xa-ds-plan-standalone.xml 


and I am getting this exception:

matzew@woody:~/work/source/JAX2011/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/bin$ ./deploy -u
system -p manager deploy ../repository/org/tranql/tranql-connector-ra/1.6/tranql-connector-ra-1.6.rar
~/Dropbox/cloudbees-xa-ds-plan-standalone.xml 
Using GERONIMO_HOME:   /home/matzew/work/source/JAX2011/geronimo-tomcat7-javaee6-3.0-SNAPSHOT
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME:        /java/current/jre
2011-02-12 12:28:52,111 ERROR [DeployTool] Error: 
org.apache.geronimo.common.DeploymentException: Operation failed: start of cloudbees/cloudbees/1.0/rar
failed
	Unknown start exception
	Configuration cloudbees/cloudbees/1.0/rar failed to start due to the following reasons:
  The service J2EEApplication=null,JCAConnectionFactory=jdbc/CloudBees,JCAResource=tranql-connector-ra-1.6,ResourceAdapter=tranql-connector-ra-1.6,ResourceAdapterModule=cloudbees/cloudbees/1.0/rar,j2eeType=JCAManagedConnectionFactory,name=jdbc/CloudBees
did not start because Unable to load driver class: com.mysql.jdbc.Driver
javax.resource.spi.InvalidPropertyException: Unable to load driver class: com.mysql.jdbc.Driver
	at org.tranql.connector.jdbc.JDBCDriverMCF.setDriver(JDBCDriverMCF.java:147)
	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:597)
	at org.apache.geronimo.gbean.DynamicGBeanDelegate$Operation.invoke(DynamicGBeanDelegate.java:232)
	at org.apache.geronimo.gbean.DynamicGBeanDelegate.setAttribute(DynamicGBeanDelegate.java:176)
	at org.apache.geronimo.connector.wrapper.outbound.ManagedConnectionFactoryWrapper.setAttribute(ManagedConnectionFactoryWrapper.java:209)
	at org.apache.geronimo.gbean.runtime.GBeanAttribute$DynamicSetterMethodInvoker.invoke(GBeanAttribute.java:419)
	at org.apache.geronimo.gbean.runtime.GBeanAttribute.setValue(GBeanAttribute.java:392)
	at org.apache.geronimo.gbean.runtime.GBeanAttribute.inject(GBeanAttribute.java:426)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:965)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
	at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:301)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:560)
	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:460)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
	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:597)
	at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:872)
	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
	at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
	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:597)
	at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:872)
	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
	at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
	at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
	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:597)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
	at sun.rmi.transport.Transport$1.run(Transport.java:159)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:169)
	at org.tranql.connector.jdbc.JDBCDriverMCF.loadClass(JDBCDriverMCF.java:311)
	at org.tranql.connector.jdbc.JDBCDriverMCF.setDriver(JDBCDriverMCF.java:144)
	... 69 more

  The service J2EEApplication=null,JCAConnectionFactory=jdbc/CloudBees,JCAManagedConnectionFactory=jdbc/CloudBees,JCAResource=tranql-connector-ra-1.6,ResourceAdapter=tranql-connector-ra-1.6,ResourceAdapterModule=cloudbees/cloudbees/1.0/rar,j2eeType=JCAConnectionManager,name=jdbc/CloudBees
did not start because cloudbees/cloudbees/1.0/rar?J2EEApplication=null,JCAConnectionFactory=jdbc/CloudBees,JCAResource=tranql-connector-ra-1.6,ResourceAdapter=tranql-connector-ra-1.6,ResourceAdapterModule=cloudbees/cloudbees/1.0/rar,j2eeType=JCAManagedConnectionFactory,name=jdbc/CloudBees
did not start.
  The service J2EEApplication=null,JCAResource=tranql-connector-ra-1.6,ResourceAdapter=tranql-connector-ra-1.6,ResourceAdapterModule=cloudbees/cloudbees/1.0/rar,j2eeType=JCAConnectionFactory,name=jdbc/CloudBees
did not start because cloudbees/cloudbees/1.0/rar?J2EEApplication=null,JCAConnectionFactory=jdbc/CloudBees,JCAManagedConnectionFactory=jdbc/CloudBees,JCAResource=tranql-connector-ra-1.6,ResourceAdapter=tranql-connector-ra-1.6,ResourceAdapterModule=cloudbees/cloudbees/1.0/rar,j2eeType=JCAConnectionManager,name=jdbc/CloudBees
did not start.


	at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:168)
	at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:124)
	at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:167)
	at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64)
	at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65)
	at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
	at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
matzew@woody:~/work/source/JAX2011/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/bin$ 



> DeploymentException: Operation failed: start of cloudbees/cloudbees/1.0/rar failed
> ----------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5811
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5811
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 3.0
>            Reporter: Matthias Weßendorf
>
> Reading this wiki:
> https://cwiki.apache.org/GMOxDOC30/jboss-to-geronimo-jdbc-migration.html
> (==> before that, I was able to upload the drive to the repository, via the Admin
Console)
> Now, I created this XML file, which contains my settings (including url to my remote
DB HOST):
> <?xml version="1.0" encoding="UTF-8"?> 
> <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"
> xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"> 
> <dep:environment> 
> <dep:moduleId> 
> <dep:groupId>myapp</dep:groupId> 
> <dep:artifactId>my_users_ds</dep:artifactId> 
> <dep:version>1.0</dep:version> 
> <dep:type>rar</dep:type> 
> </dep:moduleId> 
> <dep:dependencies>
> <dep:dependency>
> <dep:groupId>mysql</dep:groupId>
> <dep:artifactId>mysql-connector-java</dep:artifactId> 
> <dep:version>5.0.5</dep:version>
> <dep:type>jar</dep:type>
> </dep:dependency> 
> </dep:dependencies> 
> </dep:environment>
> <resourceadapter> 
> <outbound-resourceadapter> 
> <connection-definition> 
> <connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>

> <connectiondefinition-instance> 
> <name>jdbc/CloudBees</name> 
> <config-property-setting name="UserName">myUser</config-property-setting>

> <config-property-setting name="Password">myPassword</config-property-setting>

> <config-property-setting name="Driver">com.mysql.jdbc.Driver</config-property-setting>

> <config-property-setting name="ConnectionURL">jdbc:mysql://REMOTE_SERVER:3306/schema</config-property-setting>

> <connectionmanager> 
> <xa-transaction> 
> <transaction-caching/> 
> </xa-transaction> 
> <single-pool> 
> <max-size>10</max-size> 
> <min-size>0</min-size> 
> <match-one/> 
> </single-pool> 
> </connectionmanager> 
> </connectiondefinition-instance> 
> </connection-definition> 
> </outbound-resourceadapter> 
> </resourceadapter> 
> </connector>

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message