How to hookup Servlet 3.0 Authentication to realm? (request.login)?

2011-02-07 Thread Michael McCutcheon
Hello, I'm attempting to setup my web app to authenticate via the new Servlet 3.0 HttpServletRequest.login method. I have a JDBC realm set up in the context.xml in Netbeans 7. Now I'd like to use the request.login method to authenticate against that realm. The problem I'm having is that I

Re: Facing a problem when reading cookies having a colon in the value (Tomcat 6.0.32)

2011-02-07 Thread Reinwald Warapen
Any suggestion here ? On 2/7/2011 10:58 PM, Reinwald Warapen wrote: Hey, I am using Tomcat 6.0.32 and im facing a problem when reading cookies having a colon in the value. // start snippet Cookie test=new Cookie("TESTING","http://test:8081";); response.addCookie(test); //end s

Re: Tomcat 5.5.33 soon?

2011-02-07 Thread David Rees
On Mon, Feb 7, 2011 at 12:56 PM, Jim Jagielski wrote: > A test tarball was just announced to the development list > for voting and approval... Thanks - I guess I was not patient enough. :-) -Dave - To unsubscribe, e-mail: users

Re: Tomcat 5.5.33 soon?

2011-02-07 Thread Jim Jagielski
A test tarball was just announced to the development list for voting and approval... On Feb 7, 2011, at 3:03 PM, David Rees wrote: > I saw that there is a security bug[1] announced last Friday that > affects all versions of Tomcat including the latest released version > of Tomcat 5.5.32, but that

Tomcat 5.5.33 soon?

2011-02-07 Thread David Rees
I saw that there is a security bug[1] announced last Friday that affects all versions of Tomcat including the latest released version of Tomcat 5.5.32, but that 5.5.33 is expected today the 7th. However, not seeing any activity on the list regarding 5.5.33 is it really going to happen today or wil

Re: how to refresh connection pool before it gets completely busy

2011-02-07 Thread Filip Hanik - Dev Lists
What do you mean by "refresh"? best Filip On 2/1/2011 11:53 PM, Rhonny David wrote: Dear All, We are facing connection pool busy problem in tomcat 6.0.29. Till we finalize our investigation, we need connection pool to be refreshed before all connections get busy. Say for example if we have con

Facing a problem when reading cookies having a colon in the value (Tomcat 6.0.32)

2011-02-07 Thread Reinwald Warapen
Hey, I am using Tomcat 6.0.32 and im facing a problem when reading cookies having a colon in the value. // start snippet Cookie test=new Cookie("TESTING","http://test:8081";); response.addCookie(test); //end snippet Now during the next request when I try reading the cookie valu

Re: Tomcat7 - Firefox - SWF Upload

2011-02-07 Thread Mark Thomas
On 07/02/2011 14:13, Gabriele Bulfon wrote: > Thanks, > I have only this inf conf: conf/Catalina/localhost > and it's empty. > What is this? That is fine. It is the location optionally copies context.xml files to but Tomcat 7.0.x does not do this by default. What is in conf/context.xml? What is i

Re: Tomcat7 - Firefox - SWF Upload

2011-02-07 Thread Gabriele Bulfon
Thanks, I have only this inf conf: conf/Catalina/localhost and it's empty. What is this? Gabriele. -- Da: Pid A: Tomcat Users List Data: 7 febbraio 2011 15.13.26 CET Oggetto: Re: Tomcat7 - Firefox - SWF Upload On 07/02/

Re: Tomcat7 - Firefox - SWF Upload

2011-02-07 Thread Pid
On 07/02/2011 12:37, Gabriele Bulfon wrote: > Sorry, I thought it was an already known issue. > I'm using SWFUpload, a mix of javascript/flash that enables multiple > files to be uploaded > with multiselection. It uses JSESSIONID to mantain session. > > I have read these two links about the proble

Re: Does tomcat use some kind of virtualization technology or sharing/mounting network filesystem?

2011-02-07 Thread David Smith
Tomcat doesn't do anything that would cause that behavior. It's disk writing is mostly limited to just writing log files, expanding .war files and compiling jsp files. Ubuntu has a tool called "Disk Usage Analyzer" which should be able to help you sort out what's going on with your system. --Dav

Re: Tomcat7 - Firefox - SWF Upload

2011-02-07 Thread Gabriele Bulfon
Sorry, I thought it was an already known issue. I'm using SWFUpload, a mix of javascript/flash that enables multiple files to be uploaded with multiselection. It uses JSESSIONID to mantain session. I have read these two links about the problem: http://forums.alfresco.com/en/viewtopic.php?f=11&t;34

Re: Tomcat7 - Firefox - SWF Upload

2011-02-07 Thread Pid
On 07/02/2011 11:26, Gabriele Bulfon wrote: > Hi, I've been running a web app under Tomcat6 for ages, where swf upload > worked. > Once switching to Tomcat7, swf upload stopped working only on firefox. > Googling around I see some posts about a change on JSESSIONID wich may > cause the swf upload >

Multiple web services on same tomcat instance

2011-02-07 Thread Tiago Batista
Hello all During development, I need to run two web services that chat amongst themselves on the development server. I think I am hitting the issue mentioned on [1], however I could not find any further information on the subject. I have tried both SOAP 1.1 and SOAP 1.2 with no success... Any on

Re: Does tomcat use some kind of virtualization technology or sharing/mounting network filesystem?

2011-02-07 Thread Pid
On 07/02/2011 10:19, Astghik Mkrtchyan wrote: > Does tomcat use some kind of virtualization technology or sharing/mounting > network filesystem? Or what kind of reason can be for such behavior and how > to fix? No it doesn't. p signature.asc Description: OpenPGP digital signature

Tomcat7 - Firefox - SWF Upload

2011-02-07 Thread Gabriele Bulfon
Hi, I've been running a web app under Tomcat6 for ages, where swf upload worked. Once switching to Tomcat7, swf upload stopped working only on firefox. Googling around I see some posts about a change on JSESSIONID wich may cause the swf upload funcionality to stop working on firefox. Is there any

Re: dbcp with embedded tomcat7

2011-02-07 Thread Konstantin Kolinko
2011/2/7 Holger Veltrup : >  InitialContext ic = new InitialContext(); In short: 1) InitialContext depends on classloader: the context you created here and the one that your webapp will create with "new InitialContext()" are different. 2) Usually binding a pool after tomcat.start() will be too la

Does tomcat use some kind of virtualization technology or sharing/mounting network filesystem?

2011-02-07 Thread Astghik Mkrtchyan
Hi All! On Ubuntu 10.04 (65 bit, Desktop) I've set up Tomcat 6.0.26. No additional and unnecessary applications are running on that OS. Maybe only mail server is a little bit heavy. On Tomcat I'm running only one application which is actually search engine(I use Compass framework), indexed pages

dbcp with embedded tomcat7

2011-02-07 Thread Holger Veltrup
Hey, how can i use dbcp with embedded tomcat7 this example doesn't work: public static void main(String[] args) throws Exception { String appBase = args[0]; Integer port = Integer.valueOf(args[1]); Tomcat tomcat = new Tomcat(); tomcat.setPort(port); tomcat.setBaseDir("."); tomcat