[
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608448#action_12608448
]
Ashish Jain commented on GERONIMODEVTOOLS-349:
----------------------------------------------
Here are my findings on this issue. Once I have added 2 servers and later I
start 1st server (the one which is added 1st) I get the following trace.
org.apache.geronimo.st.core: Ping: fail
org.apache.geronimo.st.core: Connected to kernel.
service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
org.apache.geronimo.st.core: Ping: fail
org.apache.geronimo.st.core: Ping: fail
org.apache.geronimo.st.core: Ping: fail
org.apache.geronimo.st.core: Ping: fail
org.apache.geronimo.st.core: Ping: fail
org.apache.geronimo.st.core: Ping: fail
org.apache.geronimo.st.core: Ping: fail
org.apache.geronimo.st.core: Ping: success
org.apache.geronimo.st.core: Entry:
GeronimoServerBehaviourDelegate.startUpdateServerStateTask( parm1=[Apache
Geronimo v2.1 Server at localhost] )
org.apache.geronimo.st.core: Exit :
GeronimoServerBehaviourDelegate.startUpdateServerStateTask()
org.apache.geronimo.st.core: Entry:
GeronimoServerBehaviourDelegate.publishModules( parm1=[ADDED], parm2=[[[]]],
parm3=[[[]]], parm4=[Status OK: org.eclipse.wst.server.core code=0 null
children=[]], [EMAIL PROTECTED] )
org.apache.geronimo.st.core: Entry:
GeronimoServerBehaviourDelegate.publishFinish( [EMAIL PROTECTED] )
org.apache.geronimo.st.core: deploymentManager destroy
org.apache.geronimo.st.core: Exit :
GeronimoServerBehaviourDelegate.publishFinish()
org.apache.geronimo.st.core: >> 6_26_08_7_25_PM0 Updating Server State.
org.apache.geronimo.st.core: << 6_26_08_7_25_PM0 Updating Server State.
Ping succeeds only when the server is started. Later we have
"GeronimoServerBehaviourDelegate.startUpdateServerState" which updates the
server state. The status of the second server remains unchanged and it shows
stopped. Later when I right click on the server and select "publish" server
throws port in use error and later( in 30 seconds) its state changes to
"started".
It seems we need to introduce code @ two places.
1) One is when we are done with adding the server in that case GEP will
automatically start ping to retrieve the server state.
2) Second can be when we restart GEP and we have existing server instances in
GEP.
> GEP synchronization with a server running outside of Eclipse no longer works
> ----------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-349
> URL:
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-349
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.1.0
> Reporter: Tim McConnell
> Assignee: Ashish Jain
> Fix For: 2.1.2
>
>
> The GEP should synchronize with a Geronimo server running either inside of
> Eclipse or outside of Eclipse. It no longer works though when the server is
> started outside of Eclipse....
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.