facebook

Help : context always reloading

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #232631 Reply

    Hi,

    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.7

    For 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 available

    #232634

    Scott Anderson
    Participant

    Choosing 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?

    #232635

    Thank 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

    #232639

    Scott Anderson
    Participant

    Stef,

    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?

    #232642

    JDK : 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

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Help : context always reloading

You must be logged in to post in the forum log in