Need Help !

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Need Help !

dbj@hp.com
Hi

I am new to this Geronimo app server technology, and trying to deploy daytrader-3.0.0.ear in Geronimo app server. The following are the software stack what I am using.

1. geronimo-tomcat7-javaee6-3.0.1 -> app server version

2. Java 6

3. MySQL Connector -> mysql-connector-java-5.1.31.jar


while deploying ear file error has been thrown like below

./deploy --user system --password manager redeploy daytrader-ear-3.0.0.ear daytrader-mysql-xa-plan.xml
Using GERONIMO_HOME:   geronimo-tomcat7-javaee6-3.0.1
Using GERONIMO_SERVER: geronimo-tomcat7-javaee6-3.0.1
Using GERONIMO_TMPDIR: geronimo-tomcat7-javaee6-3.0.1/var/temp
Using JRE_HOME:        /opt/java6/jre
    No ModuleID or TargetModuleID provided.  Attempting to guess based
    on the content of the plan.
    Attempting to use ModuleID
    'org.apache.geronimo.daytrader/daytrader/3.0.0/car'
    Stopped org.apache.geronimo.daytrader/daytrader/3.0.0/car
    Unloaded org.apache.geronimo.daytrader/daytrader/3.0.0/car
    Uninstalled org.apache.geronimo.daytrader/daytrader/3.0.0/car
    Deployed org.apache.geronimo.daytrader/daytrader/3.0.0/car
    Redeployed org.apache.geronimo.daytrader/daytrader/3.0.0/car
2014-07-25 21:37:52,281 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Operation failed: com/mysql/jdbc/jdbc2/optional/MysqlXADataSource

    at org.apache.geronimo.deployment.cli.CommandRedeploy.execute(CommandRedeploy.java:392)
    at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:171)
    at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64)
    at org.apache.geronimo.main.Bootstrapper.start(Bootstrapper.java:88)
    at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:61)
    at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
    at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32)

 The plan file is attached with this mail. any help would be greatly appreciated. Please do let me know if you need more information.

Thanks
Danny J


  


daytrader-mysql-xa-plan.xml (11K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Need Help !

Kevin Huntly

Is the MySQL jar loaded into Geronimo and has the server been restarted?

________________________________________________

Kevin Huntly
79 Aurora Drive
Cheektowaga, NY 14215
Email: [hidden email]
Cell: (716) 341-5669
LinkedIn: http://www.linkedin.com/in/kevinhuntly
________________________________________________

-----BEGIN GEEK CODE BLOCK-----
Version: 1.0
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
PGP++(+++) t+ 5-- X-- R+ tv+ b++  DI++ D++
G++ e(+) h--- r+++ y+++*
------END GEEK CODE BLOCK------

On Jul 25, 2014 1:25 PM, "[hidden email]" <[hidden email]> wrote:
Hi

I am new to this Geronimo app server technology, and trying to deploy daytrader-3.0.0.ear in Geronimo app server. The following are the software stack what I am using.

1. geronimo-tomcat7-javaee6-3.0.1 -> app server version

2. Java 6

3. MySQL Connector -> mysql-connector-java-5.1.31.jar


while deploying ear file error has been thrown like below

./deploy --user system --password manager redeploy daytrader-ear-3.0.0.ear daytrader-mysql-xa-plan.xml
Using GERONIMO_HOME:   geronimo-tomcat7-javaee6-3.0.1
Using GERONIMO_SERVER: geronimo-tomcat7-javaee6-3.0.1
Using GERONIMO_TMPDIR: geronimo-tomcat7-javaee6-3.0.1/var/temp
Using JRE_HOME:        /opt/java6/jre
    No ModuleID or TargetModuleID provided.  Attempting to guess based
    on the content of the plan.
    Attempting to use ModuleID
    'org.apache.geronimo.daytrader/daytrader/3.0.0/car'
    Stopped org.apache.geronimo.daytrader/daytrader/3.0.0/car
    Unloaded org.apache.geronimo.daytrader/daytrader/3.0.0/car
    Uninstalled org.apache.geronimo.daytrader/daytrader/3.0.0/car
    Deployed org.apache.geronimo.daytrader/daytrader/3.0.0/car
    Redeployed org.apache.geronimo.daytrader/daytrader/3.0.0/car
2014-07-25 21:37:52,281 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Operation failed: com/mysql/jdbc/jdbc2/optional/MysqlXADataSource

    at org.apache.geronimo.deployment.cli.CommandRedeploy.execute(CommandRedeploy.java:392)
    at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:171)
    at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64)
    at org.apache.geronimo.main.Bootstrapper.start(Bootstrapper.java:88)
    at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:61)
    at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
    at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32)

 The plan file is attached with this mail. any help would be greatly appreciated. Please do let me know if you need more information.

Thanks
Danny J


  


daytrader-mysql-xa-plan.xml (11K) Download Attachment


View this message in context: Need Help !
Sent from the Users mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Need Help !

dbj@hp.com
Hi

I think that was my problem... you nailed it... started working, Thanks

- Danny