Re: a paranoid question about ajp and Tomcat 4.0.x

2003-02-16 Thread Michael Micek
On Sun, Feb 16, 2003 at 12:02:14PM -0500, Michael Harrison wrote: > I've been trying, without success, to connect Apache 2.0.44 and Tomcat > 4.0.6 with an ajp13 connector. > Will an ajp connector work with 4.0.x, or do I need 4.1.x? ajp13 works with Tomcat 4.0.x as well as 3.x. Make sure you hav

Re: Tomcat as a production server?

2003-02-16 Thread Michael Micek
On Sun, Feb 16, 2003 at 01:08:31AM -0800, Harish Kumar K.K. wrote: > I have also had this problem of tomcat jumping to high cpu utilization...but > restarting is the solution I have also resorted toAnybody else have any > clues on this? We've had problems like this and I believe it turned out

Re: webpage & servlets !

2003-02-16 Thread Peng Tuck Kwok
I do not see why you cannot access a directory under a legit webapp, much less get the text file you put in there. Can you please send your servlet code ? Swapneel Dange wrote: i am accesing the webpage inside the SERVLET itself. and i am trying to access them as normal webpage and normal .tx

Apache 2 and Tomcat 4.1.12 on W2K

2003-02-16 Thread Paul Bothma
Hi, Senario: I want to use Apache as a front end server to server static content and Tomcat listening on port 8009 using mod_jk or perhaps another method to get Apache to forward *.jsp and /servlet requests to Tomcat. I'm using James 4.1.12 on W2K an would like to use the tomcat.conf-auto file.

Re: webpage & servlets !

2003-02-16 Thread Swapneel Dange
i am accesing the webpage inside the SERVLET itself. and i am trying to access them as normal webpage and normal .txt page, but the .txt page is then made into a .html page. And there is no link as such on nay page for the webpage i am trying to access. i am accessing them through the html tags

Re: AW: modified jsp-files and jasper2

2003-02-16 Thread Sean Dockery
Hello, Sven. Try setting Context.reloadable to true, restart Tomcat, and see if that works for you. "Sven Köhler" <[EMAIL PROTECTED]> wrote in message b2m0cd$9pb$[EMAIL PROTECTED]">news:b2m0cd$9pb$[EMAIL PROTECTED]... > >> I just checked the web.xml file in $CATALINA_HOME/conf/web.xml. It > >>

Re: webpage & servlets !

2003-02-16 Thread Peng Tuck Kwok
How are you referring to the link in your html or jsp page? Swapneel Dange wrote: hi there ! i am running a servlet, which takes the username and then the password and opens another webpage in the browser , my servlet is under the webapps/ROOT/WEB-INF/classes but my .txt file for running the w

webpage & servlets !

2003-02-16 Thread Swapneel Dange
hi there ! i am running a servlet, which takes the username and then the password and opens another webpage in the browser , my servlet is under the webapps/ROOT/WEB-INF/classes but my .txt file for running the webpage are not inside the directory known as classes( i am generating a webpage by

Re: help with client certificates

2003-02-16 Thread Sean Dockery
No. I was talking about uploading a file through the HTML file upload. "Tony Dahbura" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks Sean. I am not sure how to have them upload their cert through a form > upload. Is there a standard API (works in most

Re: R: Startup/shutdown script

2003-02-16 Thread Oscar Carrillo
What happens if you shut it down manually (as root)? /etc/rc.d/init.d/tomcat stop I find it easier to put a chkconfig line near the top of the script such as: #chkconfig: 345 84 14 #description: Tomcat jakarta JSP server Then you can do this to add all the appropriate symbolic links for shutdow

Re: getServletConfig returning null

2003-02-16 Thread Marc Chamberlin
Thanks Craig for your reply... Yes I read about using the init(ServletConfig config) version of init in the Javadocs... Trouble is I am not using this version of init, but AM using the parameterless version... :-( SO no joy yet! Perhaps I will try the parameter version and see if that helps...

Re: getServletConfig returning null

2003-02-16 Thread Craig R. McClanahan
On Sun, 16 Feb 2003, Marc Chamberlin wrote: > Date: Sun, 16 Feb 2003 14:33:12 -0800 > From: Marc Chamberlin <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: getServletConfig returning null > > Hello > I am trying to unde

Re: A problem with Tomcat and port 8080

2003-02-16 Thread jmong
Try netstat -a | grep 8080 and see if you see something like *.8080 LISTEN Like Jake mentioned, its possible that the instance might still be running... also check for permissions and see if there are any file permissions problem. Finally issue a telnet request to the port and see if it

Re: R: Startup/shutdown script

2003-02-16 Thread jmong
Hmmm.. what file exactly are you looking at again? I'm not sure if it suppose to write anything... you should try to do netstat -a | grep $TOMCAT_PORT where TOMCAT_PORT is typically 8080 after the restart and see if its truly alive. sleep for like 3 seconds and then grep for the port. Otherwis

R: Startup/shutdown script

2003-02-16 Thread Simone Chiaretta
Thanx I've tried everything, but it seems like the script is not executed when the server shutdown during the startup I see.. Starting Tomcat [OK] while during the shutdown I see Stopping atd[OK] here should be tomcat Stopping mysql [OK] Very strange to see this. Ty Simone > -Mess

getServletConfig returning null

2003-02-16 Thread Marc Chamberlin
Hello I am trying to understand how servlet configuration and initialization parameters work and am running into a difficulty in Tomcat Version 4.1.18 I have the following configuration in in web.xml file - StarChartServlet starchart.StarChartServlet starChartWorkingDirectory C:\temp\ In th

Re: A problem with Tomcat and port 8080

2003-02-16 Thread Michael Harrison
I deleted my old Tomcat install, and I moved the new installation into the old one's place. I made sure there were no 'java' processes running, and that Apache wasn't running either. Then I ran bin/startup.sh. But I got nothing at localhost:8080, and logs/catalina.out recorded this error: Catalina

Re: A problem with Tomcat and port 8080

2003-02-16 Thread Jake Robb
To me, the obvious answer is that your old version of Tomcat is still running. To kill a process that won't die, use `kill -9 [PID]`. -9 is the "strongest" kill signal you can send. The kernel won't let the process ignore or catch the signal. What I would do, though, is remove your old Tomcat i

A problem with Tomcat and port 8080

2003-02-16 Thread Michael Harrison
I'm running (or trying to) Tomcat 4.0.6 on RedHat 8.0 for PC. I installed Tomcat from a binary (ie. I just unpacked it and moved it into /usr/local. I ultimately hope to run it connected to Apache (2.0.44) through an ajp13 connector, but for now I just want the server to run by itself on port 80

Re: error(?) int he catalina.out

2003-02-16 Thread Sven Köhler
j have many of those messages in my catalina.out too, so what is this? what does this mean? i'm using mod_jk to connect to tomcat, so why is my log full of these messages?? it's anoying. is this normal? does this indicate any misconfiguration? Dionisio Ruiz de Zarate wrote: in the catalina.out

RE: jk2 config -- uri directive for root context?

2003-02-16 Thread Noel J. Bergman
Jake Robb writes: > From server.xml > - > > Uh, shouldn't that be: with an empty path? --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

RE: changing the IPaddress !

2003-02-16 Thread Swapneel Dange
thanx john and chong for all the info u guys gave me about the DNS. i will try to work on that and if i get stuck somewhere, may be i will again shoot some quesions to u guys ! Swapneel Dange 505-642-4126 http://www.cs.nmsu.edu/~sdange From: "Turner, John" <[EMAIL PROTECTED]> Reply-To: "

Re: Startup/shutdown script

2003-02-16 Thread jmong
Instead of #!/bin/bash could you try #!/bin/sh also you can try to capture the pid during startup and if its still alive you can forcefully kill it when you shut it down ./startup.sh > /dev/null 2>&1 & echo $! > $TOMCAT_HOME/logs/tomcat.pid shutdown.. ./shutdown.sh if [ $? != 0 ]; then

Startup/shutdown script

2003-02-16 Thread Simone Chiaretta
Hello All, I'm using tomcat 4.0.4 on a linux (red hat 7.3) server I've a problem shutting down the tomcat deamon when the machine is stopped/rebooted from maintenance. The problem is that during the shutdown the shutdown script (the script I'm referring to is the one below, not the shutdown.sh insi

RE: huge web.xml

2003-02-16 Thread Mark
Cooktop is a good (and free) XML editor/validator for Windows. http://www.xmlcooktop.com/ At 2/16/2003 05:06 PM, you wrote: Maybe all you need to do is use a good xml editor. Why is it getting so big ? I recommend xml-spy as a good xml editor Hope it helps -reynir > -Original Messag

RE: huge web.xml

2003-02-16 Thread Reynir Hübner
Maybe all you need to do is use a good xml editor. Why is it getting so big ? I recommend xml-spy as a good xml editor Hope it helps -reynir > -Original Message- > From: Liq Wnq [mailto:[EMAIL PROTECTED]] > Sent: 15. febrúar 2003 19:18 > To: [EMAIL PROTECTED] > Subject: huge web.x

a paranoid question about ajp and Tomcat 4.0.x

2003-02-16 Thread Michael Harrison
I've been trying, without success, to connect Apache 2.0.44 and Tomcat 4.0.6 with an ajp13 connector. I just noticed that the Tomcat project homepage lists "New Coyote connector (HTTP/1.1, AJP 1.3 and JNI support)" among the imporvements to Tomcat 4.1. Will an ajp connector work with 4.0.x, or

NamingException in tomcat 4.1.18 LE

2003-02-16 Thread Kaarle Kaila
hi, I just joined this list but have used tomcat a while now. I used jakarta-tomcat-4.1.10 until now and changed my server to jakarta-tomcat-4.1.18-LE-jdk14 and got it running almost OK. in server.xml I have a Context element like this:

Re: Tomcat 4.1.18: How to send HTTP errors from servlets

2003-02-16 Thread Oliver Schönwald
Hello! response.sendError with SC_UNAOTHORIZED is exactly the command I used successfully before switching to Tomcat 4.1.18. And no, we don't have a custom error-page in the web.xml-file. At least not in the web.xml-file which we created for our Web Application. I don't know if there might be so

Re: Tomcat as a production server?

2003-02-16 Thread Harish Kumar K.K.
Hi I have also had this problem of tomcat jumping to high cpu utilization...but restarting is the solution I have also resorted toAnybody else have any clues on this? Thanks Harish - Original Message - From: "Arcadius A." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, Feb

Re: Tomcat and JBoss

2003-02-16 Thread Anthony Marlowe
Hi Lior. JBoss is a J2EE/EJB application server and makes use of Tomcat/Jetty to process JSP's and servlets which access the EJB's. JBoss has integrated versions of both. You can use JBoss with intgrated tomcat. The version is Tomcat light. You can integrate the full version. If you are just s