What happened at last with this (CL and JSPs)? I mean, my app has servlets and JSPs; servlets can find every classes they need, but JSPs don't. This behaviour started at Jan or so, and that forced me to stop building fresh CVS content.
Seems that the correct classpath is set. From the log: JSP classpath: ...dbg.ear/67.myapp.dbg.ear^/myapp-ejb.jar;... So, my class is in the path; the rest should be a classloader issue. What classloader is being used by Jasper as a parent CL? Is there a testsuite for this (correct deployment of a .jar inside an .ear for JSP)? Servlets are working fine. I have tried with sources from today and no luck. (Note: "No se puede compilar la clase para JSP" = "Could not compile the JSP class") 2002-03-08 19:01:00,720 WARN [org.jboss.jetty.Jetty] WARNING: Servlet Exception for /en/publico/index.jsp org.apache.jasper.JasperException: No se puede compilar la clase para JSP G:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\Jetty__8080___\error\p500$jsp.java:8: Class com.myapp.resources.Config not found in import. com.myapp.resources.Config; ^ 1 error at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de Scott M Stark Enviado el: miércoles, 20 de febrero de 2002 16:31 Para: [EMAIL PROTECTED] Asunto: Re: [JBoss-dev] ClassLoader problems with war contents I said it was subject to be ripped out. The problem with it is that this breaks being able to edit and reload individual servlets and jsp pages as far as I can see. Doesn't Jetty currently allow this when it handles class loading? xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ----- Original Message ----- From: "Matt Humphrey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "'marc fleury'" <[EMAIL PROTECTED]> Cc: "'Jules Gosnell'" <[EMAIL PROTECTED]>; "'Greg Wilkins'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, February 20, 2002 4:34 AM Subject: RE: [JBoss-dev] ClassLoader problems with war contents > I posted this exact bug along with a simple fix last week, but was told > by Scott Stark that he was going to "rip all that out" because the JBoss > unified classloader should not be handling classes within a WAR file. > > By the way, deploying a plain WAR file (not within an EAR), like for > example the struts-example.war that comes with Struts, does not work > either. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Jan > Bartel > Sent: Wednesday, February 20, 2002 2:40 AM > To: marc fleury > Cc: Jules Gosnell; Greg Wilkins; [EMAIL PROTECTED] > Subject: [JBoss-dev] ClassLoader problems with war contents > > > Marc, > > The Jetty/JBoss integration is still using a MortBay classloader to load > > the contents of war files as the JBoss MBeanClassLoader does not appear > to return us classes from the WEB-INF/classes directory. > > I think this could be due to the part of the package name becoming > appended onto the URL for xxx/WEB-INF/classes. Eg when running the > servlets in jbosstest-web.ear, we see: > > Servlet ClassLoader[2]: org.jboss.system.MBeanClassLoader:935439853 > URLs: > [25] = > file:/home/janb/new-jboss-all/build/output/jboss-3.0.0beta/tmp/deploy/66 > .jbosstest-web.war.webinf/WEB-INF/classes/org/jboss/test/web/servlets/ > > We will stop using the MortBay classloader if we can get the > MBeanClassLoader to supply all jars and /classes/* from a war. > > cheers, > Jan > > > > > > > > > > _______________________________________________ > Jboss-development mailing list [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > _______________________________________________ > 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 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development