Re: processing precedence for mod_jk config?

2009-08-26 Thread Chris Cheshire
The reason why I have the mount directives so open is because I am using Stripes with no prefix or suffix mappings on the actions (servlets). JSPs are handled internally (every page is served via an action), so the urls don't have a specific pattern (/servlet, /action, .do, etc) that can be

Re: mod_jk and jsessionid issue

2009-08-26 Thread lmk
Hi all, thanks for resoonses; - the problem occurs for the login page, but, Im not using a special authentication system anymore, only a web apps authentication. - Im using Jkmount /context/* , JKmount /context, in order to enable the tomcat welcome page. - I think the cause for the problem is

Re: Idea to simplify deployments

2009-08-26 Thread Sebastian Hennebrueder
Christopher Schultz schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sebastian, On 8/25/2009 2:20 PM, Sebastian Hennebrueder wrote: My proposal is to just allow adding a simple text file into the lib folder of WAR or EAR archives instead of adding jar files. This file describes which

Re: mod_jk and jsessionid issue

2009-08-26 Thread lmk
It works using JkStripSession directive. thanks a lot. -- View this message in context: http://www.nabble.com/mod_jk-and--jsessionid-issue-tp25006051p25149435.html Sent from the Tomcat - User mailing list archive at Nabble.com.

How to configure ../logs/catalina.out of tomcat 6.0.14 for per-app (Configure web-app specific log file for sys.out, sys.err )

2009-08-26 Thread bihag
Hi All, We are using RHEL-5, Tomcat 6.0.14. We want to configure our log file for web-app specific sys.out, sys.err messages which are currently coming in catalina.out. please provide some sample to show how/where to configure so we got web-app specific log for stdout. Any Help will be

EL - access to nonexisting property, but no error ?

2009-08-26 Thread David Balažic
versions: Tomcat 5.5.28, Java 1.6.0_15 and Windows XP Pro SP3 Hi! Can someone explain why does an EL like ${someListobject.a} NOT give an error ? someListobject is an attribute of type java.util.List a is not a property of java.util.List, so according to Servlet 2.4 specs (page I-68), it should

RE: EL - access to nonexisting property, but no error ?

2009-08-26 Thread Martin Gainty
not when isELIgnored=true %@ page isELIgnored =true % http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html is this the case for your page? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese

Re: EL - access to nonexisting property, but no error ?

2009-08-26 Thread Tim Funk
Put this in a JSP all by itself - you should get an error (or at least - I did): %request.setAttribute(aList, new java.util.ArrayList());% ${aList.a} Not sure why yours did not produce an erro - a more complete snippet would be needed. -Tim David Balažic wrote: versions: Tomcat 5.5.28,

RE: SSL with multiple Tomcat instances

2009-08-26 Thread Don Prezioso
Sal, Thanks again. When I connect using port 8443 or 443, or using the FQDN or the IP address, I get the same response from the s_client request. The reason I am using port 8443 is so I don't have to have root running the tomcat instance. My understanding was that you had to be root to

Re: Db connection issue due to firewall

2009-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chandra, On 8/25/2009 11:56 PM, chandra ganta wrote: We use a db datasource for one of our applications. The issue is that there is a firewall between tomcat server 5.5 db server (ORACLE 9i), that cuts pool connections after 1 hour of ideal time.

Re: tomcat-users.xml on Tomcat6

2009-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zaki, On 8/25/2009 10:55 PM, Zaki Akhmad wrote: On Tue, Aug 25, 2009 at 2:28 PM, André Warniera...@ice-sa.com wrote: That does not look like a login error, it looks like a server error. What does the Tomcat log say ? Here's the log:

Re: processing precedence for mod_jk config?

2009-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 8/26/2009 3:08 AM, Chris Cheshire wrote: The reason why I have the mount directives so open is because I am using Stripes with no prefix or suffix mappings on the actions (servlets). Gotcha. As for the differences in configuration

Re: How to configure ../logs/catalina.out of tomcat 6.0.14 for per-app (Configure web-app specific log file for sys.out, sys.err )

2009-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bihag, On 8/26/2009 5:53 AM, bihag wrote: We are using RHEL-5, Tomcat 6.0.14. I am using log4j in all of my webapp. We want to configure our log file for web-app specific sys.out, sys.err messages which are currently coming in catalina.out.

Re: EL - access to nonexisting property, but no error ?

2009-08-26 Thread David Balažic
Martin, I have no isELIgnored=true But I figured it out. I had an object (bean), that had a property/method : List getMyList() Then I used an EL: ${theBean.myList.a} This would cause an error , except if getMyList() returns null! Then it is a null.something EL, which gives no error. Thanks for

Re: slight problem with Tomcat and Httpd working together.

2009-08-26 Thread Josh Gooding
Chuck, On this: each of those has their own context.xml defined in the META-INF directory of the project. And those will be ignored, since you have them in server.xml. Something that I am not understanding. If the context.xml files are truly ignored how can each of the companies be able to

Re: slight problem with Tomcat and Httpd working together.

2009-08-26 Thread Josh Gooding
Wait a sec. The only Context element I have defined in my server.xml file is here: Engine name=Catalina defaultHost=localhost Host name=localhost appBase=d:/webapps/ unpackWARs=true autoDeploy=false xmlValidation=false

Re: Problem closing datasource when used as JNDI resource

2009-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohammed, On 8/26/2009 12:01 AM, Mohammed Bin Mahmood wrote: Yes, that is a listener for the context, where as I am using a listener for a server. Why are you using a listener for the server... it seems much more appropriate to use a context

RE: Multiple data centers and redundency?

2009-08-26 Thread George Sexton
-Original Message- From: Andre-John Mas [mailto:aj...@sympatico.ca] Sent: Tuesday, August 25, 2009 6:30 PM To: Tomcat Users List Subject: Multiple data centers and redundency? Hi, I have been asked to look into a solution that would involve a few different data centres each

Re: slight problem with Tomcat and Httpd working together.

2009-08-26 Thread Josh Gooding
You know Chuck, it would probably work if I put Auto-deploy to true instead of false. (tried and it works). On Wed, Aug 26, 2009 at 10:32 AM, Josh Gooding josh.good...@gmail.comwrote: Wait a sec. The only Context element I have defined in my server.xml file is here: Engine

Re: wrong jspInit handling

2009-08-26 Thread Mark Thomas
Stefano Nichele wrote: You are right, sorry. Apache Tomcat 6.0.13 jdk1.6.0_10 Windows XP SP3 but I was able to reproduce it with: Apache Tomcat 6.0.13 jdk1.6.0_07 CentOS release 5.2 Cheers, ste Looks like https://issues.apache.org/bugzilla/show_bug.cgi?id=41606 Try 6.0.20 Mark

Re: Db connection issue due to firewall

2009-08-26 Thread Mark Thomas
Christopher Schultz wrote: Chandra, On 8/25/2009 11:56 PM, chandra ganta wrote: We use a db datasource for one of our applications. The issue is that there is a firewall between tomcat server 5.5 db server (ORACLE 9i), that cuts pool connections after 1 hour of ideal time. We've tried

RE: Multiple data centers and redundency?

2009-08-26 Thread Jeffrey Janner
George - This is why I hate statistics. You can make them say anything. Wouldn't the better calculation be based on the average number of currently active sessions at one data center, since when it goes down, that is the number of users which will be affected. The calculation should also

RE: Multiple data centers and redundency?

2009-08-26 Thread George Sexton
-Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Wednesday, August 26, 2009 12:53 PM To: Tomcat Users List Subject: RE: Multiple data centers and redundency? George - This is why I hate statistics. You can make them say anything. Wouldn't the

Re: Db connection issue due to firewall

2009-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/26/2009 2:44 PM, Mark Thomas wrote: Christopher Schultz wrote: Chandra, On 8/25/2009 11:56 PM, chandra ganta wrote: We use a db datasource for one of our applications. The issue is that there is a firewall between tomcat server 5.5

RE: Multiple data centers and redundency?

2009-08-26 Thread Jeffrey Janner
See comments [Jeff] below: -Original Message- From: George Sexton [mailto:geor...@mhsoftware.com] Sent: Wednesday, August 26, 2009 2:39 PM To: 'Tomcat Users List' Subject: RE: Multiple data centers and redundency? -Original Message- From: Jeffrey Janner

Re: SSL with multiple Tomcat instances

2009-08-26 Thread Crypto Sal
Don, It's very strange that one works and the other does not especially since they're from the same CA and presenting the same information. (Just different common names) I can't connect to your external site [webadvisor] via Firefox 3.5 or Chrome 4.0 due to the fact that your CA's OCSP responder

RE: SSL with multiple Tomcat instances

2009-08-26 Thread Don Prezioso
When I connect to webui.ashland.edu I get the message in msg1.jpg. When I click on 'More Information...', I get the message in msg2.jpg When I click on 'Certificate Details...' I get what you see in msg3a-c.jpg Now this is the really strange thing. It appears to be a perfectly valid

RE: SSL with multiple Tomcat instances

2009-08-26 Thread Don Prezioso
Sorry, my pictures got stripped from the message so... msg1.jpg basically says The web site's certificate cannot be verified. Do you want to continue? Name: webui.ashland.edu Publisher: webui.ashland.edu and has a link for more information... msg2.jpg says The certificate was issued by a

Strange problems with SSL support in Tomcat 6

2009-08-26 Thread Markus Meyer
Hi, I have a Debian machine where previously, Tomcat 5.5 was installed (using the Tomcat 5.5 Debian package). uname -a returns: Linux server02 2.6.26-2-amd64 #1 SMP Sun Jul 26 20:35:48 UTC 2009 x86_64 GNU/Linux Now, for some reason I installed Tomcat 6 by using the binary distribution of

Re: tomcat-users.xml on Tomcat6

2009-08-26 Thread André Warnier
Zaki Akhmad wrote: On Tue, Aug 25, 2009 at 2:28 PM, André Warniera...@ice-sa.com wrote: That does not look like a login error, it looks like a server error. What does the Tomcat log say ? Here's the log: [1]/var/log/tomcat6/localhost.2009-08-***.

[OT?] Re: Multiple data centers and redundency?

2009-08-26 Thread André Warnier
Jeffrey Janner wrote: George - This is why I hate statistics. You can make them say anything. I was thinking the same thing, remembering the recent financial troubles. 1/( (2 hours)/24(Hours day) * 1/(3*365))/2 (Data centers) - customers don't work 24 hours a day, they usually work 8 hours

Re: Strange problems with SSL support in Tomcat 6

2009-08-26 Thread Markus Meyer
Just for the record: many thanks for Martin for helping me off-list. My problem was that I had not added the AprLifecycleListener to server.xml. Lesson learned: do not copy over configuration files from Tomcat 5.5 to Tomcat 6 but start with the new ones from Tomcat 6 and insert the

Re: SSL with multiple Tomcat instances

2009-08-26 Thread Crypto Sal
Don, ipsCA is having some issues right now. Both OCSP (Online Certificate Status Protocol) and their CRL are DOWN. (It's not a good sign). Earlier, you stated that webui is the problem child, but webadvisor was working fine cross browser (Chrome, Firefox, IE, etc), correct or is this

RE: SSL with multiple Tomcat instances

2009-08-26 Thread Don Prezioso
Hmmm... Webadvisor serves up pretty much straight HTML, a little javascript, and much of the HTML is generated from another server, but what tomcat is serving up is mostly normal HTML. WebUI however only serves up a single java applet. From that point on, the applet is talking to a completely

Re: SSL with multiple Tomcat instances

2009-08-26 Thread Crypto Sal
Don, I think we found our culprit. (Java). The reason that webadvisor works, because it functions like a true server, your browser is speaking directly to the web server. webui is failing due to Java not trusting the IPS root certificate (which doesn't exist by default in Java 3-6+) Most

Re: How to configure ../logs/catalina.out of tomcat 6.0.14 for per-app (Configure web-app specific log file for sys.out, sys.err )

2009-08-26 Thread bihag
Chris, Thanks, I will change my sys.out and sys.err to logging ... Regards, Bihag Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bihag, On 8/26/2009 5:53 AM, bihag wrote: We are using RHEL-5, Tomcat 6.0.14. I am using log4j in all of my webapp. We