I just ran into this issue as well. Had never seen it before in either 
3.0 or 3.0.1RC1. My setup does not involve EAR files (yet), simply a jar 
with all the entities, a jar with all the session beans, and a war file 
with some cactus tests inside it. The place where it stopped seems 
arbitrary. I undeployed all the jars and the war, rebuilt them, 
redeployed them and I have managed to avoid the problem so far.

Heres' my stack trace:


     [junit] Testcase: test_UpdateValueObject took 0.402 sec
     [junit]     Caused an ERROR
     [junit] loader constraints violated when linking 
net/covalent/spider/appdef/shared/IpValue class
     [junit] java.lang.LinkageError: loader constraints violated when 
linking net/covalent/spider/appdef/shared/IpValue class
     [junit]     at 
net.covalent.spider.appdef.server.entity.test.PlatformEJB_test.test_UpdateValueObject(PlatformEJB_test.java:121)
     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
     [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [junit]     at 
org.apache.cactus.AbstractTestCase.runServerTest(AbstractTestCase.java:524)
     [junit]     at 
org.apache.cactus.AbstractTestCase.runBareServerTest(AbstractTestCase.java:490)
     [junit]     at 
org.apache.cactus.server.AbstractTestCaller.doTest(AbstractTestCaller.java:148)
     [junit]     at 
org.apache.cactus.server.AbstractTestController.dispatch79_handleRequest(AbstractTestController.java;org/apache/cactus/util/log/LogAspect.java(1k):123)
     [junit]     at 
org.apache.cactus.server.AbstractTestController.around79_handleRequest(AbstractTestController.java;org/apache/cactus/util/log/LogAspect.java(1k):1140)
     [junit]     at 
org.apache.cactus.server.AbstractTestController.handleRequest(AbstractTestController.java;org/apache/cactus/util/log/LogAspect.java(1k):101)
     [junit]     at 
org.apache.cactus.server.ServletTestRedirector.dispatch88_doPost(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.java(1k):132)
     [junit]     at 
org.apache.cactus.server.ServletTestRedirector.around88_doPost(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.java(1k):1140)
     [junit]     at 
org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.java(1k):118)
     [junit]     at 
org.apache.cactus.server.ServletTestRedirector.dispatch87_doGet(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.java(1k):105)
     [junit]     at 
org.apache.cactus.server.ServletTestRedirector.around87_doGet(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.java(1k):1140)
     [junit]     at 
org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.java(1k):101)
     [junit]     at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     [junit]     at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     [junit]     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
     [junit]     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
     [junit]     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
     [junit]     at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     [junit]     at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     [junit]     at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     [junit]     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
     [junit]     at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     [junit]     at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
     [junit]     at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     [junit]     at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     [junit]     at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     [junit]     at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
     [junit]     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
     [junit]     at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     [junit]     at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
     [junit]     at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     [junit]     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
     [junit]     at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     [junit]     at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
     [junit]     at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     [junit]     at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     [junit]     at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     [junit]     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
     [junit]     at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     [junit]     at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     [junit]     at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     [junit]     at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
     [junit]     at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
     [junit]     at java.lang.Thread.run(Thread.java:536)

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




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