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@gmail.com> 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