Allow Servlet to Control "100-continue" response

2011-06-17 Thread Rehtron
Hi Currently if a client supplies the "Expect: 100-continue" header on a POST or PUT, Tomcat appears to send the response header ("100-continue") before passing control to the servlet. I need to use the servlet to control this response and accept/reject the request before receiving the request c

RE: Tomcat 7 Embedded: Manager

2011-06-17 Thread Caldarale, Charles R
> From: Dark Before Dawn [mailto:dark.before.d...@gmail.com] > Subject: Re: Tomcat 7 Embedded: Manager > Where can i find the unit test examples? > I browsed the src distribution but couldn't find any > examples (I think I am blind :) Quite possibly, since they're cunningly hidden in a directo

Re: Tomcat 7 Embedded: Manager

2011-06-17 Thread Dark Before Dawn
Hi Mark, thanks for your fast reply. Where can i find the unit test examples? I browsed the src distribution but couldn't find any examples (I think I am blind :) Cheers Darky Am 17.06.2011 23:14, schrieb Mark Thomas: On 17/06/2011 21:14, Dark Before Dawn wrote: Hi guys, I am trying to depl

Re: Tomcat 7 Embedded with multiple IP addresses and connector types?

2011-06-17 Thread Mark Thomas
On 17/06/2011 21:38, djohn...@desknetinc.com wrote: > I'm just starting to work with the new Tomcat class in Tomcat7, but > immediately ran into an apparent limitation of only having a single port. > What options exist for those who need to embed Tomcat 7, but also > configure multiple ports, IP

Re: Tomcat 7 Embedded: Manager

2011-06-17 Thread Mark Thomas
On 17/06/2011 21:14, Dark Before Dawn wrote: > Hi guys, > I am trying to deploy a WAR-File programmaticaly via ANT or manually. > Therefore I would like to have a Manager Servlet which supports > deploying/undeploying. > > My first try was something like this: > > Context ctx = server.ad

Tomcat 7 Embedded with multiple IP addresses and connector types?

2011-06-17 Thread DJohnson
I'm just starting to work with the new Tomcat class in Tomcat7, but immediately ran into an apparent limitation of only having a single port. What options exist for those who need to embed Tomcat 7, but also configure multiple ports, IP addresses and connector types (HTTP and/or AJP)?

Tomcat 7 Embedded: Manager

2011-06-17 Thread Dark Before Dawn
Hi guys, I am trying to deploy a WAR-File programmaticaly via ANT or manually. Therefore I would like to have a Manager Servlet which supports deploying/undeploying. My first try was something like this: Context ctx = server.addContext("/manager", baseDirectory); HTMLManager

Re: [ANN] Apache Tomcat 7.0.16 released

2011-06-17 Thread Mark Thomas
On 17/06/2011 18:52, Jesse Farinacci wrote: > Greetings, > > On Fri, Jun 17, 2011 at 8:32 AM, Mark Thomas wrote: >> The Apache Tomcat team announces the immediate availability of Apache >> Tomcat 7.0.16. > > Congratulations! And, thanks to the team for great work. Would someone > please push the

Re: [ANN] Apache Tomcat 7.0.16 released

2011-06-17 Thread Jesse Farinacci
Greetings, On Fri, Jun 17, 2011 at 8:32 AM, Mark Thomas wrote: > The Apache Tomcat team announces the immediate availability of Apache > Tomcat 7.0.16. Congratulations! And, thanks to the team for great work. Would someone please push the new release to Maven? Thanks, -Jesse -- There are 10 t

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-17 Thread Martin Dubuc
I have done some more analysis of the problem and the exception started to be thrown in version 7.0.11. Something changed between 7.0.10 and 7.0.11 that affected handling of CRL for SunX509 algorithm. In version 7.0.10, although the code in JSSESocketFactory.java to throw the exception is the same

check uiseHttpOnly programmatically

2011-06-17 Thread Michael Heinen
Hi, is there any way to check programmatically in a Servlet whether the context attribute "useHttpOnly" is set for cookies? Thanks, Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional command

[ANN] Apache Tomcat 7.0.16 released

2011-06-17 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 7.0.16. Apache Tomcat 7.0.16 includes bug fixes and the following new features compared to version 7.0.14: - NIO implementation of the AJP connector - Enable Servlet 3 asynchronous processing support when using clustering

Re: error in clustering: NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength

2011-06-17 Thread Konstantin Kolinko
2011/6/17 Ronald Klop : > Regarding 'wine'. (...) > Darn, I look closer now and see the 'unless="skip.installer"' in dist.xml. Wine is required to build the exe installer. This step can be turned off, as you have found. > Thanks, I'm very close to debugging Tomcat myself. Is it easy to edit Tomca

Re: error in clustering: NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength

2011-06-17 Thread Ronald Klop
Op donderdag, 16 juni 2011 18:55 schreef Christopher Schultz : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 6/16/2011 11:40 AM, Ronald Klop wrote: > I created a release package. First had to find a computer with Windows, > because it needs wine (I didn't want to le

Re: Tomcat 6.0 Clustering and non-sticky session loadbalancer

2011-06-17 Thread Reinwald Warapen
You may want to go through this if you want an alternative to store/share sessions: http://www.reinwaldwarapen.com/2011/01/storing-and-sharing-sessions-among.html On 6/17/2011 2:12 PM, Pontus wrote: Hello, The Tomcat 6.0 Clustering/Session Replication HOW-TO states "Make sure that your loadba

Re: Tomcat 6.0 Clustering and non-sticky session loadbalancer

2011-06-17 Thread Mark Thomas
On 17/06/2011 09:42, Pontus wrote: > Hello, > > The Tomcat 6.0 Clustering/Session Replication HOW-TO states "Make sure > that your loadbalancer is configured for sticky session mode". > > However if I configure my Tomcat cluster to have session replication, why > would sticky sessions be required

Tomcat 6.0 Clustering and non-sticky session loadbalancer

2011-06-17 Thread Pontus
Hello, The Tomcat 6.0 Clustering/Session Replication HOW-TO states "Make sure that your loadbalancer is configured for sticky session mode". However if I configure my Tomcat cluster to have session replication, why would sticky sessions be required ? I can see cases where sticky sessions are for

Java VM 1.6.0_26 crashes Tomcat 6.0.32 when HTTP compression set to on

2011-06-17 Thread André Brunnsberg
We are running the 64-bit version of Java VM 1.6_06 together with Apache Tomcat 6.0.32 on a 64-bit Windows Server 2003. After we installed the latest security updates this Wednesday to Windows the Java VM running Tomcat started to crash (it has now happened three times. After some investigation it