You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Marcus Dimand (JIRA)" <ji...@codehaus.org> on 2009/01/19 17:09:19 UTC

[jira] Created: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Shutdown of Tomcat causes Exception when running Archiva Project
----------------------------------------------------------------

                 Key: MRM-1066
                 URL: http://jira.codehaus.org/browse/MRM-1066
             Project: Archiva
          Issue Type: Bug
          Components: web application
    Affects Versions: 1.1.3
         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
            Reporter: Marcus Dimand
            Priority: Blocker
         Attachments: catalina.out

It looks like the Quartz thread is still running because the web-context has been unloaded before.
This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).


Exception summary :

INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at org.quartz.JobDetail.class$(JobDetail.java:59)
	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Gwen Harold Autencio (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=187707#action_187707 ] 

Gwen Harold Autencio commented on MRM-1066:
-------------------------------------------

Tried to replicate issue using trunk r806019.

Steps that I took.
1. Setup archiva webapp in tomcat
2. Add a managed repository and set cron expression to 1 minute 
3. After a while, stop archiva.

Logs in catalina.out displays.

Aug 20, 2009 10:00:00 AM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.maven.archiva.scheduled.tasks.DatabaseTask.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1272)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
	at org.apache.maven.archiva.scheduled.DatabaseTaskJob.execute(DatabaseTaskJob.java:59)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
Exception in thread "defaultScheduler_Worker-0" java.lang.NoClassDefFoundError: org/apache/maven/archiva/scheduled/tasks/DatabaseTask
	at org.apache.maven.archiva.scheduled.DatabaseTaskJob.execute(DatabaseTaskJob.java:59)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)


> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.2.2
>
>         Attachments: ArchivaStartup.java, catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching closed MRM-1066.
---------------------------------

    Resolution: Fixed

Thanks for the patch Marcus! I tweaked it a bit and applied it to 1.3.x branch in [-r946618|http://svn.apache.org/viewvc?revision=946618&view=revision] and merged it to trunk in [-rr946631|http://svn.apache.org/viewvc?revision=946631&view=revision].

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: Maria Odea Ching
>            Priority: Blocker
>             Fix For: 1.3.1
>
>         Attachments: ArchivaStartup.java, catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Marcus Dimand (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Dimand updated MRM-1066:
-------------------------------

    Attachment: ArchivaStartup.java

Workaround

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.2.2
>
>         Attachments: ArchivaStartup.java, catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Issue Comment Edited: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "James William Dumay (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=165728#action_165728 ] 

James William Dumay edited comment on MRM-1066 at 2/15/09 6:29 PM:
-------------------------------------------------------------------

Committed in r744785. 

Marcus, this fix will be in the upcoming Archiva 1.2-m2 release. Could you please test this?

      was (Author: james.w.dumay):
    Committed in r744785. 

Marcus, this fix will be in the upcoming Archiva 1.2-m2 release.
  
> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.2-M2
>
>         Attachments: catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "James William Dumay (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=165730#action_165730 ] 

James William Dumay commented on MRM-1066:
------------------------------------------

As a note, when the context is destroyed we call close() on the ApplicationContext. This is because we initialize it ourselves in Plexus-Spring.

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.2-M2
>
>         Attachments: catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=185087#action_185087 ] 

Maria Odea Ching commented on MRM-1066:
---------------------------------------

Thanks for the submitting the workaround Marcus :) I'll take a look at it. 

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.2.2
>
>         Attachments: ArchivaStartup.java, catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "James William Dumay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James William Dumay reassigned MRM-1066:
----------------------------------------

    Assignee: James William Dumay

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.x
>
>         Attachments: catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-1066:
------------------------------

    Fix Version/s:     (was: 1.4)
                   1.3.1

for review in 1.3.1, patch attached.

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.3.1
>
>         Attachments: ArchivaStartup.java, catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-1066:
------------------------------

    Fix Version/s: 1.x

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Priority: Blocker
>             Fix For: 1.x
>
>         Attachments: catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Reopened: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Marcus Dimand (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Dimand reopened MRM-1066:
--------------------------------


Implementation of r744785 does not solve the problem. 
We checked the correct implementation and tested again but the problem still exists. 

Best regards, 
Marcus

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.2-M2
>
>         Attachments: catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "James William Dumay (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=165728#action_165728 ] 

James William Dumay commented on MRM-1066:
------------------------------------------

Committed in r744785. 

Marcus, this fix will be in the upcoming Archiva 1.2-m2 release.

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.2-M2
>
>         Attachments: catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=221607#action_221607 ] 

Maria Odea Ching commented on MRM-1066:
---------------------------------------

I'm still able to reproduce this problem in 1.3.x branch. Although I don't get the exact same stack trace, I can see the thread still running after I've shutdown Tomcat.

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: Maria Odea Ching
>            Priority: Blocker
>             Fix For: 1.3.1
>
>         Attachments: ArchivaStartup.java, catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "James William Dumay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James William Dumay closed MRM-1066.
------------------------------------

    Resolution: Fixed

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.2-M2
>
>         Attachments: catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching updated MRM-1066:
----------------------------------

    Fix Version/s:     (was: 1.2.3)
                   1.3

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.3
>
>         Attachments: ArchivaStartup.java, catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching reassigned MRM-1066:
-------------------------------------

    Assignee: Maria Odea Ching

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: Maria Odea Ching
>            Priority: Blocker
>             Fix For: 1.3.1
>
>         Attachments: ArchivaStartup.java, catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "James William Dumay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James William Dumay updated MRM-1066:
-------------------------------------

    Fix Version/s:     (was: 1.x)
                   1.2-M2

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.2-M2
>
>         Attachments: catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Marcus Dimand (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179267#action_179267 ] 

Marcus Dimand commented on MRM-1066:
------------------------------------

Dear Mr. Brett Porter,
Dear Mr. James William Dumay,

As mentioned previously we checked your provided bug fix. Unfortunally it doesn't solve the bug.
We worked also on a solution and we realized following:
 - When the application starts, it's lifecycle starts also some Queues and Schedulers.
 - Those Threads are still running even the application has shutdown,
   because the application's lifecycle doesn't stop those threads. 
 - Hence the shutdown process is not proper performed.
 - The execution of a scheduled thread raises an exception as the application is already stopped.
 
Unfortunally we didn't find any way to solve this issue in the lifecycle configuration of the application,
as we are not familiar with plexus and the archiva architecture.
But we were able to implement a workaround in the ArchivaStartup class that shutdown the mentioned 
ressources and closes the application context.
To reproduce the bug it is important to wait till all threads (ThreadPool) are started, the solution is to set the "Managed Repository" scan cronjob to a minute interval and then wait till all threads are started.
We have tested this piece of code and it seems to work.
Please be so kind and review the changes and maybe some one of you guys is able to solve the issue 
on right place. We hope that our workaround helps you a little bit to find a proper solution. You can 
find the piece of code attached to the issue.

Best regards,
Marcus Dimand

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.2.2
>
>         Attachments: catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Issue Comment Edited: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Marcus Dimand (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179268#action_179268 ] 

Marcus Dimand edited comment on MRM-1066 at 6/5/09 4:29 AM:
------------------------------------------------------------

Workaround see above under 'File Attachments'

      was (Author: dimand):
    Workaround
  
> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.2.2
>
>         Attachments: ArchivaStartup.java, catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Work started: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "James William Dumay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MRM-1066 started by James William Dumay.

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.x
>
>         Attachments: catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-1066:
------------------------------

    Patch Submitted: [Yes]

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.3.1
>
>         Attachments: ArchivaStartup.java, catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching updated MRM-1066:
----------------------------------

    Fix Version/s:     (was: 1.3)
                   1.3.1

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.3.1
>
>         Attachments: ArchivaStartup.java, catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter reassigned MRM-1066:
---------------------------------

    Assignee:     (was: James William Dumay)

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Priority: Blocker
>             Fix For: 1.3.1
>
>         Attachments: ArchivaStartup.java, catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching updated MRM-1066:
----------------------------------

    Fix Version/s:     (was: 1.2-M2)
                   1.2.1

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.2.1
>
>         Attachments: catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Markus Markl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197309#action_197309 ] 

Markus Markl commented on MRM-1066:
-----------------------------------

Is there a possibilty to include a fix in version 1.2.3 as planned recently?

Thanks!

Regards,
Markus



> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.3
>
>         Attachments: ArchivaStartup.java, catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching updated MRM-1066:
----------------------------------

    Fix Version/s:     (was: 1.2.2)
                   1.2.3

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.2.3
>
>         Attachments: ArchivaStartup.java, catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Marcus Dimand (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=165453#action_165453 ] 

Marcus Dimand commented on MRM-1066:
------------------------------------

To Mr. Brett Porter

Dear Brett,

We need to know how to go on with Maven Archiva in our installation. Could you please answer the following questions, regarding the bug we reported:

1) Are you planning to fix this bug?
2) When will you be able to do this?
3) Are we on the right track waiting for a solution or should we find alternatives?
 
Thanks and regards,
Marcus Dimand

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Priority: Blocker
>             Fix For: 1.x
>
>         Attachments: catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-1066) Shutdown of Tomcat causes Exception when running Archiva Project

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-1066:
------------------------------

    Fix Version/s:     (was: 1.2.1)
                   1.2.2

> Shutdown of Tomcat causes Exception when running Archiva Project
> ----------------------------------------------------------------
>
>                 Key: MRM-1066
>                 URL: http://jira.codehaus.org/browse/MRM-1066
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: SUSE LINUX Enterprise Server 9 (i586)(Patchversion: 9.4) - Linux version 2.6.5-7.312-bigsmp (32Bit)
>            Reporter: Marcus Dimand
>            Assignee: James William Dumay
>            Priority: Blocker
>             Fix For: 1.2.2
>
>         Attachments: catalina.out
>
>
> It looks like the Quartz thread is still running because the web-context has been unloaded before.
> This could maybe happen because the Quartz threads are not yet under Spring control (http://jira.springframework.org/browse/SPR-5065).
> Exception summary :
> INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
> java.lang.IllegalStateException
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.quartz.JobDetail.class$(JobDetail.java:59)
> 	at org.quartz.JobDetail.isStateful(JobDetail.java:396)
> 	at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1207)
> 	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:307)
> Exception in thread "defaultScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org.quartz.StatefulJob

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira