Filter to change Content-Type of files without proper extensions.

2014-09-19 Thread John Polansky
System: Tomcat 5.5.15 Java 1.5 Solaris/SPARC Guys, new to the group, well new to tomcat completely I was hoping to get a solution for our issue. We have a piece of software that is no longer supported and I'm trying to fix an issue. The issue that when this software generates .PNG files it labels

Tomcat JVM Crash

2014-09-19 Thread Chad Maniccia
Enviroment Windows 2008 R2 Tomcat 8.0.11 Java 1.8.0_20-b26 Sysco HTTPS Firewall (They have to authenticate through it first) HTTPS only Memory Pool=3072MB Thread Stack Size=384 Problem We recently moved to a new Windows server, I installed the exact same software on the new server as

Re: help!

2014-09-19 Thread Shrileckha Chaithanya
I see the cookies that i set explicity set in the program. But I dont see the cookie I have set in the tomcat context file like this: On Fri, Sep 19, 2014 at 4:40 PM, Shrileckha Chaithanya < cshrilec...@gmail.com> wrote: > It worked but I am not able to get this cookie name via > > request.ge

Re: WAR file deployment question

2014-09-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 James, On 9/19/14 4:50 PM, James H. H. Lampert wrote: > Thanks, Messrs Janner and Schultz. I feared that was the case, but > it never hurts to ask. > > The thing is, if I have it sitting someplace off-site, and Manager > could snag it from there di

Re: help!

2014-09-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shrileckha On 9/19/14 4:40 PM, Shrileckha Chaithanya wrote: > It worked but I am not able to get this cookie name via > > request.getCookies() call. Should I add anything in the tomcat > context in order to get it from the request? > > Cookie[] co

Re: WAR file deployment question

2014-09-19 Thread James H. H. Lampert
Thanks, Messrs Janner and Schultz. I feared that was the case, but it never hurts to ask. The thing is, if I have it sitting someplace off-site, and Manager could snag it from there directly, then we'd only have to pass it through the "insulin needle" upload pipe of our cable internet when we

Re: help!

2014-09-19 Thread Shrileckha Chaithanya
It worked but I am not able to get this cookie name via request.getCookies() call. Should I add anything in the tomcat context in order to get it from the request? Cookie[] cookies = req.getCookies(); if(cookies != null){ for (Cookie cookie : cookies) { log.inf

Re: How to set up TLS-PSK with Tomcat

2014-09-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Borislav, On 9/19/14 3:47 PM, Borislav Trifonov wrote: > Are you saying Tomcat can use OpenSSL instead of Java for TLS? Yes. You need to use the tcnative library ("Tomcat Native" on the Tomcat web site) along with libapr and libssl. Under a default

Re: WAR file deployment question

2014-09-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 James, On 9/15/14 8:11 PM, James H. H. Lampert wrote: > We have a rather large WAR file. 89,925,956 bytes. And we have > cable internet. With its usual extremely asymmetrical bandwidth: a > download pipe the size of an air conditioning duct, and an

Re: May I have multiple web applications running on one tomcat server?

2014-09-19 Thread James H. H. Lampert
On 9/19/14 12:22 PM, Tran, Minh wrote: Hope you all have a good Friday. I am new to Tom Cat server and I have a basic question which I would like to seek your helps and expertise. Could I have a several web applications running on one tomcat server? I am using tomcat manager version 7. If I can

Re: Tomcat xml files in conf/Catalina/localhost

2014-09-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dan, On 9/19/14 3:44 PM, Daniel Mikusa wrote: > On Fri, Sep 19, 2014 at 3:33 PM, Miguel Pereira > wrote: > >> Ahhh, thanks Dan, >> >> Unfortunately these are 3rd party apps what we receive as a WAR. >> I am not sure that unzipping them and rezipp

RE: How to set up TLS-PSK with Tomcat

2014-09-19 Thread Borislav Trifonov
Are you saying Tomcat can use OpenSSL instead of Java for TLS? That would be great, as OpenSSL does support a number of TLS-PSK ciphers. Borislav Trifonov, CTO MSc Macroh Canada, Inc. #206-395 Railway St. Vancouver, BC, V6A 1A4 Canada T: +1 604 694 0002 C: +1 7

Re: Tomcat xml files in conf/Catalina/localhost

2014-09-19 Thread Daniel Mikusa
On Fri, Sep 19, 2014 at 3:33 PM, Miguel Pereira wrote: > Ahhh, thanks Dan, > > Unfortunately these are 3rd party apps what we receive as a WAR. I am not > sure that unzipping them and rezipping them is ideal nor maintainable. The > main reason is that the context fragments remain after the apps a

Re: May I have multiple web applications running on one tomcat server?

2014-09-19 Thread David kerber
On 9/19/2014 3:36 PM, Tran, Minh wrote: Thanks one more question about running multiple web apps on one Tom Cat server if you would not mind; Suppose I am now having two web applications call app1 , and app2; and I deploy both of them to Tomcat. Suppose I am able to access app1 on http://loc

RE: May I have multiple web applications running on one tomcat server?

2014-09-19 Thread Tran, Minh
Thanks one more question about running multiple web apps on one Tom Cat server if you would not mind; Suppose I am now having two web applications call app1 , and app2; and I deploy both of them to Tomcat. Suppose I am able to access app1 on http://localhost:8080/app1; and app2 on http://local

Re: Tomcat xml files in conf/Catalina/localhost

2014-09-19 Thread Miguel Pereira
Ahhh, thanks Dan, Unfortunately these are 3rd party apps what we receive as a WAR. I am not sure that unzipping them and rezipping them is ideal nor maintainable. The main reason is that the context fragments remain after the apps are undeployed which throw non fatal errors on subsequent tomcat re

Re: May I have multiple web applications running on one tomcat server?

2014-09-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tran, On 9/19/14 3:22 PM, Tran, Minh wrote: > Could I have a several web applications running on one tomcat > server? Yes. > I am using tomcat manager version 7. If I can , how can i do it? Place more than one WAR file (or exploded WAR directory)

RE: May I have multiple web applications running on one tomcat server?

2014-09-19 Thread Tran, Minh
Hello All, Hope you all have a good Friday. I am new to Tom Cat server and I have a basic question which I would like to seek your helps and expertise. Could I have a several web applications running on one tomcat server? I am using tomcat manager version 7. If I can , how can i do it? Tha

Re: Tomcat xml files in conf/Catalina/localhost

2014-09-19 Thread Daniel Mikusa
On Fri, Sep 19, 2014 at 1:32 PM, Miguel Pereira wrote: > Thank you very much Dan, > > I looked at the links and noticed I am running tomcat 7 locally and 6 on > our DEV environment. > I also noticed that copyXML is present in the documentation for tomcat 7 > and defaults to false. > Finally > " >

Should logEffectiveWebXml=true log web fragments ? tomcat 7.0

2014-09-19 Thread Loïc Tregan
Hi, Setting logEffectiveWebXml=true in context.xml does not log the web fragments in the clause of the output web.xml; it is not specified. Is it expected ? Should I file a bug ? I think it is a convenient feature to debug in which order the web fragments are loaded. thanks, loic

Re: Tomcat xml files in conf/Catalina/localhost

2014-09-19 Thread Miguel Pereira
Thank you very much Dan, I looked at the links and noticed I am running tomcat 7 locally and 6 on our DEV environment. I also noticed that copyXML is present in the documentation for tomcat 7 and defaults to false. Finally " In an individual file at /META-INF/context.xml inside the application fil

Re: Tomcat xml files in conf/Catalina/localhost

2014-09-19 Thread Daniel Mikusa
On Fri, Sep 19, 2014 at 12:28 PM, Miguel Pereira wrote: > Hey all, > > I was wondering where I could get some more information about these xml > files. On one system they are created every time I deploy a web application > and on another they are not.. I would prefer that tomcat does not create >

Tomcat xml files in conf/Catalina/localhost

2014-09-19 Thread Miguel Pereira
Hey all, I was wondering where I could get some more information about these xml files. On one system they are created every time I deploy a web application and on another they are not.. I would prefer that tomcat does not create them. Anyone want to point me in the right direction? Thank you, Mi

Re: help!

2014-09-19 Thread Shrileckha Chaithanya
thanks! it worked. On Thu, Sep 18, 2014 at 5:19 PM, Mark Eggers wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 9/18/2014 2:13 PM, Shrileckha Chaithanya wrote: > > Thx for responding. I did like look at this link. Can you provide > > with proper syntax to rename the cookie name?

RE: [ANN] New committer: Felix Schumacher

2014-09-19 Thread Konstantin Preißer
Welcome! Regards, Konstantin Preißer > -Original Message- > From: Rainer Jung [mailto:rj...@apache.org] > Sent: Friday, September 19, 2014 9:49 AM > To: Tomcat Developers List; Tomcat Users List > Subject: [ANN] New committer: Felix Schumacher > > On behalf of the Tomcat committers I am

Re: [ANN] New committer: Felix Schumacher

2014-09-19 Thread Violeta Georgieva
2014-09-19 10:49 GMT+03:00 Rainer Jung : > > On behalf of the Tomcat committers I am pleased to announce that > Felix Schumacher (fschumacher) has been voted in as a new Tomcat committer. > > Please join me in welcoming him. Welcome! Regards Violeta > Regards, > > Rainer > >

Re: [ANN] New committer: Felix Schumacher

2014-09-19 Thread Filip Hanik
Welcome aboard!! Start committing :) On Fri, Sep 19, 2014 at 6:28 AM, Tim Funk wrote: > +1 Awesome! Welcome! > > -Tim > > On Fri, Sep 19, 2014 at 3:49 AM, Rainer Jung wrote: > > > On behalf of the Tomcat committers I am pleased to announce that > > Felix Schumacher (fschumacher) has been voted

Re: [ANN] New committer: Felix Schumacher

2014-09-19 Thread Tim Funk
+1 Awesome! Welcome! -Tim On Fri, Sep 19, 2014 at 3:49 AM, Rainer Jung wrote: > On behalf of the Tomcat committers I am pleased to announce that > Felix Schumacher (fschumacher) has been voted in as a new Tomcat committer. > > Please join me in welcoming him. > > Regards, > > Rainer > >

Re: a problem: tomcat exits unexpectedly

2014-09-19 Thread Ognjen Blagojevic
Zhao, On 19.9.2014 3:42, bo zhao wrote: but I can't find any error message in the log? what causes the tomcat to pause and stop? One of the suspects for restarts and shutdown seems to be the class com.jd.clover.center.service.AbstractScheduleTaskProcess, as there is a log message regarding i

Re: [ANN] New committer: Felix Schumacher

2014-09-19 Thread Mark Thomas
On 19/09/2014 08:49, Rainer Jung wrote: > On behalf of the Tomcat committers I am pleased to announce that > Felix Schumacher (fschumacher) has been voted in as a new Tomcat committer. > > Please join me in welcoming him. +1. Welcome Felix. Mark

Re: [ANN] New committer: Felix Schumacher

2014-09-19 Thread Zala Pierre GOUPIL
Congratulations! You can be proud! Regards, Pierre On Fri, Sep 19, 2014 at 9:49 AM, Rainer Jung wrote: > On behalf of the Tomcat committers I am pleased to announce that > Felix Schumacher (fschumacher) has been voted in as a new Tomcat committer. > > Please join me in welcoming him. > > Re

Re: How to set up TLS-PSK with Tomcat

2014-09-19 Thread Mark Thomas
On 18/09/2014 20:15, Borislav Trifonov wrote: > We need to use pre-shared keys, not certificates. TLS supports PSK, > but how does one set this up in Tomcat? All the guides for SSL/TLS in > Tomcat I've found talk about setting up certificates. PSK ciphers are not supported JSSE provider provided b

[ANN] New committer: Felix Schumacher

2014-09-19 Thread Rainer Jung
On behalf of the Tomcat committers I am pleased to announce that Felix Schumacher (fschumacher) has been voted in as a new Tomcat committer. Please join me in welcoming him. Regards, Rainer - To unsubscribe, e-mail: users-unsu