geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-2435) Shutdown doesn't require valid credentials
Date Sun, 19 Nov 2006 06:16:37 GMT
    [ http://issues.apache.org/jira/browse/GERONIMO-2435?page=comments#action_12451108 ] 
            
Vamsavardhana Reddy commented on GERONIMO-2435:
-----------------------------------------------

I could not recreate the problem on Win XP.  Can someone verify this JIRA?

On Win XP, G Tomcat 1.2-SNAPSHOT server:

Server shutdown was successful using shutdown.bat and correct credentials.

I got the following exception upon entering wrong credentials.

Locating server on port 1099... java.lang.SecurityException: Invalid login
        at org.apache.geronimo.jmxremoting.Authenticator.authenticate(Authentica
tor.java:70)
        at javax.management.remote.rmi.RMIServerImpl$1.run(RMIServerImpl.java:14
1)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.management.remote.rmi.RMIServerImpl.authenticate(RMIServerImpl.
java:137)
        at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.jav
a:91)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
        at sun.rmi.transport.Transport$1.run(Transport.java:148)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
60)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:701)
        at java.lang.Thread.run(Thread.java:534)
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
RemoteCall.java:247)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
223)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
        at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Sour
ce)
        at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:12
3)
        at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFacto
ry.java:38)
        at org.apache.geronimo.deployment.cli.StopServer.getRunningKernel(StopSe
rver.java:143)
        at org.apache.geronimo.deployment.cli.StopServer.execute(StopServer.java
:99)
        at org.apache.geronimo.deployment.cli.StopServer.main(StopServer.java:52
)

> Shutdown doesn't require valid credentials
> ------------------------------------------
>
>                 Key: GERONIMO-2435
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2435
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security, Tomcat, startup/shutdown
>    Affects Versions: 1.2
>         Environment: jlaskowski@dev /cygdrive/c/oss/geronimo
> $ svn info
> Path: .
> URL: https://svn.apache.org/repos/asf/geronimo/server/trunk
> Repository Root: https://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 449803
> Node Kind: directory
> Schedule: normal
> Last Changed Author: djencks
> Last Changed Rev: 449797
> Last Changed Date: 2006-09-25 22:05:13 +0200 (Mon, 25 Sep 2006)
> Properties Last Updated: 2006-09-13 16:27:07 +0200 (Wed, 13 Sep 2006)
>            Reporter: Jacek Laskowski
>
> 1/ Run geronimo-tomcat-j2ee with ./bin/startup.sh
> 2/ Run ./bin/shutdown.sh. When asked about Username and password enter whatever comes
to your mind, say x/x
> 3/ Notice that although the credenatials are wrong, the server shutdown procedure begins
(@see var/log/geronimo.out)
> Server shutdown begun
> ...
> Server shutdown completed

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message