For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 4 replies, 2 voices, and was last updated 21 years, 1 month ago by
stéphane Arcos.
-
AuthorPosts
-
stéphane ArcosMemberHi,
I’m using eclispe 3.1 and myeclipse 4.0
Project info :
Struts version 1.2
Spring version 1.1.3
Hibernate version 2.1.7For some weeks now my Context is always reloading.
It’s ok when i’m changing hibernate model classes but now even a simple edit in a Struts Action class trigger a reload context ?see console output below
Any helps would be appreciated.
s.arcos
Jul 10, 2005 10:53:59 AM org.apache.catalina.core.StandardContext reload
INFO: Reloading this Context has started
– Closing application context [WebApplicationContext for namespace ‘action-servlet’]
– Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [/enter,/protected/home,/logOut,/…]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyConfigurer,terraContactDataSource,terraContactSessionFactory,terraContactTransactionManager,terraContactProxyTemplate,userManager,categoriesManager,regionsManager,…]; root of BeanFactory hierarchy}
– Destroying inner beans in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [/enter,/protected/home,/logOut,/activate,/…]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyConfigurer,terraContactDataSource,terraContactSessionFactory,terraContactTransactionManager,terraContactProxyTemplate,userManager,categoriesManager,…]; root of BeanFactory hierarchy}
– Closing application context [org.springframework.web.context.support.XmlWebApplicationContext;hashCode=19703168]
– Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyConfigurer,terraContactDataSource,terraContactSessionFactory,terraContactTransactionManager,terraContactProxyTemplate,userManager,categoriesManager,…]; root of BeanFactory hierarchy}
– Shutting down Quartz scheduler
– Scheduler QuartzScheduler_$_NON_CLUSTERED shutting down.
– Scheduler QuartzScheduler_$_NON_CLUSTERED paused.
– There are still 42 worker threads active. See javadoc runInThread(Runnable) for a possible explanation
– Scheduler QuartzScheduler_$_NON_CLUSTERED shutdown complete.
– Closing Hibernate SessionFactory
– closing
– Destroying inner beans in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyConfigurer,terraContactDataSource,terraContactSessionFactory,terraContactTransactionManager,terraContactProxyTemplate,userManager,categoriesManager,regionsManager,…]; root of BeanFactory hierarchy}
Jul 10, 2005 10:53:59 AM org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger,path=/terracontact,host=localhost
– Tiles definition factory found for request processor ”.
– JDBC 3.0 Savepoint class is availableJuly 10, 2005 at 10:19 am #232634
Scott AndersonParticipantChoosing to reload context or not is server-specific. For example, Tomcat typically only does that when web.xml is modified. Are your changes inadvertently modifying web.xml? Are you manually requesting a redeploy of the application? What type of deployment did you use? What server and version of it are you running?
July 10, 2005 at 10:34 am #232635
stéphane ArcosMemberThank you for your fast answer,
I’m using “Apache Tomcat/5.0.28” on a Exploded Deployment type
No, I’m not modifying web.xml. It reload even if I just add a System.out.println… in Action class. And it does not happen every time just randomly (or it seems to me randomly)
Stef
July 10, 2005 at 1:58 pm #232639
Scott AndersonParticipantStef,
A reload for a trivial change in a class shouldn’t be occurring. What JDK are you using? Are you cleaning your project and rebuilding it at any time?
Is there anything odd about your setup (remote drive, etc)? Does this occur with other web projects as well, or just this one?July 10, 2005 at 4:40 pm #232642
stéphane ArcosMemberJDK : 1.4.2
I’m working on a standart laptop and don’t have other project of this size to test that. But I will try a clean rebuild.thanx
Stef
-
AuthorPosts
