To the list (my new best friends;-):
I finally got my (very simple) app up and working under the Debian package
mechanism,
but was having problems with the ajp13 connector. On someone's advice, I
reinstalled
using a manual installation (i. e., I used the Linux binary, but unpacked
and installed by
hand as opposed to using Debian's apt-get mechanism). Now, nothing works
again.
I'm using the same paths and descriptors as in the Debian installation,
adjusted for having
installed tomcat in /usr/local instead of /usr/share.
****************************************************************************
****
I added this to the server.xml file:
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<!-- This is what I added; note above, it is contained withing the localhost
elements -->
<Context path="/smsinfo" docbase="smsinfo"
debug="5" reloadable="true" />
****************************************************************************
****
Here is the $CATALINA_HOME/webapps directory structure:
drwxr-xr-x 9 root root 4096 2006-05-24 20:05 ./
drwxr-sr-x 11 root staff 4096 2006-05-24 20:16 ../
drwxr-xr-x 5 root root 4096 2006-04-14 14:09 balancer/
drwxr-xr-x 21 root root 4096 2006-05-24 20:04 jsp-examples/
drwxr-xr-x 4 root root 4096 2006-05-24 20:04 ROOT/
drwxr-xr-x 4 root root 4096 2006-05-24 20:04 servlets-examples/
drwxr-xr-x 3 anw anw 4096 2006-05-24 20:50 smsinfo/
drwxr-xr-x 12 root root 4096 2006-05-24 20:04 tomcat-docs/
drwxr-xr-x 3 root root 4096 2006-05-24 20:04 webdav/
(The smsinfo is the app of interest)
****************************************************************************
*******
When I go to http://localhost:8080, I get the tomcat default page, with all
the examples, just fine.
When I go to http://localhost:8080/smsinfo, I get, from tomcat:
****************************************************************************
********
HTTP Status 404 - /smsinfo/
Type: Status report
Message: /smsinfo/
Description: The requested resource (/smsinfo/) is not available.
Apache Tomcat/5.5.17
****************************************************************************
*********
All the permissions are the same. The only difference I can see is the old
installation (I think)
had the ROOT subdirectory in a different place.
Two questions:
What's wrong here, and can someone help me with this immediate problem?
Is there some definitive guide to how the hell you're supposed to organize a
directory structure with multiple applications?
Thanks to all for the help-
anw
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]