* Jon Haugsand
> All the files are now gone.  Where can I find a complete very simple
> example with one servlet, one jsp file and a complete directory
> structure with correct web.xml all which total to an example.war file
> deployable with my tomcat installation (preferrable bundled with
> jboss)?
>

To be more specific.  I tried the following directory structure:

  wartest/WEB-INF/web.xml
  wartest/WEB-INF/classes/HelloWorld.class

The wartest directory was packed with:

  jar cf wartest.war wartest

An wartest.war was deployed on a jboss-3.2.1_tomcat-4.1.24
installation.  Message during deployment:

12:07:54,905 INFO  [MainDeployer] Starting deployment of package: 
file:/usr/local/share/jboss-3.2.1_tomcat-4.1.24/server/test/deploy/wartest.war
12:07:54,921 INFO  [EmbeddedCatalinaService41] deploy, ctxPath=, 
warUrl=file:/usr/local/share/jboss-3.2.1_tomcat-4.1.24/server/test/tmp/deploy/server/test/deploy/wartest.war/64.wartest.war
12:07:54,980 INFO  [Engine] WebappLoader[]: Deploying class repositories to work 
directory 
/usr/local/share/jboss-3.2.1_tomcat-4.1.24/server/test/tmp/deploy/server/test/deploy/work/MainEngine/localhost/_
12:07:56,025 INFO  [Engine] ContextConfig[]: Missing application web.xml, using 
defaults only
12:07:56,031 INFO  [Engine] ContextConfig[]: Added certificates -> request attribute 
Valve
12:07:56,129 INFO  [EmbeddedCatalinaService41] Using Java2 parent classloader 
delegation: true
12:07:56,131 INFO  [Engine] StandardManager[]: Seeding random number generator class 
java.security.SecureRandom
12:07:56,134 INFO  [Engine] StandardManager[]: Seeding of random number generator has 
been completed
12:07:56,144 INFO  [Engine] StandardWrapper[:default]: Loading container servlet 
default
12:07:56,146 INFO  [Engine] StandardWrapper[:invoker]: Loading container servlet 
invoker
12:07:56,181 INFO  [MainDeployer] Deployed package: 
file:/usr/local/share/jboss-3.2.1_tomcat-4.1.24/server/test/deploy/wartest.war

I did obviously something wrong as I do have a web.xml file.  However,
I cannot access my servlet.

-- 
 Jon Haugsand, [EMAIL PROTECTED]
 http://www.norges-bank.no


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to