I don't really understand classloading in the web tier but if this was
libraries in the .ear I would recommend using the scoped loader repository
set up in jboss-app.xml to get the apps in different classloader spaces. 
It still might help.

david jencks

On 2002.08.09 11:39:01 -0400 Bobby Abraham wrote:
> While using JBoss 3.0.1 (and we have never had this working with 
> previous versions of Jboss 3.0) we get a loader constraints violated 
> when deploying two application ears.
> 
> The loader constraints relate to a class inside a jar in each 
> application's web tier.  The jars inside each each ear are named the 
> same and are infact a copy of the same jar file.
> 
> Frustratingly we have attempted to reproduce this with a test case but 
> are unable to, suggesting that there are issues which I don't really 
> understand.
> 
> The two applications work fine on their own.
> 
> Has anyone else seen this ?
> 
> 10:33:25,512 ERROR [STDERR] javax.servlet.ServletException: loader 
> constraints violated when linking /cmusa/common/web/PageParameter class
> 10:33:25,512 ERROR [STDERR]     at 
> 
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
> 10:33:25,527 ERROR [STDERR]     at 
> jsp.secure.buildingPermitState._jspService(buildingPermitState.java:146)
> 10:33:25,527 ERROR [STDERR]     at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> 10:33:25,527 ERROR [STDERR]     at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:371)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:255)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:171)
> 10:33:25,527 ERROR [STDERR]     at 
> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:820)
> 10:33:25,527 ERROR [STDERR]     at 
> jsp.secure.buildingPermitSelect._jspService(buildingPermitSelect.java:760)
> 10:33:25,527 ERROR [STDERR]     at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> 10:33:25,527 ERROR [STDERR]     at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:371)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:255)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:156)
> 10:33:25,527 ERROR [STDERR]     at 
> cc.cmusa.web.controller.Controller.process(Controller.java:229)
> 10:33:25,527 ERROR [STDERR]     at 
> cc.cmusa.web.controller.Controller.doGet(Controller.java:213)
> 10:33:25,527 ERROR [STDERR]     at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 10:33:25,527 ERROR [STDERR]     at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:371)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:613)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.http.HttpContext.handle(HttpContext.java:1387)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.http.HttpContext.handle(HttpContext.java:1326)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.http.HttpServer.service(HttpServer.java:757)
> 10:33:25,527 ERROR [STDERR]     at 
> org.jboss.jetty.Jetty.service(Jetty.java:528)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.http.HttpConnection.service(HttpConnection.java:741)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:914)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:756)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:151)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
> 10:33:25,527 ERROR [STDERR]     at 
> org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:715)
> 10:33:25,527 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:479)
> 
> -- 
> Bobby Abraham                      [EMAIL PROTECTED]
> Computer Manangement USA, Inc      +1 407 514 3018
> Orlando, FL
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to