geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMODEVTOOLS-235) Plugin cannot synchronize with the server when non-zero portOffset value in the config-substitutions.properties file
Date Fri, 11 Jul 2008 11:56:31 GMT

    [ 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 <Geronimo_home>/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.0    Tomcat Connector AJP
    8081 0.0.0.0   Tomcat Connector HTTP
    8444 0.0.0.0   Tomcat Connector HTTPS
   10000 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 <ashjain2@...> 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 <Geronimo_home>/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 config.xml.

Your second post looks like a bug.  It seems the plugin code that
polls the server state has lost contact with the server.  It times
out, and changes the server to the stopped state.  You may also
configure Server Startup parameters/constraints:  ping delay, ping
interval and maximum pings.  Be sure that (ping interval) * (maximum
pings) / 1000 is longer than your server startup time.  From your
note, it sounds like that is not the problem, but rather that the
plugin has lost contact with the server.

HTH,
Ted Kirby

On 8/18/07, Ashish Jain <ashjain2@...> wrote:

> 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.0    Tomcat Connector AJP
>     8081 0.0.0.0   Tomcat Connector HTTP
>     8444 0.0.0.0   Tomcat Connector HTTPS
>    10000 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 <ashjain2@...> 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 <Geronimo_home>/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
> >
> >
>
>
... [show rest of quote]

	
Re: Question about Eclipse and config-substitution.properties in AG2.0
Click to flag this post

by Tim McConnell-2 Oct 03, 2007; 08:02am :: Rate this Message: - Use ratings to moderate (?)

Reply | Reply to Author | Print | View Threaded | Show Only this Message
Hi Ashish, I agree with Ted, this is most certainly a bug. I have opened a JIRA
to address this problem. Thanks very much for bringing this to our attention.

https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-235

Ashish Jain wrote:

> 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 <http://127.0.0.1> CORBA Naming Service
>     1100 0.0.0.0 <http://0.0.0.0>   RMI Naming
>     1528 0.0.0.0 <http://0.0.0.0>   Derby Connector
>     2002 127.0.0.1 <http://127.0.0.1> OpenEJB ORB Adapter
>     4202 0.0.0.0 <http://0.0.0.0>   OpenEJB Daemon
>     4243 0.0.0.0 <http://0.0.0.0>   Remote Login Listener
>     6883 127.0.0.1 <http://127.0.0.1> OpenEJB ORB Adapter
>     8010 0.0.0.0 <http://0.0.0.0>    Tomcat Connector AJP
>     8081 0.0.0.0 <http://0.0.0.0>   Tomcat Connector HTTP
>     8444 0.0.0.0 <http://0.0.0.0>   Tomcat Connector HTTPS
>    10000 0.0.0.0 <http://0.0.0.0>   JMX Remoting Connector
>    61614 0.0.0.0 <http://0.0.0.0>   ActiveMQ Transport Connector
>    61617 0.0.0.0 <http://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/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 * <ashjain2@...
> <mailto:ashjain2@...>> 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 <Geronimo_home>/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
>
>
... [show rest of quote]

-- 
Thanks,
Tim McConnell


> 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.


Mime
View raw message