RE: Problem with directory index listings

2004-09-14 Thread Diego, Emil
I am using mod_jk2.

Here is the part of workers2.properties that I changed.  Everything else in the file 
was untouched:
#Map the JSP extension in the dev_new directory to tomcat
[uri:/dev_new/*.jsp]
info=Extension Mapping

[uri:/dev_new/servlet/*]
info=PrefixMapping

Is there anything else you need to see ?



Emil Diego



-Original Message-
From: Benjamin Armintor [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 13, 2004 12:05 PM
To: Tomcat Users List
Subject: RE: Problem with directory index listings

Sounds like a problem with your Apache-Tomcat connector.  Are you using mod_jk?  Can 
you post the Tomcat-related parts of your Apache configuration?

Benjamin J. Armintor
Operations Systems Specialist
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]
 


-Original Message-
From: Diego, Emil [mailto:[EMAIL PROTECTED]
Sent: Monday, September 13, 2004 9:53 AM
To: [EMAIL PROTECTED]
Subject: Problem with directory index listings


I am running Tomcat 4.1.27 with Apache 2.0.49 on Fedora Core 2.

Here is what I have soo far.  I setup a directory to run my JSP site.
The directory is in /var/www/html/dev_new.  I created a context called
/dev_new to run this JSP site and I setup the connector between tomcat
and apache and the site runs fine.

I am now trying to setup another directory on the web server to display
the usage statistics for the site (Simple HTML files). The directory is
/var/www/html/reports.  Whenever I browse
http://preproduction.bus.miami.edu/reports/ I get the follwong browser
message:


HTTP Status 404 - /reports/




type Status report

message /reports/

description The requested resource (/reports/) is not available.





Apache Tomcat/4.1.27-13


This message is being generated by tomcat.  I don't understand why
tomcat is handling this request at all.  It should be getting handled by
apache.  Anyone have any ideas on what I am doing wrong?


Thanx in advance for the help.


Emil Diego



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.760 / Virus Database: 509 - Release Date: 9/10/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.760 / Virus Database: 509 - Release Date: 9/10/2004
 

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

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



Problem with directory index listings

2004-09-13 Thread Diego, Emil
I am running Tomcat 4.1.27 with Apache 2.0.49 on Fedora Core 2.

Here is what I have soo far.  I setup a directory to run my JSP site.  The directory 
is in /var/www/html/dev_new.  I created a context called /dev_new to run this JSP site 
and I setup the connector between tomcat and apache and the site runs fine.

I am now trying to setup another directory on the web server to display the usage 
statistics for the site (Simple HTML files). The directory is /var/www/html/reports.  
Whenever I browse http://preproduction.bus.miami.edu/reports/ I get the follwong 
browser message:


HTTP Status 404 - /reports/



type Status report

message /reports/

description The requested resource (/reports/) is not available.




Apache Tomcat/4.1.27-13


This message is being generated by tomcat.  I don't understand why tomcat is handling 
this request at all.  It should be getting handled by apache.  Anyone have any ideas 
on what I am doing wrong?


Thanx in advance for the help.


Emil Diego



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

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



Problems with Tomcat Configuration

2004-09-13 Thread Diego, Emil

I am running Tomcat 4.1.27 with Apache 2.0.49 on Fedora Core 2.

Here is what I have soo far.  I setup a directory to run my JSP site.  The directory 
is in /var/www/html/dev_new.  I created a context called /dev_new to run this JSP site 
and I setup the connector between tomcat and apache and the site runs fine.

I am now trying to setup another directory on the web server to display the usage 
statistics for the site (Simple HTML files). The directory is /var/www/html/reports.  
Whenever I browse http://preproduction.bus.miami.edu/reports/ I get the follwong 
browser message:


HTTP Status 404 - /reports/



type Status report

message /reports/

description The requested resource (/reports/) is not available.




Apache Tomcat/4.1.27-13


This message is being generated by tomcat.  I don't understand why tomcat is handling 
this request at all.  It should be getting handled by apache.  Anyone have any ideas 
on what I am doing wrong?


Thanx in advance for the help.


Emil Diego



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

-
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.760 / Virus Database: 509 - Release Date: 9/10/2004
 

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

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



RE: Problems with Tomcat Configuration

2004-09-13 Thread Diego, Emil
Yes.  I setup a content for everything in my /var/www/html/dev_new directory.

But it seems that Tomcat is handling requests outside that context.  I don't know why. 


Emil Diego
Website Administrator
University of Miami School of Business
305.284.5449


-Original Message-
From: Sjoerd van Leent [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 13, 2004 3:57 PM
To: Tomcat Users List
Subject: Re: Problems with Tomcat Configuration

Diego, Emil wrote:

I am running Tomcat 4.1.27 with Apache 2.0.49 on Fedora Core 2.

Here is what I have soo far.  I setup a directory to run my JSP site.  The directory 
is in /var/www/html/dev_new.  I created a context called /dev_new to run this JSP 
site and I setup the connector between tomcat and apache and the site runs fine.

I am now trying to setup another directory on the web server to display the usage 
statistics for the site (Simple HTML files). The directory is /var/www/html/reports.  
Whenever I browse http://preproduction.bus.miami.edu/reports/ I get the follwong 
browser message:


HTTP Status 404 - /reports/

---
-

type Status report

message /reports/

description The requested resource (/reports/) is not available.


---
-

Apache Tomcat/4.1.27-13


This message is being generated by tomcat.  I don't understand why tomcat is handling 
this request at all.  It should be getting handled by apache.  Anyone have any ideas 
on what I am doing wrong?


Thanx in advance for the help.


Emil Diego



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

-
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.760 / Virus Database: 509 - Release Date: 9/10/2004
 

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

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


  

Forgive me if I'm wrong on this, but don't you need a Context to represent a new 
path on your server?

Regards,
Sjoerd


-
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.760 / Virus Database: 509 - Release Date: 9/10/2004
 

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

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



Unpack WAR Problem

2004-09-01 Thread Diego, Emil
Hi,

I am running tomcat 4.1.27-13 and apache 2.0.49-4 on fedora core 2.  I have 
configured tomcat and apache to work together to server JSP pages.  

Now I am trying to install a Java web application.  Here's what I did so far:
1. I copied the war file (opencms.war) into my webapps directory.
2. I created a new xml file for the web application and placed it in the webapps 
directory.
--- Opencms.xml Content ---
Context path=/opencms docBase=/usr/share/tomcat/webapps/opencms.war
debug=0 

  !-- Uncomment this Valve to limit access to the Admin app to localhost
   for obvious security reasons. Allow may be a comma-separated list of
   hosts (or even regular expressions).
  Valve className=org.apache.catalina.valves.RemoteAddrValve
allow=127.0.0.1/
  --

  Logger className=com.redhat.tomcat.Logger
  filename=localhost_opencms.log timestamp=true/

/Context
--- END CONTENT ---

3. I restarted the tomcat server.
4. The war file didn't get deployed.  

I checked the server.xml file and unpackWARs is set to true in the localhost host 
entry:
 !-- Define the default virtual host --
  Host name=localhost debug=0 appBase=webapps
   unpackWARs=true autoDeploy=true



Any ideas what I am doing wrong 

Emil Diego
Website Administrator
University of Miami School of Business
305.284.5449


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

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



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:

web-app
display-nameUpgrade Test/display-name
session-timeout900/session-timeout
servlet
servlet-nameservUploadMedia/servlet-name
servlet-classumJavaLib.servUploadMedia/servlet-class
load-on-startup1/load-on-startup
/servlet
servlet
servlet-nameCalendarServlet/servlet-name
servlet-classcom.jsos.calendar.CalendarServlet/servlet-class
init-param
param-nameconfig/param-name
param-value/sections/plcmt/students/config//param-value
/init-param
/servlet

!-- Default directory Files --
welcome-file-list
welcome-fileindex.jsp/welcome-file
welcome-fileintro.jsp/welcome-file
welcome-fileindex.html/welcome-file
welcome-fileindex.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]



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? 

servlet
servlet-nameservUploadMedia/servlet-name
servlet-classumJavaLib.servUploadMedia/servlet-class
load-on-startup1/load-on-startup
/servlet
 servlet-mapping
servlet-nameservUploadMedia/servlet-name
url-pattern/dev_new/servlet/umJavaLib.servUploadMedia/url-pattern
/servlet-mapping


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:

web-app
   display-nameUpgrade Test/display-name
   session-timeout900/session-timeout
   servlet
   servlet-nameservUploadMedia/servlet-name
   servlet-classumJavaLib.servUploadMedia/servlet-class
   load-on-startup1/load-on-startup
   /servlet
   servlet
   servlet-nameCalendarServlet/servlet-name
   servlet-classcom.jsos.calendar.CalendarServlet/servlet-class
   init-param
   param-nameconfig/param-name
   param-value/sections/plcmt/students/config//param-value
   /init-param
   /servlet

   !-- Default directory Files --
   welcome-file-list
   welcome-fileindex.jsp/welcome-file
   welcome-fileintro.jsp/welcome-file
   welcome-fileindex.html/welcome-file
   welcome-fileindex.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]


---
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 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: [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:

web-app
   display-nameUpgrade Test/display-name
   session-timeout900/session-timeout
   servlet
   servlet-nameservUploadMedia/servlet-name
   servlet-classumJavaLib.servUploadMedia/servlet-class
   load-on-startup1/load-on-startup
   /servlet
   servlet
   servlet-nameCalendarServlet/servlet-name

servlet-classcom.jsos.calendar.CalendarServlet/servlet-class
   init-param
   param-nameconfig/param-name

param-value/sections/plcmt/students/config//param-value
   /init-param
   /servlet

   !-- Default directory Files --
   welcome-file-list
   welcome-fileindex.jsp/welcome-file
   welcome-fileintro.jsp/welcome-file
   welcome-fileindex.html/welcome-file
   welcome-fileindex.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]



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:

web-app
   display-nameUpgrade Test/display-name
   session-timeout900/session-timeout
   servlet
   servlet-nameservUploadMedia/servlet-name
   servlet-classumJavaLib.servUploadMedia/servlet-class
   load-on-startup1/load-on-startup
   /servlet
   servlet
   servlet-nameCalendarServlet/servlet-name

servlet-classcom.jsos.calendar.CalendarServlet/servlet-class
   init-param
   param-nameconfig/param-name

param-value/sections/plcmt/students/config//param-value
   /init-param
   /servlet

   !-- Default directory Files --
   welcome-file-list
   welcome-fileindex.jsp/welcome-file
   welcome-fileintro.jsp/welcome-file
   welcome-fileindex.html/welcome-file
   welcome-fileindex.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

Tomcat 4.1.27-13 Context Configuration problems on fedora core 2 install

2004-08-19 Thread Diego, Emil

I just recently installed fedora core 2 on my linux server and I am = trying to get my 
JSP site setup.
It looks like tomcat and apache were already configured to run together = out of the 
box, but I am having a problem=20 Creating a new context to run my jsp site in. =20

I started up apache and tomcat.  I tested out the test examples = directory and they 
all run ok. For some reason I can't get the admin or = manager site to run.  The 
admin.xml and manager.xml files are present in = the webapps directory.  I don't 
understand why I can't access them when = I try going to http://myserver/admin/

I also created a separate xml file for the context of my website.  But = everytime I 
execute a jsp page it displays the jsp code as part of the = html output.  Any ideas 
would be appreciated.

Software Versions:
Apache 2.0.49-4
Tomcat 4.1.27-13

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
 

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



FW: server port and shutdown

2004-08-19 Thread Diego, Emil
You could just install a firewall, like firestarter and then block that port so nobody 
can connect to it.


Emil Diego
Website Administrator
University of Miami School of Business
305.284.5449


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 19, 2004 9:10 AM
To: Tomcat Users List
Subject: RE: server port and shutdown


Hi,
There's no way to turn this off, it's a basic and essential Tomcat function.  You can 
change the port and SHUTDOWN command itself to something your users wouldn't know.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Mats Henrikson [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 7:26 AM
To: Tomcat User
Subject: server port and shutdown

Hi,

I have searched through the archives and the docs for this, but can't 
find anything relevant.

I am running Tomcat 4.1.30 on a multiuser system. Because there are 
quite a few users on the system I would like to disable the server 
shutdown port, as it is trivial for any of the other users to telnet 
there and type SHUTDOWN.

I tried just leaving the port and shutdown attributes out of the Server 
definition element, but that didn't seem to have any effect, it seemed 
to just listen on the default port 8005 for the default command
SHUTDOWN
as usual.

Surely there is some way to turn this off, or maybe some other to 
protect it from malicious users?

Regards,

Mats


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




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]


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



FW: Tomcat 4.1.27-13 Context Configuration problems on fedora core 2 install

2004-08-19 Thread Diego, Emil
 How do I tell which URIs/file extensions are mapped to Tomcat ??


Emil Diego
Website Administrator
University of Miami School of Business
305.284.5449


-Original Message-
From: QM [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 19, 2004 9:29 AM
To: Tomcat Users List
Subject: Re: Tomcat 4.1.27-13 Context Configuration problems on fedora core 2 install

On Thu, Aug 19, 2004 at 09:00:52AM -0400, Diego, Emil wrote:
: I started up apache and tomcat.  I tested out the test examples = directory
: and they all run ok. For some reason I can't get the admin or = manager site
: to run.  The admin.xml and manager.xml files are present in = the webapps
: directory.  I don't understand why I can't access them when = I try going to
: http://myserver/admin/

You said that Apache and Tomcat were already setup to work together.

You should also read up on mod_jk or mod_jk2 which connect Apache to Tomcat.  
(Check your apache config to see which one you're running.)

Specifically, you want to see what URIs/file extensions are mapped to Tomcat.  (This 
should address your other question about JSPs not being processed, because that's a 
clear sign Tomcat's not getting those
requests.)

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


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



Webapp Directory Root and JSP Include problem.

2004-08-19 Thread Diego, Emil
I solved my previous problem.  Thanx for all the assistance.  Now I am hitting another 
snag.

When my JSP pages execute I am getting a Exception.
org.apache.jasper.JasperException: /index.jsp(24,0) File 
/includes/inc_setup_edit.jsp not found

The jsp pages are stored in /var/www/html/dev_new

And the include files are stored in /var/www/html/dev_new/includes

This used to work in Tomcat 3, but now that I am migrating over to tomcat4 im getting 
this error.  Is there something I have forgotten to configure?  I really don't want to 
go in and edit hundreds of pages to add the /dev_new at the beginning of each include.

Here is the line that is causing the error:
%@ include file=/includes/inc_setup_edit.jsp %


Here are the changes I made to server.xml:

!-- Add the context for the SBA website --
Context path=/dev_new docBase=/var/www/html/dev_new
debug=0 reloadable=true crossConnect=true

/Context






and workers2.preoperties:

# Map the jsp extension in the dev_new directory to tomcat
[uri:/dev_new/*.jsp]
info=Extension mapping

[uri:/dev_new/*]
info=Map the whole webapp





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
 

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



RE: Webapp Directory Root and JSP Include problem.

2004-08-19 Thread Diego, Emil
 I have many differnet include folders, that would would be a real pain.  Plus there 
are other sites beign hosted as well.  I'd really hate to have to edit all the pages 
and tell other webadmins to edit their pages as well.  I was really hoping there would 
be a configuration change instead of code change.


Emil Diego
Website Administrator
University of Miami School of Business
305.284.5449


-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 19, 2004 10:18 AM
To: Tomcat Users List
Subject: Re: Webapp Directory Root and JSP Include problem.

I think you will have to include at least a . (dot) before /includes 
or you should remove the first backslash. That's a simple find  replace

Diego, Emil escribi?:

I solved my previous problem.  Thanx for all the assistance.  Now I am hitting 
another snag.

When my JSP pages execute I am getting a Exception.
org.apache.jasper.JasperException: /index.jsp(24,0) File 
/includes/inc_setup_edit.jsp not found

The jsp pages are stored in /var/www/html/dev_new

And the include files are stored in /var/www/html/dev_new/includes

This used to work in Tomcat 3, but now that I am migrating over to tomcat4 im getting 
this error.  Is there something I have forgotten to configure?  I really don't want 
to go in and edit hundreds of pages to add the /dev_new at the beginning of each 
include.

Here is the line that is causing the error:
%@ include file=/includes/inc_setup_edit.jsp %


Here are the changes I made to server.xml:
   
   !-- Add the context for the SBA website --
   Context path=/dev_new docBase=/var/www/html/dev_new
   debug=0 reloadable=true crossConnect=true

   /Context






and workers2.preoperties:

# Map the jsp extension in the dev_new directory to tomcat 
[uri:/dev_new/*.jsp] info=Extension mapping

[uri:/dev_new/*]
info=Map the whole webapp





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
 

-
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: Webapp Directory Root and JSP Include problem.

2004-08-19 Thread Diego, Emil
Now that i think of it there should be a way to specify that references to the 
root in pages inside a Context are referencing the root context  however, i 
don't know a way to do that and mi tomcat 5 does the same ?  thing 


Anyone have any ideas how this may be done ?

Emil Diego
Website Administrator
University of Miami School of Business


-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 19, 2004 10:35 AM
To: Tomcat Users List
Subject: Re: Webapp Directory Root and JSP Include problem.

Now that i think of it there should be a way to specify that references to the 
root in pages inside a Context are referencing the root context  however, i don't 
know a way to do that and mi tomcat 5 does the same thing

Diego, Emil escribi?:

 I have many differnet include folders, that would would be a real pain.  Plus there 
 are other sites beign hosted as well.  I'd really hate to have to edit all the pages 
 and tell other webadmins to edit their pages as well.  I was really hoping there 
 would be a configuration change instead of code change.


Emil Diego
Website Administrator
University of Miami School of Business
305.284.5449


-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 10:18 AM
To: Tomcat Users List
Subject: Re: Webapp Directory Root and JSP Include problem.

I think you will have to include at least a . (dot) before /includes 
or you should remove the first backslash. That's a simple find  
replace

Diego, Emil escribi?:

  

I solved my previous problem.  Thanx for all the assistance.  Now I am hitting 
another snag.

When my JSP pages execute I am getting a Exception.
org.apache.jasper.JasperException: /index.jsp(24,0) File 
/includes/inc_setup_edit.jsp not found

The jsp pages are stored in /var/www/html/dev_new

And the include files are stored in /var/www/html/dev_new/includes

This used to work in Tomcat 3, but now that I am migrating over to tomcat4 im 
getting this error.  Is there something I have forgotten to configure?  I really 
don't want to go in and edit hundreds of pages to add the /dev_new at the beginning 
of each include.

Here is the line that is causing the error:
%@ include file=/includes/inc_setup_edit.jsp %


Here are the changes I made to server.xml:
  
  !-- Add the context for the SBA website --
  Context path=/dev_new docBase=/var/www/html/dev_new
  debug=0 reloadable=true crossConnect=true

  /Context






and workers2.preoperties:

# Map the jsp extension in the dev_new directory to tomcat 
[uri:/dev_new/*.jsp] info=Extension mapping

[uri:/dev_new/*]
info=Map the whole webapp





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


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


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



Setting up a servlet

2002-07-24 Thread Diego, Emil

I am running apache 1.23 with tomcat 3.2.3 on Redhat Linux 7.2.  My problem
is that I am trying to setup a server for a web app i am working on.  I have
reated the servelt class and have it on the server, the problem is that
everythime I submit the form that uses the servlet i get an error telling me
that the URL can not be found.

I have tomcat and apache working together to serv pages.  I setup a seperate
context for this web application.  Here is the entry from the server.xml
file:

Context path=/dev_new
 docBase=/var/www/html/dev_new
 crossContext=false
 debug=0
 reloadable=true 
/Context


What do i need to do now to get the server to recognize the servlet?



Emil
[EMAIL PROTECTED]

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




mod_webapp.so

2002-07-18 Thread Diego, Emil

I am running Redhat linux 7.3 with Apache 1.3.23 and tomcat 4.0.4.  I have
installed them both and have tested them individually and they work.  Now i
want to setup tomcat so it works within apache.  my 2 questions are this.
1) Where can I get the mod_app.so warp connecter?

2) Is there a really good tutorial on how to configure the servers to work
together?


thanx in advance for the assistance.

Emil
[EMAIL PROTECTED]

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




setting up a new context in tomcat 4.0.3

2002-04-16 Thread Diego, Emil

I am running redhat linux 7.2 with tomcat 4.0.3.  I setup the warp
connection to integrate tomcat and apache and It works when I test the
examples directory.  I use http://localhost/examples/jsp/ and have no
problems running the examples.

I am trying to setup a new context for a seperate director on my web site.
I have added the content entry and everything starts uyp ok.  But when I try
to browse any of the jsp pages in the /sba directory.  They do not get
processed by the server.  I get the contents of the files displayed in the
browser window.  Anyone have any ideas what I am doing wrong.  I have
included the server.xml file that I am currently using.



!-- Example Server Configuration File --
!-- Note that component elements are nested corresponding to their
 parent-child relationships with each other --

!-- A Server is a singleton element that represents the entire JVM,
 which may contain one or more Service instances.  The Server
 listens for a shutdown command on the indicated port.

 Note:  A Server is not itself a Container, so you may not
 define subcomponents such as Valves or Loggers at this level.
 --

Server port=8005 shutdown=SHUTDOWN debug=0

  
  !-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat
4.0
   as its servlet container. Please read the README.txt file coming with
   the WebApp Module distribution on how to build it.
   (Or check out the jakarta-tomcat-connectors/webapp CVS repository)

   To configure the Apache side, you must ensure that you have the
   ServerName and Port directives defined in httpd.conf.  Then,
   lines like these to the bottom of your httpd.conf file:

 LoadModule webapp_module libexec/mod_webapp.so
 WebAppConnection warpConnection warp localhost:8008
 WebAppDeploy examples warpConnection /examples/

   The next time you restart Apache (after restarting Tomcat, if needed)
   the connection will be established, and all applications you make
   visible via WebAppDeploy directives can be accessed through Apache.
  --

  !-- Define an Apache-Connector Service --
  Service name=Tomcat-Apache

Connector className=org.apache.catalina.connector.warp.WarpConnector
 port=8008 minProcessors=5 maxProcessors=75
 enableLookups=true appBase=webapps
 acceptCount=10 debug=0/

!-- Replace localhost with what your Apache ServerName is set to
--
Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache debug=0

  !-- Global logger unless overridden at lower levels --
  Logger className=org.apache.catalina.logger.FileLogger
  prefix=apache_log. suffix=.txt
  timestamp=true/

  !-- Because this Realm is here, an instance will be shared globally
--
  Realm className=org.apache.catalina.realm.MemoryRealm /

  Host name=localhost debug=0 appBase=/var/www/html

!-- Normally, users must authenticate themselves to each web app
 individually.  Uncomment the following entry if you would like
 a user to be authenticated the first time they encounter a
 resource protected by a security constraint, and then have that
 user identity maintained across *all* web applications
contained
 in this virtual host. --
!--
Valve className=org.apache.catalina.authenticator.SingleSignOn
   debug=0/
--

!-- Access log processes all requests for this virtual host.  By
 default, log files are created in the logs directory relative
to
 $CATALINA_HOME.  If you wish, you can specify a different
 directory with the directory attribute.  Specify either a
relative
 (to $CATALINA_HOME) or absolute path to the desired directory.
--
Valve className=org.apache.catalina.valves.AccessLogValve
 directory=logs
prefix=Tomcat-Apache_localhost_access_log. suffix=.txt
 pattern=common/

!-- Logger shared by all Contexts related to this virtual host.  By
 default (when using FileLogger), log files are created in the
logs
 directory relative to $CATALINA_HOME.  If you wish, you can
specify
 a different directory with the directory attribute.  Specify
either a
 relative (to $CATALINA_HOME) or absolute path to the desired
 directory.--
Logger className=org.apache.catalina.logger.FileLogger
 directory=logs  prefix=Tomcat-Apache_localhost_log.
suffix=.txt
timestamp=true/

!-- Define properties for each web application.  This is only
needed
 if you want to set non-default properties, or have web
application
 document roots in places other than the virtual host's appBase
 directory.  --

!-- SBA Content --
Context path=/sba docBase=sba debug=0/


  /Host  



How do i setup a webdirectory to process jsp files

2002-04-16 Thread Diego, Emil

I am runnign redhat 7.2 with apache 1.3 and tomcat 4.0.3.

I configured tomcat and apache to use the mod_webapp and testes the examples
directory and it worked ok.
How do I setup my directory /sba on my mebsite to parse the jsp files I want
to place in them.


Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]
ph: 305.284.5449
fx: 305.284.3404

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Question about tomcat

2002-04-16 Thread Diego, Emil

Here is what I want to do.  I need to know if it is possible.

I am currently running apache 1.3 on redhat linux 7.2.  I want to know if it
is possilbe to get apache to process JSP pages.  Is that what mod_jk does?
What version of tomcat will I need?


Emil

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Question about internal server error

2002-04-16 Thread Diego, Emil

Here is the error i am getting.  Do i need to spcify a classpath to the
umJavaLib package that I wrote.  I current;y have the class files places in
$CATALINA_HOME/webapps/sba/WEB-INF/classes/

Any ideas what I am doing wrong.





Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error




type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile class for JSPNote:
sun.tools.javac.Main has been deprecated.


An error occurred at line: 7 in the jsp file: /jsp/manage/login.jsp

Generated servlet error:
/usr/local/jakarta-tomcat-4.0.3/work/dev_new2.bus.miami.edu/sba/jsp/manage/l
ogin$jsp.java:74: Class umJavaLib.umDBConnection not found.
umJavaLib.umDBConnection dbConn = null;
 ^


An error occurred at line: 7 in the jsp file: /jsp/manage/login.jsp

Generated servlet error:
/usr/local/jakarta-tomcat-4.0.3/work/dev_new2.bus.miami.edu/sba/jsp/manage/l
ogin$jsp.java:77: Class umJavaLib.umDBConnection not found.
dbConn= (umJavaLib.umDBConnection)
  ^


An error occurred at line: 7 in the jsp file: /jsp/manage/login.jsp

Generated servlet error:
/usr/local/jakarta-tomcat-4.0.3/work/dev_new2.bus.miami.edu/sba/jsp/manage/l
ogin$jsp.java:82: Class umJavaLib.umDBConnection not found.
dbConn = (umJavaLib.umDBConnection)
java.beans.Beans.instantiate(this.getClass().getClassLoader(),
umJavaLib.umDBConnection);
   ^


An error occurred at line: 8 in the jsp file: /jsp/manage/login.jsp

Generated servlet error:
/usr/local/jakarta-tomcat-4.0.3/work/dev_new2.bus.miami.edu/sba/jsp/manage/l
ogin$jsp.java:101: Class umJavaLib.sbaLogin not found.
umJavaLib.sbaLogin xLogin = null;
 ^


An error occurred at line: 8 in the jsp file: /jsp/manage/login.jsp

Generated servlet error:
/usr/local/jakarta-tomcat-4.0.3/work/dev_new2.bus.miami.edu/sba/jsp/manage/l
ogin$jsp.java:104: Class umJavaLib.sbaLogin not found.
xLogin= (umJavaLib.sbaLogin)
  ^


An error occurred at line: 8 in the jsp file: /jsp/manage/login.jsp

Generated servlet error:
/usr/local/jakarta-tomcat-4.0.3/work/dev_new2.bus.miami.edu/sba/jsp/manage/l
ogin$jsp.java:109: Class umJavaLib.sbaLogin not found.
xLogin = (umJavaLib.sbaLogin)
java.beans.Beans.instantiate(this.getClass().getClassLoader(),
umJavaLib.sbaLogin);
   ^
6 errors, 1 warning

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:177)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:189)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at

RE: Problem loading MySQL drivers.

2002-04-16 Thread Diego, Emil


Where did you set the classpath ?


-Original Message-
From: Panos Konstantinidis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 3:44 PM
To: [EMAIL PROTECTED]
Subject: Problem loading MySQL drivers.


  Hello there, I am running Tomcat 3.3.1 and JDK1.4
under Mandrake Linux 8.1 and I have a problem finding
the MySQL drivers. I have looked on the Tomcat
archives and could not find any similar questions, so
I thought I am going ot try the mailing list.

  I have created my own web app space and I have
managed to run Servlets and JSP pages successfuly but
when I am trying to load the MySQL drivers it fails
with the java.sql.SQLException: No suitable driver
error message. I have put the mm.mysql-2.4.0-bin.jar
file under my webapp's WEB-INF/lib folder
(WEB-INF/lib/mm.mysql-2.4.0-bin.jar) but it does not
seem to work. I thought Tomcat was going to pick it up
automatically but obviously this is not the case. I
have set up the CLASSPATH to point to the .jar file
but still no luck. I have to tell you here that I can
load it from a Java application but not from a JSP
page.

  Any help is greatly appreciated.

  Kind regards

Panos

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Problem loading MySQL drivers.

2002-04-16 Thread Diego, Emil

yes but where are you setting the classpath.

you should probably add the following line to the script used to start the
tomcat server.
export CLASSPATH=xxx

this will ensure that when the server starts up the tomcat server the proper
classpath is set.





-Original Message-
From: Panos Konstantinidis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 3:50 PM
To: Tomcat Users List
Subject: RE: Problem loading MySQL drivers.


  Emil thnak you for your quick reply. My classpath is
set to point to the mm.mysql-2.4.0-bin.jar file
itself. I can see it because when I am doing a echo
$CLASSPATH it show the .jar file (alongside with the
rest of the Java classes).

  I guess the classpath is right, because the exact
same code (from the JSP page) is working as a stand
alone Java application.

  Any more thoughts?

  Thank you.


--- Diego, Emil [EMAIL PROTECTED]
wrote:
 
 Where did you set the classpath ?
 
 
 -Original Message-
 From: Panos Konstantinidis
 [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 16, 2002 3:44 PM
 To: [EMAIL PROTECTED]
 Subject: Problem loading MySQL drivers.
 
 
   Hello there, I am running Tomcat 3.3.1 and JDK1.4
 under Mandrake Linux 8.1 and I have a problem
 finding
 the MySQL drivers. I have looked on the Tomcat
 archives and could not find any similar questions,
 so
 I thought I am going ot try the mailing list.
 
   I have created my own web app space and I have
 managed to run Servlets and JSP pages successfuly
 but
 when I am trying to load the MySQL drivers it fails
 with the java.sql.SQLException: No suitable driver
 error message. I have put the mm.mysql-2.4.0-bin.jar
 file under my webapp's WEB-INF/lib folder
 (WEB-INF/lib/mm.mysql-2.4.0-bin.jar) but it does not
 seem to work. I thought Tomcat was going to pick it
 up
 automatically but obviously this is not the case. I
 have set up the CLASSPATH to point to the .jar file
 but still no luck. I have to tell you here that I
 can
 load it from a Java application but not from a JSP
 page.
 
   Any help is greatly appreciated.
 
   Kind regards
 
 Panos
 
 __
 Do You Yahoo!?
 Yahoo! Tax Center - online filing with TurboTax
 http://taxes.yahoo.com/
 
 --
 To unsubscribe:  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe:  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat 4.0.3 setup

2002-04-15 Thread Diego, Emil

Hello,

I am running Redhat Linux with Apache 1.3.  I am trying to setup and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  Here is ewhat I have done so far.

I got tomcat 4.0.3 setup as a stand alone server and works fine when I
browse localhost:8080.

I downloaded the mod_webapp.so and placed it in /etc/httpd/modules.

I added the following lines to httpd.conf:
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c

WebAppConnection conn warp localhost:8008
WebAppDeploy examples conn /examples


I have not modified the tomcat server.xml file.  It seems it already came
with the service entry.

I restarted tomcat and then restarted apache.  When the apache server comes
up I get the folloeing error:
Syntax error on line 365 of /etc/httpd/conf/httpd.conf:
Invalid virtual host name

Line 365 if the WebAppDeploy entry I placed in the httpd.conf file. 

I don't understand why I am getting that error.  Any suggestions would be a
help.  
Thanx.

Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




WebApp: Error 404

2002-04-15 Thread Diego, Emil

Hello,

I am running Redhat Linux with Apache 1.3.  I am trying to setup and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  I got tomcat 4 configured to work with apache.  I setup
the examples directory.  Everythin I try browsing localhost/examples/ I get
the following error:

WebApp: Error 404
(File: wa_request.c Line: 205) 



Web-application not yet deployed 



Your Request: 
Server Host: web_coor1 
Server Address: 129.171.56.18 
Server Port: 80 
Client Host: 129.171.56.71 
Client Address: 129.171.56.71 
Client Port: 1823 
Request Method: GET 
Request URI: /examples/ 
Request Arguments: (null) 
Request Protocol: HTTP/1.1 
Request Scheme: http 
Request User: (null) 
Request Authentication Mech.: (null) 
Request Content-Length: 0 
Your Headers: 
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
application/x-gsarcade-launch, */* 
Accept-Encoding: gzip, deflate 
Accept-Language: en-us 
Connection: Keep-Alive 
Host: web_coor1 
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) 



Anybody have any ideas what I am doing wrong?


Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Tomcat 4.0.3 setup

2002-04-15 Thread Diego, Emil

The only modules directory I found was in /etc/httpd/modules.  That's where
all the .so files where.  

As far as the server name.  It is defined.  It seems though that I had to
move the entries after the ServerName setting.  So i put them at the boittom
of the file and that seemed to work.  I am gettign another error though.
WebApp: Error 404.




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:01 AM
To: Tomcat Users List
Subject: Re: Tomcat 4.0.3 setup



Shouldn't the mod_webapp.so be placed in the libexec directory for linux?
According to the docs, the modules directory is used if you are running
Apache/Tomcat on Windows.
Also with regards to your problem, do you have the ServerName defined for
your Main server configuration. Since you aren't defining any Virtual Host
block, the WebAppDeploy defaults to the main server.

RS





Diego, Emil [EMAIL PROTECTED] on 04/15/2002 08:32:57 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:   '[EMAIL PROTECTED]' [EMAIL PROTECTED]
cc:

Subject:  Tomcat 4.0.3 setup

Hello,

   I am running Redhat Linux with Apache 1.3.  I am trying to setup
and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  Here is ewhat I have done so far.

I got tomcat 4.0.3 setup as a stand alone server and works fine when I
browse localhost:8080.

I downloaded the mod_webapp.so and placed it in /etc/httpd/modules.

I added the following lines to httpd.conf:
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c

WebAppConnection conn warp localhost:8008
WebAppDeploy examples conn /examples


I have not modified the tomcat server.xml file.  It seems it already came
with the service entry.

I restarted tomcat and then restarted apache.  When the apache server comes
up I get the folloeing error:
Syntax error on line 365 of /etc/httpd/conf/httpd.conf:
Invalid virtual host name

Line 365 if the WebAppDeploy entry I placed in the httpd.conf file.

I don't understand why I am getting that error.  Any suggestions would be a
help.
Thanx.

Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]









--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: WebApp: Error 404

2002-04-15 Thread Diego, Emil

yes.  First i started tomcat, then restarted apache.

-Original Message-
From: Rich [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:48 AM
To: Tomcat Users List
Subject: RE: WebApp: Error 404


Once everything is configured, did you start Tomcat, then restart apache (in
that order)?


-Original Message-
From: Diego, Emil [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:36 AM
To: '[EMAIL PROTECTED]'
Subject: WebApp: Error 404


Hello,

I am running Redhat Linux with Apache 1.3.  I am trying to setup and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  I got tomcat 4 configured to work with apache.  I setup
the examples directory.  Everythin I try browsing localhost/examples/ I get
the following error:

WebApp: Error 404
(File: wa_request.c Line: 205)



Web-application not yet deployed



Your Request:
Server Host: web_coor1
Server Address: 129.171.56.18
Server Port: 80
Client Host: 129.171.56.71
Client Address: 129.171.56.71
Client Port: 1823
Request Method: GET
Request URI: /examples/
Request Arguments: (null)
Request Protocol: HTTP/1.1
Request Scheme: http
Request User: (null)
Request Authentication Mech.: (null)
Request Content-Length: 0
Your Headers:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
application/x-gsarcade-launch, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: Keep-Alive
Host: web_coor1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)



Anybody have any ideas what I am doing wrong?


Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Setting up a virtual host

2002-04-02 Thread Diego, Emil

I have a web server configured to use apache 1.3 and tomcat 3.2.3 on Redhat
Linux 7.2.  It is currently working fine without any problems.  

My problem is that I setup a virual host on the apache server using a Named
based virtual host tag.  The web part of it works fine.  But the JSP files I
put in there don't work any more.  What do I need to do to setup tomcat to
process the jsp files in this virtual site?


Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]
ph: 305.284.5449
fx: 305.284.3404

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




JSP Page caching questions

2002-03-19 Thread Diego, Emil


Hi,

Here is the environment I am running under.
Redhat linux 7.2 running apache 1.3 and Tomcat 3.2.3.

I have a JSP website that I am making modifications to, here is what is
happening.

I hav a group of 20 pages, that are all including another pages using the
following tag
%@include file=includes/main.jsp %

I modified the main.jsp page to modify the order of some menu buttons. 

My question is this. Of the 20 pages that are including this file, only 2 of
them are displaying the modified menu button order. And those 2 were new
pages that I added to the site. 

I am assuming that the two pages are working fine because they were not
previously compiled by tomcat.

My question is this.  How do i tell tomcat to recompile all the JSP so that
they are 
updated with the modifications I made.


Emil

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]