geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forrest Xia (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-5811) DeploymentException: Operation failed: start of cloudbees/cloudbees/1.0/rar failed
Date Wed, 02 May 2012 06:32:53 GMT

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

Forrest Xia commented on GERONIMO-5811:
---------------------------------------

Seems the mysql jdbc driver jar needs to be transformed into an OSGi bundle could resolve
this issue. The latest Geronimo 3.0-beta branch has the feature of automatically transform
a plain jar into an osgi bundle when installing from the admin console.

So Matthias, can you help validate your sample with the latest 3.0-beta branch build on this
issue?
                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message