Jules,

the unified deployer on WAR just delegates to you.  I ignore the
WEB-INF/classes although it would be quite trivial to deploy it at the UCL
level.

Should this be done internally to your deployer in which case you want to
use a UCL to point to wherever to unpack the WEB-INF/classes (under Jetty
control) and you feed it to the UCL, which will then find these.

Or I do it, in the WAR deployer, you tell me no biggy.

Dave, the simplest to get this working right now is to include a jar with
your classes inside the ear at any level (top is good) that will deploy your
classes right now.

Jules let me know if you want to take care of that, or I can do it.

marcf

|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Dave
|Smith
|Sent: Tuesday, February 05, 2002 1:10 PM
|To: [EMAIL PROTECTED]
|Subject: [JBoss-dev] Status of ear deployment
|
|
|I am using the current tip (9 am this morning). This ear deployed and
|worked before (the marc unified class loading)  and now I am getting a
|class not found exception. Inside the war is
|
|WEB-INF/classes/tests/cadex/TestCompanyInfoBean.class
|
|and when I try to access it via a servlet I get (see below)
|known problem? bug ? Dumb user?
|
|
|Error finding class [tests.cadex.TestCom
|panyInfoBean] in classpath
|java.lang.ClassNotFoundException: tests.cadex.TestCompanyInfoBean
|         at
|org.jboss.system.ServiceLibraries.loadClass(ServiceLibraries.java:405
|)
|         at
|org.jboss.system.UnifiedClassLoader.loadClass(UnifiedClassLoader.java
|:101)
|         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
|         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
|         at java.lang.Class.forName0(Native Method)
|         at java.lang.Class.forName(Class.java:120)
|         at
|org.apache.cactus.server.AbstractTestCaller.getTestClassClass(Abstrac
|tTestCaller.java:331)
|         at
|org.apache.cactus.server.AbstractTestCaller.getTestClassInstance(Abst
|ractTestCaller.java:302)
|         at
|org.apache.cactus.server.AbstractTestCaller.doTest(AbstractTestCaller
|.java:130)
|         at
|org.apache.cactus.server.AbstractTestController.handleRequest(Abstrac
|tTestController.java:122)
|         at
|org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedi
|rector.java:134)
|         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
|         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
|         at
|org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:327
|)
|         at
|org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
|46)
|         at org.mortbay.http.HttpContext.handle(HttpContext.java:1269)
|         at org.mortbay.http.HttpContext.handle(HttpContext.java:1223)
|         at org.mortbay.http.HttpServer.service(HttpServer.java:725)
|         at
|org.mortbay.http.HttpConnection.service(HttpConnection.java:748)
|         at
|org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:921)
|         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:763)
|         at
|org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
|138)
|         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
|         at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:715)
|         at java.lang.Thread.run(Thread.java:484)
|
|
|
|_______________________________________________
|Jboss-development mailing list
|[EMAIL PROTECTED]
|https://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to