Ok.

I don't like the invoker either.

I thought you were trying only to have things working as before, that's why
I pointed out that difference.

Starting from scratch, let's try to break the problem into smaller pieces.
Have you checked if the invocation works right without passing thru
Apache/mod_jk2? That is? Have you tried the

http://localhost:8080/route-to-servlet-dir/servlet/ServletName

Invocation directly and then what's the message you get from tomcat or logs,
etc.


José Ernesto Echeverría

 

-----Original Message-----
From: Diego, Emil [mailto:[EMAIL PROTECTED] 
Sent: Viernes, 20 de Agosto de 2004 10:04 a.m.
To: Tomcat Users List
Subject: RE: [tomcat] Re: Where do I place a servlet class

I saw that.  I've read a couple of negative things about enabling the
invoker.  It seems it's less secure and stuff.  I figured it would be better
to use explicit mapping, but cant get that to work.  I'll keep trying but if
I cant get it working I guess I'll just enable the invoker. 


Emil Diego
Website Administrator
University of Miami School of Business
305.284.5449


-----Original Message-----
From: Ernesto Echeverría [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 12:01 PM
To: 'Tomcat Users List'
Subject: RE: [tomcat] Re: Where do I place a servlet class

One of the major differences between your actual version and the your
previous one has to do with disabling the invoker servlet.

I don't know if you've checked this before, but take a look at

http://www.ftponline.com/javapro/2002_11/online/servletsjsp_bkurniawan_11_08
_02/default_pf.aspx

Just to see if that's happening to you.


José Ernesto Echeverría
 

-----Original Message-----
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Viernes, 20 de Agosto de 2004 09:14 a.m.
To: Tomcat Users List
Subject: [tomcat] Re: Where do I place a servlet class

You need to include yet another directive in your web.xml file called
servlet-mapping, search the web for it

Diego, Emil escribió:

> 
>I have upgraded my system from apache 3 and tomcat 3 and am now running
tomcat 4.1.27-13 and apache 2.0.49-4.  My webapp can't find a servlet after
the upgrade.  It's called servUploadMedia.  I had it in my classes directory
and it was configured in my web.xml file:
>
><web-app>
>       <display-name>Upgrade Test</display-name>
>       <session-timeout>900</session-timeout>
>       <servlet>
>               <servlet-name>servUploadMedia</servlet-name>
>               <servlet-class>umJavaLib.servUploadMedia</servlet-class>
>               <load-on-startup>1</load-on-startup>
>       </servlet>
>       <servlet>
>               <servlet-name>CalendarServlet</servlet-name>
>
<servlet-class>com.jsos.calendar.CalendarServlet</servlet-class>
>               <init-param>
>                       <param-name>config</param-name>
>
<param-value>/sections/plcmt/students/config/</param-value>
>               </init-param>
>       </servlet>
>
>       <!-- Default directory Files -->
>       <welcome-file-list>
>               <welcome-file>index.jsp</welcome-file>
>               <welcome-file>intro.jsp</welcome-file>
>               <welcome-file>index.html</welcome-file>
>               <welcome-file>index.htm</welcome-file>
>       </welcome-file-list>
></web-app>
>
>Does tomcat 4 look for servlets in a different directory in this new
version ?
>
>Emil Diego
>Website Administrator
>University of Miami School of Business
>
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.736 / Virus Database: 490 - Release Date: 8/9/2004
> 
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.736 / Virus Database: 490 - Release Date: 8/9/2004
> 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>  
>


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



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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.736 / Virus Database: 490 - Release Date: 8/9/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.736 / Virus Database: 490 - Release Date: 8/9/2004
 

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



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

Reply via email to