Re: How to deploy class jar file without restart Apache tomcat 7.0.40 server(Linux OS)

2014-01-31 Thread Sushil Prusty
Hi Chunk Our web application contains both .war as well as .jar's file. When ever we changes our service layer code it will be in .jar file which also deploying in tomact server. I just want avoid restarting server for changes in .jar file . On Sat, Feb 1, 2014 at 12:22 AM, Christopher Schult

Re: Manager Doesn't Recognize context = "/"

2014-01-31 Thread Jerry Malcolm
Well I turned on Firebug. This is what it gives me. Doesn't look like there is much useful info in here. If there's something specific you are looking for that's not here, I can do more tracing. This is the "response" tab content: POST stop?path=/Projectmanag...420E758A102ED89CE89346C

how to change headers based on response code in filter

2014-01-31 Thread Brendan Miller
Currently, I have a filter that sets some cache control headers. I need to change these cache control headers in the case of a non-successful response, such as a 404. Unfortunately, when I check HttpServletReponse.getStatus() in the in my doFilter method, it always reports 200 even if actually a 4

Re: clusterListener + globalNamingResource

2014-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jürgen, On 1/29/14, 4:48 AM, Jürgen Jakobitsch wrote: > in my server.xml i have defined a in the > section. > > in the same server.xml i have defined a along with my > own > > now in the Constructor of my ClusterListener i would like to access

Tomcat 7.0.50 on IBM i series - System i V7R1 - Installation errors

2014-01-31 Thread Jakati, Shekar
Hello friends, We are new to using Tomcat. Installed Apache Tomcat on our development box and runs great. Tried to install Apache 7.0.50 on our production box with similar configuration i.e. 'IBM Series System I running V7R1 'and get the below error. Part of the "catalina.2014-01-31" log f

Re: Manager Doesn't Recognize context = "/"

2014-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 1/31/14, 2:39 PM, Jerry Malcolm wrote: > I can do just about any trace necessary. Do you mean a super low > level trace like WireShark? Or is there a better tool for a > protocol trace? I would start with something like LiveHttpHeaders

Re: Manager Doesn't Recognize context = "/"

2014-01-31 Thread Jerry Malcolm
I can do just about any trace necessary. Do you mean a super low level trace like WireShark? Or is there a better tool for a protocol trace? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: How to deploy class jar file without restart Apache tomcat 7.0.40 server(Linux OS)

2014-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 1/31/14, 1:47 PM, Caldarale, Charles R wrote: >> From: Sushil Prusty [mailto:sushil.pru...@gmail.com] Subject: Re: >> How to deploy class jar file without restart Apache tomcat 7.0.40 >> server(Linux OS) > >> If Apache-tomact have a featu

Re: How to deploy class jar file without restart Apache tomcat 7.0.40 server(Linux OS)

2014-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sushil, On 1/31/14, 1:48 PM, Sushil Prusty wrote: > Thanks for your valuable input.But all my application dependent on > each other and it's almost 10 year old java based enterprise > application. It's not an easy task me to split an application an

Re: How to deploy class jar file without restart Apache tomcat 7.0.40 server(Linux OS)

2014-01-31 Thread Sushil Prusty
Hi Chris Thanks for your valuable input.But all my application dependent on each other and it's almost 10 year old java based enterprise application. It's not an easy task me to split an application and put into multiple tomact instance. On Sat, Feb 1, 2014 at 12:12 AM, Christopher Schultz < c

RE: How to deploy class jar file without restart Apache tomcat 7.0.40 server(Linux OS)

2014-01-31 Thread Caldarale, Charles R
> From: Sushil Prusty [mailto:sushil.pru...@gmail.com] > Subject: Re: How to deploy class jar file without restart Apache tomcat > 7.0.40 server(Linux OS) > If Apache-tomact have a feature like war deployment which is not required > to stop and start the server same way in jar deployment it wi

Re: How to deploy class jar file without restart Apache tomcat 7.0.40 server(Linux OS)

2014-01-31 Thread Sushil Prusty
Hi Chuck Thanks, For you reply .Yes i agree tomcat server will be 1 to 2 second to startup,But Once i restart my server so many background task will happen and lot's of task dependent on Network stuff related. If Apache-tomact have a feature like war deployment which is not required to stop and

Re: How to deploy class jar file without restart Apache tomcat 7.0.40 server(Linux OS)

2014-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 1/31/14, 1:31 PM, Caldarale, Charles R wrote: >> From: Sushil Prusty [mailto:sushil.pru...@gmail.com] Subject: >> How to deploy class jar file without restart Apache tomcat >> 7.0.40 server(Linux OS) > >> We are running so many applicati

Re: Manager Doesn't Recognize context = "/"

2014-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 1/31/14, 12:01 PM, Jerry Malcolm wrote: > This has been a great education. Thanks again for all of the > info. Much clearer to me now. > > I've got most of my stuff converted in the sandbox and have it all > back up and running, this ti

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-31 Thread Mark Thomas
On 31/01/2014 11:52, Yann Simon wrote: > On Jan 31, 2014 10:25 AM, "Mark Thomas" wrote: >> >> On 31/01/2014 07:58, Yann Simon wrote: >> On Jan 30, 2014, at 11:18 AM, Yann Simon >> >>> Jetty seems to allow this. Why not tomcat? Is there something in the >>> specification about it. I could not

RE: How to deploy class jar file without restart Apache tomcat 7.0.40 server(Linux OS)

2014-01-31 Thread Caldarale, Charles R
> From: Sushil Prusty [mailto:sushil.pru...@gmail.com] > Subject: How to deploy class jar file without restart Apache tomcat 7.0.40 > server(Linux OS) > We are running so many application's in Apache tomcat 7.0.40 server. > Once i stop my server it will take more then an hour to startup. Tomca

How to deploy class jar file without restart Apache tomcat 7.0.40 server(Linux OS)

2014-01-31 Thread Sushil Prusty
We are running so many application's in Apache tomcat 7.0.40 server .Once i stop my server it will take more then an hour to startup. If i want to deploy a small changes of java file i need to wait more then an hour to server up. SO is there any with out stopping Apache tomcat server java changes

Re: Manager Doesn't Recognize context = "/"

2014-01-31 Thread Jerry Malcolm
This has been a great education. Thanks again for all of the info. Much clearer to me now. I've got most of my stuff converted in the sandbox and have it all back up and running, this time following the rules But strangely, the one remaining problem I have is with the Tomcat manager. I have

Re: Tomcat && SSL: two issues

2014-01-31 Thread Арсений Зинченко
Hi, Chris. So - 5.5 yes, very old - but we still use it. I hope - will update some day... > I can see that you have clientAuth="want"... what happens if the client declines to send a certificate? // if it's connection not to restricted area - Tomcat will open it, if to /some/page - will decline w

RE: Manager Doesn't Recognize context = "/"

2014-01-31 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Manager Doesn't Recognize context = "/" > Tomcat's position is that web applications are supposed to be > self-contained. To be clear: this is not Tomcat's position, it's a requirement of the servlet spec. Tomcat

Re: Manager Doesn't Recognize context = "/"

2014-01-31 Thread Mark Thomas
On 31/01/2014 15:16, Jerry Malcolm wrote: > Am I on the right track? I think what you have just described very clearly is the difference between how the J2EE architects envisioned WARs would work and the reality of how most Tomcat system admins work with WARs. Historically, there have been a lot

Re: Manager Doesn't Recognize context = "/"

2014-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 1/31/14, 10:16 AM, Jerry Malcolm wrote: > I think my biggest philosophy change is the WAR scope. I've > always been under the impression that a WAR file was totally > generic and had no site-unique data. In other words, you bought a > WA

Re: Tomcat && SSL: two issues

2014-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Арсений, On 1/31/14, 5:15 AM, Арсений Зинченко wrote: > We have Tomcat with two factor authentication when access to > /some/pagerequested. > > Auth configured with JDBCRealm & Oracle database: > > driverName="oracle.jdbc.driver.OracleDriver" ..

Re: Manager Doesn't Recognize context = "/"

2014-01-31 Thread Jerry Malcolm
Thanks for the continuing info... I've been working with the java servlet stuff since early 2000. But knowing how to make it work vs. knowing the 'correct, intended' design philosophy have often been two different things. I know it'll be better in the long run learning the correct philosophy. Ju

Re: Manager Doesn't Recognize context = "/"

2014-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 1/30/14, 9:39 PM, Jerry Malcolm wrote: > I now understand that TC will take all folders it finds in the > appBase folder and deploy them, assuming they are all webapps. I'm > assuming from what you said that the default path for each weba

Re: Manager Doesn't Recognize context = "/"

2014-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 1/30/14, 9:39 PM, Jerry Malcolm wrote: > Thanks so much for the info and ongoing education. I think I'm > getting there. But please bear with me. I'm still trying to get > a handle on how this all works and what the best practices are.

Re: Configuration of Default Servlet for a single Container?

2014-01-31 Thread Brian Burch
On 31/01/14 12:48, Mark Thomas wrote: On 31/01/2014 12:42, Brian Burch wrote: Have I overlooked a configuration trick that would allow me to use the webapp without a symlink, but still have the Default Servlet access external static content as if it were internal? http://tomcat.apache.org/tom

Re: Configuration of Default Servlet for a single Container?

2014-01-31 Thread Mark Thomas
On 31/01/2014 12:42, Brian Burch wrote: > Have I overlooked a configuration trick that would allow me to use the > webapp without a symlink, but still have the Default Servlet access > external static content as if it were internal? http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Comm

Configuration of Default Servlet for a single Container?

2014-01-31 Thread Brian Burch
I'm running Tomcat 7.0.42 under OpenJDK 7 on ubuntu linux 13.10, but I don't think this information is particularly relevant to my question. I currently have a servlet that relies on the standard Default Servlet to handle its static content. Specifically, the webapp is apache jspwiki and my co

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-31 Thread Yann Simon
On Jan 31, 2014 10:25 AM, "Mark Thomas" wrote: > > On 31/01/2014 07:58, Yann Simon wrote: > On Jan 30, 2014, at 11:18 AM, Yann Simon > > > Jetty seems to allow this. Why not tomcat? Is there something in the > > specification about it. I could not find anything explicit. > > It could simply

Re: Versioned WAR Application

2014-01-31 Thread André Warnier
Ganeshh HariHaran wrote: Hi, Is there a place where we get a Java application real time with some dummy data, essentially that application should connect to various J2EE conponents like JDBC, JMS, SOAP etc I am not looking at the sample app comes with tomcat. You mean like this ? http://l

Versioned WAR Application

2014-01-31 Thread Ganeshh HariHaran
Hi, Is there a place where we get a Java application real time with some dummy data, essentially that application should connect to various J2EE conponents like JDBC, JMS, SOAP etc I am not looking at the sample app comes with tomcat.   Best Regards, G "It

Tomcat && SSL: two issues

2014-01-31 Thread Арсений Зинченко
Hi, people. We have Tomcat with two factor authentication when access to /some/pagerequested. Auth configured with JDBCRealm & Oracle database: Auth requring via web.xml: ^M ^M *^M /some/*^M ^M ^M cert^M ^M ^M CONFIDENTIAL^M ^M ^M ^M

application loggers not visible in jconsole

2014-01-31 Thread Ja kub
changing logging level in logging properties works fine, but my custom logger is not visible in jconsole under java.util.logging -> loggerNames, I can't change logging level dynamically by jconsole I add into logging properties test.logging.LoggingTest .level = FINE and it successfully changes log

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-31 Thread Mark Thomas
On 31/01/2014 07:58, Yann Simon wrote: On Jan 30, 2014, at 11:18 AM, Yann Simon > I wrote a sample app to demonstrate the problem: > https://github.com/yanns/servlet31_async Thanks for the sample. That always makes looking at these things a lot easier. > Maybe it is too simplified