[ 
https://issues.apache.org/jira/browse/GERONIMO-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sameer Mahajan updated GERONIMO-6524:
-------------------------------------

    Description: 
I am required to deploy geromino and daytrader application on CentOS 6.4 using 
only command line utilities. I am able to install geromino alright, and compile 
the daytrader app fine. However when I run the deploy command I get the 
following error:

2014-07-29 11:26:00,435 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.<init>(OnlineServerConnection.java:75)
        at 
org.apache.geronimo.deployment.cli.OnlineServerConnection.<init>(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)


the geromino log shows the error of:

2014-07-29 10:17:21,233 ERROR [AbstractEncryption] Unable to decrypt
java.io.EOFException
        at 
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2303)
        at 
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2772)
        at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:278)
        at 
org.apache.geronimo.crypto.AbstractEncryption.decrypt(AbstractEncryption.java:76)
        at 
org.apache.geronimo.crypto.EncryptionManager.decrypt(EncryptionManager.java:125)
        at 
org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule.login(PropertiesFileLoginModule.java:203)
        at 
org.apache.karaf.jaas.boot.ProxyLoginModule.login(ProxyLoginModule.java:83)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
        at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
        at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
        at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
        at 
org.apache.geronimo.jmxremoting.Authenticator.authenticate(Authenticator.java:73)
        at 
javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
        at 
javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
        at sun.rmi.transport.Transport$1.run(Transport.java:159)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
        at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
        at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
        at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
        at java.lang.Thread.run(Thread.java:662)


> 2014-07-29 10:17:21,233 ERROR [AbstractEncryption] Unable to decrypt 
> java.io.EOFException doing deploy
> ------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6524
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6524
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 3.0.1
>            Reporter: Sameer Mahajan
>
> I am required to deploy geromino and daytrader application on CentOS 6.4 
> using only command line utilities. I am able to install geromino alright, and 
> compile the daytrader app fine. However when I run the deploy command I get 
> the following error:
> 2014-07-29 11:26:00,435 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.<init>(OnlineServerConnection.java:75)
>       at 
> org.apache.geronimo.deployment.cli.OnlineServerConnection.<init>(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)
> the geromino log shows the error of:
> 2014-07-29 10:17:21,233 ERROR [AbstractEncryption] Unable to decrypt
> java.io.EOFException
>         at 
> java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2303)
>         at 
> java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2772)
>         at 
> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779)
>         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:278)
>         at 
> org.apache.geronimo.crypto.AbstractEncryption.decrypt(AbstractEncryption.java:76)
>         at 
> org.apache.geronimo.crypto.EncryptionManager.decrypt(EncryptionManager.java:125)
>         at 
> org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule.login(PropertiesFileLoginModule.java:203)
>         at 
> org.apache.karaf.jaas.boot.ProxyLoginModule.login(ProxyLoginModule.java:83)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at 
> javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
>         at 
> javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
>         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at 
> javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
>         at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
>         at 
> org.apache.geronimo.jmxremoting.Authenticator.authenticate(Authenticator.java:73)
>         at 
> javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
>         at 
> javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
>         at sun.rmi.transport.Transport$1.run(Transport.java:159)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
>         at 
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
>         at 
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
>         at 
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>         at java.lang.Thread.run(Thread.java:662)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to