Re: JBoss 3.2.3 and JPublish 2.0.2 class loader

Anthony Eden <[email protected]> Tue, 13 Jan 2004 10:51:06 -0500
Newsgroups gmane.comp.java.jpublish.devel
Message-ID <[email protected]>
Grr...more classloader issues with JBoss, why am I not suprised.  Let me 
take a look at the code and see if I can figure out why it isn't finding 
the class.

-Anthony

Lateef Jackson wrote:

>We are upgrading from JPublish 1.3 to 2.0.2 and when I try to deploy the new 
>jars it gives me a ClassNotFoundException? Has anyone else had luck with 
>JPublish 2 in JBoss-Jetty 3.2 enviornment?
>
>THanks LHJ
>
>Stack Dump:
>09:35:06,145 ERROR [STDERR] java.lang.Exception: Problem initializing template 
>loader: org.jpublish.view.velocity.JPublishResourceLoader
>Error is: java.lang.ClassNotFoundException: No ClassLoaders found for: 
>org.jpublish.view.velocity.JPublishResourceLoader
>        at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:161)
>        at 
>org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLoader3.java:169)
>        at 
>org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:123)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Class.java:141)
>        at 
>org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory.getLoader(ResourceLoaderFactory.java:79)
>        at 
>org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(ResourceManagerImpl.java:185)
>        at 
>org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager(RuntimeInstance.java:502)
>        at 
>org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:268)
>        at 
>org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:122)
>        at 
>org.jpublish.view.velocity.VelocityViewRenderer.init(VelocityViewRenderer.java:183)
>        at org.jpublish.SiteContext.load(SiteContext.java:1102)
>        at 
>com.anthonyeden.lib.resource.FileResourceLoader.loadResource(FileResourceLoader.java:104)
>        at 
>com.anthonyeden.lib.resource.FileResourceLoader.loadResource(FileResourceLoader.java:80)
>        at org.jpublish.SiteContext.<init>(SiteContext.java:194)
>        at org.jpublish.servlet.JPublishServlet.init(JPublishServlet.java:136)
>        at 
>org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219)
>        at 
>org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:436)
>        at 
>org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
>        at 
>org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:442)
>        at 
>org.mortbay.j2ee.J2EEWebApplicationContext.start(J2EEWebApplicationContext.java:85)
>        at 
>org.jboss.jetty.JBossWebApplicationContext.start(JBossWebApplicationContext.java:89)
>        at org.jboss.jetty.Jetty.deploy(Jetty.java:331)
>        at org.jboss.jetty.JettyService.performDeploy(JettyService.java:242)
>        at 
>org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428)
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Perforce Software.
>Perforce is the Fast Software Configuration Management System offering
>advanced branching capabilities and atomic changes on 50+ platforms.
>Free Eval! http://www.perforce.com/perforce/loadprog.html
>_______________________________________________
>Jpublish-developer mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jpublish-developer
>  
>



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html