Re: JK.Log Rotation In Windows

2005-10-26 Thread Peter Rossbach
Following Config works for me :-) JkLogFile |bin/rotatelogs.exe logs/mod_jk.%Y-%m-%d-%H_%M_%S.log 5M Regards Peter Jon Chau schrieb: Hello, I cannot figure out a way to rotate my jklogfile. I tried searching the archives, but could not find an answer specific to windows, but I did find

Re: Again Please Help!!! SimpleTCPCluster, No session state received time out 60s during start up

2005-10-26 Thread Peter Rossbach
Hey, I think you must used a new Tomcat version. In last year I change a lot. Use tomcat 5.5.12 for your configuration and read the docs for configruation options: http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html My perferred mode for production is fastasyncqueue! Regards Peter

RE: Securing Manager Role

2005-10-26 Thread Nehal Sangoi
Is there any way for associating unix user manager to tomcat's manager rols and have encrypted password? -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 2:14 AM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: Securing Manager Role

Tomcat User Permession

2005-10-26 Thread Mohammad Tag EL-Deen
I'm using mandrake 10.1 as a server, and jakarta-tomcat-5.0.27. My intranet running on tomcat should be updated and should use the mandrake linux users permission for the folders while browsing. If the intranet is pure html can this happened also? -- Respectfully, Mohammad TAg EL-Deen 012 68 10

Re: Tomcat User Permession

2005-10-26 Thread David Delbecq
Question is not clear, but i'll try to reply. All action attempted by any code inside the jvm running tomcat (that is operations done by JSP, servlet, realms, tomcat itself and any other java classes you may add to webapp) are done on behalf of the user which started tomcat. So if you start

Re: How to measure queueing time: from tomcat recieving request to axis web service

2005-10-26 Thread Tim Funk
A Valve might be what you need - but you might need to hack the Connectors depending on how granular you need to be. A Valve is just like a servlet filter. -Tim Pim W. wrote: Hi, I want to measure the queueing time starting from when Tomcat recieve the request from a client until the

AW: jCIFS Jboss Tomcat IIS NTLM Authentication

2005-10-26 Thread Bernhard Slominski
A short follow up question here which is not Tomcat related: When you use request.getRemoteUser() to do your authentication it is very unsecure isn't it: You just can send your bad HTTP request which containts the administrator name as the remote user HTTP header field and your authenticated as

HTTP Status 404 - Servlet ControlServlet is not available

2005-10-26 Thread Nehal Sangoi
How can i resolve this error? I added manager context in server.xml first. Then deployed webapp using ant script. again, modified server.xml by inserting context for jdbc conn. and all. Restarted tomcat and apache. But this is not working.

new Date() returns 0 w/ Tomcat 5.028 on IBM JDK 1.4.2 Linux PPC

2005-10-26 Thread ml
Hi, i am getting strange things on the following environment: Tomcat 5.0.28 IBMJDK 1.4.2 on SLES Linux PPC When i start up our webapplication, everything is fine, i am getting current dates back when issuesing new Date() and log4j is also logging like expected. After some minutes new Date()

Re: JK.Log Rotation In Windows - RESOLVED

2005-10-26 Thread Jon Chau
Peter that worked great! My problem was with the path specification. Thanks. On 10/26/05, Peter Rossbach [EMAIL PROTECTED] wrote: Following Config works for me :-) JkLogFile |bin/rotatelogs.exe logs/mod_jk.%Y-%m-%d-%H_%M_%S.log 5M Regards Peter Jon Chau schrieb: Hello, I cannot

RE: HTTP 500 Error.

2005-10-26 Thread Steve Kirk
the key lines to look at more closely at these: java.lang.ClassCastException org.apache.jsp.errorpage_jsp._jspService(errorpage_jsp.java:103) ... org.apache.jsp.preview_jsp._jspService(preview_jsp.java:135) (esp the latter), and: note The full stack trace of the root cause is

RE: problem in getting database connection from remote machine using JNDI

2005-10-26 Thread Steve Kirk
at the risk af asking the obvious, does the database myDB exist on the remote server at the same port number, and with the same username and pw as on the local server, and if so, does it have any IP address filters that forbid remote mysql client connections? -Original Message- From:

RE: How to create a website in apache-tomcat-5.5.12

2005-10-26 Thread Steve Kirk
Two things: 1. you need to deploy your webapp as the ROOT webapp on the server. there is a standard ROOT webapp that ships with TC, you can just replace that if you want to, examine that to see how to configure it, look especially at the %catalina_home%/webapps/ROOT/WEB-INF/web.xml config file.

RE: problem in getting database connection from remote machine using JNDI

2005-10-26 Thread rahul
Hi Steve, Yes the database myDB exists on the remote server, at the same prot number, with the same username and password, And there is no known IP address filters (unless there is some provision in default settings of mysql server) -Original Message- From: Steve Kirk

Re: problem in getting database connection from remote machine using JNDI

2005-10-26 Thread Mikolaj Rydzewski
rahul wrote: Yes the database myDB exists on the remote server, at the same prot number, with the same username and password, And there is no known IP address filters (unless there is some provision in default settings of mysql server) Are you sure that you can connect to that remote db

RE: ? xmlValidation Attribute -- What's it Mean ?

2005-10-26 Thread Steve Kirk
I believe (although am not 100% sure because I haven't tried it myself) that xmlValidation=true means that TC's XML parser should check all XML against the DTD defined in each XML source. With xmlValidation=false, it will check that the xml is well-formed but not that it is valid. See these

RE: Tomcat is dying unpredictably

2005-10-26 Thread Steve Kirk
A long shot, but if you are running RHL9 you might try this, as mentioned in the TC 5.5 release notes at http://tomcat.apache.org/tomcat-5.5-doc/RELEASE-NOTES.txt : Tomcat on Linux: GLIBC 2.2 / Linux 2.4 users should define an environment variable: export

RE: Error: Cannot get a connection, pool exhausted

2005-10-26 Thread KUMAR, NANDA [AG-Contractor/1000]
Thanks Steve for quick reply. I will try as you mentioned. The releaseConnection() method basically what it does is, it will close the connection. if (connection_ != null) connection_.close(); Kumar -Original Message- From: Steve Kirk [mailto:[EMAIL PROTECTED] Sent: Wednesday, October

can I run tomcat on port 80 without running as root

2005-10-26 Thread Kam Lung Leung
Hi, I want to have Tomcat listen to port 80 instead port 8080. However, I don't want to run Tomcat as root. Is this possible? Thank you in advance, Kam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: can I run tomcat on port 80 without running as root

2005-10-26 Thread Klotz Jr, Dennis
Just a quick reply. Do a google on jsvc. I use it on our linux box to do exactly what you are asking. You can find the tar ball in the bin directory of tomcat. -Dennis -Original Message- From: Kam Lung Leung [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 3:00 PM To:

RE: can I run tomcat on port 80 without running as root

2005-10-26 Thread George Sexton
Yes. The solution is (assuming you're running Linux or something like it) is to port forward requests on port 80 to port 8080. Here's a discussion. http://linux.org.mt/article/tomcat-ports George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original

Re: can I run tomcat on port 80 without running as root

2005-10-26 Thread John Laughton
I run the machine that has tomcat behind a router that does a NAT from port 80 to port 8080 John At 01:00 PM 10/26/2005 -0600, Kam Lung Leung wrote: Hi, I want to have Tomcat listen to port 80 instead port 8080. However, I don't want to run Tomcat as root. Is this possible? Thank you in

tomcat webapps help

2005-10-26 Thread Raviteja Veerla
Hi, I know that to create the root of a web application, we just have to make a directory in the webapps folder of tomcat and then copy the files in to that directory. but my situation is different, i have these folders which are to be exposed as web applications else where and i need to somehow

Re: tomcat webapps help

2005-10-26 Thread John Laughton
I had a similar issue, where I wanted to expose a bunch of jpeg files (use thumbails in the normal jsp pages, but hyperlink'd to the full size image - which I did not want to put into the war file) I basically created another web app I created the file

RE: Why tomcat has a wrapped dbcp?

2005-10-26 Thread Mark Thomas
Look in http://svn.apache.org/repos/asf/tomcat/build/tags/tc5.5.x/TOMCAT_5_5_12/build.pr operties.default or the relevant version under http://svn.apache.org/repos/asf/tomcat/build/tags/ Mark -Original Message- From: Darryl L. Miles [mailto:[EMAIL PROTECTED] Sent: Wednesday, October

RE: Securing Manager Role

2005-10-26 Thread Mark Thomas
Sorry, as has been pointed out my response isn't correct. Digesting the passwords is supported - see the docs. Where encrypting passwords is not supported is for external resources such as databases. Mark -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: problem in getting database connection from remote machine using JNDI

2005-10-26 Thread rahul
Finally I figured out the problem Actually the context file which tomcat creates for every application in conf/engine/application folder was not getting updated. It was having the localhost settings instead of remote server. After correcting this file my application is working perfectly. Thanks