Re: jkstatus - Error connecting to tomcat - ajp_process_callback write failed

2009-09-07 Thread Rainer Jung
On 04.09.2009 11:42, mateo-jl wrote: Hello everybody, i got many errors about mod_jk but i don't know whether it's the good forum ... I have configured 4 tomcat identical servers reached by a front server apache through mod_jk. When I look at the jkstatus page, I can note a strange

Re: /context not working -- mod_jk error: no match for /server-status

2009-09-07 Thread Rainer Jung
On 04.09.2009 16:01, Dennis Christopher wrote: Rainer, Apparently apache is calling /server-status - I see that mod_status is No, apache itself isn't calling anything. enabled in httpd.conf and exercises that context. One of the frustrations, and I dont know Apache well, is that the

Tomcat App Configuration

2009-09-07 Thread skarahan
Hi, I use tomcat5.5 on ubuntu and have java web application.When I run it, its address looks like http://servername:8180/myapp; on browser address line.But I don't like this.when I write http://servername:8180/; address on web browser address line,I want to open my application. I hope that I

Re: Tomcat App Configuration

2009-09-07 Thread Markus Meyer
Hi, just use an entry like the following in your Tomcat's server.xml configuration file: Context path=/ docBase=/path/to/where/your/webapp/resides/ HTH Markus skarahan schrieb: Hi, I use tomcat5.5 on ubuntu and have java web application.When I run it, its address looks like

Re: mod jk - multiple applications, different server clusers, sticky sessions

2009-09-07 Thread Rainer Jung
Hi Chris, On 04.09.2009 16:29, Christopher Schultz wrote: Rainer, On 9/4/2009 12:52 AM, Rainer Jung wrote: On 03.09.2009 23:31, Christopher Schultz wrote: Whenever a client browses to webapps found on / and /foo, the requests to /foo will get TWO cookies, and confusion may occur (I'm not

Re: mod_jk Tomcat AJP Connectivity problem

2009-09-07 Thread Rainer Jung
On 05.09.2009 11:02, Joseph2009 wrote: I am using Tomcat 5.5.20 and Apache 2.2 with Mod_jk 1.2.2.7 on Solaris 10 intel platform. Following is my configurations Tomcat port=8030 enableLookups=false redirectPort=8444 protocol=AJP/1.3

RE: maling list archives and bug tracker dumps for academic research evaluation

2009-09-07 Thread Iqbal, Aftab
Hi Mark, 2009/9/4 Iqbal, Aftab aftab.iq...@deri.org: Any update or news about the maling list archives and bug tracker dumps ? regards Aftab Iqbal By the way, the mail archives are available here: http://tomcat.apache.org/mail/dev/ I got the link of mailing list archives from Konstantin

Re: Tomcat App Configuration

2009-09-07 Thread skarahan
Hi , thanks your help.I add this line server.xml Context path=/ docBase=/usr/share/tomcat5.5/webapp/myapp/ I can see it manager page path column.But its not running.is there another xml file to congire it.? Markus Meyer wrote: Hi, just use an entry like the following in your Tomcat's

Re: maling list archives and bug tracker dumps for academic research evaluation

2009-09-07 Thread Mark Thomas
Iqbal, Aftab wrote: Hi Mark, 2009/9/4 Iqbal, Aftab aftab.iq...@deri.org: Any update or news about the maling list archives and bug tracker dumps ? regards Aftab Iqbal By the way, the mail archives are available here: http://tomcat.apache.org/mail/dev/ I got the link of mailing

Re: Tomcat App Configuration

2009-09-07 Thread Markus Meyer
I'm not sure what's the problem, but I would not put the app into /usr/share/tomcat5.5/webapps because this is the default location. I would put the webapp into a different location. Also, check if you already have a ROOT directory in your webapps/ path which may interfere with your other root

Re: Tomcat App Configuration

2009-09-07 Thread André Warnier
Markus, that was a bad recommendation. Look here instead : http://wiki.apache.org/tomcat/HowTo#head-2e16a614a1be6e03102fc69dd59587a30e20bc5c Markus Meyer wrote: I'm not sure what's the problem, but I would not put the app into /usr/share/tomcat5.5/webapps because this is the default location.

Re: Tomcat App Configuration

2009-09-07 Thread David Smith
Just delete the original ROOT webapp and rename your webapp ROOT. -- David On Sep 7, 2009, at 5:54 AM, skarahan samilkara...@gmail.com wrote: Hi, I use tomcat5.5 on ubuntu and have java web application.When I run it, its address looks like http://servername:8180/myapp; on browser address

RE: maling list archives and bug tracker dumps for academic research evaluation

2009-09-07 Thread Iqbal, Aftab
Hi Mark, I got the link of mailing list archives from Konstantin (thanks to him :)). I would like to know about the possibility for Bug tracker dump of Tomcat. It is on my todo list. Thanks regards Aftab Iqbal - To

Version in web.xml

2009-09-07 Thread David Balažic
Hi! Is the version mismatch in the web-app tag, like this: web-app version=2.4 xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; an

Re: Version in web.xml

2009-09-07 Thread Mark Thomas
David Balažic wrote: Hi! Is the version mismatch in the web-app tag, like this: web-app version=2.4 xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee

Re: Tomcat App Configuration

2009-09-07 Thread Markus Meyer
Hi André, sorry if I got that one wrong. It's just that it works for me the way I describe it. (I generally avoid putting my webapps into the default setting and create Context entries for all of them.) Markus André Warnier schrieb: Markus, that was a bad recommendation. Look here instead

Cookie value with equal sign getting truncated

2009-09-07 Thread Joerg Schaefer
It seems, that Tomcat doesn't allow a = sign in the cookie value. If there is a = it put the value into -signs. This problem occurs with Tomcat 6.0.18. Are there a workarounds available to disable this behavior? regards, Joerg *** DEPARTMENT DISCLAIMER ***

Re: Cookie value with equal sign getting truncated

2009-09-07 Thread Mark Thomas
Joerg Schaefer wrote: It seems, that Tomcat doesn't allow a = sign in the cookie value. It is the cookie specs that doesn't allow unquoted '=' and Tomcat got stricter about enforcing the specs as a result of a couple of security vulnerabilities. If there is a = it put the value into -signs.

Re: Cookie value with equal sign getting truncated

2009-09-07 Thread Joerg Schaefer
Hi Mark, thanks for the quick reply. How can i realize option 1? How can i configure STRICT_SERVLET_COMPILANCE? thanks, Joerg Mark Thomas ma...@apache.org 07.09.2009 15:17 Please respond to Tomcat Users List users@tomcat.apache.org To Tomcat Users List users@tomcat.apache.org cc Subject

Re: Cookie value with equal sign getting truncated

2009-09-07 Thread Mark Thomas
Joerg Schaefer wrote: Hi Mark, thanks for the quick reply. How can i realize option 1? How can i configure STRICT_SERVLET_COMPILANCE? http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html Mark - To unsubscribe,

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-07 Thread lmk
Hi, I have the same problem using tomcat 6 and jdk 6, do you find a workaround ? Regards! Mark Thomas wrote: Bradley Wagner wrote: Ok, I'll try that next. Two things: - Did some searching, but couldn't find how to determine the default GC method for my Java version

Re: avoiding ssl vulnerabilities in tomcat

2009-09-07 Thread sunil chandran
Hello all, As per the suggestion from tomcat forum users,I went ahead and installed tomcat4.1.40 Then i copied the original webapps file from the back up tomcat (old version). I tried to start the server. It shows this error Sep 7, 2009 10:13:11 PM org.apache.coyote.http11.Http11BaseProtocol

detecting oracle connection failures

2009-09-07 Thread Roberto Benedetti
hi everyone, I'm having problems trying to combine Oracle and Tomcat: if I define a DB connection to a MySQL or Postgres resource, everything works fine and DB failures are properly detected. conversely, if I define an Oracle DataSource, apparently RDBMS or network problems are not detected

tomcat web server optimization

2009-09-07 Thread Bilal Jan
Please consider the following details: Scenario: We put load on tomcat (basically a simple http request) and in response an http response sends 1 to show success.   Executor and Connector configuration (TOMCAT 6) with java version 1.4.2: Executor name=tomcatThreadPool namePrefix=catalina-exec-   

Re: detecting oracle connection failures

2009-09-07 Thread David Smith
I think you've misunderstood what maxWait does. It tells the pool how long to have your webapp code wait for a connection when all the connections in the pool are busy servicing other requests (the pool is exhausted). Sounds to me like you've successfully received a connection, are attempting a

RE: detecting oracle connection failures

2009-09-07 Thread Caldarale, Charles R
From: Roberto Benedetti [mailto:r.benede...@cineca.it] Subject: detecting oracle connection failures if I define an Oracle DataSource, apparently RDBMS or network problems are not detected and my application keeps waiting ad libitum, ignoring the maxWait parameter. You might want to try

RE: tomcat web server optimization

2009-09-07 Thread Caldarale, Charles R
From: Bilal Jan [mailto:just4u_...@yahoo.com] Subject: tomcat web server optimization Executor and Connector configuration (TOMCAT 6) with java version 1.4.2: Not possible; Tomcat 6 requires JRE/JDK 1.5 or higher. What are you really running? But as we go to increase the number of users

RE: Can't start Tomcat5 service on Windows Vista Home Premium

2009-09-07 Thread Caldarale, Charles R
From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: Can't start Tomcat5 service on Windows Vista Home Premium Maybe, maybe not. Looking again at the log message it does look more like a 64-bit issue rather than the JVM issue. The log shows that it's using a 32-bit JVM - C:\Program

RE: Tomcat App Configuration

2009-09-07 Thread Caldarale, Charles R
From: Markus Meyer [mailto:me...@mesw.de] Subject: Re: Tomcat App Configuration sorry if I got that one wrong. It's just that it works for me the way I describe it. I doubt it. Not only are you violating standard practice by putting a Context element in server.xml, your path attribute is

RE: Realm configuration issues

2009-09-07 Thread Caldarale, Charles R
From: Adam Posner [mailto:cuco2...@gmail.com] Subject: Re: Realm configuration issues I tried commented out everything between the context tags in server.xml and put it in context.xml like this: What context.xml? Be specific as to the location. It broke it; I got a parse

Number of threads

2009-09-07 Thread keeplearning
How do I know how many threads are being used during a test run (both tomcat and apache)? We used to have some tools for that but not currently in the new environment. Thanks in advance -- View this message in context: http://www.nabble.com/Number-of-threads-tp25336823p25336823.html Sent from

Re: Realm configuration issues

2009-09-07 Thread Adam Posner
Yes, that was an exact copy and paste. Here it is again - of my META-INF/context.xml, before I deleted it and put it back in server.xml : ?xml version=1.0 encoding=UTF-8? Context Resource name=jdbc/trailsDB auth=Container type=javax.sql.DataSource username=buzz