RE: session#getId changes during doGet invocation under heavy load

2006-12-29 Thread Peter Coppens
Thanks Chuck. I have done some further research and I have the impression that there is some kind of race condition where a session that is being removed because of a timeout is also handling requests. The loggings indicate that a session is destroyed but then nevertheless a doGet is invoked

URL rewriting with mod_rewrite and mod_jk possible?

2006-12-29 Thread JasDA
Hi, I'm using a Tomcat 5.5.20 and an Apache 2.x. Using the mod_jk special request will be passed through the Tomcat. But now I have a problem with two Tomcat instances and the same context (the name is equal) in these instances. Here is my workers.properties: ps=\ worker.list=tomcat1, tomcat2

RE: Tomcat Status, Administration and Manager not working

2006-12-29 Thread dl
Caldarale, Charles R wrote: Both the Status and Tomcat Manager links refer to servlets within the manager app, and both paths, by default, only require a role of manager to access them. ... Thanks again .. your comment .. only require a role of manager .. gave me the clue. I had

Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session affinity lost)

2006-12-29 Thread Matteo Turra
Hi, I upgraded my tomcat 5.0 + jdk 1.4 to tomcat 5.5.20 + jdk 1.5.0_10 and now my tomcat cluster doesn't work with sticky session (session affinity). After a while I notice the jvmroute parameter is not appended to the jsessionid anymore! Does anyone had the same behaviours? Does anyone

Re: [ANN] Apache Tomcat JK 1.2.20 Web Server Connector released

2006-12-29 Thread Jessica Leupold
I remember the msi file did configure jakarta virtual directory, isapi filter and put this keys in the registry : [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector] @= [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] @=

Re: session#getId changes during doGet invocation under heavy load

2006-12-29 Thread Leon Rosenberg
Do I understand it right, that you made it a reproduceable testcase? If so, can we have a look on it? thank you Leon On 12/29/06, Peter Coppens [EMAIL PROTECTED] wrote: Thanks Chuck. I have done some further research and I have the impression that there is some kind of race condition where a

RE: session#getId changes during doGet invocation under heavy load

2006-12-29 Thread Tim Lucia
-Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, December 28, 2006 8:25 PM To: Tomcat Users List Subject: RE: session#getId changes during doGet invocation under heavy load From: Peter Coppens [mailto:[EMAIL PROTECTED] Subject:

Re: session#getId changes during doGet invocation under heavy load

2006-12-29 Thread Peter Coppens
Unfortunately I have no repro yet. If I succeed in building one, I will most certainly post it. Thanks for all your help, Peter Leon Rosenberg-3 wrote: Do I understand it right, that you made it a reproduceable testcase? If so, can we have a look on it? thank you Leon On 12/29/06,

Re: Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session affinity lost)

2006-12-29 Thread Rainer Jung
Did you loose the jvmRoute attribute in server.xml during the upgrade process? Matteo Turra wrote: Hi, I upgraded my tomcat 5.0 + jdk 1.4 to tomcat 5.5.20 + jdk 1.5.0_10 and now my tomcat cluster doesn't work with sticky session (session affinity). After a while I notice the jvmroute

Re: Questions about connector

2006-12-29 Thread Vinicius Carvalho
Hello Chuck, thanks for the quick reply. Yeah, we do have an apache2 with mod_jk configured. Even if the remote client points to a client, it means that the apache is maintaining the connection alive? I can understand the Keepalive status but why would it be so long on servicing status? I'm not

Re: URL rewriting with mod_rewrite and mod_jk possible?

2006-12-29 Thread Rainer Jung
You can experiment with the following alternative way of defining JkMount: If you want to forward a certain request via mod_jk wo a worker X, you can do that by setting: SetHandler jakarta-servlet SetEnv JK_WORKER_NAME X Now you can vary this by using SetEnvIf instead of SetEnv to make it

Applets not loading after upgrade

2006-12-29 Thread may.brian
After upgrading from Tomcat 5.0.28 to 5.5.20 none of my applets will load. In the console I get the following: load: class multigraph.MultiGraphlet.class not found. java.lang.ClassNotFoundException: multigraph.MultiGraphlet.class at sun.applet.AppletClassLoader.findClass(Unknown Source)

RE: Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session affinity lost)

2006-12-29 Thread Matteo Turra
NO. I do not. -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: venerdì 29 dicembre 2006 13.36 To: Tomcat Users List Subject: Re: Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session affinity lost) Did you loose the jvmRoute attribute in server.xml during the

Re: session#getId changes during doGet invocation under heavy load

2006-12-29 Thread Martin Gainty
Agreed Once you have your use cases and test cases identified If you want the server to maintain its own side of the relationship independent of client activity then you should consider container managed persistence More info avaialable at

RE: Virtual Hosts [mostly solved]

2006-12-29 Thread Gormley, Josh
* Not having to modify server.xml directly. According to the Tomcat docs, you shouldn't modify this file. I think you may have misconstrued something in the docs. There's nothing wrong with modifying server.xml; for example, production environments must change it and web.xml to

RE: Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session affinity lost)

2006-12-29 Thread Matteo Turra
No, I did not. Server port=${shutdownPort} shutdown=SHUTDOWN GlobalNamingResources !-- Used by Manager webapp -- Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved

RE: Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session affinity lost)

2006-12-29 Thread Tim Lucia
FYI -- I *JUST* (as in I read the original post and wondered if I should but did so anyway) completed an upgrade from RHEL V.4, 1.5.8(i586) -- 1.5.10 (amd64) And Tomcat 5.5.12 -- 5.5.20 All my requests send along the jvmRoute properly in the JSESSIONID cookie. Tim -Original

RE: Tomcat Status, Administration and Manager not working

2006-12-29 Thread Caldarale, Charles R
From: dl [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat Status, Administration and Manager not working I had defined mixed roles in tomcat-users.xml (see earlier post) so I deleted references to role admin and it now works. That shouldn't have been a problem. For testing, I normally use

RE: Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session affinity lost)

2006-12-29 Thread Matteo Turra
Sorry everybody, I misspelled jmvRoute with jvmroute in my server.xml! Matteo -Original Message- From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: venerdì 29 dicembre 2006 16.42 To: 'Tomcat Users List' Subject: RE: Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session affinity

problem starting Tomcat

2006-12-29 Thread Goykhman, Boris
Hi I have just installed Tomcat 5.0.28 on my XP machine and I am having trouble starting it. Here's the output that Catalina.bat produces: Using CATALINA_BASE: C:\jakarta-tomcat-5.0.28 Using CATALINA_HOME: C:\jakarta-tomcat-5.0.28 Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.28\temp

RE: sendRedirect scheme

2006-12-29 Thread Siddhartha Subramanian
Hi Rainer Thanks for the information, I have tried all the possible combinations connector port=80 protocol=HTTP/1.1 scheme=http.../ In spite of all this the protocol on sendRedirect sets the URL to be https.. I am having trouble bringing up the source code for this, I will probably have to

RE: Servlet Plugins for Eclipse

2006-12-29 Thread Suchitha Koneru \(sukoneru\)
To start with , download eclipse with WTP from the following link http://download.eclipse.org/webtools/downloads/ The following link would give a sim ple example in setting up the WTP plug in. http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/Buil dJ2EEWebApp.html Good

any limitation on a JSP being called Login.jsp?

2006-12-29 Thread Siddhartha Subramanian
Hi Is there any tomcat limitation on a JSP being called Login.jsp with the capital L? I have a webapps that is able to bring up the page if it is called login.jsp and I get an error if it is called Login.jsp. I heard that the ROOT war has something similar but why should this limit what I

Re: problem starting Tomcat

2006-12-29 Thread Steve R Burrus
well boris what with this java exception in the server error msg. : java.lang.ClassNotFoundException you must not have placed/put the 2 jar files, servlet-api.jar and jsp-api.jar into your system's classpath yet. Goykhman, Boris wrote: Hi I have just installed Tomcat 5.0.28 on my XP

RE: sendRedirect scheme

2006-12-29 Thread Caldarale, Charles R
From: Siddhartha Subramanian [mailto:[EMAIL PROTECTED] Subject: RE: sendRedirect scheme Thanks for the information, I have tried all the possible combinations connector port=80 protocol=HTTP/1.1 scheme=http.../ You don't seem to be providing much real information in any of your

RE: problem starting Tomcat

2006-12-29 Thread Caldarale, Charles R
From: Steve R Burrus [mailto:[EMAIL PROTECTED] Subject: Re: problem starting Tomcat well boris what with this java exception in the server error msg. : java.lang.ClassNotFoundException you must not have placed/put the 2 jar files, servlet-api.jar and jsp-api.jar into your system's

RE: problem starting Tomcat

2006-12-29 Thread Caldarale, Charles R
From: Goykhman, Boris [mailto:[EMAIL PROTECTED] Subject: problem starting Tomcat I have just installed Tomcat 5.0.28 on my XP machine and I am having trouble starting it. Why are you using such an old level rather than the current 5.5.20? java.lang.ClassNotFoundException:

RE: sendRedirect scheme

2006-12-29 Thread Siddhartha Subramanian
Hi Chuck Well I was giving a high level view of the problem incase there was someone who already ran into the problem and could give insight without having to go through a verbose email.. But thanks for the feedback. Here is the detailed information: Setup Migrating an existing

Re: sendRedirect scheme

2006-12-29 Thread Martin Gainty
In one of those exceedingly rare moments where I agree with the previous poster can you cut and paste your entire server.xml into the message body? Also which browser version are you testing with? Thx, --- This e-mail

RE: sendRedirect scheme

2006-12-29 Thread Siddhartha Subramanian
well for those who are not in favor of email dump sorry.. here are the file contents.. --- Server !-- Use a custom version of StandardService that allows the connectors to be started independent of the normal lifecycle start to allow web apps to be deployed before starting the

RE: sendRedirect scheme

2006-12-29 Thread Siddhartha Subramanian
Obviously sent a wrong file contents earlier!!! Here is the actual server.xml contents !-- Example Server Configuration File -- !-- Note that component elements are nested corresponding to their parent-child relationships with each other -- !-- A Server is a singleton element that

How can JSPs be part of an integrated component?

2006-12-29 Thread Lee Crawford
I'm trying to figure out how a servlet running in the Tomcat container can access jsp's that are included as part of a jar that has been installed in the WEB-INF/lib directory? Obviously they can't be accessed from the outside via URI's but I was hoping that they could be accessed from the

Re: How can JSPs be part of an integrated component?

2006-12-29 Thread Mikolaj Rydzewski
Lee Crawford wrote: To give more context, I have a framework that I'm using to build a web-app and the framework itself has JSPs to contribute to the application (admin pages). Obviously, I can just extract the files and copy it into the namespace of the web-app itself but was hoping to avoid

Re: control JMX beans remotely in Tomcat instance

2006-12-29 Thread Mikolaj Rydzewski
chuanjiang lo wrote: i am trying write a simple applicationto connect to tomcat remotely to view the jmx beans. Is there any articles or tutorials i can look upon for a kickstart? Check this out: http://www.ceti.pl/~miki/komputery/jmx/ -- Mikolaj Rydzewski [EMAIL PROTECTED]

Re: How can JSPs be part of an integrated component?

2006-12-29 Thread Lee Crawford
Yeah, I'm trying to avoid using Velocity and make JSP a more appropriate templating language. The framework is doing all the processing and delegating to JSPs as templates. --lee On 12/29/06, Mikolaj Rydzewski [EMAIL PROTECTED] wrote: Lee Crawford wrote: To give more context, I have a

Manager deployment for ROOT.war not working properly.

2006-12-29 Thread Keith Bottner
I am documentation and Googled out. I am attempting to use the Tomcat Manager so that I can script deployment to a Farm of servers. I soon found out that deploying a ROOT web application does not work. # curl -u manager:passsword -T /home/manager/ROOT.war http://10.0.0.2/manager/deploy?path=/

RE: How can JSPs be part of an integrated component?

2006-12-29 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: How can JSPs be part of an integrated component? I'm trying to figure out how a servlet running in the Tomcat container can access jsp's that are included as part of a jar that has been installed in the WEB-INF/lib directory?

RE: sendRedirect scheme

2006-12-29 Thread Caldarale, Charles R
From: Siddhartha Subramanian [mailto:[EMAIL PROTECTED] Subject: RE: sendRedirect scheme Tomcat version: Tomcat 5.5.2 I'll assume that's 5.5.20, not a seriously outdated, buggy level. Connector port=80 address=${jboss.bind.address} maxThreads=250 strategy=ms maxHttpHeaderSize=8192

Re: manager question

2006-12-29 Thread Mark Thomas
Jim Reynolds wrote: But last week, I created a new host element. The new site works good, but I am having trouble with the ant tasks. I tried http://devsite/manager/html, but that fails. I wanted to use a reload task, and remove task like so: (see props, etc below). Is there anyway I can

Re: error-page http status 408

2006-12-29 Thread Mark Thomas
rg wrote: I am using Tomcat 5.5.17 on Windows. I have a problem setting a 408 error-page in my web.xml on form based authentication. Random thought. Are you using httpd at all? If so, try going direct to Tomcat and getting that to work first. Mark

Re: Applets not loading after upgrade

2006-12-29 Thread Mark Thomas
may.brian wrote: This seems to indicate a problem with the classpath, but there have been no changes to the directory structure or the html generated. What are the appBase and docBase settings for this host / app? Mark - To

run service in jdk 6

2006-12-29 Thread kkus
I first downloaded windows service installer of 5.5.20 and can't get it work, then I switched to zip file version. Reason is I checked doc for how-to and it indicated service.bat which can only be found in zip version. I followed how-to and ran service.bat install, which was successful based on

Re: any limitation on a JSP being called Login.jsp?

2006-12-29 Thread Mark Thomas
Siddhartha Subramanian wrote: Is there any tomcat limitation on a JSP being called Login.jsp with the capital L? None at all. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: How can JSPs be part of an integrated component?

2006-12-29 Thread Lee Crawford
Charles, Sure, that works if you're banking on Tomcat as your deployment target, but the classes that you've compiled and hardwired (there many lines of hardwiring in the admin web.xml) to Tomcat. I'm still looking for something a bit more portable. Thanks for your answer, though. --lee On

RE: sendRedirect scheme

2006-12-29 Thread Siddhartha Subramanian
Thanks Chuck. The configuration is a standalone tomcat. I sent out a wrong configuration initially with the Jboss one had too many things going on at the same time. I shall check out the transport-guarantee sounds like the most plausible lead. Thanks a lot. --Sid -Original Message-