Look at stcout.log. It looks like init.d script for tomcat is
redirecting output to that file. Thus, what I was saying about stderr
telling you something would now be in that file.
Why is jasper using /usr/share/tomcat/work/localhost_8080%2Fadmin_old
for srcatch? Shouldn't it be using just /usr/share/tomcat/work/? Why do
you have an examples context AND a tomcat-examples context?
When it comes to the java.io.FileNotFoundException:
/usr/share/tomcat/conf/obj.conf-auto error, make sure it is there. If
not, try adding an empty file with that name and path. Tomcat might not
be trying to create it when it can't find it. If you create it, it might
fix it.
~Rob
Gregory Guthrie wrote:
>
> At 02:48 PM 01/12/2001 -0800, Robert Wohleb wrote:
> >Try restarting tomcat and apache in a shell. Anything that might be
> >going to stderr will get displayed. If tomcat is set to put this to log
> >it will be in logs/tomcat.log. Mod_jk might be working fine, tomcat is
> >having a problem with it.
>
> -- seems fine;
> omega:/etc/init.d# ./tomcat restart
> Stopping Tomcat servlet engine: tomcat.
> Starting Tomcat servlet engine: tomcat.
> omega:/etc/init.d# ./apache restart
> Reloading apache modules.
> /usr/sbin/apachectl stop: httpd stopped
> /usr/sbin/apachectl start: httpd started
> omega:/etc/init.d#
>
> and:
> ==> /var/log/tomcat/servlet.log <==
> 2001-01-12 05:08:44 - path="/admin_old" :jsp: init
> 2001-01-12 05:08:45 - path="/examples" :jsp: init
> 2001-01-12 05:08:46 - path="" :jsp: init
> 2001-01-12 05:08:47 - path="/tomcat-admin" :jsp: init
> 2001-01-12 05:08:48 - path="/tomcat-examples" :jsp: init
> ==> /var/log/tomcat/jasper.log <==
> 2001-01-12 05:08:44 - Scratch dir for the JSP engine is:
> /usr/share/tomcat/work/localhost_8080%2Fadmin_old
> 2001-01-12 05:08:44 - IMPORTANT: Do not modify the generated servlets
> ==> /var/log/tomcat/stdout.log <==
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java)
> Error generating automatic Netscape configuration
> java.io.FileNotFoundException: /usr/share/tomcat/conf/obj.conf-auto
> java.io.FileNotFoundException: /usr/share/tomcat/conf/obj.conf-auto
> at java.io.FileOutputStream.<init>(FileOutputStream.java)
> at java.io.FileWriter.<init>(FileWriter.java)
> at org.apache.tomcat.task.NSConfig.execute(NSConfig.java)
> at org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java)
> ==> /var/log/tomcat/tomcat.log <==
> 2001-01-12 05:08:41 - ContextManager: Adding context Ctx( /admin_old )
> 2001-01-12 05:08:41 - ContextManager: Adding context Ctx( /examples )
> 2001-01-12 05:08:41 - ContextManager: Adding context Ctx( )
> 2001-01-12 05:08:41 - ContextManager: Adding context Ctx( /tomcat-admin )
> 2001-01-12 05:08:41 - ContextManager: Adding context Ctx( /tomcat-examples )
> 2001-01-12 05:08:48 - PoolTcpConnector: Starting HttpConnectionHandler on 8081
> 2001-01-12 05:08:48 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007
>
> is it a problem that some of these are actually links?
>
> omega:/usr/share/tomcat/conf# ls -l
> total 4
> lrwxrwxrwx 1 root root 42 Dec 13 07:16
> iis_redirect.reg-auto -> /var/lib/tomcat/conf/iis_redirect.reg-auto
> lrwxrwxrwx 1 root root 30 Dec 13 07:16 mod_jk.conf-auto ->
> /etc/apache/mod_jk/tomcat-auto
> lrwxrwxrwx 1 root root 34 Dec 13 07:16 obj.conf-auto ->
> /var/lib/tomcat/conf/obj.conf-auto
> lrwxrwxrwx 1 root root 22 Dec 13 07:16 server.xml ->
> /etc/tomcat/server.xml
> lrwxrwxrwx 1 root root 39 Dec 13 07:16 tomcat-apache.conf
> -> /var/lib/tomcat/conf/tomcat-apache.conf
> lrwxrwxrwx 1 root root 28 Dec 13 07:16 tomcat-users.xml ->
> /etc/tomcat/tomcat-users.xml
> lrwxrwxrwx 1 root root 25 Dec 13 07:16 tomcat.policy ->
> /etc/tomcat/tomcat.policy
> lrwxrwxrwx 1 root root 49 Dec 13 07:16
> uriworkermap.properties-auto ->
> /var/lib/tomcat/conf/uriworkermap.properties-auto
> lrwxrwxrwx 1 root root 19 Dec 13 07:16 web.xml ->
> /etc/tomcat/web.xml
> lrwxrwxrwx 1 root root 37 Dec 13 07:16 workers.properties
> -> /etc/apache/mod_jk/workers.properties
>
> >~Rob
> >
> >Gregory Guthrie wrote:
> > >
> > > I have installed Tomcat (3.2-4) + Apache(1.3) on Debian linux (2.2).
> > >
> > > I find that Apache works fine, and Tomcat works find on its port, and
> > > serves jsp and servlets on its port, but the Tomcat-Apache link does not
> > > seem to work.
> > >
> > > I don't get any logged errors, or even traffic reports..
> > >
> > > I have the tomcat connection in /etc/apache/httpd.conf:
> > >
> > > LoadModule jk_module /usr/lib/apache/1.3/mod_jk.so
> > > ...
> > > <IfModule mod_jk.c>
> > > # The following line is for apacheconfig - DO NOT REMOVE!
> > > JkWorkersFile /etc/apache/mod_jk/workers.properties
> > > Include /etc/apache/mod_jk/tomcat-auto
> > > </IfModule>
> > >
> > > I notice that /etc/tomcat/mod_jl/tomcat-auto is empty; is this proper??
> > >
> > > How do I get a good version of it?
> > >
> > > -- I also notice the I don't have tomcat/bin/startup.sh, it was changed
> > > into /etc/init.d/tomcat to automatically run at startup. Perhaps that
> > is OK.
> > >
> > > Thanks,
> > > Gregory
> > > --------------------------------------------------------
> > > Gregory Guthrie
> > > [EMAIL PROTECTED] (641)472-1125 Fax: -1103
> > > --------------------------------------------------------
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, email: [EMAIL PROTECTED]
> >
> >--
> >_______________________________________
> >
> > Robert Wohleb
> > Web Applications Development Manager
> > Parafoil Software, Inc.
> >_______________________________________
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, email: [EMAIL PROTECTED]
>
> --------------------------------------------------------
> Gregory Guthrie
> [EMAIL PROTECTED] (641)472-1125 Fax: -1103
> --------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
--
_______________________________________
Robert Wohleb
Web Applications Development Manager
Parafoil Software, Inc.
_______________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]