In fact, Tomcat running as a service in NT does recognize contexts defined in
that way. The problem with your configuration seems to be that you're
referencing a drive called 'Z' , which (I guess) is not in your local machine.
When a service runs, the machine doesn't have the network drive or directory
mappings that you have (as a user of the system), so it will be unable to know
what drive 'Z' means. Please try it with a local directory.
bye.
diego.
--
Diego Rodrigo
Vates S.A.
[EMAIL PROTECTED]
+54(11)4346-6658
____________________Reply Separator____________________
Subject: RE: Who can help me??
Author: [EMAIL PROTECTED]
Date: 09/02/2001 3:21 PM
Your application must have a sub-directory WEB-INT like:
Z:\masterdir\apphome\WEB-INF\web.xml
Z:\masterdir\apphome\WEB-INF\classes\*.class
Z:\masterdir\apphome\WEB-INF\lib\*.jar
J. Andrade.
P.S. If someone knows how to make it works with tomcat running as a service,
and how to make it to be dinamicaly recognized by the server I whould like
to hear about it.
-----Original Message-----
From: John Coonrod [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 11:45 AM
To: [EMAIL PROTECTED]
Subject: RE: Who can help me??
I'm sure there is a better solution, but what I did was just put my jsps in
the examples folder!
===== Original Message from [EMAIL PROTECTED] at 2/09/01 8:34
am
>I'm a Java Developer,my name is Mariano Scardino.
>Now I need to work with JSP and so I would use TOMCAT.I downloaded it I
made
>something to configure it(directory structure,modify to server.xml
file,update
>the path for JAVA_HOME and TOMCAT_HOME in the tomcat.bat).
>However:I can see the index at "http://localhost:8080/index.htm" and also
use
>the examples of JSP:they work!....but when I try to make my JSpage it
doesen't
>work!!I think it's a problem of startup.bat or tomcat.bat.Here is the
message I
>see in the secon window when I execute startup.bat:
>
>Starting tomcat. Check logs/tomcat.log for error messages
>2001-02-09 12:56:55 - ContextManager: Adding context Ctx( /admin )
>2001-02-09 12:56:55 - ContextManager: Adding context Ctx( )
>2001-02-09 12:56:55 - ContextManager: Adding context Ctx( /test )
>Error generating automatic apache configuration
java.lang.NullPointerException:
>
>java.lang.NullPointerException:
>at org.apache.tomcat.util.FileUtil.isAbsolute(FileUtil.java:289)
>at org.apache.tomcat.task.ApacheConfig.execute(Compiled Code)
>at
>org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java:217
>)
>at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:200)
>at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>Error generating automatic Netscape configuration
>java.lang.NullPointerException
>:
>java.lang.NullPointerException:
>at org.apache.tomcat.util.FileUtil.isAbsolute(FileUtil.java:289)
>at org.apache.tomcat.task.NSConfig.execute(Compiled Code)
>at
>org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java:229
>)
>at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:200)
>at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>2001-02-09 12:56:56 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
>2001-02-09 12:56:56 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007
>
>
>Who can help
>me?
>THANK you!!!!
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]