Where's a servlet log?

2001-05-30 Thread Davanzo Luca

Hi,
When from a servlet i use the metthod HttpServlet.log(String, Exception) it
apparentrly works but I cant' find the log file, neither in TOMCAT_HOME/log
NOR ANYWHERE ELSE..
Where is it? or has the log method an empty implementation or what?
Using tomcat 3.2 on winnt
Thanks

-
dott. Luca Davanzo
Insiel S.p.A. - Direzione Tecnica
Via G. Pieri, 2 - 33100 Udine
Italy
tel. +39-0432-551971
*   e-mail: [EMAIL PROTECTED]
-




R: Context

2001-05-30 Thread Davanzo Luca

Hi,
You have to addthe welcome-file-list tag to your web.xml file
Look at the welcome-file-list configuration directive in conf/web.tdt, it is
well explained there

 -Messaggio originale-
 Da: Heijns, P.J.B. [mailto:[EMAIL PROTECTED]]
 Inviato: mercoledì 30 maggio 2001 10.05
 A: '[EMAIL PROTECTED]'
 Oggetto: Context
 
 
 Hi,
 
 Does anybody know how I can map a page? I want that my
 www.test.com/test/login.jsp page immediately shows when I look at
 www.test.com/test. How does the context look? 
 
 Thanks Pieter
 



Tomcat 3.2: 500 error, what does it mean?

2001-01-23 Thread Davanzo Luca

Hi,
I have a servlet calles "xmlcpreove.prova1"; I copied it into
webapps/examples/webinf/classes under a directory xmlcprove; i modified
web.xml withan appropriate
servletservlet-nameservlet-classxmlcprove.prova1/servlet-class/
servlet
but when trying the servlet with
http://davanzol1:8080/examples/servlet/prova1
I get the following page.. what does it mean?

Error: 500

Location: /examples/servlet/prova1
Internal Servlet Error:
java.lang.ClassCastException: xmlcprove.prova1
at
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:268)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
at org.apache.tomcat.core.Handler.service(Handler.java:254)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
at java.lang.Thread.run(Thread.java:479) 

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