Re: Login failure in deploying DayTrader on Geronimo

2015-02-28 Thread saikat_de
This is the very first deployment I am trying on geronimo server.



--
View this message in context: 
http://apache-geronimo.328035.n3.nabble.com/Login-failure-in-deploying-DayTrader-on-Geronimo-tp3988819p3988827.html
Sent from the Users mailing list archive at Nabble.com.

Re: Login failure in deploying DayTrader on Geronimo

2015-02-28 Thread saikat_de
No - I haven't done any manual change on the geronimo server. Even after
using system  manager, I get the same result.



--
View this message in context: 
http://apache-geronimo.328035.n3.nabble.com/Login-failure-in-deploying-DayTrader-on-Geronimo-tp3988819p3988826.html
Sent from the Users mailing list archive at Nabble.com.

Re: Login failure in deploying DayTrader on Geronimo

2015-02-27 Thread 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.



--
View this message in context: 
http://apache-geronimo.328035.n3.nabble.com/Login-failure-in-deploying-DayTrader-on-Geronimo-tp3988819p3988824.html
Sent from the Users mailing list archive at Nabble.com.


Login failure in deploying DayTrader on Geronimo

2015-02-27 Thread 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_64MySQL: 5.1.73-3.el6_5Geronimo: 3.0.1DayTrader:
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.xmlUsing
GERONIMO_HOME:   /root/geronimo-tomcat7-javaee6-web-3.0.1Using
GERONIMO_SERVER: /root/geronimo-tomcat7-javaee6-web-3.0.1Using
GERONIMO_TMPDIR: /root/geronimo-tomcat7-javaee6-web-3.0.1/var/tempUsing
JRE_HOME:/usr/lib/jvm/jre-1.6.0-openjdk.x86_642015-02-27
17:50:13,820 ERROR [DeployTool]
Error:org.apache.geronimo.common.DeploymentException: Login Failedat
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: 
http://apache-geronimo.328035.n3.nabble.com/Login-failure-in-deploying-DayTrader-on-Geronimo-tp3988819.html
Sent from the Users mailing list archive at Nabble.com.

Re: Login failure in deploying DayTrader on Geronimo

2015-02-27 Thread Kevin Huntly
Do other deployments work using the same login information?



Kevin Huntly
79 Aurora Drive
Cheektowaga, NY 14215
Email: kmhun...@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 Feb 27, 2015 1:32 PM, saikat_de desai...@gmail.com 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
 http://apache-geronimo.328035.n3.nabble.com/Login-failure-in-deploying-DayTrader-on-Geronimo-tp3988819.html
 Sent from the Users mailing list archive
 http://apache-geronimo.328035.n3.nabble.com/Users-f328036.html at
 Nabble.com.