You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by "dbj@hp.com" <db...@hp.com> on 2014/07/25 18:42:28 UTC

Need Help !

  

    
  
  
    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 -&gt; app server version 
            
            2. Java 6 
              
              3. MySQL
                Connector -&gt; 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) <http://apache-geronimo.328035.n3.nabble.com/attachment/3988136/0/daytrader-mysql-xa-plan.xml>




--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Need-Help-tp3988136.html
Sent from the Users mailing list archive at Nabble.com.

Re: Need Help !

Posted by "dbj@hp.com" <db...@hp.com>.
Hi

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

- Danny



--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Need-Help-tp3988136p3988138.html
Sent from the Users mailing list archive at Nabble.com.

Re: Need Help !

Posted by Kevin Huntly <km...@gmail.com>.
Is the MySQL jar loaded into Geronimo and has the server been restarted?

________________________________________________

Kevin Huntly
79 Aurora Drive
Cheektowaga, NY 14215
Email: kmhuntly@gmail.com
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, "dbj@hp.com" <db...@hp.com> 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
> <http://apache-geronimo.328035.n3.nabble.com/attachment/3988136/0/daytrader-mysql-xa-plan.xml>
>
> ------------------------------
> View this message in context: Need Help !
> <http://apache-geronimo.328035.n3.nabble.com/Need-Help-tp3988136.html>
> Sent from the Users mailing list archive
> <http://apache-geronimo.328035.n3.nabble.com/Users-f328036.html> at
> Nabble.com.
>