How to deploy Java application into Tomcat in Linux

2014-03-31 Thread Randhir Singh
Hi, As per my understanding, the steps to deploy a Java application on Tomcat (5.X/6.X) in Linux would be as follows: 1) Install Tomcat on Linux 2) Add a host entry in $TOMCAT_HOME/conf with the syntax like- -

Re: Connection Pooling in Tomcat 6 using Java

2014-03-31 Thread Saurabh Saraswat
Dear All, Please accept my heartily thanks for your valuable responses. *Daniel / Chris*, Thank you so much. You both gave me a vary helpful explanation. I have read many forums but still was confused but you guys have cleared my doubts and also gave me new ideas to do better. Thank you again.

Re: Is it possible to send a 'keep-alive' packet back to client session every x seconds?

2014-03-31 Thread Frederik Nosi
Hi Matthew, On 03/28/2014 01:35 AM, Matthew Turany wrote: Thanks everyone, development tells me that their going to build the function into the application. You're lucky ;-) trying to build custom kernels and then using a tcp_keepalive would be a logistic nightmare. I know you solved diffe

Re: Tomcat under load && frontend reverse proxy timeouts

2014-03-31 Thread Frederik Nosi
Hi Igor, On 03/27/2014 10:51 PM, Igor Cicimov wrote: On 27/03/2014 12:39 PM, "Frederik Nosi" wrote: Hi all, Having to deal with slow applications deployed under tomcat, with a reverse proxy in front, frequently i've noticed that even when the frontend timeouts and closes it's part of the TCP

Re: [OT] Problem in accessing link

2014-03-31 Thread Mark Eggers
On 3/31/2014 2:17 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/31/14, 11:33 AM, Mark Eggers wrote: Please do not top-post. On 3/31/2014 2:14 AM, Randhir Singh wrote: Hi, Thanks for your answer. There are 2 applications hosted on this Tomcat. 1 is

Re: Problem in accessing link

2014-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Randir, On 3/31/14, 5:14 AM, Randhir Singh wrote: > Thanks for your answer. There are 2 applications hosted on this > Tomcat. 1 is working fine and the other only is giving problems > which we are accessing on port 10080. > > Request inputs on this

Re: [OT] Problem in accessing link

2014-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/31/14, 11:33 AM, Mark Eggers wrote: > Please do not top-post. On 3/31/2014 2:14 AM, Randhir Singh wrote: >> Hi, >> >> Thanks for your answer. There are 2 applications hosted on this >> Tomcat. 1 is working fine and the other only is giv

Re: Connection Pooling in Tomcat 6 using Java

2014-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Saurabh, On 3/31/14, 7:05 AM, Saurabh Saraswat wrote: > I am doing connection pooling with tomcat 6. And i am doing this > very first time before today i had no idea about connection > pooling. I want to ensure that it is the correct way or not. Gl

Re: SSL Certificates

2014-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ninthun, On 3/31/14, 10:19 AM, Bomma, Nithun wrote: > Hello, > > We are using WebSphere v6.1 for SSO and we are moving to ForgeRock > and it uses Apache Tomcat (v7.0.37) > > We are trying to import the certificates (Verisign) including the > cha

Re: Request for better deployment usability: should be able to specify context root inside war

2014-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sebastien, On 3/31/14, 12:43 PM, Sebastien Tardif wrote: > I understand that Tomcat currently doesn't always support > specifying the context root to be used in a file inside the War. You are correct in that you cannot have a completely self-contai

Re: SSL Certificates

2014-03-31 Thread James H. H. Lampert
On 3/31/14 10:32 AM, Blume Wolfgang wrote: Hi, If your certificate need not be changed, then you need not create a new Certificate Signing Request (CSR) to get a new certificate, but only do the "Importing the Certificate" part of the description: Import chain certificate, then your existing cert

Re: Request for better deployment usability: should be able to specify context root inside war

2014-03-31 Thread Howard W. Smith, Jr.
On Mon, Mar 31, 2014 at 1:27 PM, Mark Eggers wrote: > As far as Glassfish versus Apache Tomcat goes, they address different use > cases. Glassfish is a J2EE application server. Apache Tomcat is a servlet > container. While you can convince Apache Tomcat to do a lot of things, at > some point it's

RE: Need urgent help - Removing jvmoptions from tomcat service

2014-03-31 Thread Jeffrey Janner
> -Original Message- > From: Mukul Bhatnagar [mailto:mukul@gmail.com] > Sent: Monday, March 31, 2014 12:40 PM > To: users@tomcat.apache.org > Subject: Fwd: Need urgent help - Removing jvmoptions from tomcat > service > > -- Forwarded message -- > From: Mukul Bhatnagar

Fwd: Need urgent help - Removing jvmoptions from tomcat service

2014-03-31 Thread Mukul Bhatnagar
-- Forwarded message -- From: Mukul Bhatnagar Date: Mon, Mar 31, 2014 at 10:59 PM Subject: Need urgent help - Removing jvmoptions from tomcat service To: users-h...@tomcat.apache.org Hi all, I am using tomcat as Windows service for my application. I created JVM options. lets say

Re: SSL Certificates

2014-03-31 Thread Blume Wolfgang
Hi, If your certificate need not be changed, then you need not create a new Certificate Signing Request (CSR) to get a new certificate, but only do the "Importing the Certificate" part of the description: Import chain certificate, then your existing certificate. Wolfgang 2014-03-31 16:45 GMT+02:

Re: Request for better deployment usability: should be able to specify context root inside war

2014-03-31 Thread Mark Eggers
On 3/31/2014 9:43 AM, Sebastien Tardif wrote: I understand that Tomcat currently doesn't always support specifying the context root to be used in a file inside the War. Extract from: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html When autoDeploy or deployOnStartup operations are per

Request for better deployment usability: should be able to specify context root inside war

2014-03-31 Thread Sebastien Tardif
I understand that Tomcat currently doesn't always support specifying the context root to be used in a file inside the War. Extract from: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html When autoDeploy or deployOnStartup operations are performed by a Host, the name and context path of

Re: Problem in accessing link

2014-03-31 Thread Mark Eggers
Please do not top-post. On 3/31/2014 2:14 AM, Randhir Singh wrote: Hi, Thanks for your answer. There are 2 applications hosted on this Tomcat. 1 is working fine and the other only is giving problems which we are accessing on port 10080. Request inputs on this so that the resolution is found.

Re: [OT] timeout

2014-03-31 Thread Mark Eggers
On 3/31/2014 4:18 AM, Vicky B wrote: there is a firewall between browser and apache httpd and i am not sure if there is a firewall between apache and tomcat (mostly no). Mostly? Mostly? As in sometimes there's a firewall, and other times there's not, but mostly not? Or do you mean that you'r

RE: SSL Certificates

2014-03-31 Thread Bomma, Nithun
Thanks Leo! I don't want to create a new CSR, since the certificate with WebSphere exists until 2015. I just want to export the certificate with chain from WebSphere and import into Tomcat directly. Any thoughts? Thanks, Nithun Bomma WebSphere Administrator Amtrak - Information Technology (Op

Re: SSL Certificates

2014-03-31 Thread Leo Donahue
On Mon, Mar 31, 2014 at 7:19 AM, Bomma, Nithun wrote: > Hello, > > We are using WebSphere v6.1 for SSO and we are moving to ForgeRock and it > uses Apache Tomcat (v7.0.37) > > We are trying to import the certificates (Verisign) including the chain > certificates from WebSphere to Tomcat. > > Have

SSL Certificates

2014-03-31 Thread Bomma, Nithun
Hello, We are using WebSphere v6.1 for SSO and we are moving to ForgeRock and it uses Apache Tomcat (v7.0.37) We are trying to import the certificates (Verisign) including the chain certificates from WebSphere to Tomcat. Have any of you did this before? If yes, could you help us out? Thanks,

Re: [OT] timeout

2014-03-31 Thread André Warnier
André Warnier wrote: Vicky B wrote: there is a firewall between browser and apache httpd and i am not sure if there is a firewall between apache and tomcat (mostly no). But why would this firewall drop the connection ? Some people never learn.. Sigh. Ok, Vicky, one last try from me : 1) s

Re: Connection Pooling in Tomcat 6 using Java

2014-03-31 Thread Daniel Mikusa
On Mar 31, 2014, at 7:05 AM, Saurabh Saraswat wrote: > Dear All, > > I am doing connection pooling with tomcat 6. And i am doing this very first > time before today i had no idea about connection pooling. I want to ensure > that it is the correct way or not. > Please do me correct if i am doing

Re: [OT] timeout

2014-03-31 Thread André Warnier
Vicky B wrote: there is a firewall between browser and apache httpd and i am not sure if there is a firewall between apache and tomcat (mostly no). But why would this firewall drop the connection ? Some people never learn.. Sigh. On Mon, Mar 31, 2014 at 3:16 PM, Howard W. Smith, Jr. < smith

Re: [OT] timeout

2014-03-31 Thread Vicky B
there is a firewall between browser and apache httpd and i am not sure if there is a firewall between apache and tomcat (mostly no). But why would this firewall drop the connection ? On Mon, Mar 31, 2014 at 3:16 PM, Howard W. Smith, Jr. < smithh032...@gmail.com> wrote: > On Mar 31, 2014 3:48 AM,

Connection Pooling in Tomcat 6 using Java

2014-03-31 Thread Saurabh Saraswat
Dear All, I am doing connection pooling with tomcat 6. And i am doing this very first time before today i had no idea about connection pooling. I want to ensure that it is the correct way or not. Please do me correct if i am doing wrong anywhere. I am explaining you all steps done by me- *1. Have

Re: Tomcat 7.0.52 strage startup

2014-03-31 Thread André Warnier
Hi. 1) Don't top-post. Roberto Bottoni - AfterBit wrote: Hi, I have a linux debian 6 on a virtual machine..HD is ok and also the filesystem.. i have updated the system a few days ago.. I thought an update might solve the problems, but I get no success .. Tomcat is launched at system startup

Re: Tomcat 7.0.52 strage startup

2014-03-31 Thread Roberto Bottoni - AfterBit
Hi, I have a linux debian 6 on a virtual machine..HD is ok and also the filesystem.. i have updated the system a few days ago.. I thought an update might solve the problems, but I get no success .. Tomcat is launched at system startup.. I do not use remote-shares or anything like that for your

Re: [OT] timeout

2014-03-31 Thread Howard W. Smith, Jr.
On Mar 31, 2014 3:48 AM, "André Warnier" wrote: > > Howard W. Smith, Jr. wrote: >> >> On Sun, Mar 30, 2014 at 9:54 PM, Caldarale, Charles R < >> chuck.caldar...@unisys.com> wrote: >> From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: Re: timeout > > - and if that

RE: Problem in accessing link

2014-03-31 Thread Randhir Singh
Hi, Thanks for your answer. There are 2 applications hosted on this Tomcat. 1 is working fine and the other only is giving problems which we are accessing on port 10080. Request inputs on this so that the resolution is found. Regards -Original Message- From: Christopher Schultz [mailto:

Re: [OT] timeout

2014-03-31 Thread André Warnier
Howard W. Smith, Jr. wrote: On Sun, Mar 30, 2014 at 9:54 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: Re: timeout - and if that is not the reason, then find the person responsible for the in-between equipmen