[jira] Commented: (GERONIMODEVTOOLS-235) Plugin cannot synchronize with the server when non-zero portOffset value in the config-substitutions.properties file
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614037#action_12614037 ] Ted Kirby commented on GERONIMODEVTOOLS-235: See GERONIMODEVTOOLS-353 for remote server support. While there may be instances where reading server config information may not work (as stated above), it seems that it should work in the most predominate case of local server. It also seems that GeronimoServerDelegate.setDefaults is where the 1099 and 8080 settings come from initially when defining a server, and they are hard-coded values. So it seems that anything we can do to better set these values is a good thing. We might put a note on the screen if we find settings that suggest the values should be other than these defaults. > Plugin cannot synchronize with the server when non-zero portOffset value in > the config-substitutions.properties file > > > Key: GERONIMODEVTOOLS-235 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-235 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Affects Versions: 2.0.0 >Reporter: Tim McConnell >Assignee: Ashish Jain > Fix For: 2.1.x > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-235) Plugin cannot synchronize with the server when non-zero portOffset value in the config-substitutions.properties file
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613239#action_12613239 ] Ashish Jain commented on GERONIMODEVTOOLS-235: -- Ted, Thanks for your comments! Currently I am not looking at supporting remote servers and multiple server instances into this. Since both of these are not yet supported in GEP. We do have a JIRA GERONIMODEVTOOLS-216 open for remote server support and none for multiple server instances(don't know how feasible it is adding another server from same installation directory). However I would like to work on the current model of GEP that is one server from one installation directory without remote support. If this seems to be viable I will research more on it and provide options for fixing it. > Plugin cannot synchronize with the server when non-zero portOffset value in > the config-substitutions.properties file > > > Key: GERONIMODEVTOOLS-235 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-235 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Affects Versions: 2.0.0 >Reporter: Tim McConnell >Assignee: Ashish Jain > Fix For: 2.1.x > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-235) Plugin cannot synchronize with the server when non-zero portOffset value in the config-substitutions.properties file
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612899#action_12612899 ] Ted Kirby commented on GERONIMODEVTOOLS-235: Also, beware of multiple server instances. See http://cwiki.apache.org/GMOxDOC21/running-multiple-instances-of-geronimo.html. To start a server instance, "set the org.apache.geronimo.server.name system property to the instance name before you start the server." It seems that GEP probably does not support that currently... This presents another wrinkle in reading a server configuration. > Plugin cannot synchronize with the server when non-zero portOffset value in > the config-substitutions.properties file > > > Key: GERONIMODEVTOOLS-235 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-235 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Affects Versions: 2.0.0 >Reporter: Tim McConnell >Assignee: Ashish Jain > Fix For: 2.1.x > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-235) Plugin cannot synchronize with the server when non-zero portOffset value in the config-substitutions.properties file
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612893#action_12612893 ] Ted Kirby commented on GERONIMODEVTOOLS-235: As stated, I do not think this is a good idea. If you are going to read configuration info from the server, I'd get all of it, not part of it. So, you should get rid of the manual GEP step of specifying the two ports. We have always had this manual step, and reading the server config would be a departure. I presume you'd just take server code. How much would be involved, and what additional jars would be required for parsing and calculating the server configuration? We must also consider the remote server case. I don't think reading a remote server configuration will work out. Do you want to treat the remote server config case differently? Is the advantage gained from proposed change worth the effort and change in approach? Does anyone recall the rationale for the current manual configuration approach in GEP? Are there any issues being missed in changing from that approach? > Plugin cannot synchronize with the server when non-zero portOffset value in > the config-substitutions.properties file > > > Key: GERONIMODEVTOOLS-235 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-235 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Affects Versions: 2.0.0 >Reporter: Tim McConnell >Assignee: Ashish Jain > Fix For: 2.1.x > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-235) Plugin cannot synchronize with the server when non-zero portOffset value in the config-substitutions.properties file
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612846#action_12612846 ] Ashish Jain commented on GERONIMODEVTOOLS-235: -- We can resolve this issue by reading through the config-substitution.properties to figure out the PortOffset value later increase the Web Connector and RMI-naming port with the same value. This may resolve the synchronization issue. Please provide your valuable comments on this. If this is feasible I will go ahead and create a patch for this. > Plugin cannot synchronize with the server when non-zero portOffset value in > the config-substitutions.properties file > > > Key: GERONIMODEVTOOLS-235 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-235 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Affects Versions: 2.0.0 >Reporter: Tim McConnell >Assignee: Ashish Jain > Fix For: 2.1.x > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-235) Plugin cannot synchronize with the server when non-zero portOffset value in the config-substitutions.properties file
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612843#action_12612843 ] Ashish Jain commented on GERONIMODEVTOOLS-235: -- Adding the content to JIRA: Hi!! I make a change in the portOffset value in the config-substitutions.properties. Lets suppose portOffset=1. Then I use Eclipse to start the server. Server fails to start, but when I start the server from /bin/startup.bat it starts fine. These are my observations for the same 1)While we configure Eclipse to add a new server. It takes the values for web connector and RMI naming as 8080 and 1099. Now when I change the Web Connector=8080+portOffset=8081 and RMI naming port=1099+portOffset=1100 in eclipse. I use eclipse to start the server. Server starts fine. Moreover all the modules also start with Offset of 1 from the default value. Donot know how it happens? 2)How does eclipse pick which modules to start in what port. I guess it takes the config.xml . But in AG 2.0 there are no explicit values mentioned in config.xml. So where does it pick the values from. I am not sure whether it refers to config-substitutions.properties. If it refers to config-substitutions.properties then why the server does not start in the first case. I am confused about this. Is this a bug? Thanks Ashish Re: Question about Eclipse and config-substitution.properties in AG2.0 by Ashish Jain-5 Aug 18, 2007; 01:01pm :: Rate this Message: - Use ratings to moderate (?) Reply | Reply to Author | Print | View Threaded | Show Only this Message To add more into it the Eclipse console displays the following Startup completed in 1:01.418s seconds Listening on Ports: 1051 127.0.0.1 CORBA Naming Service 1100 0.0.0.0 RMI Naming 1528 0.0.0.0 Derby Connector 2002 127.0.0.1 OpenEJB ORB Adapter 4202 0.0.0.0 OpenEJB Daemon 4243 0.0.0.0 Remote Login Listener 6883 127.0.0.1 OpenEJB ORB Adapter 8010 0.0.0.0Tomcat Connector AJP 8081 0.0.0.0 Tomcat Connector HTTP 8444 0.0.0.0 Tomcat Connector HTTPS 1 0.0.0.0 JMX Remoting Connector 61614 0.0.0.0 ActiveMQ Transport Connector 61617 0.0.0.0 ActiveMQ Transport Connector Started Application Modules: EAR: org.apache.geronimo.configs /webconsole-tomcat/2.0-M6-rc1/car RAR: org.apache.geronimo.configs/activemq-ra/2.0-M6-rc1/car RAR: org.apache.geronimo.configs/system-database/2.0-M6-rc1/car WAR: org.apache.geronimo.configs/dojo-tomcat/2.0-M6-rc1/car WAR: org.apache.geronimo.configs/remote-deploy-tomcat/2.0-M6-rc1/car WAR: org.apache.geronimo.configs/welcome-tomcat/2.0-M6-rc1/car Web Applications: http://ashjain2.in.ibm.com:8081/ http://ashjain2.in.ibm.com:8081/console http://ashjain2.in.ibm.com:8081/console-standard http://ashjain2.in.ibm.com:8081/dojo http://ashjain2.in.ibm.com:8081/remote-deploy Geronimo Application Server started But the server never starts It remains in the synchronized state and finally it is in stopped state Thanks Ashish On 8/17/07, Ashish Jain <[EMAIL PROTECTED]> wrote: Hi!! I make a change in the portOffset value in the config-substitutions.properties. Lets suppose portOffset=1. Then I use Eclipse to start the server. Server fails to start, but when I start the server from /bin/startup.bat it starts fine. These are my observations for the same 1)While we configure Eclipse to add a new server. It takes the values for web connector and RMI naming as 8080 and 1099. Now when I change the Web Connector=8080+portOffset=8081 and RMI naming port=1099+portOffset=1100 in eclipse. I use eclipse to start the server. Server starts fine. Moreover all the modules also start with Offset of 1 from the default value. Donot know how it happens? 2)How does eclipse pick which modules to start in what port. I guess it takes the config.xml . But in AG 2.0 there are no explicit values mentioned in config.xml. So where does it pick the values from. I am not sure whether it refers to config-substitutions.properties. If it refers to config-substitutions.properties then why the server does not start in the first case. I am confused about this. Is this a bug? Thanks Ashish Parent Message unknown Fwd: Question about Eclipse and config-substitution.properties in AG2.0 Click to flag this post by Ted Kirby-2 Aug 18, 2007; 06:33pm :: Rate this Message: - Use ratings to moderate (?) Reply | Reply to Author | Print | View Threaded | Show Only this Message I don't fully follow all that you say. With the plugin, when you define a server, you may specify the HTTP and RMI Naming ports. The defaults are 8080 and 1099, respectively. You may also edit and change these values later. These values are plain numbers. There is no notion of portOffset. Nor does the plugin look at
[jira] Commented: (GERONIMODEVTOOLS-235) Plugin cannot synchronize with the server when non-zero portOffset value in the config-substitutions.properties file
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531980 ] Tim McConnell commented on GERONIMODEVTOOLS-235: Reference to the original devlist thread. http://www.nabble.com/Question-about-Eclipse-and-config-substitution.properties-in-AG2.0-t4285467s134.html > Plugin cannot synchronize with the server when non-zero portOffset value in > the config-substitutions.properties file > > > Key: GERONIMODEVTOOLS-235 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-235 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Affects Versions: 2.0.0 >Reporter: Tim McConnell >Assignee: Tim McConnell > Fix For: 2.0.2 > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
