Where do I place a servlet class

2004-08-20 Thread Diego, Emil
 
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:


Upgrade Test
900

servUploadMedia
umJavaLib.servUploadMedia
1


CalendarServlet
com.jsos.calendar.CalendarServlet

config
/sections/plcmt/students/config/





index.jsp
intro.jsp
index.html
index.htm



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]



Re: Where do I place a servlet class

2004-08-20 Thread John Villar
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:

Upgrade Test
900

servUploadMedia
umJavaLib.servUploadMedia
1


CalendarServlet
com.jsos.calendar.CalendarServlet

config
/sections/plcmt/students/config/




index.jsp
intro.jsp
index.html
index.htm


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]


RE: Where do I place a servlet class

2004-08-20 Thread Diego, Emil
I added the servlet mapping entry but it's still not working. 
I have the class file in /dev_new/WEB-INF/classes/umJavaLib/.  Does the class file 
need to go into a special directory of anything? 


servUploadMedia
umJavaLib.servUploadMedia
1

 
servUploadMedia
/dev_new/servlet/umJavaLib.servUploadMedia



I also added a uri entry in workers2.properties.  Here are the 2 entries for my app:
# Map the jsp extension in the dev_new directory to tomcat
[uri:/dev_new/*.jsp]
info=Extension mapping

[uri:/dev_new/servlet/*]
info=Prefix Mapping



Emil Diego
Website Administrator
University of Miami School of Business
305.284.5449


-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 20, 2004 11:14 AM
To: Tomcat Users List
Subject: 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:
>
>
>   Upgrade Test
>   900
>   
>   servUploadMedia
>   umJavaLib.servUploadMedia
>   1
>   
>   
>   CalendarServlet
>   com.jsos.calendar.CalendarServlet
>   
>   config
>   /sections/plcmt/students/config/
>   
>   
>
>   
>   
>   index.jsp
>   intro.jsp
>   index.html
>   index.htm
>   
>
>
>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]


---
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]



Re: Where do I place a servlet class

2004-08-20 Thread John Villar
did you restart tomcat or your context?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Where do I place a servlet class

2004-08-20 Thread Diego, Emil
Yes.  I restarted. 


Emil Diego
Website Administrator
University of Miami School of Business
305.284.5449


-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 20, 2004 11:55 AM
To: Tomcat Users List
Subject: Re: Where do I place a servlet class

did you restart tomcat or your context?

-
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]



Re: Where do I place a servlet class

2004-08-20 Thread John Villar
well your configuration seems fine i remember Cicer0 posted 
recently a problem like yours search the archive for "ExportSerials"

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


RE: Where do I place a servlet class

2004-08-20 Thread Shapira, Yoav

Hi,

>I added the servlet mapping entry but it's still not working.
>I have the class file in /dev_new/WEB-INF/classes/umJavaLib/.  Does the
>class file need to go into a special directory of anything?
>
>   
>servUploadMedia
>
umJavaLib.servUploadMedia
>1
>
>
>servUploadMedia
>pattern>/dev_new/servlet/umJavaLib.servUploadMedia
>

First try to get it to work in tomcat-standalone.  It's the KISS
principle.

Do you realize what the above url-pattern means?  With it, you can
access your servlet at
http://yourhost:yourport/yourwebapp/dev_new/server/umJavaLib.servUploadM
edia.  A more typical url-pattern would just be
/uploadMediahttp://yourhost:yourport/yourwebapp/uploadMedia.

If you're unclear on url-pattern and how it works, check out the Servlet
Specification itself for details and examples.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: Where do I place a servlet class

2004-08-27 Thread gerardo

Hello,

I noticed that you mentioned the server specification. I have seen it 
mentioned before, many times. But where is it? I have searched for it at 
java.sun.com and all I get is a Javadoc *reference* of some classes. Is 
this the so-called 'specification'? Shouldn't it be a *text*?

Greetings,
Gerardo

On Fri, 20 Aug 2004, Shapira, Yoav wrote:

> 
> Hi,
> 
> >I added the servlet mapping entry but it's still not working.
> >I have the class file in /dev_new/WEB-INF/classes/umJavaLib/.  Does the
> >class file need to go into a special directory of anything?
> >
> > 
> >servUploadMedia
> >
> umJavaLib.servUploadMedia
> >1
> >
> >  
> >servUploadMedia
> > >pattern>/dev_new/servlet/umJavaLib.servUploadMedia
> >
> 
> First try to get it to work in tomcat-standalone.  It's the KISS
> principle.
> 
> Do you realize what the above url-pattern means?  With it, you can
> access your servlet at
> http://yourhost:yourport/yourwebapp/dev_new/server/umJavaLib.servUploadM
> edia.  A more typical url-pattern would just be
> /uploadMedia servlet at http://yourhost:yourport/yourwebapp/uploadMedia.
> 
> If you're unclear on url-pattern and how it works, check out the Servlet
> Specification itself for details and examples.
> 
> Yoav Shapira
> 
> 
> 
> This e-mail, including any attachments, is a confidential business communication, 
> and may contain information that is confidential, proprietary and/or privileged.  
> This e-mail is intended only for the individual(s) to whom it is addressed, and may 
> not be saved, copied, printed, disclosed or used by anyone else.  If you are not 
> the(an) intended recipient, please immediately delete this e-mail from your computer 
> system and notify the sender.  Thank you.
> 
> 
> -
> 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]



Re: Where do I place a servlet class

2004-08-27 Thread Wendy Smoak
From: <[EMAIL PROTECTED]>
> I noticed that you mentioned the server specification. I have seen it
> mentioned before, many times. But where is it? I have searched for it at
> java.sun.com and all I get is a Javadoc *reference* of some classes. Is
> this the so-called 'specification'? Shouldn't it be a *text*?

Servlet Specification:
http://java.sun.com/products/servlet/download.html

The Specification will explain exactly what the container is required to do
for you, what it may do, and some things it must not do.

-- 
Wendy Smoak


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



RE: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread Ernesto Echeverría
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:
>
>
>   Upgrade Test
>   900
>   
>   servUploadMedia
>   umJavaLib.servUploadMedia
>   1
>   
>   
>   CalendarServlet
>
com.jsos.calendar.CalendarServlet
>   
>   config
>
/sections/plcmt/students/config/
>   
>   
>
>   
>   
>   index.jsp
>   intro.jsp
>   index.html
>   index.htm
>   
>
>
>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]



RE: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread Diego, Emil
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:
>
>
>   Upgrade Test
>   900
>   
>   servUploadMedia
>   umJavaLib.servUploadMedia
>   1
>   
>   
>   CalendarServlet
>
com.jsos.calendar.CalendarServlet
>   
>   config
>
/sections/plcmt/students/config/
>   
>   
>
>   
>   
>   index.jsp
>   intro.jsp
>   index.html
>   index.htm
>   
>
>
>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]



Re: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 12:04:10PM -0400, Diego, Emil wrote:
: 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.

That should work as a short-term goal, but you'd do yourself a favor to
find out what's going on.  If the servlet mapping works through the
invoker then it must work through a manual mapping, as well.

I missed the earlier posts: what's the error in the Tomcat logs?

Did you recompile your webapp with the newer Tomcat JARs, etc.?

There's a brief upgrade guide on my website (brandxdev.net).  That
covers the 4 ->5 upgrade but some of it is container-neutral.



-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread John Villar
QM escribió:
On Fri, Aug 20, 2004 at 12:04:10PM -0400, Diego, Emil wrote:
: 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.
That should work as a short-term goal, but you'd do yourself a favor to
find out what's going on.  If the servlet mapping works through the
invoker then it must work through a manual mapping, as well.
I missed the earlier posts: what's the error in the Tomcat logs?
Did you recompile your webapp with the newer Tomcat JARs, etc.?
There's a brief upgrade guide on my website (brandxdev.net).  That
covers the 4 ->5 upgrade but some of it is container-neutral.
 

Also, if everything gets wacky and you're desperate, delete everything 
under your work directory, on the tomcat root and see what happens 
it helps sometimes

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


Re: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 12:20:19PM -0400, John Villar wrote:
: Also, if everything gets wacky and you're desperate, delete everything 
: under your work directory, on the tomcat root and see what happens 
: it helps sometimes

No need for to wait for "wacky" -- I added a "clean" action to my Tomcat
scripts to do just this, aka

./tomcat_ctl stop clean start

Handy for testing, when you'd rather not use reloadable=true...

=)

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



RE: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread Ernesto Echeverría
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:
>
>
>   Upgrade Test
>   900
>   
>   servUploadMedia
>   umJavaLib.servUploadMedia
>   1
>   
>   
>   CalendarServlet
>
com.jsos.calendar.CalendarServlet
>   
>   config
>
/sections/plcmt/students/config/
>   
>   
>
>   
>   
>   index.jsp
>   intro.jsp
>   index.html
>   index.htm
>   
>
>
>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]



RE: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread Diego, Emil
I have a script that resets the web and apache servers, compiles the
webapp classes, and deletes the classes in the work directory.   


Emil Diego
Website Administrator
University of Miami School of Business
305.284.5449


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

QM escribi?:

>On Fri, Aug 20, 2004 at 12:04:10PM -0400, Diego, Emil wrote:
>: 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.
>
>That should work as a short-term goal, but you'd do yourself a favor to

>find out what's going on.  If the servlet mapping works through the 
>invoker then it must work through a manual mapping, as well.
>
>I missed the earlier posts: what's the error in the Tomcat logs?
>
>Did you recompile your webapp with the newer Tomcat JARs, etc.?
>
>There's a brief upgrade guide on my website (brandxdev.net).  That 
>covers the 4 ->5 upgrade but some of it is container-neutral.
>
>  
>
Also, if everything gets wacky and you're desperate, delete everything
under your work directory, on the tomcat root and see what happens 
it helps sometimes

-
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]



RE: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread Diego, Emil
I don't have tomcat configured to work standalone.   


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:23 PM
To: 'Tomcat Users List'
Subject: RE: [tomcat] Re: Where do I place a servlet class

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:
>
>
>   Upgrade Test
>   900
>   
>   servUploadMedia
>   umJavaLib.servUploadMedia
>   1
>   
>   
>   CalendarServlet
>
com.jsos.calendar.CalendarServlet
>   
>   config
>
/sections/plcmt/students/config/
>   
>   
>
>   
>   
>   index.jsp
>   intro.jsp
>   index.html
>   index.htm
>   
>
>
>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]


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