geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "problems mail" <problems.m...@gmail.com>
Subject Re: Issues Starting Geronimo
Date Fri, 15 Dec 2006 13:27:54 GMT
David,

Thanx for the info, I tried that and it is the security module that is
taking so long, here is the output (but I did not check out the different
options of starting the server - I am going to try -vv and see the output as
well)


[root@rly geronimo]# java -jar /usr/local/geronimo/bin/server.jar --long
Booting Geronimo Kernel (in Java 1.5.0_10)...
Module  1/21 geronimo/rmi-naming/1.1.1/car               started in   .251s
Module  2/21 geronimo/j2ee-server/1.1.1/car              started in   .651s
Module  3/21 geronimo/j2ee-security/1.1.1/car            started in  3:
09.461s
Module  4/21 geronimo/axis/1.1.1/car                     started in   .071s
Module  5/21 geronimo/openejb/1.1.1/car                  started in   .308s
Module  6/21 geronimo/system-database/1.1.1/car          started in  1.929s
Module  7/21 geronimo/activemq-broker/1.1.1/car          started in  1.159s
Module  8/21 geronimo/activemq/1.1.1/car                 started in   .550s
Module  9/21 geronimo/tomcat/1.1.1/car                   started in  1.879s
Module 10/21 geronimo/geronimo-gbean-deployer/1.1.1/car  started in   .504s
Module 11/21 geronimo/j2ee-deployer/1.1.1/car            started in   .247s
Module 12/21 geronimo/openejb-deployer/1.1.1/car         started in   .263s
Module 13/21 geronimo/client-deployer/1.1.1/car          started in   .056s
Module 14/21 geronimo/axis-deployer/1.1.1/car            started in   .074s
Module 15/21 geronimo/sharedlib/1.1.1/car                started in   .009s
Module 16/21 geronimo/tomcat-deployer/1.1.1/car          started in   .068s
Module 17/21 geronimo/welcome-tomcat/1.1.1/car           started in   .189s
Module 18/21 geronimo/webconsole-tomcat/1.1.1/car        started in  2.643s
Module 19/21 geronimo/remote-deploy-tomcat/1.1.1/car     started in   .145s
Module 20/21 geronimo/hot-deployer/1.1.1/car             started in   .306s
Module 21/21 geronimo/servlets-examples-tomcat/1.1.1/car started in   .160s
Startup completed in 204 seconds
  Listening on Ports:
    1099 0.0.0.0   RMI Naming
    1527 0.0.0.0   Derby Connector
    4201 0.0.0.0   ActiveIO Connector EJB
    4242 0.0.0.0   Remote Login Listener
    8009 0.0.0.0   Tomcat Connector AJP
    8080 0.0.0.0   Tomcat Connector HTTP
    8443 0.0.0.0   Tomcat Connector HTTPS
    9999 127.0.0.1 JMX Remoting Connector
   61616 0.0.0.0   ActiveMQ Message Broker Connector

  Started Application Modules:
    EAR: geronimo/webconsole-tomcat/1.1.1/car
    RAR: geronimo/activemq/1.1.1/car
    WAR: geronimo/remote-deploy-tomcat/1.1.1/car
    WAR: geronimo/servlets-examples-tomcat/1.1.1/car
    WAR: geronimo/welcome-tomcat/1.1.1/car

  Web Applications:
    http://rly.rmp.com:8080/
    http://rly.rmp.com:8080/console
    http://rly.rmp.com:8080/console-standard
    http://rly.rmp.com:8080/remote-deploy
    http://rly.rmp.com:8080/servlets-examples

Geronimo Application Server started


Regards,
Simon



On 12/15/06, David Jencks <david_jencks@yahoo.com> wrote:
>
> It shouldn't take more than about 30 seconds to start the server.
> Unfortunately I don't know how to interpret the log you append.  You can get
> some information about what is taking the time by starting with
>
> java -jar bin/server.jar --long
>
>
> and you will see how long each configuration takes.
>
>
> I'm pretty sure there's a problem with your network setup and you are
> mostly waiting for something to time out instead of connecting, but I don't
> know what.
>
>
> thanks
> david jencks
>
>  On Dec 14, 2006, at 7:29 PM, problems mail wrote:
>
>
> Just to be sure, I did an strace on the process while running it. It seems
> that it keeps waiting on a send
>
> send(13, "P\254\355\0\5w\"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 265,
> 0) = 265
> recv(13,
>
>
> I am attaching the text file containing the trace, hope that we have some
> good eyes on the list that can look at this and resolve this issue. Also
> there is a whole bunch of gettimeofday () and "Resource temporarily
> unavailable". What is it waiting or looking for ?
>
> Regards,
> Simon
>
>
> On 12/14/06, problems mail <problems.mail@gmail.com> wrote:
> >
> > All,
> >
> > I am not seeing anything strange in the logs, but why does it take so
> > much time to start up the server over 209 seconds even if nothing is running
> > on the server. or does it take that much time to startup the server.
> >
> > I looked at the Geronimo logs and did not find anything. As I said
> > earlier it gets stuck at 16%. Even while shutdown it takes almost 3 minutes.
> >
> > I need to move this into a production environment please advice.
> >
> > Regards,
> > Simon
> >
> >
> >  On 12/14/06, Peter Petersson <peter@pmb.mine.nu > wrote:
> > >
> > > Hi
> > >
> > > Im running Geronimo 1.1.1 on Ubuntu Linux.
> > >
> > > Try using JDK insteed of JRE Geronimo is currently using the Sun ORB
> > > for
> > > RMI so it is required to use SUN JDK (
> > > http://cwiki.apache.org/GMOxDOC11/quick-start-apache-geronimo-for-the-impatient.html
> > >
> > > )
> > >
> > > If possible try starting geronimo standalone without any Apache
> > > (assuming it is apache) started seeing you get the following WARN
> > > [AJPHandler] Found AJP listener on port 8009
> > > If you get it started try running it on localhost.
> > >
> > > http://localhost:8080/console/
> > >
> > > If not, before you start up geronimo check that noting else is using
> > > port 8080  run "netstat -penat" and check "Local Address" for
> > > something
> > > like ":::8080".
> > >
> > > Cheers
> > >   Peter
> > >
> > > problems mail skrev:
> > > > Aaron,
> > > >
> > > > What do u see wrong in the startup. Here is the startup, also I have
> > >
> > > > not changed anything in the config.xml . Just download, extract and
> > > run
> > > > the command java -jar server.jar (was there something else I am
> > > > suppsed to be doing ?)
> > > >
> > > > Starting Geronimo Application Server v1.1.1
> > > > [***********************] 100% 209s Startup complete
> > > >   Listening on Ports:
> > > >     1099 0.0.0.0 <http://0.0.0.0>   RMI Naming
> > > >     1527 0.0.0.0 < http://0.0.0.0>   Derby Connector
> > > >     4201 0.0.0.0 <http://0.0.0.0>   ActiveIO Connector EJB
> > > >     4242 0.0.0.0 <http://0.0.0.0>   Remote Login Listener
> > > >     8009 0.0.0.0 <http://0.0.0.0>   Tomcat Connector AJP
> > > >     8080 0.0.0.0 <http://0.0.0.0>   Tomcat Connector HTTP
> > > >     8443 0.0.0.0 <http://0.0.0.0>   Tomcat Connector HTTPS
> > > >     9999 127.0.0.1 <http://127.0.0.1> JMX Remoting Connector
> > > >    61616 0.0.0.0 < http://0.0.0.0>   ActiveMQ Message Broker
> > > Connector
> > > >
> > > >   Started Application Modules:
> > > >     EAR: geronimo/webconsole-tomcat/1.1.1/car
> > > >     RAR: geronimo/activemq/1.1.1/car
> > > >     WAR: geronimo/remote-deploy-tomcat/1.1.1/car
> > > >     WAR: geronimo/servlets-examples-tomcat/1.1.1/car
> > > >     WAR: geronimo/welcome-tomcat/1.1.1/car
> > > >
> > > >   Web Applications:
> > > >     http://rly.rmp.com:8080/
> > > >     http://rly.rmp.com:8080/console
> > > >     http://rly.rmp.com:8080/console-standard
> > > >     http://rly.rmp.com:8080/remote-deploy
> > > >     http://rly.rmp:8080/servlets-examples
> > > > <http://rly.rmp:8080/servlets-examples >
> > > >
> > > >  Regards,
> > > > Simon
> > > >
> > > >
> > > >
> > > > On 12/14/06, *problems mail* <problems.mail@gmail.com
> > > > <mailto: problems.mail@gmail.com>> wrote:
> > > >
> > > >     Aaron,
> > > >
> > > >     Here is the reply for hostname
> > > >
> > > >     [root@rly apacheserver]# hostname
> > > >     rly.rmp.com < http://rly.rmp.com/>
> > > >
> > > >
> > > >     [root@rly apacheserver]# more /etc/hosts
> > > >     127.0.0.1 < http://127.0.0.1/>       localhost.localdomainlocalhost
> > > >     192.128.1.110 <http://192.128.1.110/>   rly.rmp.com
> > > >     <http://rly.rmp.com/>rly
> > > >
> > > >     Regards,
> > > >     Simon
> > > >
> > > >
> > > >     On 12/14/06, *Aaron Mulder* < ammulder@alumni.princeton.edu
> > > >     <mailto: ammulder@alumni.princeton.edu>> wrote:
> > > >
> > > >         Most likely, there's still a problem with your /etc/hosts --
> > >
> > > >         as in,
> > > >         the machine's host name does not resolve to one of its
> > > actual IP
> > > >         addresses.  Can you provide the output of "hostname" and the
> > > >         contents
> > > >         of your /etc/hosts file?
> > > >
> > > >         Thanks,
> > > >              Aaron
> > > >
> > > >         On 12/14/06, problems mail < problems.mail@gmail.com
> > > >         <mailto:problems.mail@gmail.com>> wrote:
> > > >         > Hello,
> > > >         >
> > > >         > I have been able to successfully start Geronimo after
> > > having
> > > >         issues with the
> > > >         > /etc/hosts file.
> > > >         >
> > > >         > There are couple of issues or concerns wanted to verify,
> > > (is
> > > >         1.1.1 the right
> > > >         > version to download ??)
> > > >         >
> > > >         > => I still receive errors in the log file, are these ok
?
> > > >         (attaching the log
> > > >         > file)
> > > >         > => It takes over 213s  (or approx. 4 minutes to start
up),
> > >
> > > >         and majority of
> > > >         > the time it is waiting at this "Starting
> > > >         geronimo/j2ee-security/1..." => I
> > > >         > cannot even shutdown the server it displays an error or
> > > stack
> > > >         dump when I do
> > > >         > a "Ctrl + C" on the shell window running the apache
> > > geronimo
> > > >         process.
> > > >         > => I tried to call the shutdown.jar, it is not able to
> > > >         connect and shutdown
> > > >         > the Geronimo server
> > > >         >
> > > >         > Is there any setting that we need to do in the IPTables ?
> > > >         >
> > > >         > Are most of the users running Geronimo on Windows ? (looks
> > >
> > > >         like they dont
> > > >         > seem to have any issues ??)
> > > >         >
> > > >         > Any help greatly appreciated.
> > > >         >
> > > >         > --
> > > >         > Regards,
> > > >         > Simon
> > > >         >
> > > >
> > > >
> > > >
> > > >
> > > >     --
> > > >     Regards,
> > > >     Simon
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Regards,
> > > > Simon
> > >
> > >
> >
> >
> > --
> > Regards,
> > Simon
>
>
>
>
> --
> Regards,
> Simon
> <trace.txt>
>
>
>
>



-- 
Regards,
Simon

Mime
View raw message