[jira] Commented: (GERONIMODEVTOOLS-193) Runs ping and throws java.lang.SecurityException during Geronimo server startup.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526957 ] Kan Ogawa commented on GERONIMODEVTOOLS-193: Thanks, Shiva. I have verified your fix and understood that this fix is temporary step. Of course, I think that this issue should not become closed status yet until GERONIMO-3467 gets fixed. > Runs ping and throws java.lang.SecurityException during Geronimo server > startup. > > > Key: GERONIMODEVTOOLS-193 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-193 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Affects Versions: 2.1 > Environment: Windows XP, Eclipse 3.3, WTP 2.0, Geronimo server 2.0.1, > Sun JDK 1.5.0_11 >Reporter: Kan Ogawa >Assignee: Shiva Kumar H R > Fix For: 2.1 > > > Hi, > While launching Geronimo server on Eclipse, a ping runs in async and the > server startup sometimes fails. > This server hostname is localhost. > Eclipse error log: > java.lang.SecurityException: Invalid login > at > org.apache.geronimo.jmxremoting.Authenticator.authenticate(Authenticator.java:73) > at > javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:214) > at > javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:181) > 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:585) > at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) > at sun.rmi.transport.Transport$1.run(Transport.java:153) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:149) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) > at java.lang.Thread.run(Thread.java:595) > at > sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) > at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) > at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown > Source) > at > javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2239) > at > javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:271) > at > javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248) > at > org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.getServerConnection(GeronimoServerBehaviourDelegate.java:689) > at > org.apache.geronimo.st.v20.core.GeronimoServerBehaviour.getKernel(GeronimoServerBehaviour.java:73) > at > org.apache.geronimo.st.v20.core.GeronimoServerBehaviour.isKernelAlive(GeronimoServerBehaviour.java:93) > at > org.apache.geronimo.st.v20.core.GeronimoServerBehaviour.isFullyStarted(GeronimoServerBehaviour.java:113) > at org.apache.geronimo.st.core.PingThread.run(PingThread.java:75) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-193) Runs ping and throws java.lang.SecurityException during Geronimo server startup.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526837 ] Shiva Kumar H R commented on GERONIMODEVTOOLS-193: -- This is fixed in branches\2.0.0. Will however leave the JIRA open for better fixing in trunk. Kan Ogawa, The eclipse plug-in which Tim is going to put up for vote later today will have the fix for this. Can you please give it a try and verify that the problem is fixed? > Runs ping and throws java.lang.SecurityException during Geronimo server > startup. > > > Key: GERONIMODEVTOOLS-193 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-193 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Affects Versions: 2.0 > Environment: Windows XP, Eclipse 3.3, WTP 2.0, Geronimo server 2.0.1, > Sun JDK 1.5.0_11 >Reporter: Kan Ogawa >Assignee: Shiva Kumar H R > > Hi, > While launching Geronimo server on Eclipse, a ping runs in async and the > server startup sometimes fails. > This server hostname is localhost. > Eclipse error log: > java.lang.SecurityException: Invalid login > at > org.apache.geronimo.jmxremoting.Authenticator.authenticate(Authenticator.java:73) > at > javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:214) > at > javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:181) > 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:585) > at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) > at sun.rmi.transport.Transport$1.run(Transport.java:153) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:149) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) > at java.lang.Thread.run(Thread.java:595) > at > sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) > at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) > at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown > Source) > at > javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2239) > at > javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:271) > at > javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248) > at > org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.getServerConnection(GeronimoServerBehaviourDelegate.java:689) > at > org.apache.geronimo.st.v20.core.GeronimoServerBehaviour.getKernel(GeronimoServerBehaviour.java:73) > at > org.apache.geronimo.st.v20.core.GeronimoServerBehaviour.isKernelAlive(GeronimoServerBehaviour.java:93) > at > org.apache.geronimo.st.v20.core.GeronimoServerBehaviour.isFullyStarted(GeronimoServerBehaviour.java:113) > at org.apache.geronimo.st.core.PingThread.run(PingThread.java:75) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-193) Runs ping and throws java.lang.SecurityException during Geronimo server startup.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526823 ] Shiva Kumar H R commented on GERONIMODEVTOOLS-193: -- Thanks Kan Ogawa for your observations & debugging :) Please see the 12-Sep IRC discussions between and http://servlet.uwyn.com/drone/log/bevinbot/geronimo/20070912 for further discussions on this. > Runs ping and throws java.lang.SecurityException during Geronimo server > startup. > > > Key: GERONIMODEVTOOLS-193 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-193 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Affects Versions: 2.0 > Environment: Windows XP, Eclipse 3.3, WTP 2.0, Geronimo server 2.0.1, > Sun JDK 1.5.0_11 >Reporter: Kan Ogawa >Assignee: Shiva Kumar H R > > Hi, > While launching Geronimo server on Eclipse, a ping runs in async and the > server startup sometimes fails. > This server hostname is localhost. > Eclipse error log: > java.lang.SecurityException: Invalid login > at > org.apache.geronimo.jmxremoting.Authenticator.authenticate(Authenticator.java:73) > at > javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:214) > at > javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:181) > 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:585) > at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) > at sun.rmi.transport.Transport$1.run(Transport.java:153) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:149) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) > at java.lang.Thread.run(Thread.java:595) > at > sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) > at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) > at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown > Source) > at > javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2239) > at > javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:271) > at > javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248) > at > org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.getServerConnection(GeronimoServerBehaviourDelegate.java:689) > at > org.apache.geronimo.st.v20.core.GeronimoServerBehaviour.getKernel(GeronimoServerBehaviour.java:73) > at > org.apache.geronimo.st.v20.core.GeronimoServerBehaviour.isKernelAlive(GeronimoServerBehaviour.java:93) > at > org.apache.geronimo.st.v20.core.GeronimoServerBehaviour.isFullyStarted(GeronimoServerBehaviour.java:113) > at org.apache.geronimo.st.core.PingThread.run(PingThread.java:75) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-193) Runs ping and throws java.lang.SecurityException during Geronimo server startup.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525913 ] Kan Ogawa commented on GERONIMODEVTOOLS-193: Traced root cause stack trace of the java.lang.SecurityException: Booting Geronimo Kernel (in Java 1.5.0_11)... Module 1/33 org.apache.geronimo.configs/rmi-naming/2.0.1/car started in 1.985s Module 2/33 org.apache.geronimo.configs/j2ee-server/2.0.1/car started in 1.281s Module 3/33 org.apache.geronimo.configs/transaction/2.0.1/car started in 2.859s Module 4/33 org.apache.geronimo.configs/j2ee-security/2.0.1/car started in .000s Module 5/33 org.apache.geronimo.configs/axis/2.0.1/car javax.security.auth.login.LoginException: No LoginModules configured for geronimo-admin at javax.security.auth.login.LoginContext.init(LoginContext.java:256) at javax.security.auth.login.LoginContext.(LoginContext.java:403) at org.apache.geronimo.jmxremoting.Authenticator.authenticate(Authenticator.java:67) at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:214) at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:181) 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:585) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) at java.lang.Thread.run(Thread.java:595) javax.security.auth.login.LoginException: No LoginModules configured for geronimo-admin at javax.security.auth.login.LoginContext.init(LoginContext.java:256) at javax.security.auth.login.LoginContext.(LoginContext.java:403) at org.apache.geronimo.jmxremoting.Authenticator.authenticate(Authenticator.java:67) at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:214) at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:181) 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:585) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) at java.lang.Thread.run(Thread.java:595) Why does the LoginContext initialization fail ? > Runs ping and throws java.lang.SecurityException during Geronimo server > startup. > > > Key: GERONIMODEVTOOLS-193 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-193 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Affects Versions: 2.0 > Environment: Windows XP, Eclipse 3.3, WTP 2.0, Geronimo server 2.0.1, > Sun JDK 1.5.0_11 >Reporter: Kan Ogawa >Assignee: Tim McConnell > > Hi, > While launching Geronimo server on Eclipse, a ping runs in async and the > server startup sometimes fails. > This server hostname is localhost. > Eclipse error log: > java.lang.SecurityException: Invalid login > at > org.apache.geronimo.jmxremoting.Authenticator.authenticate(Authenticator.java:73) > at > javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:214) > at > javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:181) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at
