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
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
Hi,
Do you have an ETA for a stable release of Tomcat version 8?
Thanks and Regards,
Melanie
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
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
> -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..
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
> 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:/
> -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
> -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
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
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
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.
-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
-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
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
>
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,
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
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
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
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
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
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
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:
>
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
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
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
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
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
29 matches
Mail list logo