[jira] Commented: (GERONIMODEVTOOLS-193) Ping runs during Geronimo server startup.

2007-09-05 Thread Kan Ogawa (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525217
 ] 

Kan Ogawa commented on GERONIMODEVTOOLS-193:


I encountered  this problem on the latest build environments.
And I downloaded WTP Server Adapter from the following location:
http://people.apache.org/~mcconne/releases/g-eclipse-plugin-2.0.0-deployable.zip

> Ping runs 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
> Attachments: GERONIMODEVTOOLS-193.patch
>
>
> 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) Ping runs during Geronimo server startup.

2007-09-05 Thread Ted Kirby (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525176
 ] 

Ted Kirby commented on GERONIMODEVTOOLS-193:


I was hoping you could teach me by answering my questions! :-)  I have seen 
this problem only occasionally, and not since I upgraded to the latest build.  
Do you get this problem consistently?  If so, what is the scenario that 
generates this problem?  Thanks.

> Ping runs 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
>Reporter: Kan Ogawa
> Attachments: GERONIMODEVTOOLS-193.patch
>
>
> 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) Ping runs during Geronimo server startup.

2007-09-05 Thread Kan Ogawa (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525104
 ] 

Kan Ogawa commented on GERONIMODEVTOOLS-193:


Thanks, Ted.

I go on validating this error cause a little more.
I cannot fully understand a conclusive reason which the ping runs from the 
starting status to the started status.

If found what it is, please teach me it.

> Ping runs 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
>Reporter: Kan Ogawa
> Attachments: GERONIMODEVTOOLS-193.patch
>
>
> 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) Ping runs during Geronimo server startup.

2007-09-05 Thread Ted Kirby (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525085
 ] 

Ted Kirby commented on GERONIMODEVTOOLS-193:


Doesn't this patch assume that once the server gets into the starting state, it 
will get to the started state?  What code will set the server state from 
starting to started in this case?  Suppose there is a failure during startup 
after this code runs.  How is that caught, and the server state changed from 
starting to stopped?  

> Ping runs 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
>Reporter: Kan Ogawa
> Attachments: GERONIMODEVTOOLS-193.patch
>
>
> 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.