|
From: Enrique V. <ev...@ba...> - 2002-07-26 18:22:29
|
Thank you for answering. Putting the webframework.jar in lib does not solve the problem of jsp compilation. The class loader *is* able to load the classes for *running* them even with my setup of class-path in manifest. But it fails to *compile* the .java sources generated for my jsps. The compiler can see the files if I put them in WEB-INF\classes (I needed to put there just the tag implementation .class files) Enrique Vetere --------------------------------------------------------------- Baufest http://www.baufest.com Phone: 11-4807-8080 Av. Las Heras 3257 (C1425ASJ) Buenos Aires - Argentina --------------------------------------------------------------- -----Original Message----- From: jbo...@li... [mailto:jbo...@li...]On Behalf Of Scott M Stark Sent: Friday, July 26, 2002 3:15 PM To: jbo...@li... Subject: Re: [JBoss-user] NEWBIE deploy problem jBoss-Jetty Use the standard WEB-INF/lib for the utility jars as described in the servlet 2.3 spec: The contents of the WEB-INF directory are: The /WEB-INF/web.xml deployment descriptor. The /WEB-INF/classes/ directory for servlet and utility classes. The classes in this directory must be available to the application class loader. The /WEB-INF/lib/*.jar area for Java ARchive files. These files contain servlets, beans, and other utility classes useful to the web application. The web application class loader must be able to load classes from any of these archive files. The web application classloader must load classes from the WEB-INF/ classes directory first, and then from library JARs in the WEB-INF/lib directory. xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ----- Original Message ----- From: Enrique Vetere To: 'Jboss-User Sent: Friday, July 26, 2002 10:50 AM Subject: [JBoss-user] NEWBIE deploy problem jBoss-Jetty I'm having a newbie problem with jboss-jetty I have the following deploy package: stuff.ear webstuff.war library\webframework.jar ejbstuff.jar Where: - The manifest for webstuff.war contains the reference to library\webframework.jar - webframework.jar contains some jsp tags - some jsps in webstuff.war uses tags whose implementation classes reside on webframework.jar This ear is deployed on jboss3.0.0+jetty without complain. The problem is that jetty can't compile the servlet generated for the jsps because it can't find the tag implementation classes. This can be solved by moving the tag implementation classes to webstuff.wat\WEB-INF\classes Is there a cleaner solution? What's going on? Enrique Vetere --------------------------------------------------------------- Baufest http://www.baufest.com Phone: 11-4807-8080 Av. Las Heras 3257 (C1425ASJ) Buenos Aires - Argentina --------------------------------------------------------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 19/04/02 |