More info. I created an EAR file with just my WAR inside, and it all ran smoothly.
Any guesses? Anyone? Lachezar > Hello. > I really thought I am not a newbie, but alas it seems so. > > Stupid question: If I deploy a WAR within JBoss+Catalina > <version> > JBoss (MX MicroKernel) [3.0.0 Date:200205311035] > </version> > Downloaded from the jboss.org site. > I get: > > <snips> > <!-- (...) means stripped text for clarity --> > > Starting deployment of package: file:(...)/MyWar.war > WebappLoader[/WebInterface]: Deploying class repositories to work > directory(...) > ContextConfig[/WebInterface]: Missing application web.xml, using defaults > only > ContextConfig[/WebInterface]: Added certificates -> request attribute Valve > Using Java2 parent classloader delegation: true > StandardWrapper[/WebInterface:default]: Loading container servlet default > default: init > StandardWrapper[/WebInterface:invoker]: Loading container servlet invoker > invoker: init > jsp: init > Internal Error: File /WEB-INF/web.xml not found > Successfully completed deployment of package: file:(...)/MyWar.war > > </snips> > > To clarify more: > MyWar.war > |-> META-INF > | |-> MANIFEST.MF > | > |-> WEB-INF > | |->web.xml > | |->classes > | |-> com.mycomp.servlets.* > | |-> com.mycomp.util.* > | > |-> index.jsp > > > I have the web.xml, I have the WEB-INF, and IO have classes directory in > the war. > However, when I try to access my index.jsp: > <web-snip> > HTTP Status 500 - Internal Server Error > exception: > org.apache.jasper.JasperException: Unable to compile class for JSP > index$jsp.java:4: Package com.mycomp.util not found in import. > import com.mycomp.util.*; > </web-snip> > > > What else should I look at? Is this a known FAQ question, or am I doing > something wrong? > > <additional-info> > WinDoze 2K > java version "1.3.1-rc1" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-rc1-b21) > Java HotSpot(TM) Client VM (build 1.3.1-rc1-b21, mixed mode) > </additional-info> > > Lachezar. > > P.S. Orion deploys A_OK. > > > > -------------------------------------------------------------------------- -- > Bringing you mounds of caffeinated joy > >>> http://thinkgeek.com/sf <<< > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ---------------------------------------------------------------------------- Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf <<< _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user