Re: Help! parallel deployment problem.

2014-11-25 Thread Chris Gamache
Indeed, the affected nodes don't have the newer war at all. If you don't mind me asking-- if not FarmWebDeployer, what scheme do you use to deploy a war across a cluster? > On Nov 25, 2014, at 11:11 PM, Christopher Schultz > wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > C

Re: java.lang.IllegalStateException: Calling [asyncComplete()] is not valid for a request with Async state [COMPLETING]

2014-11-25 Thread Vicky
Thanks Mark. However i don't think, i am calling it twice, anyway i'll double check, if there are any implicit calls. Is there a way i can add a defensive check to allow calling complete, only if not already done. Something like isComplete() or any other way? Vicky On Tue, Nov 25, 2014 at 8:36 P

Re: URL Mapping for filter not the same on tomcat as it is on TomEE?

2014-11-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Zack, On 11/24/14 3:05 PM, zack6849 wrote: > Hello, i've found some strange issue with the url mapping with > tomcat, i've tested this on tomcat8 and TomEE, it seems easily > reproducable. > > I have a Filter listening to requests matching "/upload

Re: How can code in a Realm gain access to a Globally Named Resource

2014-11-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vince, On 11/25/14 9:00 PM, vince.w...@thomsonreuters.com wrote: > Web applications gain access to Globally Named JDBC Resources > by adding a to context.xml > > Then using code like: > > Context initContext = new InitialContext(); dbLookupStr

Re: tomcat7 shutdown himself without trace

2014-11-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Métairie, On 11/25/14 5:26 PM, Métairie, Stéphane wrote: > hello > > all the tcp 8080 connection are closed by "I don't know" > > tcp 329 0 myserver_tomcat6.net:webcache > remoteclient.net.:43139 CLOSE_WAIT - CLOSE_WAIT The remote end h

Re: Help! parallel deployment problem.

2014-11-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 11/24/14 10:55 PM, Chris Gamache wrote: > So first, I'd be glad to. Just to be clear-- I'm not in need of a > lecture, but will willingly take one if anyone can help me get down > to a solution. My first attempt at asking for some assistan

How can code in a Realm gain access to a Globally Named Resource

2014-11-25 Thread vince.webb
Hello Web applications gain access to Globally Named JDBC Resources by adding a to context.xml Then using code like: Context initContext = new InitialContext(); dbLookupStr = "java:comp/env/" + dbResourceName; ds = (DataSource)initContext.lookup(dbLookupStr); HOW CAN code in a custom Realm g

RE: tomcat7 shutdown himself without trace

2014-11-25 Thread Métairie , Stéphane
hello all the tcp 8080 connection are closed by "I don't know" tcp 329 0 myserver_tomcat6.net:webcache remoteclient.net.:43139 CLOSE_WAIT - CLOSE_WAIT The remote end has shut down, waiting for the socket to close. tcp0 0 myserver_tomcat6.net:webcache remoteclient.net:

Re: tomcat7 shutdown himself without trace

2014-11-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Métairie, On 11/25/14 7:47 AM, Métairie, Stéphane wrote: > Sorry it's not tomcat7 but tomcat6 > > Tomcat Version : Apache Tomcat/6.0.24 Servlet Specification Version > : 2.5 JSP version : 2.1 > > java version "1.7.0_21" Java(TM) SE Runtime Environ

Re: Deploying .ca-bundle file & .crt file as SSL certificates

2014-11-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 11/25/14 3:32 AM, Kernel freak wrote: > I don't have the server.key and server.crt. I have root access to > server, I can generate my own if necessary. I only have .crt and > .ca-bundle file. Can you tell me what to do. Th

Re: question

2014-11-25 Thread Gerardo Juarez
Hi, André, Sorry, my mistake. I did not pay attention to the link which clearly says 4x. Gerardo On 11/25/2014 03:43 AM, André Warnier wrote: Hi Gerardo. The information which you are pointing to below, is relative to Tomcat 4.1, which has been archived probably more than 10 years ago and

Re: java.lang.IllegalStateException: Calling [asyncComplete()] is not valid for a request with Async state [COMPLETING]

2014-11-25 Thread Mark Thomas
On 25/11/2014 13:01, Vicky wrote: > Hi Folks, > > I am using Tomcat 7.0.42, in embedded mode, using NIO connector. Running on > a linux box. > > I use request.startAsync() to create an AsyncContext. And call complete() > once everything is done. But complete() is called via a separate thread. >

Re: Redirecting to default webapp when domain name is entered

2014-11-25 Thread David kerber
On 11/25/2014 8:52 AM, Kernel freak wrote: Hello, I have already bought the domain name and the domain-id. Its a dedicated hosting, and the plan says its allowed to use Apache tomcat. Can you please tell me what to do to disable the service on port80? If you don't know, we certainly don't, and

Re: Redirecting to default webapp when domain name is entered

2014-11-25 Thread Kernel freak
Hello, I have already bought the domain name and the domain-id. Its a dedicated hosting, and the plan says its allowed to use Apache tomcat. Can you please tell me what to do to disable the service on port80? On Tue, Nov 25, 2014 at 2:43 PM, David kerber wrote: > On 11/25/2014 8:39 AM, Kernel f

Re: server-status in text format

2014-11-25 Thread Jose Monreal
I was looking for a text format instead of html, because its faster when you are deploying in 100 servers at the same time, and different services. I'll try the xml format Konstantin was talking about. Regards, Saludos cordiales, José Ignacio Monreal Bailey | Ingeniero Civil en Computación

Re: Redirecting to default webapp when domain name is entered

2014-11-25 Thread David kerber
On 11/25/2014 8:39 AM, Kernel freak wrote: Hello Andre, Thank you. I did the changes what you told, but I guess there is some service running at port 80. Because now when I click domainname.com:80, it shows me the message by the hosting company as the "Domain name is already booked" and all. How

Re: Redirecting to default webapp when domain name is entered

2014-11-25 Thread Kernel freak
Hello Andre, Thank you. I did the changes what you told, but I guess there is some service running at port 80. Because now when I click domainname.com:80, it shows me the message by the hosting company as the "Domain name is already booked" and all. How can I remove that service which is listening

java.lang.IllegalStateException: Calling [asyncComplete()] is not valid for a request with Async state [COMPLETING]

2014-11-25 Thread Vicky
Hi Folks, I am using Tomcat 7.0.42, in embedded mode, using NIO connector. Running on a linux box. I use request.startAsync() to create an AsyncContext. And call complete() once everything is done. But complete() is called via a separate thread. Any idea why am i getting this exception? Thanks,

RE: tomcat7 shutdown himself without trace

2014-11-25 Thread Métairie , Stéphane
Sorry it's not tomcat7 but tomcat6 Tomcat Version : Apache Tomcat/6.0.24 Servlet Specification Version : 2.5 JSP version : 2.1 java version "1.7.0_21" Java(TM) SE Runtime Environment (build 1.7.0_21-b11) Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode) Server.xml

Re: Redirecting to default webapp when domain name is entered

2014-11-25 Thread André Warnier
Kernel freak wrote: Hello friends, I already have a project ready for deployment. It is in the form of war file. Currently I have renamed the war file to ROOT.war and pasted it inside webapps. I am able to access the webapp by giving domainname.com:8080. Instead of that I would just like to us

Re: tomcat7 shutdown himself without trace

2014-11-25 Thread André Warnier
Métairie wrote: Hi all We have a tomcat7 standalone in Redhat6. Sometime the Tomcat7 suddenly stop to reply to all requests, but all server parameters are ok (cpu, memory, disk, ... all are ok). There is no error inside the logs. No exception, nothing. The http-thread do not reply anymore, b

Redirecting to default webapp when domain name is entered

2014-11-25 Thread Kernel freak
Hello friends, I already have a project ready for deployment. It is in the form of war file. Currently I have renamed the war file to ROOT.war and pasted it inside webapps. I am able to access the webapp by giving domainname.com:8080. Instead of that I would just like to use domainname.com and i

tomcat7 shutdown himself without trace

2014-11-25 Thread Métairie , Stéphane
Hi all We have a tomcat7 standalone in Redhat6. Sometime the Tomcat7 suddenly stop to reply to all requests, but all server parameters are ok (cpu, memory, disk, ... all are ok). There is no error inside the logs. No exception, nothing. The http-thread do not reply anymore, because the pool is

Re: Help! parallel deployment problem.

2014-11-25 Thread Mark Thomas
On 25/11/2014 03:55, Chris Gamache wrote: > So first, I'd be glad to. Just to be clear-- I'm not in need of a lecture, > but will willingly take one if anyone can help me get down to a solution. > My first attempt at asking for some assistance was met with crickets. Your first question was very sp

Re: question

2014-11-25 Thread André Warnier
Hi Gerardo. The information which you are pointing to below, is relative to Tomcat 4.1, which has been archived probably more than 10 years ago and is no longer being developed or supported. Please don't do that. The current version of Tomcat is 8.0, and its documentation can be found here : h

Re: Deploying .ca-bundle file & .crt file as SSL certificates

2014-11-25 Thread Kernel freak
Hello Christopher, I don't have the server.key and server.crt. I have root access to server, I can generate my own if necessary. I only have .crt and .ca-bundle file. Can you tell me what to do. Thank you very much for your help. On Mon, Nov 24, 2014 at 7:48 PM, Christopher Schultz < ch...@christ