You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jon Haugsand <Jo...@norges-bank.no> on 2003/06/24 12:22:43 UTC
Re: App Developer's Guide Example
* Yoav Shapira
> Howdy,
> You can download these files by right-clicking on them and choosing Save
> target as. Part of the point of the app developer's guide is to show
> the structure for development and deployment. That's why there's no
> one-file-package that you can download with this structure.
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)?
--
Jon Haugsand, Jon-H.Haugsand@norges-bank.no
http://www.norges-bank.no
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: App Developer's Guide Example
Posted by Jon Haugsand <Jo...@norges-bank.no>.
* 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, Jon-H.Haugsand@norges-bank.no
http://www.norges-bank.no
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org