Re: Tomcat taking 125 seconds to launch

2005-04-04 Thread t.n.a.
Michael Mehrle wrote:
The configuration is a modified version of appfuse 1.5 (struts and 
hibernate) - so this should give you a good idea of how it is 
structured. FYI: on my development machine here at home Tomcat starts 
in 28 seconds - identical project and configuration.
A fairly long time, any way you cut it. It takes about 6-9s on my Athlon 
1900+ (using JDK 1.5), and a couple of seconds more on my laptop (even 
though the laptop has a 2.8GHz P4!, but runs blackdawn jdk 1.4).
Just a wild guess, but it seemes to me that you have a 2-minute timeout 
on something, and than tomcat normally loads in 5-6s.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat taking 125 seconds to launch

2005-04-04 Thread Andrew Miehs
hmm - sounds like a dns lookup causing a problem
Andrew
On Apr 4, 2005, at 11:03 AM, t.n.a. wrote:
Michael Mehrle wrote:
The configuration is a modified version of appfuse 1.5 (struts and 
hibernate) - so this should give you a good idea of how it is 
structured. FYI: on my development machine here at home Tomcat starts 
in 28 seconds - identical project and configuration.
A fairly long time, any way you cut it. It takes about 6-9s on my 
Athlon 1900+ (using JDK 1.5), and a couple of seconds more on my 
laptop (even though the laptop has a 2.8GHz P4!, but runs blackdawn 
jdk 1.4).
Just a wild guess, but it seemes to me that you have a 2-minute 
timeout on something, and than tomcat normally loads in 5-6s.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat taking 125 seconds to launch

2005-04-04 Thread Michael Mehrle
You guys might be on to something - on my development machine it's taking 
only 25 seconds or so (identical code, tomcat version, and mysql 
installation). Question is: how do I fix a possible DNS lookup problem?

- Original Message - 
From: Andrew Miehs [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, April 04, 2005 2:02 AM
Subject: Re: Tomcat taking 125 seconds to launch


hmm - sounds like a dns lookup causing a problem
Andrew
On Apr 4, 2005, at 11:03 AM, t.n.a. wrote:
Michael Mehrle wrote:
The configuration is a modified version of appfuse 1.5 (struts and 
hibernate) - so this should give you a good idea of how it is 
structured. FYI: on my development machine here at home Tomcat starts in 
28 seconds - identical project and configuration.
A fairly long time, any way you cut it. It takes about 6-9s on my Athlon 
1900+ (using JDK 1.5), and a couple of seconds more on my laptop (even 
though the laptop has a 2.8GHz P4!, but runs blackdawn jdk 1.4).
Just a wild guess, but it seemes to me that you have a 2-minute timeout 
on something, and than tomcat normally loads in 5-6s.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat taking 125 seconds to launch

2005-04-04 Thread Andrew Miehs
how about running tcpdump on the box to see what it is doing when you 
start tomcat?

Andrew
On Apr 4, 2005, at 5:46 PM, Michael Mehrle wrote:
You guys might be on to something - on my development machine it's 
taking only 25 seconds or so (identical code, tomcat version, and 
mysql installation). Question is: how do I fix a possible DNS lookup 
problem?

- Original Message - From: Andrew Miehs [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, April 04, 2005 2:02 AM
Subject: Re: Tomcat taking 125 seconds to launch

hmm - sounds like a dns lookup causing a problem
Andrew
On Apr 4, 2005, at 11:03 AM, t.n.a. wrote:
Michael Mehrle wrote:
The configuration is a modified version of appfuse 1.5 (struts and 
hibernate) - so this should give you a good idea of how it is 
structured. FYI: on my development machine here at home Tomcat 
starts in 28 seconds - identical project and configuration.
A fairly long time, any way you cut it. It takes about 6-9s on my 
Athlon 1900+ (using JDK 1.5), and a couple of seconds more on my 
laptop (even though the laptop has a 2.8GHz P4!, but runs blackdawn 
jdk 1.4).
Just a wild guess, but it seemes to me that you have a 2-minute 
timeout on something, and than tomcat normally loads in 5-6s.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat taking 125 seconds to launch

2005-04-04 Thread Jason Bainbridge
On Apr 4, 2005 10:46 AM, Michael Mehrle [EMAIL PROTECTED] wrote:
 
 You guys might be on to something - on my development machine it's taking
 only 25 seconds or so (identical code, tomcat version, and mysql
 installation). Question is: how do I fix a possible DNS lookup problem?
 

Check your /etc/hosts file you should have something like:

 127.0.0.1 http://127.0.0.1 www.yourdomain.com
http://www.yourdomain.comlocalhost

I've also heard of smilar problems related to IPv6 but can't recall what 
they were.

Regards,
-- 
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.com


Re: Tomcat taking 125 seconds to launch

2005-04-03 Thread Mark
gonna need more information.   hardware, config files..etc.

On Apr 2, 2005 6:42 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
 I just installed tomcat 5.5.9 on Fedora FC3 and it's suddenly taking a long
 amount of time to launch - 125 seconds to be exact!
 
 INFO: Starting Coyote HTTP/1.1 on http-8080
 Apr 2, 2005 6:39:00 PM org.apache.jk.common.ChannelSocket init
 INFO: JK: ajp13 listening on /0.0.0.0:8009
 Apr 2, 2005 6:39:00 PM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=0/364  config=null
 Apr 2, 2005 6:39:00 PM org.apache.catalina.storeconfig.StoreLoader load
 INFO: Find registry server-registry.xml at classpath resource
 Apr 2, 2005 6:39:00 PM org.apache.catalina.startup.Catalina start
 INFO: Server startup in 125430 ms
 
 I didn't have this problem before - does anyone experience the same delay?
 It's also looking a bit more sluggish... Any input would be greatly
 appreciated.
 
 Michael
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat taking 125 seconds to launch

2005-04-03 Thread Michael Mehrle
Hi Mark:
Okay, the machine is a P4, 1GB RAM (512MB assigned to tomcat), and besides 
Tomcat 5.5.9, there's Apache running and mysql. Apache is not in use much. I 
have the apache logging set to WARN, so the slowdown is not due to excessive 
logging.

The site is running an image gallery and there are probably around 100 jps 
for the gallery and image pages. I am not sure if adding jsps does affect 
the startup time.

The configuration is a modified version of appfuse 1.5 (struts and 
hibernate) - so this should give you a good idea of how it is structured. 
FYI: on my development machine here at home Tomcat starts in 28 seconds - 
identical project and configuration.

Any help would be greatly appreciated - if you need any configuration files, 
just ask and I'll email them to you.

Michael
- Original Message - 
From: Mark [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Sunday, April 03, 2005 1:39 PM
Subject: Re: Tomcat taking 125 seconds to launch


gonna need more information.   hardware, config files..etc.
On Apr 2, 2005 6:42 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
I just installed tomcat 5.5.9 on Fedora FC3 and it's suddenly taking a 
long
amount of time to launch - 125 seconds to be exact!

INFO: Starting Coyote HTTP/1.1 on http-8080
Apr 2, 2005 6:39:00 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Apr 2, 2005 6:39:00 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/364  config=null
Apr 2, 2005 6:39:00 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Apr 2, 2005 6:39:00 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 125430 ms
I didn't have this problem before - does anyone experience the same 
delay?
It's also looking a bit more sluggish... Any input would be greatly
appreciated.

Michael
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat taking 125 seconds to launch

2005-04-03 Thread Remy Maucherat
On Apr 3, 2005 11:04 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
 Hi Mark:
 
 Okay, the machine is a P4, 1GB RAM (512MB assigned to tomcat), and besides
 Tomcat 5.5.9, there's Apache running and mysql. Apache is not in use much. I
 have the apache logging set to WARN, so the slowdown is not due to excessive
 logging.
 
 The site is running an image gallery and there are probably around 100 jps
 for the gallery and image pages. I am not sure if adding jsps does affect
 the startup time.
 
 The configuration is a modified version of appfuse 1.5 (struts and
 hibernate) - so this should give you a good idea of how it is structured.
 FYI: on my development machine here at home Tomcat starts in 28 seconds -
 identical project and configuration.
 
 Any help would be greatly appreciated - if you need any configuration files,
 just ask and I'll email them to you.

You didn't post anything really relevant, but maybe it could be caused
by the port binding (for some reason).

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat taking 125 seconds to launch

2005-04-03 Thread Michael Mehrle
Okay, what exactly do you guys need?
- Original Message - 
From: Remy Maucherat [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Sunday, April 03, 2005 2:09 PM
Subject: Re: Tomcat taking 125 seconds to launch


You didn't post anything really relevant, but maybe it could be caused
by the port binding (for some reason).
--
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat taking 125 seconds to launch

2005-04-02 Thread Michael Mehrle
I just installed tomcat 5.5.9 on Fedora FC3 and it's suddenly taking a long 
amount of time to launch - 125 seconds to be exact!

INFO: Starting Coyote HTTP/1.1 on http-8080
Apr 2, 2005 6:39:00 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Apr 2, 2005 6:39:00 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/364  config=null
Apr 2, 2005 6:39:00 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Apr 2, 2005 6:39:00 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 125430 ms
I didn't have this problem before - does anyone experience the same delay? 
It's also looking a bit more sluggish... Any input would be greatly 
appreciated.

Michael 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]