war file question

2010-12-06 Thread Lava Saleem
Hi Everyone, I have an html file with java script embedded in it, I want to employ this web page in the apache tomcat, can you please give me hints on how to transfer this file into war file, I have the file in the right directory inside the WEB-INF but it is not working, do I need to convert this

RE: war file question

2010-12-06 Thread Martin Gainty
most containers will not look for jsp in WEB-INF but in webapp base folder e.g. $TOMCAT_HOME/webapps/WebAppFolderName to remedy mv/rename the html files from WEB-INF over to WebAppFolderName and be sure to mv/rename *.html to *.jsp Shalom, Martin Hi Everyone, I have an html file with java

Re: war file question

2010-12-06 Thread Lava Saleem
Hi Martin, Thanks for the reply I did what you told me I moved the html file into $TOMCAT_HOME/webapps/filenameand changed to *.jsp but it didn't work I got the following message FAIL - File uploaded handshake_testing.jsp must be a .war Lava On Mon, Dec 6, 2010 at 10:36 AM, Martin Gainty

Re: war file question

2010-12-06 Thread Pid
On 12/6/10 3:48 PM, Lava Saleem wrote: Hi Martin, Thanks for the reply I did what you told me I moved the html file into $TOMCAT_HOME/webapps/filenameand changed to *.jsp but it didn't work I got the following message FAIL - File uploaded handshake_testing.jsp must be a .war Start

RE: war file question

2010-12-06 Thread Caldarale, Charles R
From: Lava Saleem [mailto:lnsal...@ualr.edu] Subject: Re: war file question Hi Martin, Thanks for the reply Which, unfortunately, was largely irrelevant, and contained a serious flaw. I did what you told me I moved the html file into $TOMCAT_HOME/webapps/filename and changed to *.jsp

Re: war file question

2010-12-06 Thread Lava Saleem
Hi Thanks for the replies Pid thanks for the link but I have looked into before sending the email and it is very general and not very useful, as I'm a beginner user for tomcat. Check I was deploying the file with jsp extension and I got this message on the top of the tomcat webpage. Now I have

Tomcat dying on its own

2010-12-06 Thread Guillaume Carbonneau
Hi everyone, My tomcat server seems to die on its own without leaving any backtrace... The last info I get in the logs are : Dec 3, 2010 6:11:35 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8077 Dec 3, 2010 6:11:36 PM

Re: war file question

2010-12-06 Thread Pid
On 12/6/10 6:30 PM, Lava Saleem wrote: Hi Thanks for the replies Pid thanks for the link but I have looked into before sending the email and it is very general and not very useful, as I'm a beginner user for tomcat. Check I was deploying the file with jsp extension and I got this message

Re: Tomcat dying on its own

2010-12-06 Thread Pid
On 12/6/10 7:45 PM, Guillaume Carbonneau wrote: Hi everyone, My tomcat server seems to die on its own without leaving any backtrace... The last info I get in the logs are : Dec 3, 2010 6:11:35 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8077 Dec

Re: war file question

2010-12-06 Thread Konstantin Kolinko
2010/12/6 Lava Saleem lnsal...@ualr.edu: Hi Thanks for the replies Pid thanks for the link but I have looked into before sending the email and it is very general and not very useful, as I'm a beginner user for tomcat. Check I was deploying the  file with jsp extension  and I got this message

Re: war file question

2010-12-06 Thread Victor Kabdebon
Hi, May I add something Lava, if you don't want to work around war manually use Netbeans or Eclipse as your IDE and they can do it for you without any effort. Victor Kabdebon 2010/12/6 Konstantin Kolinko knst.koli...@gmail.com 2010/12/6 Lava Saleem lnsal...@ualr.edu: Hi Thanks for the

RE: Tomcat dying on its own

2010-12-06 Thread Caldarale, Charles R
From: Guillaume Carbonneau [mailto:guillaume.carbonn...@gmail.com] Subject: Tomcat dying on its own My tomcat server seems to die on its own without leaving any backtrace... Suggest you remove the System.exit() call that's in one of your webapps... In all seriousness, that is the most

Re: Tomcat dying on its own

2010-12-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guillaume, On 12/6/2010 2:45 PM, Guillaume Carbonneau wrote: Hi everyone, My tomcat server seems to die on its own without leaving any backtrace... The last info I get in the logs are : Dec 3, 2010 6:11:35 PM

Re: Tomcat dying on its own

2010-12-06 Thread Guillaume Carbonneau
On Mon, Dec 6, 2010 at 11:54 AM, Pid p...@pidster.com wrote: On 12/6/10 7:45 PM, Guillaume Carbonneau wrote: Hi everyone, My tomcat server seems to die on its own without leaving any backtrace... The  last info I get in the logs are : Dec 3, 2010 6:11:35 PM

Re: Tomcat dying on its own

2010-12-06 Thread Victor Kabdebon
Your Linux may also be involved. If you have some weird configuration of your system, it may kill/shutdown some services / applications. But this is really puzzling Victor Kabdebon http://www.voxnucleus.fr 2010/12/6 Guillaume Carbonneau guillaume.carbonn...@gmail.com On Mon, Dec 6, 2010 at

Re: Tomcat dying on its own

2010-12-06 Thread Mark Thomas
On 06/12/2010 20:44, Guillaume Carbonneau wrote: It happens every day or so. Nothing happens before in the log... I'm logging the requests but tomcat dies when there is no traffic it seems. I even tried to bench it with more than 1 requests the other day and it handled the load pretty

Re: Tomcat dying on its own

2010-12-06 Thread Guillaume Carbonneau
i'm monitoring the process today (sending the same query every 5 seconds). it crashed twice. i'm trying to figure out the pattern. somehow I don't think it has to do with the number of requests On Mon, Dec 6, 2010 at 12:49 PM, Mark Thomas ma...@apache.org wrote: On 06/12/2010 20:44, Guillaume

Re: Can tomcat detect disconnection by client side in Async mode?

2010-12-06 Thread Michael Ludwig
Ben schrieb am 05.12.2010 um 14:25 (+0800): Any idea about the disconnection handling? Cannot find reference for this. In my application the client may disconnect Nitpick: It may *abort* the TCP connection. Don't know why, but it seems to me that this is only ever called disconnect by

Re: Tomcat dying on its own

2010-12-06 Thread Konstantin Kolinko
2010/12/6 Guillaume Carbonneau guillaume.carbonn...@gmail.com: Hi everyone, My tomcat server seems to die on its own without leaving any backtrace... The  last info I get in the logs are : Dec 3, 2010 6:11:35 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on

Re: Tomcat dying on its own

2010-12-06 Thread Guillaume Carbonneau
On Mon, Dec 6, 2010 at 2:25 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2010/12/6 Guillaume Carbonneau guillaume.carbonn...@gmail.com: Hi everyone, My tomcat server seems to die on its own without leaving any backtrace... The  last info I get in the logs are : Dec 3, 2010 6:11:35 PM

Re: Can tomcat detect disconnection by client side in Async mode?

2010-12-06 Thread Justin Randall
Hello, Without knowing the application and going on standard sockets, I know from experience without using Async mode that Tomcat does generate a ClientAbortException when a TCP RST is received from a client when Tomcat is writing the HTTP response to the client. The client was a CPE which

Re: Can tomcat detect disconnection by client side in Async mode?

2010-12-06 Thread Justin Randall
Just to clarify, I'm not trying to imply that ClientAbortException wouldn't be generated for Async mode in some way but simply that I've only tested TCP RST behaviour in non-Async mode. Sent from my BlackBerry device -Original Message- From: Justin Randall ran...@hotmail.com Date: Tue,

Issues In Tomcat v6.0.29 Service In Windows 2008 Server

2010-12-06 Thread michael john quijano
Hi, I would like to ask your help in setting up Tomcat v6.0.29 Service In Windows 2008 Server (64-bit). Tomcat is 32-bit same as Java 6 Update 18 but I got a service specific error where tomcat service failed to start. I've seen the tips fixing this issue but it won't work for me.

Tomcat install jsvc error

2010-12-06 Thread Shamik Bhattacharyya
I am trying to run Tomcat 7.0.5 on Red Hat Linux using Java 1.6.0_22. Using the installation instructions, I proceed to compiling jsvc but when I try to execute the command: ./bin/jsvc -cp ./bin/bootstrap.jar -outfile ./logs/catalina.out -errfile ./logs/catalina.err

RE: Tomcat install jsvc error

2010-12-06 Thread Caldarale, Charles R
From: Shamik Bhattacharyya [mailto:shamikbh...@live.com] Subject: Tomcat install jsvc error I get the error: Cannot find any VM in Java Home /home/dbadmin/java6/jdk1.6.0_22 My guess is a broken symlink somewhere, or a 32/64-bit mismatch. What happens when you try this: