Re: running packed WAR files with embedded tomcat

2014-01-21 Thread Valery Shyshkin
The code below works fine on my Win 7 PC final Tomcat tomcat = new Tomcat(); tomcat.setPort(9191); //File baseDir = new File(System.getProperty("java.io.tmpdir")); File baseDir = new File("."); tomcat.addContext("", baseDir.getAbsolutePath()); tomcat.addWebapp("/WebApplication2", "D:\\VnsTestApps

Re: Stopping/pausing a Connector

2014-01-21 Thread Konstantin Kolinko
2014/1/22 Randy Toor : The rules: do not top-post here http://tomcat.apache.org/lists.html#tomcat-users -> "6." > It is 7.0.32. > > To be honest, I'm not sure which connector it is. The code extends > org.apache.catalina.connector.Connector, sets up HTTP settings, and adds it > to the Embedded

Expected Date for Stable release of Tomcat version 8

2014-01-21 Thread Melanie Langlois
Hi, Do you have an ETA for a stable release of Tomcat version 8? Thanks and Regards, Melanie

Re: running packed WAR files with embedded tomcat

2014-01-21 Thread Valery Shyshkin
By the way it's not a suggestion it's a signature of the addWebApp method. I'll try to find my working code and send it. 2014/1/22 Valery Shyshkin > Try: > > File baseDir = new File(System.getProperty("java.io.tmpdir")); > tomcat.addContext("", baseDir.getAbsolutePath()); > > > > > 2014/1/22 J

Re: running packed WAR files with embedded tomcat

2014-01-21 Thread Valery Shyshkin
Try: File baseDir = new File(System.getProperty("java.io.tmpdir")); tomcat.addContext("", baseDir.getAbsolutePath()); 2014/1/22 John Cartwright - NOAA Federal > Thanks for the suggestion Valery, but swapping the arguments doesn't work. > > --john > > > > On Tue, Jan 21, 2014 at 8:12 AM, Vale

RE: Cannot connect from outside using Tomcat 7/APR/SSL on AWS Windows system

2014-01-21 Thread Jeffrey Janner
> -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Tuesday, January 21, 2014 3:39 PM > To: Tomcat Users List > Subject: RE: Cannot connect from outside using Tomcat 7/APR/SSL on AWS > Windows system > > > From: Jeffrey Janner [mailto:jeffrey.jan..

Re: running packed WAR files with embedded tomcat

2014-01-21 Thread John Cartwright - NOAA Federal
Thanks for the suggestion Valery, but swapping the arguments doesn't work. --john On Tue, Jan 21, 2014 at 8:12 AM, Valery Shyshkin wrote: > May be tomcat.addWebapp(contextName,pathToWarFile) instead of > tomcat.addWebapp(pathToWarFile, contextName) will help yoo. > > > 2014/1/21 John Cartwrigh

RE: Cannot connect from outside using Tomcat 7/APR/SSL on AWS Windows system

2014-01-21 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: Cannot connect from outside using Tomcat 7/APR/SSL on AWS > Windows system > Ready guys? Really surprised no one mentioned it. > It was Windows F-ing Firewall! Do you mean when Konstantin said this yesterday: http:/

RE: Cannot connect from outside using Tomcat 7/APR/SSL on AWS Windows system

2014-01-21 Thread Jeffrey Janner
> -Original Message- > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Sent: Monday, January 20, 2014 1:57 PM > To: 'Tomcat Users List' > Subject: RE: Cannot connect from outside using Tomcat 7/APR/SSL on AWS > Windows system > > > -Original Message- > > From: Konstanti

RE: Cannot connect from outside using Tomcat 7/APR/SSL on AWS Windows system

2014-01-21 Thread Jeffrey Janner
> -Original Message- > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Sent: Tuesday, January 21, 2014 3:19 PM > To: 'Tomcat Users List'; 'Tomcat Users List' > Subject: RE: Cannot connect from outside using Tomcat 7/APR/SSL on AWS > Windows system > > > > Eureka, I finally fi

RE: Cannot connect from outside using Tomcat 7/APR/SSL on AWS Windows system

2014-01-21 Thread Jeffrey Janner
Eureka, I finally figured it out! It was a real eureka moment, some remembrance burned its way up from my subconscious and I had the answer. Ready guys? Really surprised no one mentioned it. It was Windows F-ing Firewall! Since the server is hosted at AWS and I in no way trust their minimal

Re: ApacheCon NA 2014

2014-01-21 Thread Leo Donahue
On Tue, Jan 21, 2014 at 1:13 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > I didn't get much of a response last time around, but if there are any > topics of interest to the community that we could present at ApacheCon > NA 2014 (in April in Denver

RE: Stopping/pausing a Connector

2014-01-21 Thread Randy Toor
It is 7.0.32. To be honest, I'm not sure which connector it is. The code extends org.apache.catalina.connector.Connector, sets up HTTP settings, and adds it to the EmbeddedTomcat container. Using netstat I'm noticing that with either a pause() or a stop() the port is still being listened on.

ApacheCon NA 2014

2014-01-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I didn't get much of a response last time around, but if there are any topics of interest to the community that we could present at ApacheCon NA 2014 (in April in Denver, CO), please let us know. Anything, however mundane, that anyone would li

Re: Cannot connect from outside using Tomcat 7/APR/SSL on AWS Windows system

2014-01-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 1/20/14, 3:04 PM, Jeffrey Janner wrote: >> -Original Message- From: André Warnier >> [mailto:a...@ice-sa.com] Sent: Monday, January 20, 2014 1:47 PM To: >> Tomcat Users List Subject: Re: Cannot connect from outside using >> Tomca

Re: How to update a web app without uploading the WAR

2014-01-21 Thread Hassan Schroeder
On Tue, Jan 21, 2014 at 11:14 AM, Chris Patterson wrote: > Indeed, not all replacements had a good experience with some specific files. > > Do you know if there is some plugin for Eclipse that helps to do updates or > sync > just for the last changes done, or only just for one single file to be >

Re: How to update a web app without uploading the WAR

2014-01-21 Thread Chris Patterson
Thanks for your suggestions, I will try this last one. Indeed, not all replacements had a good experience with some specific files. Do you know if there is some plugin for Eclipse that helps to do updates or sync just for the last changes done, or only just for one single file to be replaced,

Re: How to update a web app without uploading the WAR

2014-01-21 Thread Daniel Mikusa
On Jan 21, 2014, at 1:55 PM, James H. H. Lampert wrote: > On 1/21/14 9:59 AM, David kerber wrote: >> You can update the single .jsp on the server, in at least some >> situations. I do that occasionally when I need to get an update out and >> can't take the service down. > > But note that if an

Re: How to update a web app without uploading the WAR

2014-01-21 Thread David kerber
On 1/21/2014 1:55 PM, James H. H. Lampert wrote: On 1/21/14 9:59 AM, David kerber wrote: You can update the single .jsp on the server, in at least some situations. I do that occasionally when I need to get an update out and can't take the service down. But note that if and when you DO replace

Re: How to update a web app without uploading the WAR

2014-01-21 Thread James H. H. Lampert
On 1/21/14 9:59 AM, David kerber wrote: You can update the single .jsp on the server, in at least some situations. I do that occasionally when I need to get an update out and can't take the service down. But note that if and when you DO replace the WAR file, it will stomp on whatever changes

Re: How to update a web app without uploading the WAR

2014-01-21 Thread David kerber
You can update the single .jsp on the server, in at least some situations. I do that occasionally when I need to get an update out and can't take the service down. On 1/21/2014 12:02 PM, Chris Patterson wrote: Hello, My WAR file is becoming every time bigger and bigger, images are included

How to update a web app without uploading the WAR

2014-01-21 Thread Chris Patterson
Hello, My WAR file is becoming every time bigger and bigger, images are included and also some documents like PDFs Sometimes we need to change little code in only one jsp file, perhaps someone can help figuring out alternatives to upload and update specific changes to code regarding one single f

Re: Weird certificate situation -- I don't even understand why it works at all!

2014-01-21 Thread James H. H. Lampert
On 1/21/14 12:40 AM, Ognjen Blagojevic wrote: Hard to say without seeing your server.xml. I could only guess: you misspelled "keyAlias" attribute name, so Tomcat just reads first key in the keystore. That would explain much: instead of a "keyAlias" attribute in the connector tag, I have an "al

Re: running packed WAR files with embedded tomcat

2014-01-21 Thread Valery Shyshkin
May be tomcat.addWebapp(contextName,pathToWarFile) instead of tomcat.addWebapp(pathToWarFile, contextName) will help yoo. 2014/1/21 John Cartwright - NOAA Federal > Hello All, > > I'm trying to create a very basic embeded tomcat 7 application to host a > packed WAR file. My code looks like: >

Re: Weird certificate situation -- I don't even understand why it works at all!

2014-01-21 Thread Konstantin Kolinko
2014/1/21 James H. H. Lampert : > It seems that one of our customers moved their server to a different > physical box, over the weekend, and we're now seeing some definite > weirdness: > 1. You are still accessing the old box? A proxy that forwards requests to the old box, instead of a new one? A

Re: Weird certificate situation -- I don't even understand why it works at all!

2014-01-21 Thread Mark Thomas
On 21/01/2014 11:29, Ognjen Blagojevic wrote: > Mark, > > On 21.1.2014 9:55, Mark Thomas wrote: Why would this even work at all? >>> >>> Hard to say without seeing your server.xml. I could only guess: you >>> misspelled "keyAlias" attribute name, so Tomcat just reads first key in >>> >>> the

Re: Weird certificate situation -- I don't even understand why it works at all!

2014-01-21 Thread Ognjen Blagojevic
Mark, On 21.1.2014 9:55, Mark Thomas wrote: Why would this even work at all? Hard to say without seeing your server.xml. I could only guess: you misspelled "keyAlias" attribute name, so Tomcat just reads first key in the keystore. It would be worth checking if the keyAlias atribute had any

Re: Weird certificate situation -- I don't even understand why it works at all!

2014-01-21 Thread Mark Thomas
Ognjen Blagojevic wrote: >James, > >On 21.1.2014 0:14, James H. H. Lampert wrote: >> It seems that one of our customers moved their server to a different >> physical box, over the weekend, and we're now seeing some definite >> weirdness: >> >> Their Tomcat now shows a certificate that expired this

Re: Weird certificate situation -- I don't even understand why it works at all!

2014-01-21 Thread Ognjen Blagojevic
James, On 21.1.2014 0:14, James H. H. Lampert wrote: It seems that one of our customers moved their server to a different physical box, over the weekend, and we're now seeing some definite weirdness: Their Tomcat now shows a certificate that expired this past September. But it gets weirder: T