What steps will reproduce the problem? 1. install latest tomcat (7.0.28) 2. deploy latest myschedule war (2.4.3) 3. tomcat takes about 90 seconds to start, normally takes about a second.
What is the expected output? What do you see instead?
Please use labels and text to provide additional information.
platform: mac osx v11.4.0
java: v1.6.0_33
Comment #1
Posted on Jun 21, 2012 by Massive DogHi there,
Can you please provide more info? What did the tomcat log output say its doing? Did you have old MySchedule config that it try's to startup a scheduler during tomcat starts?
Zemian
Comment #2
Posted on Jun 23, 2012 by Massive HorseHi Zemian,
Certainly - please review the attached catalina.out for v7.0.27, v7.0.28.
Don't believe I have any old Myschedule configs contributing - tested with generic myschedule-2.4.3.war.
Let me know of any more I can provide - thanks
John
- catalina.out 4.71KB
- catalina.out 5.18KB
Comment #3
Posted on Jun 23, 2012 by Massive DogHi John,
You gave me two example logs, and they both have started successfully without error. So what happen when you go visit http://localhost:8080/myschedule-2.4.3 ?
I also see from your log that you already deployed other applications on it. Are you sure it's not these that give you problems?
You attached two logs, and both of them started with other application in it. Are you sure it's not those app that's giving you problem?
Jun 23, 2012 8:50:46 AM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive /opt/apache-tomcat-7.0.28/webapps/authsub_sample.war
Jun 23, 2012 8:39:40 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /opt/apache-tomcat-7.0.27/webapps/snippet Jun 23, 2012 8:39:40 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /opt/apache-tomcat-7.0.27/webapps/uxfwork Jun 23, 2012 8:39:40 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /opt/apache-tomcat-7.0.27/webapps/uxfworkft
These are not part of Tomcat installation.
I have an iMac and running a vanilla Tomcat 7.0.28, and MySchedule should starts within 2 seconds.
Comment #4
Posted on Jun 23, 2012 by Massive DogAlso, if you want to troubleshoot MySchedule, you can try adding a log4j.properties file into $TOMCAT_HOME/lib directory. It should shows you what's going on when the MySchedule is starting up.
Here is an example of an log4j.properties:
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout log4j.appender.CONSOLE.layout.conversionPattern=%d %-5p %t %c:%L| %m%n log4j.rootLogger=INFO, CONSOLE log4j.logger.myschedule=DEBUG
Comment #5
Posted on Jun 26, 2012 by Massive HorseHi Zemian,
Thanks for the tip on this - I'll do some checking.
Regarding the logs, please note the tomcat start-up times for the issue.
INFO: Server startup in 1460 ms (7.0.27)
vs.
INFO: Server startup in 87955 ms (7.0.28)
I have extra projects only in my 7.0.27 - no performance issue.
Let me know of any ideas/thoughts - thanks.
My jdk is v1.6.0_33, btw.
John
Comment #6
Posted on Jul 12, 2012 by Massive DogJohn, do you still have this problem? I can't reproduce.
Comment #7
Posted on Aug 21, 2012 by Massive DogClose for not reproducible.
Status: Invalid
Labels:
Type-Defect
Priority-Medium
Release-2.4.3