Re: Server startup timeout setting
On Wed, Feb 27, 2008 at 11:28 AM, Dan Becker <[EMAIL PROTECTED]> wrote: > I should have been more clear. I run gshell with the jpda debug options, > starting Geronimo and suspending it while it waits for a debugger to > attach. I believe the options that geronimo.bat provides are something like: > -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 > > Then I use Eclipse to debug this remote java application on port 8000. > > This is worthy of a wiki article, and I shall write one in the next few > weeks. Whoohooo, can't wait till I read it! Much appreciated. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl
Re: Server startup timeout setting
Jacek Laskowski wrote: On Mon, Feb 25, 2008 at 9:52 AM, Dan Becker <[EMAIL PROTECTED]> wrote: Just to make sure I follow - did you run gshell with -agentlib:jdwp=blahblah set? Hello Jacek, I should have been more clear. I run gshell with the jpda debug options, starting Geronimo and suspending it while it waits for a debugger to attach. I believe the options that geronimo.bat provides are something like: -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 Then I use Eclipse to debug this remote java application on port 8000. This is worthy of a wiki article, and I shall write one in the next few weeks. -- Thanks, Dan Becker
Re: Server startup timeout setting
On Mon, Feb 25, 2008 at 9:52 AM, Dan Becker <[EMAIL PROTECTED]> wrote: > You are correct. gshell with debug worked for me. Just to make sure I follow - did you run gshell with -agentlib:jdwp=blahblah set? Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl
Re: Server startup timeout setting
David Jencks wrote: On Feb 25, 2008, at 8:57 AM, Dan Becker wrote: While debugging and single-stepping Geronimo v2.2 under Eclipse, I notice the server times out and throws a signal/exception after 240s. This doesn't happen if you start g. using gshell with debug options set. I think its part of the maven plugin or eclipse integration. You are correct. gshell with debug worked for me. -- Thanks, Dan Becker
Re: Server startup timeout setting
On Feb 25, 2008, at 8:57 AM, Dan Becker wrote: While debugging and single-stepping Geronimo v2.2 under Eclipse, I notice the server times out and throws a signal/exception after 240s. Eclipse complains with an Eclipse "Problem Occurred" dialog: "Timeout waiting for vApache Geronimo v2.2 Server at localhost to start. Server did not start after 240s." Does anyone know where to set this value? I would like to get a little more time when I am debugging the startup. I checked assemblies\geronimo-tomcat6-javaee5\target\assembly\var\config \config.xml, but this did not seem to contain a value. This doesn't happen if you start g. using gshell with debug options set. I think its part of the maven plugin or eclipse integration. david jencks -- Thanks, Dan Becker
