Re: Question about undeploying application

2010-08-18 Thread Ivan Mladenović
Hello, Problem solved by changing Quartz scheduler version to 1.8.3. Thanks for the help. On Fri, Aug 13, 2010 at 9:24 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan, On 8/13/2010 6:45 AM, Ivan Mladenović wrote: I

problem with JSP/JSTL and Tomcat 6

2010-08-18 Thread David Goodenough
I have some old JSP pages which used to run on Tomcat 5.5. I tried to move to Tomcat 6 and the current JSTL but I am getting some odd errors. When I include the %@ taglib directives inline in the source, say:- ... %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % ... I get an

Re: Is there a better way to disable JSESSIONID in the URLs?

2010-08-18 Thread André Warnier
Caldarale, Charles R wrote: From: Scott Hamilton [mailto:scott.hamil...@plateau.com] Subject: RE: Is there a better way to disable JSESSIONID in the URLs? I could be missing something, but on a request where a session is created it appears as though Tomcat will both set the cookie AND do any

Configure read/write-access in TomCat

2010-08-18 Thread K A
Hello I've developed a web-application in which I'd like to have some control of which resources are accessed by whom. My project is called Server in which I've got 3 directories: /user which all roles are allowed to access, /admin which ONLY administrators are allowed to access and resources

Deploy xyz.war as context path as / accessible by http://localhost:8080/ instead of http://localhost/xyz

2010-08-18 Thread Gautam
Hi, I am new to Tomcat world and I am working on Tomcat 6.X on Solaris 10. C I want your help to figure out way to make an application war deploy with root context. I.e An app xyz.war is accessible by http://localhost:8080/ instead of http://localhost/xyz The current war file is named xyz.war,

Re: Configure read/write-access in TomCat

2010-08-18 Thread Pid
On 18/08/2010 10:44, K A wrote: Hello I've developed a web-application in which I'd like to have some control of which resources are accessed by whom. My project is called Server in which I've got 3 directories: /user which all roles are allowed to access, /admin which ONLY

Re: Deploy xyz.war as context path as / accessible by http://localhost:8080/ instead of http://localhost/xyz

2010-08-18 Thread Pid
On 18/08/2010 11:24, Gautam wrote: Hi, I am new to Tomcat world and I am working on Tomcat 6.X on Solaris 10. C I want your help to figure out way to make an application war deploy with root context. I.e An app xyz.war is accessible by http://localhost:8080/ instead of

Re: Deploy xyz.war as context path as / accessible by http://localhost:8080/ instead of http://localhost/xyz

2010-08-18 Thread Gautam
Hi PID, Thanks for your reply. Is there any other way than to use ROOT.war or softlink to ROOT? --GS On Wed, 2010-08-18 at 12:01 +0100, Pid wrote: On 18/08/2010 11:24, Gautam wrote: Hi, I am new to Tomcat world and I am working on Tomcat 6.X on Solaris 10. C I want your help to

RE: Configure read/write-access in TomCat

2010-08-18 Thread K A
In /tomcat/Webapps/Projectname/web-inf: I have inserted this part: /resource-ref - !--inserted from her -- - security-constraint - web-resource-collection web-resource-nameuser open part/web-resource-name url-pattern/Server/user/*/url-pattern /web-resource-collection

Re: Deploy xyz.war as context path as / accessible by http://localhost:8080/ instead of http://localhost/xyz

2010-08-18 Thread André Warnier
Pid wrote: On 18/08/2010 11:24, Gautam wrote: Hi, I am new to Tomcat world and I am working on Tomcat 6.X on Solaris 10. C I want your help to figure out way to make an application war deploy with root context. I.e An app xyz.war is accessible by http://localhost:8080/ instead of

Re: Configure read/write-access in TomCat

2010-08-18 Thread André Warnier
K A wrote: Hello I've developed a web-application in which I'd like to have some control of which resources are accessed by whom. My project is called Server in which I've got 3 directories: /user which all roles are allowed to access, /admin which ONLY administrators are allowed to access

Re: JNDI: LDAPv3 with StartTLS

2010-08-18 Thread Felix Schumacher
On Tue, 17 Aug 2010 21:30:56 + (UTC), Igor Galić i.ga...@brainsware.org wrote: That looks right. I believe I have found one issue with my code. It will get a InitialDirContext with your admin user and password, before it is negotiating TLS. I have attached another ContextFactory, which

Re: Deploy xyz.war as context path as / accessible by http://localhost:8080/ instead of http://localhost/xyz

2010-08-18 Thread Pid
On 18/08/2010 12:12, Gautam wrote: Hi PID, Thanks for your reply. Is there any other way than to use ROOT.war or softlink to ROOT? None that I'd recommend. Is there a reason why this simple step won't work for you? Linking will likely cause double deployment, which you don't want. p

Re: Configure read/write-access in TomCat

2010-08-18 Thread Pid
On 18/08/2010 12:16, K A wrote: In /tomcat/Webapps/Projectname/web-inf: Capitals matter. WEB-INF is the correct directory name. I have inserted this part: - !--inserted from her -- - security-constraint - web-resource-collection web-resource-nameuser open part/web-resource-name

RE: Configure read/write-access in TomCat

2010-08-18 Thread K A
Oh, really? I just guessed that if the user could see the absolute url to used/available files in the application (jsp- or pdf-files) then it was also possible that the user could compromise the files in that directory, overwrite them or even save new files. But you state that users can NOT

Re: problem with JSP/JSTL and Tomcat 6

2010-08-18 Thread Hassan Schroeder
On Wed, Aug 18, 2010 at 2:23 AM, David Goodenough david.goodeno...@btconnect.com wrote: I have some old JSP pages which used to run on Tomcat 5.5.  I tried to move to Tomcat 6 and the current JSTL but I am getting some odd errors. I don't remember any similar problems moving from 5.5 to 6 but

RE: Configure read/write-access in TomCat

2010-08-18 Thread K A
Ah, so the web.xaml in /tomcat/conf has nothing to do with the issue - it's only the web.xml in the project itself? I just read that tomcat do not allow write-access to directories. So I guess my main issue in my question is of no concern then as the users don't have any rights to access the

Re: Configure read/write-access in TomCat

2010-08-18 Thread André Warnier
K A wrote: Oh, really? I just guessed that if the user could see the absolute url to used/available files in the application (jsp- or pdf-files) then it was also possible that the user could compromise the files in that directory, overwrite them or even save new files. But you state that

Installation problem [newbie]

2010-08-18 Thread Jonathan Camilleri
I'm trying to install Apache Tomcat (* httpd-2.2.16-win32-x86-openssl-0.9.8o.msihttp://httpd.apache.org/download.cgi#apache22 *), on my laptop which runs Windows XP, and, I am being prompted for the following: Network Domain *- laptop is a standalone pc and field is mandatory; is a workaround

Re: Configure read/write-access in TomCat

2010-08-18 Thread André Warnier
K A wrote: Ah, so the web.xaml in /tomcat/conf has nothing to do with the issue - it's only the web.xml in the project itself? The conf/web.xml is the web.xml for the default servlet. The webapps/your-webapp/WEB-INF/web.xml is the one that dictates what happens when users access

Re: Configure read/write-access in TomCat

2010-08-18 Thread André Warnier
K A wrote: Ah, so the web.xaml in /tomcat/conf has nothing to do with the issue - it's only the web.xml in the project itself? The conf/web.xml is the web.xml for the default servlet. The webapps/your-webapp/WEB-INF/web.xml is the one that dictates what happens when users access

Re: Configure read/write-access in Tomcat

2010-08-18 Thread Pid
On 18/08/2010 14:06, K A wrote: Ah, so the web.xaml in /tomcat/conf has nothing to do with the issue - it's only the web.xml in the project itself? Authentication should be configured on an app-by-app basis, not in the default web.xml, so yes, that's correct. I just read that tomcat do not

Re: Installation problem [newbie]

2010-08-18 Thread Hassan Schroeder
On Wed, Aug 18, 2010 at 6:31 AM, Jonathan Camilleri camilleri@gmail.com wrote: I'm trying to install Apache Tomcat (* httpd-2.2.16-win32-x86-openssl-0.9.8o.msihttp://httpd.apache.org/download.cgi#apache22 *) No, you're not. That's an Apache httpd installer. What is it you *want* to

RE: Configure read/write-access in TomCat

2010-08-18 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat The conf/web.xml is the web.xml for the default servlet. It's a bit more than that, actually. The contents of conf/web.xml are logically merged into a webapp's own WEB-INF/web.xml when the

Re: Configure read/write-access in TomCat

2010-08-18 Thread Pid
On 18/08/2010 14:56, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat The conf/web.xml is the web.xml for the default servlet. It's a bit more than that, actually. The contents of conf/web.xml are logically merged

RE: All Threads Busy Message

2010-08-18 Thread JebaB
The server.xml has been uploaded. Thanks for your help. n828cl wrote: From: JebaB [mailto:jebab...@yahoo.com] Subject: All Threads Busy Message I am using Tomcat 6.0.18 with JDK 1.6 with the JULI. Why such an old level? I am not seeing the 'All Threads Busy' error message when all

Re: problem with JSP/JSTL and Tomcat 6

2010-08-18 Thread David Goodenough
On Wednesday 18 August 2010, Hassan Schroeder wrote: On Wed, Aug 18, 2010 at 2:23 AM, David Goodenough david.goodeno...@btconnect.com wrote: I have some old JSP pages which used to run on Tomcat 5.5. I tried to move to Tomcat 6 and the current JSTL but I am getting some odd errors. I

Re: Configure read/write-access in TomCat

2010-08-18 Thread André Warnier
Pid wrote: On 18/08/2010 14:56, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat The conf/web.xml is the web.xml for the default servlet. It's a bit more than that, actually. The contents of conf/web.xml are

war not redeploying

2010-08-18 Thread Sean McEligot
My goal is that when I put an updated war file in webapps, it is deployed either immediately or on the next startup. I prefer startup, but I'd be happy with either. What happens now is sometimes even after restarting the expanded war is older than the war in webapps. Nothing seems to get tomcat

Re: All Threads Busy Message

2010-08-18 Thread Konstantin Kolinko
2010/8/18 JebaB jebab...@yahoo.com: Hello,  I am using Tomcat 6.0.18 with JDK 1.6 with the JULI. I have enabled proper logging through the logging.properties. I am not seeing the 'All Threads Busy' error message when all the threads are in use or number of requests has exceeded the

loaderClass for jsps

2010-08-18 Thread Amir Wasim
Hi all, HI, i have a question regarding tomcat class loader I have configured to load my classes through my custom class loader and have it configured in my Catalina as follows Loader loaderClass=de.fwsb.loader.EncryptedClassLoader delegate=true / The EncryptedClassLoader extends

Re: Configure read/write-access in TomCat

2010-08-18 Thread Markus Schönhaber
18.08.2010 16:55, André Warnier: Pid wrote: On 18/08/2010 14:56, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat The conf/web.xml is the web.xml for the default servlet. It's a bit more than that, actually. The

RE: Configure read/write-access in TomCat

2010-08-18 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat Would you gurus mind pointing out where exactly ? Not sure what you want pointed out. I am looking at the online documentation of Tomcat 7, at

Re: loaderClass for jsps

2010-08-18 Thread Pid
On 18/08/2010 16:09, Amir Wasim wrote: Hi all, HI, i have a question regarding tomcat class loader I have configured to load my classes through my custom class loader and have it configured in my Catalina as follows Loader loaderClass=de.fwsb.loader.EncryptedClassLoader

Re: war not redeploying

2010-08-18 Thread Pid
On 18/08/2010 15:57, Sean McEligot wrote: My goal is that when I put an updated war file in webapps, it is deployed either immediately or on the next startup. I prefer startup, but I'd be happy with either. What happens now is sometimes even after restarting the expanded war is older than the

Re: war not redeploying

2010-08-18 Thread Sean McEligot
On Wed, Aug 18, 2010 at 11:30 AM, Pid p...@pidster.com wrote: On 18/08/2010 15:57, Sean McEligot wrote: My goal is that when I put an updated war file in webapps, it is deployed either immediately or on the next startup. I prefer startup, but I'd  be happy with either. What happens now is

Re: loaderClass for jsps

2010-08-18 Thread Konstantin Kolinko
2010/8/18 Pid p...@pidster.com: On 18/08/2010 16:09, Amir Wasim wrote: org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException         at org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.init(ClassFileReader.java:342)         at

Re: war not redeploying

2010-08-18 Thread Konstantin Kolinko
6.0.25 An odd version... shutdown; rm -rf webapps/appname work/* temp/*; startup. Do you run rm -rf on Windows? Note, that there is also the following file: conf/Catalina/localhost/appname.xml What is its modification time? Is clock set up correctly on the machine? antiJARLocking=true

Re: All Threads Busy Message

2010-08-18 Thread JebaB
I tried the following setting and still no luck. log4j.logger.org.apache.tomcat.util.net=DEBUG Konstantin Kolinko wrote: 2010/8/18 JebaB jebab...@yahoo.com: Hello,  I am using Tomcat 6.0.18 with JDK 1.6 with the JULI. I have enabled proper logging through the logging.properties. I am

Re: Configure read/write-access in TomCat

2010-08-18 Thread André Warnier
Comments at end. Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat Would you gurus mind pointing out where exactly ? Not sure what you want pointed out. I am looking at the online documentation of Tomcat 7, at

Installation problem [newbie]

2010-08-18 Thread Jonathan Camilleri
I ran into an installation problem, and, hope you can help me out with it. Initially I tried running the installer (* httpd-2.2.16-win32-x86-openssl-0.9.8o.msihttp://httpd.apache.org/download.cgi#apache22 *), on my laptop which runs Windows XP, and, I was prompted for the following: Network

How can i tell how much of allocated heap is being used?

2010-08-18 Thread laredotornado
Hi, I'm using Tomcat 6.0.26, Java 1.6 on Linux kernel 2.6.18-164.11.1.el5. I'm trying to figure out if there if we can figure out how much of our allocated heap memory is actually being used. Grateful for any thoughts you might have, - Dave -- View this message in context:

Re: How can i tell how much of allocated heap is being used?

2010-08-18 Thread Mark Eggers
Would visualvm serve your purpose? https://visualvm.dev.java.net/ . . . . just my two cents. /mde/ - Original Message From: laredotornado laredotorn...@gmail.com To: users@tomcat.apache.org Sent: Wed, August 18, 2010 11:41:37 AM Subject: How can i tell how much of allocated heap is

RE: How can i tell how much of allocated heap is being used?

2010-08-18 Thread Joseph Morgan
For java, you'll do something like this: Runtime runtime = Runtime.getRuntime(); long maxMemory = runtime.maxMemory(); long totalMemory = runtime.totalMemory(); long freeMemory = runtime.freeMemory(); Maximum memory is the total memory the JVM will allocate. Total Memory is the total amount of

Re: How can i tell how much of allocated heap is being used?

2010-08-18 Thread Tony Anecito
JDK 1.6 comes with visualvm or download the latest release of the tool from it's web site. https://visualvm.dev.java.net/ Good Luck, -Tony - Original Message From: laredotornado laredotorn...@gmail.com To: users@tomcat.apache.org Sent: Wed, August 18, 2010 12:41:37 PM Subject: How

Re: war not redeploying

2010-08-18 Thread Sean McEligot
On Wed, Aug 18, 2010 at 11:56 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: 6.0.25 An odd version... I'm in the middle of purchasing springsource-tc. The version is actually springsource tomcat-6.0.25.A-RELEASE, but I don't think they change anything except they have multiple

Re: How can i tell how much of allocated heap is being used?

2010-08-18 Thread Leon Rosenberg
jmap -heap pid Leon On Wed, Aug 18, 2010 at 8:56 PM, Tony Anecito adanec...@yahoo.com wrote: JDK 1.6 comes with visualvm or download the latest release of the tool from it's web site. https://visualvm.dev.java.net/ Good Luck, -Tony - Original Message From: laredotornado

Re: Installation problem [newbie]

2010-08-18 Thread Mark Eggers
A couple of things: The list in general strips attachments, so your log did not make it through. The file httpd-2.2.16-win32-x86-openssl-0.9.8o.msi is for installing the Apache web server. The Apache web server is useful if you are planning to write PHP, Perl, Python, or Lisp/Scheme web sites.

RE: Configure read/write-access in TomCat

2010-08-18 Thread Leo Donahue - PLANDEVX
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat Comments at end. Caldarale, Charles R wrote: Do you know anyone who actually likes to write documentation? André Warnier wrote: Well actually I do. But it this case,

Re: Installation problem [newbie]

2010-08-18 Thread Jonathan Camilleri
Well, I've installed the webserver (1st file), however, no services are running, and, no page is running on http://127.0.0.1:8080 (IIS runs on port 80). When I try to start up catalina, it says that it cannot find JAVA_HOME, but I am not sure why... *Microsoft Windows XP [Version 5.1.2600]* *(C)

Re: war not redeploying

2010-08-18 Thread Mark Eggers
Are you starting and stopping Tomcat under Cygwin? I've seen some interesting file locking problems (as well as the terminate batch job? question) when running Windows applications under Cygwin. How are you deploying your web application? Are you copying the new war file into

RE: Configure read/write-access in TomCat

2010-08-18 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat the process by which Tomcat, for each deplayed webapp, first reads and processes the conf/web.xml, then reads and processes the applications WEB-INF/web.xml, and then merges both according to

RE: Installation problem [newbie]

2010-08-18 Thread Caldarale, Charles R
From: Jonathan Camilleri [mailto:camilleri@gmail.com] Subject: Re: Installation problem [newbie] Well, I've installed the webserver (1st file) Let's get back to the basic question Pid asked originally: What are you trying to accomplish? Nothing that you've said so far gives anyone any

Re: Installation problem [newbie]

2010-08-18 Thread Mark Eggers
Please only reply to the list. I read the list regularly (and respond sporadically). I also get about 200 mail messages per day, and will probably miss mail messages from addresses I don't recognize. I will certainly not respond to addresses I don't recognize very quickly. Thanks. I'll make

Tomcat sessions issue?

2010-08-18 Thread Robin Diederen
Hello all, Im using two Tomcat installs on a single system (the ones running Alfresco, the other LifeRay). Somehow they interfere with another; when I log into Alfresco, I get logged out from LifeRay and vice versa. How can this be? There are no overlapping ports

Re: Installation problem [newbie]

2010-08-18 Thread Ron Wheeler
It is saying that you do not have a JAVA_HOME environment variable defined. Is a JAVA JDK installed? Do you have JAVA_HOME defined pointing to the installation? Ron On 18/08/2010 3:43 PM, Jonathan Camilleri wrote: Well, I've installed the webserver (1st file), however, no services are

Re: Configure read/write-access in TomCat

2010-08-18 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat the process by which Tomcat, for each deplayed webapp, first reads and processes the conf/web.xml, then reads and processes the applications WEB-INF/web.xml, and then

Re: Installation problem [newbie]

2010-08-18 Thread Jonathan Camilleri
On 18 August 2010 22:34, Ron Wheeler rwhee...@artifact-software.com wrote: It is saying that you do not have a JAVA_HOME environment variable defined. Yes Is a JAVA JDK installed? Do you have JAVA_HOME defined pointing to the installation? Yes, see command line... Microsoft Windows XP

Re: Installation problem [newbie]

2010-08-18 Thread Mark Eggers
If you want to run PHP, then either use IIS (which is already installed and running), or shut down IIS and run Apache HTTPD (which is not Tomcat). Tomcat can (sort of) run PHP, but it's problematic. If you are writing and running PHP, use Apache HTTPD. Tomcat is not a prerequisite for running

Re: JNDI: LDAPv3 with StartTLS

2010-08-18 Thread Igor Galić
org.apache.catalina.realm.JNDIRealm.getUserByPattern(JNDIRealm.java:1269) This means, that you specified userPattern='...' in your realm configuration. And you since your pattern looks like '(uid={0})(...)' it is probably wrong. You have specified userSearch='uid={0}', too. So I believe you

Re: Installation problem [newbie]

2010-08-18 Thread André Warnier
Jonathan Camilleri wrote: I want to run PHP basically, and, Apache Tomcat is a pre-requisite. I think you have got some things right, and other things wrong then. In my opinion, Apache Tomcat might not be the best choice as a webserver to host PHP scripts. And you do not need Java for that

RE: Installation problem [newbie]

2010-08-18 Thread Caldarale, Charles R
From: Jonathan Camilleri [mailto:camilleri@gmail.com] Subject: Re: Installation problem [newbie] I want to run PHP basically, and, Apache Tomcat is a pre-requisite. Tomcat is certainly not a prerequisite for running PHP (it's rather ugly under Tomcat). So again, what are you trying to

Re: Installation problem [newbie]

2010-08-18 Thread Ron Wheeler
On 18/08/2010 4:38 PM, Jonathan Camilleri wrote: On 18 August 2010 22:34, Ron Wheelerrwhee...@artifact-software.com wrote: It is saying that you do not have a JAVA_HOME environment variable defined. Yes Good Is a JAVA JDK installed? Do you have JAVA_HOME defined pointing to the

RE: Tomcat sessions issue?

2010-08-18 Thread Caldarale, Charles R
From: Robin Diederen [mailto:diede...@nlcom.nl] Subject: Tomcat sessions issue? I'm using two Tomcat installs on a single system (the one's running Alfresco, the other LifeRay). Somehow they interfere with another; when I log into Alfresco, I get logged out from LifeRay and vice versa. I

Re: Installation problem [newbie]

2010-08-18 Thread michel
Hi, I am under the impression that Tomcat is a bad choice to run PHP. Michel - Original Message - From: Jonathan Camilleri camilleri@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, August 18, 2010 4:36 PM Subject: Re: Installation problem [newbie]

RE: Tomcat sessions issue?

2010-08-18 Thread Robin Diederen
Hi Chuck,   Here's some info:   Both Tomcats are 6.0.29. Java = Sun JDK 1.6.20 Platform = Ubuntu Linux server 8.04 Install dirs = /opt/liferay and /opt/alfresco Startup mechanisms = plain old catalina.sh Log entries = unfortunately nothing interesting there, just the usual...  

Re: Tomcat sessions issue?

2010-08-18 Thread Hassan Schroeder
On Wed, Aug 18, 2010 at 2:09 PM, Robin Diederen diede...@nlcom.nl wrote: Here's some info: Server.xml from LifeRay: I'm not going to waste my time wading through all the boilerplate comments (hint, hint) but unless these are separate virtual hosts, my bet's on a cookie conflict, either

Re: Tomcat sessions issue?

2010-08-18 Thread André Warnier
Hassan Schroeder wrote: On Wed, Aug 18, 2010 at 2:09 PM, Robin Diederen diede...@nlcom.nl wrote: Here's some info: Server.xml from LifeRay: I'm not going to waste my time wading through all the boilerplate comments (hint, hint) but unless these are separate virtual hosts, my bet's on a

RE: Installation problem [newbie]

2010-08-18 Thread Caldarale, Charles R
From: michel [mailto:compu...@videotron.ca] Subject: Re: Installation problem [newbie] I am under the impression that Tomcat is a bad choice to run PHP. Let's just say there are far better ones. Apache httpd would be the first choice, but you already appear to have IIS running, so you

RE: Tomcat sessions issue?

2010-08-18 Thread Robin Diederen
Hi Andre, That?s interesting to say the least. Without cookies enabled, I can't login to either of both applications. So I designed another test: using two browsers I visited both applications. And guess what: it works like a charm! So I guess you are right on the cookies :-). The only one

RE: JNDI: LDAPv3 with StartTLS

2010-08-18 Thread Muggeridge, Matt
Great! That fixed it, and it now works! Thank you very much, Felix. I would very much like to document this. I am thus asking you for permission to use, host, reference or whatever is your liking, the code you have provided. Hi Igor, I've struggled with this too. I'm not sure if I'm having the

Re: All Threads Busy Message

2010-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeba, On 8/18/2010 1:53 PM, JebaB wrote: I tried the following setting and still no luck. log4j.logger.org.apache.tomcat.util.net=DEBUG If you're using JULI, then a log4j configuration isn't going to help much. Can you post all relevant config

Re: Configure read/write-access in TomCat

2010-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mr. Andersen, On 8/18/2010 7:16 AM, K A wrote: security-constraint web-resource-collection web-resource-nameuser open part/web-resource-name url-pattern/Server/user/*/url-pattern /web-resource-collection auth-constraint

Re: Tomcat 5.5.23 request.getAttribute(foo) returns unexpected NULL

2010-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 8/13/2010 8:23 AM, Thomas Treitlinger wrote: %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % Something just occurred to me: do you have a servlet 2.5 version declared in your webapp's web.xml file? If not, I think you'll want

Re: Is there a better way to disable JSESSIONID in the URLs?

2010-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wesley, On 8/17/2010 6:05 PM, Wesley Acheson wrote: I know of no better way to fix this. This is what we *had* to do to pass PCI too so its no small deal. Wow, who made you disable jsessionids in URLs to achieve PCI compliance? Whoever did that

Re: Configure read/write-access in TomCat

2010-08-18 Thread Hassan Schroeder
On Wed, Aug 18, 2010 at 8:06 PM, Christopher Schultz ch...@christopherschultz.net wrote: I couldn't see if anyone actually answered your question, here, or just argued about how well-documented conf/web.xml was. Wait, what, those aren't the same? :-) -- Hassan Schroeder

Re: Tomcat sessions issue?

2010-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin, On 8/18/2010 5:57 PM, Robin Diederen wrote: That's interesting to say the least. I agree with André's assessment: you have a cookie collision. See below for hints for removing the conflict. Without cookies enabled, I can't login to either

Re: 501 Method not implemented with successive POST requests

2010-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid/Hans, On 8/16/2010 5:53 AM, Pid wrote: On 16/08/2010 09:52, Hans Wahn wrote: I'd like to provide more information. Any suggestions what is the best way to accomplish that? See above, regarding trace log. Also, providing a stack trace if

Re: Is there a better way to disable JSESSIONID in the URLs?

2010-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, Wow. I wrote a book. Sorry for my uncharacteristically long exposition. On 8/18/2010 5:40 AM, André Warnier wrote: Could/should not Tomcat at least verify, when it gets a JSESSIONID from a client and retrieves the corresponding session

Re: All Threads Busy Message

2010-08-18 Thread JebaB
Sorry, I pasted the wrong config setting. I have been playing with both JULI and Log4j. I am sure I am running out of connections as the load tester I am using is showing connection failed errors when I increase the number of threads to be more then the maxThreads + acceptCount values in the