Re: Problem with mod_jk installation

2009-01-08 Thread samlin
When followed the same procedure for tomcat 6.0.16 with identitical entries in required files, i could see Apache forwarding requests to Tomcat. i.e. http://192.168.1.1:8080/sample-site/jsp/home.jsp AND http://192.168.1.1/sample-site/jsp/home.jsp displays me the expected site page. I followed exa

Re: Tomcat 6 does not start in a cluster. It simply hangs... Any Idea..

2009-01-08 Thread jsandhu2204
Please see the three stack dumps I did. http://www.nabble.com/file/p21367357/Thread-dump-three-times.txt Thread-dump-three-times.txt Filip Hanik - Dev Lists wrote: > > Could you take more than one thread dump, take 3, wait 5 seconds between > each. > As you can see, the startup thread is sti

Deleting context files when redeploy application

2009-01-08 Thread Sreenivas Reddy
Hi Users, I'm using Tomcat 6.0.18. When I re-deploy my application using tomcat admin console, it is deleting context files from "/tomcat6.0.18/conf/Catalina/localhost" location. Pls help me to resolve this problem. Thanks in advance. srinivasredd...@gmail.com

Re: WARNING: Error sending end packet - ajp

2009-01-08 Thread Bill Barker
"Jim Goodspeed" wrote in message news:84347690901081130k2b5e952agd426dd757e60d...@mail.gmail.com... > Hi, > > I am getting the following WARNING message in my catalina.out file. I am > currently running Apache 2.2.10, Tomcat 6.0.16 and Sun's JDK 1.6.0_07. I > can't tell if this is causing a pr

Strange parser behavior from adding log4j

2009-01-08 Thread Ken Bowen
Hi all, [Tomcat 6.0.18, java 1.5.0_16, struts 1.2.8] I have a struts 1.2.8 app [I know, that's antediluvian] which has been running fine for some time. I'm now trying to add log4j logging to it. I am getting an extremely strange side-effect when I add a log4j.properties file to WEB-INF/clas

Re: Retrieve User Role

2009-01-08 Thread Ben Tomlinson
Perfect. Thanks. On Thu, Jan 8, 2009 at 5:40 PM, Alan Chaney wrote: > Hi Ben > > You can get it from the request. In JSP you can access the request implict > object to get the value of the HttpServletRequest#getRemoteUser() method ... > > "Returns the login of the user making this request, if th

Re: Retrieve User Role

2009-01-08 Thread Alan Chaney
Hi Ben You can get it from the request. In JSP you can access the request implict object to get the value of the HttpServletRequest#getRemoteUser() method ... "Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticate

Retrieve User Role

2009-01-08 Thread Ben Tomlinson
I have set up login security for some of the pages in my website. I have a JDBCRealm setup and working correctly. But now I want to change the layout of my pages (all jsp pages) according to the user that is logged in. How do I retrieve information about the user that is actually logged in? Mai

Re: File upload fails

2009-01-08 Thread Alan Chaney
javacle wrote: The file is about 30Mbytes .. I get the same error uploading from the office on the same LAN as the server. Ok - not likely to be a problem with the remote connection, then. What do you see in your browser when the upload fails? Have you got any browser debugging - if you are

Re: File upload fails

2009-01-08 Thread javacle
The file is about 30Mbytes .. I get the same error uploading from the office on the same LAN as the server. Browser is (I think) always MSIE 6 .. but maybe sometimes Mozilla .. that's something to check. I will look into wireshark. Alan Chaney wrote: > > How big is the file? > > "Connection

Re: File upload fails

2009-01-08 Thread Alan Chaney
How big is the file? "Connection reset" is commonly caused by the the client dropping the connection. This could be because of connectivity problems - for example, issues with the clients ISP. I have had problems with specific browsers over this as well (our site has dozens of large mpeg and

File upload fails

2009-01-08 Thread javacle
We have a customer who uploads a file on a daily basis. Usually it works, but about once every two weeks it fails with this error in the log : org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. Connection reset After restarting tomcat, sometimes th

Re: Pros and cons of readonly UserDatabase (tomcat-users.xml)

2009-01-08 Thread Richard Eggert
The MemoryUserDatabaseMBean will write to tomcat-users.xml if its "save" method is invoked via JMX. Rich On Thu, Jan 8, 2009 at 5:11 AM, Kees Jan Koster wrote: > Dear Petr, > >> any comment on this subject? The question is related to OpenSolaris >> package >> (*) where we have all files owned

WARNING: Error sending end packet - ajp

2009-01-08 Thread Jim Goodspeed
Hi, I am getting the following WARNING message in my catalina.out file. I am currently running Apache 2.2.10, Tomcat 6.0.16 and Sun's JDK 1.6.0_07. I can't tell if this is causing a problem or not. Thanks in advance for the help. Jan 8, 2009 1:40:10 PM org.apache.jk.core.MsgContext action WAR

Re: unique identification in access log

2009-01-08 Thread David Knox
Check the code in org.apache.catalina.valves.RequestDumperValve -- knoxy On Thursday, January 08, 2009, at 07:51AM, "Josh Pollara" wrote: >Hi, > > > >I'm trying to mimic mod_unique functionality from apache into tomcat. I >would like to have a unique string printed out in my access log for ea

Re: Tomcat 6 does not start in a cluster. It simply hangs... Any Idea..

2009-01-08 Thread Filip Hanik - Dev Lists
Could you take more than one thread dump, take 3, wait 5 seconds between each. As you can see, the startup thread is still executing your application code com.valleyoak.util.IVosTableInfo, this is the thread that starts up tomcat Filip main thread - the one starting tomcat "main" prio=6 tid=

Re: Problem with mod_jk installation

2009-01-08 Thread Rainer Jung
On 05.01.2009 13:09, samlin wrote: Hi I am using CentOS release 5.2 (Final) jdk1.5.0_16 httpd-2.2.3-11.el5_2.centos.4 tomcat-5.5.27 I tried compiling mod_jk.so I used tomcat-connectors-1.2.27-src.tar.gz resultant mod_jk.so was copied to /etc/httpd/modules/ directory -workers.properties wor

Re: Single WAR to update multiple contexts

2009-01-08 Thread Sean W
Using a single webapp sounds like a nice idea, and hopefully feasible, I will look into this more since I think that solution would be the most efficient. However, the reason why this would be difficult is: I am using Apache Wicket's WicketServlet, which is mapped to a single Wicket Application c

unique identification in access log

2009-01-08 Thread Josh Pollara
Hi, I'm trying to mimic mod_unique functionality from apache into tomcat. I would like to have a unique string printed out in my access log for each request tomcat serves. I thought maybe I could do this with "%S User Session ID" from org.apache.catalina.valves.AccessLogValve but that comes up

Re: Tomcat 6, APR, native wrapper and shutdown-port

2009-01-08 Thread Markus Schönhaber
Gregor Schneider: > I'm running Tomcat using the APR and the native wrapper jsvc so that > Tomcat runs on privileged port 80. Could somebody please be so kind to > explain to me why there's no port 8005 listening on localhost? That's the way it's intended to be when you start Tomcat via jsvc. If

Re: Pros and cons of readonly UserDatabase (tomcat-users.xml)

2009-01-08 Thread Kees Jan Koster
Dear Petr, any comment on this subject? The question is related to OpenSolaris package (*) where we have all files owned by root and tomcat is executed with dedicated user credentials. Currently tomcat-user.xml and conf directory is owned by tomcat user but it makes some noise in our packa

Re: Tomcat not responding to https

2009-01-08 Thread Konstantin Kolinko
2009/1/8 Binu Mohan : > Hi, > >I have an Apache Tomcat installation on a Windows Server 2003 machine. I > have configured Tomcat to work with SSL by following the instructions given > in the documentation (using the java ketytool utility). > >However, the configuration works fine on my de

Pros and cons of readonly UserDatabase (tomcat-users.xml)

2009-01-08 Thread Petr Sumbera
Hi all, any comment on this subject? The question is related to OpenSolaris package (*) where we have all files owned by root and tomcat is executed with dedicated user credentials. Currently tomcat-user.xml and conf directory is owned by tomcat user but it makes some noise in our package auditi

RE: Tomcat not responding to https

2009-01-08 Thread Mark Thomas
> From: Binu Mohan [mailto:binu.mo...@indecommglobal.com] > > If I try and access the site using > http://localhost:8443/, the Tomcat server displays the home page where > it should have displayed some unprintable characters (as I have accessed > using http). That is usually a sign that your confi

Tomcat 6, APR, native wrapper and shutdown-port

2009-01-08 Thread Gregor Schneider
Hi there, I know, asking a lot of questions furing the past few days, here's one more: I've installed Tomcat 6 at Debian Etch, using Sun's JDK 1.6. Everything is working fine, however, one thing is puzzling me. In server.xml I have the following entry: So I was expecting an open port 8005 li

Re: Tomcat 6 and log4j

2009-01-08 Thread Gregor Schneider
Hi Mark, On Thu, Jan 8, 2009 at 1:43 AM, Mark Thomas wrote: > > It is in bin/extras on all the mirrors. > ok, that was what I was missing. > The logging page coudl do with updating with that information and a browse > option on the downoad page woudl help find it. I'll add those changes to my

Re: mod_headers and .htaccess for P3P policy

2009-01-08 Thread Sergio Arrighi
Hi to everyone, First... thanks for the reply! You're so kind! Yesterday after few hours of panic, I've solved my problem in a really simple and straightforward way. I've simply added this line code in the root page of my hosted app: response.addHeader("P3P", "When I had to deal with p3p poli