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 serve

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 inf

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 t

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: Configure read/write-access in TomCat

2010-08-18 Thread Hassan Schroeder
On Wed, Aug 18, 2010 at 8:06 PM, Christopher Schultz 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 hassan.schroe...@gmail

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 d

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

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: > > > user open part > /Server/user/* > > > > user > admin > > Your URL pattern is wrong: the URL should be relative to the context, not to the server. Presumably, your

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: 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

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: 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 m

Re: Tomcat sessions issue?

2010-08-18 Thread André Warnier
Hassan Schroeder wrote: On Wed, Aug 18, 2010 at 2:09 PM, Robin Diederen 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, eit

Re: Tomcat sessions issue?

2010-08-18 Thread Hassan Schroeder
On Wed, Aug 18, 2010 at 2:09 PM, Robin Diederen 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 sessionid or whatever

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...   Server.x

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" To: "Tomcat Users List" Sent: Wednesday, August 18, 2010 4:36 PM Subject: Re: Installation problem [newbie] I want to run PHP basically, and, Apache T

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.

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 Wheeler 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 installation? Yes, see command line..

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

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 ei

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

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: Installation problem [newbie]

2010-08-18 Thread Jonathan Camilleri
On 18 August 2010 22:34, Ron Wheeler 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 [Version 5.1.2600] (C) Co

Re: Installation problem [newbie]

2010-08-18 Thread Jonathan Camilleri
I want to run PHP basically, and, Apache Tomcat is a pre-requisite. On 18 August 2010 22:07, Caldarale, Charles R wrote: > > From: Jonathan Camilleri [mailto:camilleri@gmail.com] > > Subject: Re: Installation problem [newbie] > > > > Well, I've installed the webserver (1st file) > > Let's get

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 the

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 running

Tomcat sessions issue?

2010-08-18 Thread Robin Diederen
Hello all,   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.   How can this be? There are no overlapping port

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 com

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 a

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 accor

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 $CATALINA_HOME/w

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: 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. >

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: How can i tell how much of allocated heap is being used?

2010-08-18 Thread Leon Rosenberg
jmap -heap Leon On Wed, Aug 18, 2010 at 8:56 PM, Tony Anecito 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 > To: users@to

Re: war not redeploying

2010-08-18 Thread Sean McEligot
On Wed, Aug 18, 2010 at 11:56 AM, Konstantin Kolinko 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 catalina.base servers for one

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 To: users@tomcat.apache.org Sent: Wed, August 18, 2010 12:41:37 PM Subject: How can i tell how much of al

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 m

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 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 being used? Hi, I'm u

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: http://old.nabble.

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.msi *), on my laptop which runs Windows XP, and, I was prompted for the following: Network Do

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 http://

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 : >> >> 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 seei

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/.xml What is its modification time? Is clock set up correctly on the machine? > antiJARLocking="true" antiR

Re: loaderClass for jsps

2010-08-18 Thread Konstantin Kolinko
2010/8/18 Pid : > On 18/08/2010 16:09, Amir Wasim wrote: >> org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException >>         at >> org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.(ClassFileReader.java:342) >>         at >> org.apache.jasper.compiler.JDTCompiler$1.findType(JDT

Re: war not redeploying

2010-08-18 Thread Sean McEligot
On Wed, Aug 18, 2010 at 11:30 AM, Pid 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 sometimes even

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

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 > >delegate="true" /> > > The EncryptedClassLoader extends

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 > http://tomcat.apache.org/tomcat-7.0-doc/index

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

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 The EncryptedClassLoader extends org.apache.catalina.loader.WebappClassLoader class. The web server starts f

Re: All Threads Busy Message

2010-08-18 Thread Konstantin Kolinko
2010/8/18 JebaB : > > 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 maxThreads and acceptC

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 to

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 logical

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 > > 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 sim

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 messa

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 > logi

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: Installation problem [newbie]

2010-08-18 Thread Hassan Schroeder
On Wed, Aug 18, 2010 at 6:31 AM, Jonathan Camilleri wrote: > I'm trying to install Apache Tomcat (* > httpd-2.2.16-win32-x86-openssl-0.9.8o.msi > *) No, you're not. That's an Apache httpd installer. What is it you *want* to install? -- Hassan Schr

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

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 /your-webap

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 /your-webap

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.msi *), 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 av

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 users

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 fi

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 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 that was seriously long ago, s

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 sav

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: > > - > - > - > user open part > /Server/user/* > > - > user > admin > > > - > - > admin closed part

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: JNDI: LDAPv3 with StartTLS

2010-08-18 Thread Felix Schumacher
On Tue, 17 Aug 2010 21:30:56 + (UTC), Igor Galić 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 will >> remove

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 acce

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 http://localh

RE: Configure read/write-access in TomCat

2010-08-18 Thread K A
In /tomcat/Webapps/Projectname/web-inf: I have inserted this part: - - - user open part /Server/user/* - user admin - - admin closed part /Server/admin/* - admin - FORM - /Server/index.jsp /Server/inde

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 you

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 http://localh

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

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, i

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 "res

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 ne

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 a