Re: mod_jk, deployment, and auto-conf

2005-10-28 Thread Bill Barker
"Harry Hartley" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What I want: > > 1) To have apache responsible for running all my static (html) pages > from my /www directory. > > 2) To have tomcat responsible for running all my web applications > (jsp's and Servlets) fr

Re: KeepAlive Timeout configuration

2005-10-28 Thread Bill Barker
- Original Message - From: "Haug Thomas" <[EMAIL PROTECTED]> Newsgroups: gmane.comp.jakarta.tomcat.user Sent: Friday, October 28, 2005 2:58 AM Subject: KeepAlive Timeout configuration Hi everybody, I am looking for a way to configure the KeepAlive Timeout value of Tomcat 5.0.25 (and

FileLogger setting in server.xml?

2005-10-28 Thread Satish Talim
I am a newbie and my first post here. I am using Apache 1.3.33 and Tomcat 5.0.28. I want to redirect my stderr and stdout messages to a file in my application context, rather than the standard catalina.out. What changes do I need to do in my server.xml file? All help appreciated.

FileLogger setting?

2005-10-28 Thread Satish Talim
I am a newbie and my first post here. I am using Apache 1.3.33 and Tomcat 5.0.28. I want to redirect my stderr and stdout messages to a file in my application context, rather than the standard catalina.out. What changes do I need to do in my server.xml file? All help appreciated.

Re: Can't start Tomcat 5.5.12 on Solaris 9

2005-10-28 Thread Luis Torres
If you want to use the 64 bit JDK there's no other option. First download and extract the a 50MB file and then do the same for a 5MB one that adds the things necessary for the 64 bit stuff. But in this case you're probably right. It's a better idea to get ANY version of Java working and then g

Re: Can't start Tomcat 5.5.12 on Solaris 9

2005-10-28 Thread William Bonnet
Hi Be sure to extract the 32bit version of your JDK or JRE first... and then install the 64bit patch. Otherwise it wont work. Do you really need to do this ? It works fine withonly downloading the right version of JDK from java.sun.com In your place I'd define CATALINA_HOME and JAVA_HOME in

Re: Can't start Tomcat 5.5.12 on Solaris 9

2005-10-28 Thread Luis Torres
Hello, I'm running two instances of 5.5.12 on Solaris 9 with no problems. I'm using JDK 1.5.01 on one of them and JDK 1.5.05 on the other. I used the .sh (first the 32bit package and then the 64bit extensions) to extract the JDK and just pointed each JAVA_HOME to the specific installation. B

Re: Can't start Tomcat 5.5.12 on Solaris 9

2005-10-28 Thread William Bonnet
Hi I just tried compiling a simple java program and got a segmentation fault. I was using JDK5.0 which I just downloaded. It's really strange that the javac compiler makes a segfault... can you give us some more information ? are you sure the installation was successfull ? on which kind o

RE: Can't start Tomcat 5.5.12 on Solaris 9

2005-10-28 Thread Caldarale, Charles R
> From: Nick Lee [mailto:[EMAIL PROTECTED] > Subject: Re: Can't start Tomcat 5.5.12 on Solaris 9 > > Looks like I did not install the downloaded JDk1.5 correctly. > But, JDK1.5 installation is just running the sh file right? Not sure what you mean by "just running". The .sh script uses whateve

Help getting authentication="GSSAPI" Kerberos working with JNDIRealm

2005-10-28 Thread Klotz Jr, Dennis
Greetings, I could use some help with getting tomcat to use Kerberos against Active Directory. I have been using Ethereal to sniff the packets going back and forth from tomcat and I verified that with a normal server.xml entry (remove the authentication attribute keyword from below), it uses 'sim

Re: Can't start Tomcat 5.5.12 on Solaris 9

2005-10-28 Thread Nick Lee
I just tried compiling a simple java program and got a segmentation fault. I was using JDK5.0 which I just downloaded. However, when I use the jdk that came from the system in /usr/sbin/javac, the compilation completed successfully. Looks like I did not install the downloaded JDk1.5 correctly. Bu

RE: Can't start Tomcat 5.5.12 on Solaris 9

2005-10-28 Thread Caldarale, Charles R
> From: Nick Lee [mailto:[EMAIL PROTECTED] > Subject: Re: Can't start Tomcat 5.5.12 on Solaris 9 > > I tried jakarta-tomcat-4.1.31 still encounter the same core > dump problem. Just could not start tomcat. But you didn't answer my question: do simple Java programs (e.g., java -version) work? TH

Re: Can't start Tomcat 5.5.12 on Solaris 9

2005-10-28 Thread Nick Lee
I tried jakarta-tomcat-4.1.31 still encounter the same core dump problem. Just could not start tomcat. Rgds On 10/29/05, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: Nick Lee [mailto:[EMAIL PROTECTED] > > Subject: Can't start Tomcat 5.5.12 on Solaris 9 > > > > Any idea where to loo

RE: Can't start Tomcat 5.5.12 on Solaris 9

2005-10-28 Thread Caldarale, Charles R
> From: Nick Lee [mailto:[EMAIL PROTECTED] > Subject: Can't start Tomcat 5.5.12 on Solaris 9 > > Any idea where to look for, how to troubleshoot or what > could be wrong? Do simple Java programs work? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL

Can't start Tomcat 5.5.12 on Solaris 9

2005-10-28 Thread Nick Lee
Hi All, I just downloaded tomcat 5.5.12, trying to run it on Solaris 9. I did not make any changes to the config file at all. Just set the environment variables CATALINA_HOME and JAVA_HOME to point to the right directories. When I start 'catalina.sh run', I keep getting core dump with segmentati

Re: JDBC Realm Configuration

2005-10-28 Thread Vicente Couto
GB Developer, Firebird auth works almost like mysql. I'm using firebird administrator user (sysdba) on JDBC realm configuration placed into server.xml. I know that everything with the database is good because i can connect using another programs (like db viewers and administartion) and using eve

RE: JDBC Realm Configuration

2005-10-28 Thread GB Developer
> -Original Message- > From: Vicente Couto [mailto:[EMAIL PROTECTED] > Sent: Friday, October 28, 2005 12:34 PM > To: Tomcat Users List > Subject: Re: JDBC Realm Configuration > > > GB Developer, look at the exceptions: > > java.sql.SQLException: org.firebirdsql.jdbc.FBdriver >

Re: JDBC Realm Configuration

2005-10-28 Thread Vicente Couto
GB Developer, look at the exceptions: java.sql.SQLException: org.firebirdsql.jdbc.FBdriver at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:689) at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:763) at org.apache.catalina.core.ContainerBase.start(Contain

RE: JDBC Realm Configuration

2005-10-28 Thread GB Developer
> -Original Message- > From: Vicente Couto [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 27, 2005 3:18 PM > To: Tomcat Users List > Subject: JDBC Realm Configuration > > > But when i put the JDBC realm in server.xml file tomcat > throws a lot of exceptions Such as? -

RE: login config bug? request.getRequestURL() returns form-login-page in Tomcat 5.5.12

2005-10-28 Thread Aaron Loucks
I guess this was a bug in 5.0.28 according to the servlet spec (SRV.8.4). If anyone else runs into this issue, the solution is pretty easy: String origRequestUrl = request.getAttribute("javax.servlet.forward.request_uri") -Original Message- From: Aaron Loucks [mailto:[EMAIL PROTECTED] S

Re: JDBC Realm Configuration

2005-10-28 Thread Vicente Couto
My jdbc (firebirdsql-full.jar) driver is already in /commom/lib. - Original Message - From: "Jun Zhu" <[EMAIL PROTECTED]> To: "Vicente Couto" <[EMAIL PROTECTED]>; "Tomcat Users List" Sent: Friday, October 28, 2005 2:29 PM Subject: Re: JDBC Realm Configuration Hi, You need to put

login config bug? request.getRequestURL() returns form-login-page in Tomcat 5.5.12

2005-10-28 Thread Aaron Loucks
request.getRequestURL() is returning the uri of the element instead of the original request url in 5.5.12. Is this a bug or was this intended to be this way? If this is supposed to return the form-login-page, how do I get the original request URL? Tomcat 5.0.x did not behave this way -- getRequest

Re: SEVERE: All threads are busy, waiting. Please increase maxThreads or check the servlet status75 75

2005-10-28 Thread Hassan Schroeder
Peter Kattare wrote: > Does anyone know how to get rid of this message? > > SEVERE: All threads are busy, waiting. Please increase maxThreads or > check the servlet status75 75 Sure, find out what they're waiting for :-) Double check your code for unclosed DB connections, etc. If you have a d

RE: mod_jk Random Errors

2005-10-28 Thread Carlos.Fernandez
Rainer, I am a colleague of Jacks. Thank you for all of your suggestions. FIREWALL > Since that error number was shown in the log line, I assume that a system >call returned this error. Is it possible, that your network is unstable? >Maybe you should involve your network people.

Re: JDBC Realm Configuration

2005-10-28 Thread Jun Zhu
Hi, You need to put your database (firebird) jar file to tomcat/common/lib. Hope this helps. Julia >>> "Vicente Couto" <[EMAIL PROTECTED]> 10/27/05 2:58 PM >>> Hi All, I'm trying to configure a JDBC realm for request users authentication and i'm using netbeans 4.1. I follow the tomcat docs exam

RE: barring :8080 to the outside world

2005-10-28 Thread John Moore
Chris, In the past we have setup multiple hosts. You'll have your administrative site on localhost or some other internally known name and your application on www.xyz.org. You'll have to add entries to your server.xml and contexts get placed into their respective conf/Catalina/localhost and c

Can't start Tomcat 5.5.12 on Solaris 9

2005-10-28 Thread Nick Lee
Hi All, I just downloaded tomcat 5.5.12, trying to run it on Solaris 9. I did not make any changes to the config file at all. Just set the environment variables CATALINA_HOME and JAVA_HOME to point to the right directories. When I start 'catalina.sh run', I keep getting core dump with segmentati

SEVERE: All threads are busy, waiting. Please increase maxThreads or check the servlet status75 75

2005-10-28 Thread Peter Kattare
Urgent Please! I've followed the correct steps but have not been able to find the answer to this question. Does anyone know how to get rid of this message? SEVERE: All threads are busy, waiting. Please increase maxThreads or check the servlet status75 75 My production server stops taking reque

Automatic Index redirection & SSI.

2005-10-28 Thread Tedder, Brandon
My Problem: When www.myserver.com is requested, SSI is not executed.  When www.myserver.com/index.html is requested, SSI is executed.  The behavior is the same even if Tomcat is configured to handle SSI (html or shtml).  The automatic redirection from ../ to ../index.html seems to break it.

Re: barring :8080 to the outside world

2005-10-28 Thread Tim Funk
To your Connector declaration - add: address='127.0.0.1' -Tim Christoph P. Kukulies wrote: I'm a bit concerned that I find the customers' site I'm currently working on being open with port 8080 to the outside world. What is the standard way to make tomcat safe in that it doesn't present the ja

barring :8080 to the outside world

2005-10-28 Thread Christoph P. Kukulies
I'm a bit concerned that I find the customers' site I'm currently working on being open with port 8080 to the outside world. What is the standard way to make tomcat safe in that it doesn't present the jakarta interface and everything on port 8080 to the outside? (internally it should work though

mod_jk bug serving up flash on non 2003 servers?

2005-10-28 Thread dhay
Hi, We're using mod_jk on Apache as a load-balancer for multiple tomcats. We're using Laszlo, so the app is serving up Flash pages. On 2003 Server, everything works great. However, installing on XP SP2 (haven't tested others) no pages are served up. Is this a known bug? Is there a workaround?

Re: Realm JDBC

2005-10-28 Thread Vicente Couto
I added in my server.xml file: userTable="USER" userNameCol="TXT_USER" userCredCol="TXT_PASSWORD" userRoleTable="ROLE_USER" roleNameCol="TXT_ROLE" /> And created the two tables as above: USER and ROLE_USER, with the columns as follow. I can connect to firebird using this

Re: Help figuring out Virtual Hosts

2005-10-28 Thread Hassan Schroeder
Tom Burke wrote: > Now I am trying to replicate the configuration on a Linux server. And there's no difference, other than the direction of the path separators :-) > I have > configured a second host entry in server.xml, it has a doc-base and the > doc-base directory exists. I am now trying to

Re: jkstatus fails in Load Balanced Worker Configuration - BUG?

2005-10-28 Thread Mladen Turk
[EMAIL PROTECTED] wrote: Hi - I'm posting details of this failure here, before I report as a Bug, just in case I am missing something Environment: Tomcat 5.5.12 Apache Web Server 2.0.54 JK Connector 1.2.13 and 1.2.14.1 Solaris 5.8 Try version 1.2.15. Version 1.2.14 core dumps on Solaris.

RE: jkstatus fails in Load Balanced Worker Configuration - BUG?

2005-10-28 Thread Nehal Sangoi
Hi, How have you configured Load-Balancing in Tomcat+Apache environment? I have multiple Tomcat Instances on my tomcat server and an Apache server with SiteMinder enabled for every url on tomcat instance. How do i configure load balancing in this environment with mod_jk connector at apache front?

Re: Help figuring out Virtual Hosts

2005-10-28 Thread Tom Burke
I wrote a few days ago saying that the contribution below had solved my problems. Not entirely... They did so when attempting to configure virtual hosts on a test machine within my own network on a Windows XP laptop. Now I am trying to replicate the configuration on a Linux server. I have con

RE: Two-way SSL

2005-10-28 Thread Steinberger, Richard
Thanks Jim, You nailed it, this was the missing link. Rick -Original Message- From: James Rome [mailto:[EMAIL PROTECTED] Sent: Thursday, October 27, 2005 4:14 PM To: Steinberger, Richard Subject: Two-way SSL The client browser only presents certificates signed by a CA that the Server t

RE: DBCP connection leak after undeploy

2005-10-28 Thread Steve Kirk
Yes, confirmed, I get the same problem. (I used the undeploy command from within the NetBeans runtime window, and also checked using the undeploy link in the browser from /manager/html/). Conns are cleaned up OK if you start/stop TC, but not if you undeploy the app with TC still running, as you sa

Re: Realm JDBC

2005-10-28 Thread Vedanta Ulises
could you help to describe what have you done? such as provide your server.xml and your database structure esp app_user and user_role tables On 10/28/05, Vicente Couto <[EMAIL PROTECTED]> wrote: > > Hi All, > I'm trying to configure a JDBC realm for request users authentication and > i'm using net

RE: Clustering and Load Balancing in Tomcat 5.5.9

2005-10-28 Thread Nehal Sangoi
Hi, Could you please provide me the link? I am using, Tomcat 5.5.9 -- host1 Apache 2.x -- host2 Mod_Jk -- configured on apache webserver -- host2 workers.properties -- configured on Apache end. Mainly, i need is workers.properties configuration details. Also, i am connecting my tomcat to apache

Re: Tomcat Startup

2005-10-28 Thread feilong
Hi Andy, Thanks very much. I checked just now the script catalina.bat I found the set CATALINA_TMPDIR=%CATALINA_BASE%\tmp because CATALINA_BASE=C:\Programme\jakarta-tomcat-5.0.30\ so CATALINA_TMPDIR=C:\Programme\jakarta-tomcat-5.0.30\\temp In XP "\\" could not be correctly syntactic interpreted.

Re: Tomcat Startup

2005-10-28 Thread andy gordon
I am wondering about that extra slash for your temp directory. could the slash at the end of your base and home be causing tomcat to look for the CONF/server xml in a non-existent place. hope this helps - andy feilong <[EMAIL PROTECTED]> wrote: Hi, My Catalina_Home: C:\Programme\jakarta-tom

RE: Tomcat is dying unpredictably

2005-10-28 Thread Steve Kirk
Sorry, doesn't suggest anything specific to me. > -Original Message- > From: Mark Shifman [mailto:[EMAIL PROTECTED] > Sent: Thursday 27 October 2005 20:13 > To: Tomcat Users List > Subject: Re: Tomcat is dying unpredictably > > > Thanks for your reply. After adding the export, tomcat

RE: Asking Again: What's the "xmlValidation" Attribute for?

2005-10-28 Thread Steve Kirk
Bob, I replied to your original post - if you did not get that, check the archive here http://mail-archives.apache.org/mod_mbox/tomcat-users/200510.mbox/%3c00fc01c [EMAIL PROTECTED] Re what xml the host tag is referring to, I assume that the xml settings in host relate to loading all the config

RE: Tomcat Startup

2005-10-28 Thread Steve Kirk
This... > Can't load server.xml ...suggests that you need to check your %Catalina_Home%\conf\server.xml file check its permissions as well, against the user that TC is running as > -Original Message- > From: feilong [mailto:[EMAIL PROTECTED] > Sent: Friday 28 October 2005 10:51 > To: use

jkstatus fails in Load Balanced Worker Configuration - BUG?

2005-10-28 Thread MERVYN . SANDS
Hi - I'm posting details of this failure here, before I report as a Bug, just in case I am missing something Environment: Tomcat 5.5.12 Apache Web Server 2.0.54 JK Connector 1.2.13 and 1.2.14.1 Solaris 5.8 Problem Summary: Configuring Tomcat 5.5.12 to have two instances within an install, f

KeepAlive Timeout configuration

2005-10-28 Thread Haug Thomas
Hi everybody, I am looking for a way to configure the KeepAlive Timeout value of Tomcat 5.0.25 (and 5.5.9). I know that this is possible in Apache Webserver, but I haven't found an equivalent in Tomcat. The only attributes which relate to keep alive and I know are: * maxKeepAliveRequests * restri

Tomcat Startup

2005-10-28 Thread feilong
Hi, My Catalina_Home: C:\Programme\jakarta-tomcat-5.0.30\ JAVA_HOME: C:\Programme\JBuilderX\jdk1.4 C:\Programme\jakarta-tomcat-5.0.30\bin>catalina run Using CATALINA_BASE: C:\Programme\jakarta-tomcat-5.0.30\ Using CATALINA_HOME: C:\Programme\jakarta-tomcat-5.0.30\ Using CATALINA_TMPD

Log file setting?

2005-10-28 Thread Satish Talim
I am a newbie and my first post here. I am using Apache 1.3.33 and Tomcat 5.0.28. I want to redirect my stderr and stdout messages to a file in my application context, rather than the standard catalina.out. What changes do I need to do in my server.xml file? All help appreciated.

RE: jCIFS Jboss Tomcat IIS NTLM Authentication

2005-10-28 Thread Allistair Crossley
it only collects the username of the logged in user yes, not ad info. not sure if this is true, but ensure integrated windows security is on the virtual jakarta folder pointed to the jk dll too. i'm not sure if your situation is muddied by jboss in the mix, as i am not familiar with jboss (yet)

Re: Clustering and Load Balancing in Tomcat 5.5.9

2005-10-28 Thread Peter Rossbach
Hey, I think what you need is loadbalancing with Apache/mod_jk (stickysession and failover) search the mailing list for configs... Regards Peter Nehal Sangoi schrieb: Hi, I need to configure clustering and load balancing in tomcat 5.5.9 - solaris platform. Kindly, reply if anyone has the

Re: deploy a war on startup

2005-10-28 Thread Iratxe Etxeberria Sainz-Ezquerra
Ok. I though that there is an option in context to deploy on startup...thanks!! Iratxe - Iratxe Etxebarria Sainz-Ezkerra Soporte Web External Global Services Tfno: 946 584 773 / 628 717 375 >>> [EMAIL PROTECTED] 10/28 8:49 >>> Try removing w

Clustering and Load Balancing in Tomcat 5.5.9

2005-10-28 Thread Nehal Sangoi
Hi, I need to configure clustering and load balancing in tomcat 5.5.9 - solaris platform. Kindly, reply if anyone has the configuration details. I had tried it earlier but it did not work. Also, my java code is not serialized. Still, can i have type of clustering, that allows url access continued