Login failure in deploying DayTrader on Geronimo

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

Login failure in deploying DayTrader on Geronimo

saikat_de
I am new to Geronimo technology. I am trying to deploy DayTrader on Geronimo. My config details are as follows - OS: Amazon EC2 Cent OS (64bit) JDK: java-1.6.0-openjdk.x86_64 MySQL: 5.1.73-3.el6_5 Geronimo: 3.0.1 DayTrader: 3.0.0 (built thru maven). After setting environment variables & starting Geronimo (using $GERONIMO_HOME/bin/geronimo start), if I try to run deploy daytrader, deployment fails with login failure exception. [root@ip-10-113-176-178 bin]# ./deploy --verbose --user system --password manager deploy $DAYTRADER_HOME/javaee6/assemblies/daytrader-ear/target/daytrader-ear-3.0.0.ear $DAYTRADER_HOME/javaee6/plans/target/classes/daytrader-mysql-xa-plan.xml Using GERONIMO_HOME: /root/geronimo-tomcat7-javaee6-web-3.0.1 Using GERONIMO_SERVER: /root/geronimo-tomcat7-javaee6-web-3.0.1 Using GERONIMO_TMPDIR: /root/geronimo-tomcat7-javaee6-web-3.0.1/var/temp Using JRE_HOME: /usr/lib/jvm/jre-1.6.0-openjdk.x86_64 2015-02-27 17:50:13,820 ERROR [DeployTool] Error: org.apache.geronimo.common.DeploymentException: Login Failed at org.apache.geronimo.deployment.cli.OnlineServerConnection.tryToConnect(OnlineServerConnection.java:126) at org.apache.geronimo.deployment.cli.OnlineServerConnection.(OnlineServerConnection.java:75) at org.apache.geronimo.deployment.cli.OnlineServerConnection.(OnlineServerConnection.java:50) 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.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) 1) Could you please help me how to troubleshoot & resolve this issue ? Apart from 'mvn install' & 'createDerbyDB', I have not executed any other automated/manual step for daytrader. 2) Once daytrader is deployed, if I want to expose a public URL (accessible thru browser) of the deployment, how can I do that ? What all other packages needed to be installed ?
Reply | Threaded
Open this post in threaded view
|

Re: Login failure in deploying DayTrader on Geronimo

Kevin Huntly

Do other deployments work using the same login information?

________________________________________________

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 Feb 27, 2015 1:32 PM, "saikat_de" <[hidden email]> wrote:
I am new to Geronimo technology. I am trying to deploy DayTrader on Geronimo. My config details are as follows - OS: Amazon EC2 Cent OS (64bit) JDK: java-1.6.0-openjdk.x86_64 MySQL: 5.1.73-3.el6_5 Geronimo: 3.0.1 DayTrader: 3.0.0 (built thru maven). After setting environment variables & starting Geronimo (using $GERONIMO_HOME/bin/geronimo start), if I try to run deploy daytrader, deployment fails with login failure exception. [root@ip-10-113-176-178 bin]# ./deploy --verbose --user system --password manager deploy $DAYTRADER_HOME/javaee6/assemblies/daytrader-ear/target/daytrader-ear-3.0.0.ear $DAYTRADER_HOME/javaee6/plans/target/classes/daytrader-mysql-xa-plan.xml Using GERONIMO_HOME: /root/geronimo-tomcat7-javaee6-web-3.0.1 Using GERONIMO_SERVER: /root/geronimo-tomcat7-javaee6-web-3.0.1 Using GERONIMO_TMPDIR: /root/geronimo-tomcat7-javaee6-web-3.0.1/var/temp Using JRE_HOME: /usr/lib/jvm/jre-1.6.0-openjdk.x86_64 2015-02-27 17:50:13,820 ERROR [DeployTool] Error: org.apache.geronimo.common.DeploymentException: Login Failed at org.apache.geronimo.deployment.cli.OnlineServerConnection.tryToConnect(OnlineServerConnection.java:126) at org.apache.geronimo.deployment.cli.OnlineServerConnection.(OnlineServerConnection.java:75) at org.apache.geronimo.deployment.cli.OnlineServerConnection.(OnlineServerConnection.java:50) 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.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) 1) Could you please help me how to troubleshoot & resolve this issue ? Apart from 'mvn install' & 'createDerbyDB', I have not executed any other automated/manual step for daytrader. 2) Once daytrader is deployed, if I want to expose a public URL (accessible thru browser) of the deployment, how can I do that ? What all other packages needed to be installed ?

View this message in context: Login failure in deploying DayTrader on Geronimo
Sent from the Users mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Login failure in deploying DayTrader on Geronimo

gary
hi,it is an AuthenticationFailedException according your log. Did you do any customized action with geronimo server. I means do you have update <geronimo-home>/var/security/users.properties. It looks like you could get the authentication by the user system with password "manager".
Reply | Threaded
Open this post in threaded view
|

Re: Login failure in deploying DayTrader on Geronimo

saikat_de
No - I haven't done any manual change on the geronimo server. Even after using system & "manager", I get the same result.
Reply | Threaded
Open this post in threaded view
|

Re: Login failure in deploying DayTrader on Geronimo

saikat_de
In reply to this post by Kevin Huntly
This is the very first deployment I am trying on geronimo server.