• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Tomcat Duplicate Deploy

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am facing a strange issue where my applications are getting deployed mutliple times.

I deployed a webapplication which comprises a listener for quartz scheduler(web-inf.xml listener). and when i started the tomcat i see 3 times that same application is getting deployed and hence the scheduler is running 3 threads which is casuing chaos.

Please help me in this regards.

Thanks and Regards
TirupathiRao.P

***************************************
2011-10-12 12:42:24 Commons Daemon procrun stdout initialized0 0 11 * * ?
[INFO] Job execution threads will use class loader of thread: main
[INFO] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
[INFO] Quartz Scheduler v.1.8.5 created.
[INFO] RAMJobStore initialized.
[INFO] Scheduler meta-data: Quartz Scheduler (v1.8.5) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

[INFO] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
[INFO] Quartz scheduler version: 1.8.5
[INFO] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
[INFO] Clustering has been disabled
[INFO] Deploying module: addressing-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/addressing-1.5.4.mar
[INFO] Deploying module: metadataExchange-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/mex-1.5.4.mar
[INFO] Deploying module: mtompolicy-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/mtompolicy-1.5.4.mar
[INFO] Deploying module: ping-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/ping-1.5.4.mar
[INFO] Deploying module: script-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/scripting-1.5.4.mar
[INFO] Deploying module: soapmonitor-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/soapmonitor-1.5.4.mar
[INFO] Deploying Web service: version.aar - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/services/version.aar
[WARN] No transportReceiver for org.apache.axis2.transport.http.AxisServletListener found. An instance for HTTP will be configured automatically. Please update your axis2.xml file!


0 0 11 * * ?
[INFO] Job execution threads will use class loader of thread: main
[INFO] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
[INFO] Quartz Scheduler v.1.8.5 created.
[INFO] RAMJobStore initialized.
[INFO] Scheduler meta-data: Quartz Scheduler (v1.8.5) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

[INFO] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
[INFO] Quartz scheduler version: 1.8.5
[INFO] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
[INFO] Clustering has been disabled
[INFO] Deploying module: addressing-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/addressing-1.5.4.mar
[INFO] Deploying module: metadataExchange-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/mex-1.5.4.mar
[INFO] Deploying module: mtompolicy-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/mtompolicy-1.5.4.mar
[INFO] Deploying module: ping-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/ping-1.5.4.mar
[INFO] Deploying module: script-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/scripting-1.5.4.mar
[INFO] Deploying module: soapmonitor-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/soapmonitor-1.5.4.mar
[INFO] Deploying Web service: version.aar - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/services/version.aar
[WARN] No transportReceiver for org.apache.axis2.transport.http.AxisServletListener found. An instance for HTTP will be configured automatically. Please update your axis2.xml file!


0 0 11 * * ?
[INFO] Job execution threads will use class loader of thread: main
[INFO] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
[INFO] Quartz Scheduler v.1.8.5 created.
[INFO] RAMJobStore initialized.
[INFO] Scheduler meta-data: Quartz Scheduler (v1.8.5) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

[INFO] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
[INFO] Quartz scheduler version: 1.8.5
[INFO] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
[INFO] Clustering has been disabled
[INFO] Deploying module: addressing-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/addressing-1.5.4.mar
[INFO] Deploying module: metadataExchange-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/mex-1.5.4.mar
[INFO] Deploying module: mtompolicy-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/mtompolicy-1.5.4.mar
[INFO] Deploying module: ping-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/ping-1.5.4.mar
[INFO] Deploying module: script-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/scripting-1.5.4.mar
[INFO] Deploying module: soapmonitor-1.5.4 - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/modules/soapmonitor-1.5.4.mar
[INFO] Deploying Web service: version.aar - file:/C:/Program Files (x86)/Apache Software Foundation/Tomcat 6.0/webapps/TEST_APP/WEB-INF/services/version.aar
[WARN] No transportReceiver for org.apache.axis2.transport.http.AxisServletListener found. An instance for HTTP will be configured automatically. Please update your axis2.xml file!


********************************************
 
TirupathiRao Pattapuraju
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I came to know all this is because of the virtual host i configured in server.xml.So i removed additional one and then it came to two threads.but still 2 threads are there.

here is what i did for the host in server.xml



If i remove the context only 1 thread is running but i need that context for specififying the docbase.


Pleae help me to sort this out.


Thanks and Regards
TirupathiRao.P
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!