tomcat 5.5, getSession() returns null

2010-09-20 Thread Roman Makurin
Hi all! We have clustering setup with 2 tomcat 5.5 instances, and in some cases(eg when clients browser disable cookies support) behaviour of request.getSession() is really strange. According to api documentation this call should always return session object but it return null. All URLs r

RE: [OT] Tomcat on Linux

2010-09-20 Thread Tommy Pham
Thanks everyone for your input. I was hoping to get a better understanding of the differences between the flavors of Linux and how well and easy for me to run Tomcat. I guess I'll have to spend more time on various flavors. Thanks again, Tommy

Re: [OT] Tomcat on Linux

2010-09-20 Thread Wesley Acheson
Tommy, Most linux's will automatically install tomcat for you. I advise against fedora/red hat as the selinux part is difficult to configure. However it may add some security if you want it. Okay if you need help chosing a linux for tomcat, you should consider the following questions. Would you

Re: [OT] Tomcat on Linux

2010-09-20 Thread André Warnier
Tommy Pham wrote: Thanks everyone for your input. I was hoping to get a better understanding of the differences between the flavors of Linux and how well and easy for me to run Tomcat. I guess I'll have to spend more time on various flavors. I don't know if the point came across clearly :

Is there any way I could share a session b/w Jsp(Tomcat) php(apache)??!

2010-09-20 Thread mani2604
Well I do have a UMN mapserver php app which runs on apache we do have sessions to store latitudes longitudes to perform queries... Now the thing it somehow need to be integrated with Tomcat so that the client inputs the lat long in the jsp page and I need to retrieve them in my php

Re: [OT] Tomcat on Linux

2010-09-20 Thread Peter Crowther
On 20 September 2010 09:51, Tommy Pham tommy...@gmail.com wrote: Thanks everyone for your input. I was hoping to get a better understanding of the differences between the flavors of Linux and how well and easy for me to run Tomcat. I guess I'll have to spend more time on various flavors.

Re: Is there any way I could share a session b/w Jsp(Tomcat) php(apache)??!

2010-09-20 Thread Pid
On 20/09/2010 11:51, mani2604 wrote: Well I do have a UMN mapserver php app which runs on apache we do have sessions to store latitudes longitudes to perform queries... Now the thing it somehow need to be integrated with Tomcat so that the client inputs the lat long in the jsp page and I

Re: Is there any way I could share a session b/w Jsp(Tomcat) php(apache)??!

2010-09-20 Thread Hassan Schroeder
On Mon, Sep 20, 2010 at 3:51 AM, mani2604 mani2...@gmail.com wrote: Well I do have a UMN mapserver php app which runs on apache   we do have sessions to store latitudes longitudes to perform queries... Now the thing it somehow need to be integrated with Tomcat so that the client inputs the

Howto: call a Servlet from another Servlet (Example)?!

2010-09-20 Thread Michael Stockhausen
Hello, I have create two Servlets (LoginServlet UserListServlet). I'm using a JSP for the User credentials. When you press the login-button, the LoginServlet is called. I would like to call the UserListServlet, when the username and password are correct. How can I call UserListServle from the

Re: Howto: call a Servlet from another Servlet (Example)?!

2010-09-20 Thread Laurence L Leff
- Original Message - From: Michael Stockhausen prof.dr.moe...@googlemail.com I have create two Servlets (LoginServlet UserListServlet). I'm using a JSP for the User credentials. When you press the login-button, the LoginServlet is called. I would like to call the UserListServlet, when

Re: Howto: call a Servlet from another Servlet (Example)?!

2010-09-20 Thread Ronald Klop
You can use the RequestDispatcher. RequestDispatcher dispatcher = request.getRequestDispatcher(/userlist); dispatcher.forward(request, response); Google gives you a lot of examples. Ronald. Op maandag, 20 september 2010 16:47 schreef Michael Stockhausen prof.dr.moe...@googlemail.com:

SAML 2.0 support ?

2010-09-20 Thread Lavabit
Hi, I try to find out how good SAML support in Tomcat is. I would like to know if any of you has ever succesfully tested JBoss against a certified SAML 2.0 Identity Provider ? Thank you very much. Pierre - To unsubscribe,

Re: Tomcat start error java.lang.reflect.InvocationTargetException

2010-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rashed, On 9/18/2010 6:47 AM, hellian wrote: Thanks..you missed the caused by part, it's in the message I posted. Anyway have a look on it given below: Caused by: java.lang.AbstractMethodError at

Re: tomcat 5.5, getSession() returns null

2010-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roman, On 9/20/2010 3:27 AM, Roman Makurin wrote: We have clustering setup with 2 tomcat 5.5 instances, What exact version of Tomcat 5.5? Please post your clustering configuration, including relevant information from web.xml. Specifically, are you

Re: Is there any way I could share a session b/w Jsp(Tomcat) php(apache)??!

2010-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mani, On 9/20/2010 6:51 AM, mani2604 wrote: Well I do have a UMN mapserver php app which runs on apache we do have sessions to store latitudes longitudes to perform queries... Now the thing it somehow need to be integrated with Tomcat so that

Re: Howto: call a Servlet from another Servlet (Example)?!

2010-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 9/20/2010 11:07 AM, Ronald Klop wrote: You can use the RequestDispatcher. RequestDispatcher dispatcher = request.getRequestDispatcher(/userlist); dispatcher.forward(request, response); Of course, you can also issue a redirect to the

RE: Howto: call a Servlet from another Servlet (Example)?!

2010-09-20 Thread Leo Donahue - PLANDEVX
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Howto: call a Servlet from another Servlet (Example)?! -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 9/20/2010 11:07 AM, Ronald Klop wrote: You can use the RequestDispatcher.

HttpServletRequest.getParameter and PUT requests

2010-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, After reading a post on the cocoon-user mailing list (http://markmail.org/message/wzsgt4trlvztt6cr), I was reminded of our own discussion a few months back on this subject (http://markmail.org/message/dxgvu6fhcvp22xbo). I have decided to file

Re: Howto: call a Servlet from another Servlet (Example)?!

2010-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, On 9/20/2010 12:55 PM, Leo Donahue - PLANDEVX wrote: I thought that if you were making a request to a UserListServlet and it was restricted to authentication, assuming you use Form Authentication and structure your login form correctly, you

Compiling Tomcat 6.0.x trunk

2010-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I just got the most recent trunk for 6.0.x and I'm having trouble compiling it. First, I just tried ant compile and I got this message: BUILD FAILED /home/.../apache-tomcat-6.0.x/trunk/build.xml:149: destination directory

RE: Howto: call a Servlet from another Servlet (Example)?!

2010-09-20 Thread Leo Donahue - PLANDEVX
Chris, -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Howto: call a Servlet from another Servlet (Example)?! -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - From my reading, the OP is doing his own authentication rather than using

RE: Compiling Tomcat 6.0.x trunk

2010-09-20 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Compiling Tomcat 6.0.x trunk I just got the most recent trunk for 6.0.x and I'm having trouble compiling it. No problems here, using Tortoise SVN, 6.0-trunk, JDK 6u21, ant 1.8.1, on Vista 64. Following the

Re: Compiling Tomcat 6.0.x trunk

2010-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 9/20/2010 3:13 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Compiling Tomcat 6.0.x trunk I just got the most recent trunk for 6.0.x and I'm having trouble compiling it.

Re: Howto: call a Servlet from another Servlet (Example)?!

2010-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, On 9/20/2010 3:05 PM, Leo Donahue - PLANDEVX wrote: Chris, -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Howto: call a Servlet from another Servlet (Example)?! - From my reading,

RE: Compiling Tomcat 6.0.x trunk

2010-09-20 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Compiling Tomcat 6.0.x trunk I'm on Linux, and it appears that base.path defaults to this: base.path=/usr/share/java As it does on Windows. I already had a C:\usr\share\java, probably from previous builds, so I

Re: [OT] Tomcat on Linux

2010-09-20 Thread Pid
On 20/09/2010 10:10, Wesley Acheson wrote: Tommy, Most linux's will automatically install tomcat for you. In the form of the not-very-popular-on-the-tomcat-users-list repackaged version. Okay if you need help chosing a linux for tomcat, you should consider the following questions. Would

RE: Compiling Tomcat 6.0.x trunk

2010-09-20 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Compiling Tomcat 6.0.x trunk I'll start over with a clean system and see what happens. Just tried it again after removing the C:\usr directory, and everything (ant download, ant) worked as it should. I seem to recall that Tomcat 7 now requires ant

Re: SAML 2.0 support ?

2010-09-20 Thread Pid
On 20/09/2010 16:08, Lavabit wrote: Hi, I try to find out how good SAML support in Tomcat is. What SAML support? I would like to know if any of you has ever succesfully tested JBoss against a certified SAML 2.0 Identity Provider ? Probably the wrong list for that question, to be honest...

Re: Howto: call a Servlet from another Servlet (Example)?!

2010-09-20 Thread Pid
On 20/09/2010 16:00, Laurence L Leff wrote: - Original Message - From: Michael Stockhausen prof.dr.moe...@googlemail.com I have create two Servlets (LoginServlet UserListServlet). I'm using a JSP for the User credentials. When you press the login-button, the LoginServlet is

Re: Compiling Tomcat 6.0.x trunk

2010-09-20 Thread Mark Eggers
I just compiled Tomcat 7 trunk on linux (Fedora 13, 1.6.0_21, 32-bit) with ant 1.7.1 with no problems. . . . just my two cents. /mde/ - Original Message From: Caldarale, Charles R chuck.caldar...@unisys.com I seem to recall that Tomcat 7 now requires ant 1.8; I wonder if the 6.0

Re: [OT] Tomcat on Linux

2010-09-20 Thread Wesley Acheson
I thought that was the information he was looking for. No other reason for sending it. On Mon, Sep 20, 2010 at 10:14 PM, Pid p...@pidster.com wrote: On 20/09/2010 10:10, Wesley Acheson wrote: Tommy, Most linux's will automatically install tomcat for you. In the form of the

RE: Howto: call a Servlet from another Servlet (Example)?!

2010-09-20 Thread George Sexton
-Original Message- From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Sent: Monday, September 20, 2010 10:56 AM To: 'Tomcat Users List' Subject: RE: Howto: call a Servlet from another Servlet (Example)?! -Original Message- From: Christopher Schultz

Re: HttpServletRequest.getParameter and PUT requests

2010-09-20 Thread Wesley Acheson
On Mon, Sep 20, 2010 at 7:54 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, After reading a post on the cocoon-user mailing list (http://markmail.org/message/wzsgt4trlvztt6cr), I was reminded of our own discussion a few months

Re: Connect the same Database from two different web application

2010-09-20 Thread Wesley Acheson
On Sat, Sep 18, 2010 at 1:17 PM, Rahul Deb Mohan ra...@zaloni.com wrote: Hello Everyone, I am using Hibernate to connect to my MySql Database using C3p0 connection pooling mechanism from my web application which is deployed in Tomcat. Eventually, now I need to develop a child application,

Re: Compiling Tomcat 6.0.x trunk

2010-09-20 Thread Mark Thomas
On 20/09/2010 14:37, Mark Eggers wrote: I just compiled Tomcat 7 trunk on linux (Fedora 13, 1.6.0_21, 32-bit) with ant 1.7.1 with no problems. . . . just my two cents. I assume Ant is ignoring the 1.8.x features used in the build script in that case. Mark

Re: Connect the same Database from two different web application

2010-09-20 Thread Jorge Medina
I had a slightly similar problem using Oracle data sources with Oracle connection caching. In this case, I had defined my connection settings via JNDI in context.xml. (therefore they were common for both web apps) Since the classes were loaded by Tomcat and not by my webapps, a datasource was

Re: HttpServletRequest.getParameter and PUT requests

2010-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wesley, On 9/20/2010 6:23 PM, Wesley Acheson wrote: On Mon, Sep 20, 2010 at 7:54 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, After reading a post on the cocoon-user mailing

Re: Compiling Tomcat 6.0.x trunk

2010-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 9/20/2010 4:29 PM, Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Compiling Tomcat 6.0.x trunk I'll start over with a clean system and see what happens. Just tried it again after removing the C:\usr directory,

RE: Compiling Tomcat 6.0.x trunk

2010-09-20 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Compiling Tomcat 6.0.x trunk I suspect you are an administrator on your box, so writing files to C:\usr\share\java shouldn't be a problem :) There's nothing special about C:\usr - it's not a Windows-created

How to setup PHP on Tomcat

2010-09-20 Thread Brajesh Patel
Hello All, How to setup PHP on Tomcat. Thanks in Advance. -- Thanks Brajesh Patel

RE: How to setup PHP on Tomcat

2010-09-20 Thread Karthik Nanjangude
Hi One option is as per URL http://php-java-bridge.sourceforge.net/ With regards karthik -Original Message- From: Brajesh Patel [mailto:brajeshpate...@gmail.com] Sent: Tuesday, September 21, 2010 10:54 AM To: users@tomcat.apache.org Subject: How to setup PHP on Tomcat Hello All, How

Re: SAML 2.0 support ?

2010-09-20 Thread Lavabit
Thank you for your answer. le Mon, 20 Sep 2010 21:45:16 +0100 Pid p...@pidster.com a écrit : What SAML support? SSO, SLO, Federation, Defederation. I would like to know if any of you has ever succesfully tested JBoss against a certified SAML 2.0 Identity Provider ? Probably the wrong