Enable Apache auto configure in Tomcat 4.1?

2003-01-22 Thread Jeffery Cann
Greetings. I am struggling to understand how to set up my server.xml for Tomcat 4.1.x to build Apache configuration files for mod_jk automatically. Under 'Using Tomcat auto-configure', the JK Apache How To reads: "The simple

RE: Re[2]: tomcatAuthentication="false" and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Aleix Vergés
Hi, In the mail I wrote incorrectly the tomcatAuthentication sentence, but I wrote it correctly in the jk2.properties file. My authentication in Apache is made throw a users file that can be declared in httpd.conf in Apache. Then in the same file, I have the sentences to connect to Tomcat, an

Re: Tomcat 5 - 302 issue resolved??? (please please please)

2003-01-22 Thread Bill Barker
"neal" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Ah. Do you know then how long it might be until that sort of thing is > implemented? I'm *REALLY* looking forward to it! :) > It's already implemented in 3.3.2-dev ;-). It really depends on getting the

Re: please help - strange messages in tomcat 4.1.18

2003-01-22 Thread Bill Barker
The messages are usually harmless (if you are not restarting Apache, then it is usually the client hitting the "stop" button in the browser before the page is fully loaded). To get rid of the messages (assuming that you don't want to patch the code): 1) If using log4J, configure it to only output

Re: Altering the request URI in a filter through HttpServletRequestWrapper

2003-01-22 Thread Craig R. McClanahan
On Wed, 22 Jan 2003, Bill Barker wrote: > Date: Wed, 22 Jan 2003 22:27:54 -0800 > From: Bill Barker <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: Altering the request URI in a filter through > HttpServletRequestWrapper > > I have

Re: Altering the request URI in a filter through HttpServletRequestWrapper

2003-01-22 Thread Bill Barker
I haven't looked to see why you are getting this particular error message, but the basic idea shouldn't work. Before your Filters are invoked, Tomcat has already decided on which Servlet should handle the request at the end of the pipeline. Changing the requestURI and servletPath at this stage sh

Re: Failed ErrNO=61

2003-01-22 Thread Nikola Milutinovic
Ravindra K. Bhat wrote: Hi, Any ideas on how to solve the following error in Mod_jk.log: [Wed Jan 22 08:57:20 2003] [jk_connect.c (177)]: jk_open_socket, connect() failed errno = 61 [Wed Jan 22 08:57:20 2003] [jk_ajp_common.c (626)]: In jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 61

Virtual Hosts

2003-01-22 Thread Tom Holmes Jr.
I have finally discovered the problem on why some of my web-apps are working and some are not ... it is either my configuration or a MAJOR SERIOUS BUG with Apache 2.0.43 and Tomcat 4.1.18 on Windows 2000. I have included a copy of my httpd.conf file because it is the only one that matters here. T

RE: Porblem editing httpd.conf

2003-01-22 Thread Denise Mangano
Not sure if this was solved or not - haven't had time to follow the list today :( Phil, my apologies if you knew this already... I believe you need to add the AddModule directive in the appropriate place as well whenever you add a LoadModule directive to the httpd.conf. You can just add it to the

Tomcat 4.1.12 - JK2 2.0.1 - IIS 5.0 & load balancing

2003-01-22 Thread Warner Godfrey
- Original Message - From: "Warner Godfrey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 23, 2003 2:31 PM Subject: Tomcat 4.1.12 - JK2 2.0.1 - IIS 5.0 & load balancing Hello, Is load balancing supported by the JK2 ISAPI filter (isapi_redirect2.dll)? If it is I am

RE: Re[2]: tomcatAuthentication="false" and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Jacob Kjome
Notice that you misspelled tomcatAuthentication. You wrote: request.tomcatAuthenticatoin=false It should be request.tomcatAuthentication=false Jake At 12:58 AM 1/23/2003 +0100, you wrote: Ok, Sorry about the laguage. My Apache version is 2.0.43 and Tomcat 4.1.18. I have a servlets p

Re: Tag object reuse (pooling) in jsp 2.0?

2003-01-22 Thread Craig R. McClanahan
On 21 Jan 2003, Joe Tomcat wrote: > Date: 21 Jan 2003 05:46:53 -0800 > From: Joe Tomcat <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Tag object reuse (pooling) in jsp 2.0? > > The current wisdom on object pooling is

RE: Re[2]: tomcatAuthentication="false" and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Ignacio J. Ortega
Aleix, > > Ok, > >Sorry about the laguage. > Conoces el chiste del taxista de Nueva york? ;) >My Apache version is 2.0.43 and Tomcat 4.1.18. I have a > servlets path > with the web.xml file with the authentication configuration > in this way: > > I suppouse you have configured a

PJA libraries

2003-01-22 Thread Yakov Belov
Dear All, I tried to use PJA libraries (pure java implementation of java.awt library) to draw charts from my servlet. The essential code changes are: System.setProperty ("awt.toolkit", "com.eteks.awt.PJAToolkit"); System.setProperty ("java.awt.graphicsenv","com.eteks.java2d.PJAGraphicsEnvironme

RE: Re[2]: tomcatAuthentication="false" and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Aleix Vergés
Ok, Sorry about the laguage. My Apache version is 2.0.43 and Tomcat 4.1.18. I have a servlets path with the web.xml file with the authentication configuration in this way: Example Security Constraint Protected Area /* DELETE GET POST PUT tomcat BASIC BASIC Authenticat

RE: HTTP 500 - No Context configured

2003-01-22 Thread Turner, John
Hmmm...to be honest I am not quite sure what to tell you. It looks like *maybe* the one you want is test.tsc/server.xml, but it is hard to be sure. I'm not familiar with the RPM...perhaps someone here who is can help out. The goal being to find out where the RPM puts server.xml. John -Orig

Re: Tomcat Out of memory

2003-01-22 Thread Igor I. Tovstopyat-Nelip
I'm using 1.4.1_01 Sun's JVM which is all right. 1.3.1 had a memory leak. I'm not quite sure about 1.4.0, I would upgrade it, it's easy to do. Also, try the following which works for me: 1. I use the environment variable CATALINA_OPTS. 2. I noticed that you didn't use quotes, this may be a probl

Tag object reuse (pooling) in jsp 2.0?

2003-01-22 Thread Joe Tomcat
The current wisdom on object pooling is "don't do it", with the exception of expensive objects like database connections, etc. Right now, jsp uses object pooling of tag objects, in theory to attain higher performance. This might have made sense back in the old days, but now must Tag objects are v

RE: Re[2]: tomcatAuthentication="false" and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Ignacio J. Ortega
Aleix, > > Hola Ignacio, > > He estado probando exactamente lo que vosotrois comentais, pero > Tomcat me sigue pidiendo que entre login i password. > Alguna idea? > No entiendo bien, estas seguro de que quien pide el password es tomcat y no el servidor de http? Un poco de informacio

RE: Tomcat configuration problem: JSPs work, servlets don't

2003-01-22 Thread Felicia Neff
That's exactly what I needed to know. Thanks. -- Felicia On Wed, 22 Jan 2003, Turner, John wrote: > > Sorry, I should have been clearer. > > Have you mapped HelloServlet in web.xml? You can't just drop a servlet into > a directory anymore, especially the default ROOT directory...the default > I

Re: Tomcat and mysql

2003-01-22 Thread Larry Meadors
Looking at the stack trace, I do not see anything related to mysql. What makes you think that is the source of the problem? Based on the org.apache.jsp.projects$jsp bit, I would look in the project.jsp file first... Larry >>> [EMAIL PROTECTED] 01/22/03 15:47 PM >>> Hello, I have installed a we

Tomcat and mysql

2003-01-22 Thread Lihong Sun
Hello, I have installed a web application called xplanner. It is using mysql and it is integrated in tomcat for authentication. I got the following error when I startup the application. I susspect somehow tomcat doesn't work well with mysql database. I wonder if anyone has seen this problem and

Tomcat session sharing behind loadbalanced apache servers

2003-01-22 Thread Michael Della Bitta
Hi, just wondering if anybody has managed to share sessions among Tomcat installs behind Apache installs on separate machines running behind a hardware load balancer. My university has three web servers, each with it's own Apache linked up to it's own Tomcat. Apparently, my group is the only on

RE: Resources for a Context

2003-01-22 Thread Craig R. McClanahan
On Wed, 22 Jan 2003, David Keyes wrote: > Date: Wed, 22 Jan 2003 17:09:44 -0500 > From: David Keyes <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: Resources for a Context > > I would be happy to make any modificati

RE: STRUTS

2003-01-22 Thread Victor Lewis
Try putting the lib/* in webapps/struts-example/WEB-INF/lib. Jars in WEB-INF/lib are automatically searched by the web app's class loader. Please review http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html. -Victor > -Original Message- > From: José Moreira [mailto:[E

JK2 and Victual Hosts

2003-01-22 Thread Victor Lewis
Would someone please give me some guidance on setting up Apache 2.0.43 in front of Tomcat 4.1.18 with multiple Virtual Hosts? The information in the documentation is tantalizing but I cannot quite get it to work. I just looking for a general theory of operation here. Do I need to create matching

Re: HTTP 500 - No Context configured

2003-01-22 Thread pcampaigne
output of find / -name server.xml -print /opt/wsappdev/plugins/com.ibm.etools.servletengine/conf/server.xml /opt/wsappdev/plugins/com.ibm.etools.tomcat.tools/defaultConf32/server.xml /opt/wsappdev/plugins/com.ibm.etools.tomcat.tools/defaultConf40/server.xml /opt/wsappdev/workspace/Toncat4 test/Tomc

RE: Tomcat Out of memory

2003-01-22 Thread Hari Venkatesan
Nate Take a look at the following site. It gives you a feeler of how to do it. Once you run the batch file, it updates the Win2000 registry entries for you. From there you can play with it. http://www.mattkelli.com/tech/tomcat/ntservice.htm When you follow the instructions, and run the batch

Re: Tomcat Apache directories, jsp/servlet path

2003-01-22 Thread Chris Schild
That is what I have... I'm still getting the: Forbidden You don't have permission to access /admin/ on this server. The permissions should be good as everyone has access. Something is messed up somewhere I'll set it down and start again from the beginning with all of the notes that I have

RE: Tomcat configuration problem: JSPs work, servlets don't

2003-01-22 Thread Turner, John
Sorry, I should have been clearer. Have you mapped HelloServlet in web.xml? You can't just drop a servlet into a directory anymore, especially the default ROOT directory...the default Invoker servlet (which used to let you just drop a servlet into a directory and have it work) is disabled by d

RE: Resources for a Context

2003-01-22 Thread David Keyes
I would be happy to make any modifications that would be required. I've spent a bit of time looking around at the source already, but I'm not sure what the best approach would be. It would be nice if it could be done in a "plugin" kind of way, but after looking around a bit, it seems that the

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-22 Thread Turner, John
I would look for the RPM for 2.0.43 and install that. If you go back a day or two in the list archives, I posted the URL for a 2.0.43 RPM in response to someone else's post. Unfortunately, I just don't have the time right now to search for it myself. John > -Original Message- > From:

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-22 Thread vim m
Thanks again. I downloaded httpd-2.0.44.tar.gz and installed Apache. Startup gives me this error, /usr/local/apache2/bin/httpd: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory Where could I download this file? I did a google, but cou

Re: Tomcat Out of memory

2003-01-22 Thread Nate
We are using 1.4.0_01, this shouldn't suffer from any of the documented issues that 1.3.1 had. Really my question just pertains to the proper method of passing jvm startup parameters when tomcat is configured to run as a service. Anyone have any input? - Original Message - From: "Brandon

Re: Tomcat configuration problem: JSPs work, servlets don't

2003-01-22 Thread Felicia Neff
The exact error I get when I try to access http://www.mydomain.org/servlet/HelloServlet is: HTTP Status 404 - /servlet/HelloServlet type Status report message /servlet/HelloServlet description The requested resource (/servlet/HelloServlet) is not available. Apache Tomcat/4.1.18 -- To unsubscri

Re: Tomcat Out of memory

2003-01-22 Thread David Kavanagh
I set CATALINA_OPTS (whcn using the catalina.sh script) Nate wrote: Thanks for the info, but I think our problem is more related to allocating the amount of memory we need than the -server option. Also, I'm not even sure that I am setting these in the right place. - Original Message -

RE: HTTP 500 - No Context configured

2003-01-22 Thread Turner, John
That's not even a valid server.xml. Please run the following: find / -name server.xml -print and tell us the output. John > -Original Message- > From: pcampaigne [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 4:40 PM > To: Tomcat Users List > Subject: Re: HTTP 500 - N

RE: Tomcat Out of memory

2003-01-22 Thread Brandon Cruz
we have the exact same configuration JDK 1.3.1, Tomcat 4.x, Linux. We also have 512 allocated, but run out of memory just over 200 MB. I think JDK 1.3.1 from sun has a memory leak (according to a post yesterday), so we are going to try to upgrade to IBM's 1.4 JDK and see what happens. Brandon -

RE: Tomcat Apache directories, jsp/servlet path

2003-01-22 Thread Turner, John
OK. Does /some/dir/QV/webapps/admin exist? If not, that is why you are getting a 404. If you want /admin in QV/webapps/admin, then I believe the docBase in your Context should simply be "admin", not "../QV/webapps/admin". Tomcat has CATALINA_HOME/webapps as an appBase by default. That's for

Re: Tomcat Out of memory

2003-01-22 Thread Nate
Thanks for the info, but I think our problem is more related to allocating the amount of memory we need than the -server option. Also, I'm not even sure that I am setting these in the right place. - Original Message - From: "Claudio Pracilio" <[EMAIL PROTECTED]> To: "'Tomcat Users List'"

Re: HTTP 500 - No Context configured

2003-01-22 Thread pcampaigne
John, I installed Tomcat from the rpm tomcat4-4.1.18-full.1jpp.noarch.rpm. The entire contents of the /etc/tomcat4/server.xml file is: factory.org.apache.catalina.users.MemoryUserDatabaseFactory pathname conf/tomcat-users.xml usernamesa password driverClassName org.hsql.jdbcDriver url jdbc:Hyperso

RE: Tomcat Out of memory

2003-01-22 Thread Claudio Pracilio
Hi There, We have had problems with our JVM running out-of-memory on Linux with Suns JDK 1.3.1. This was resolved by not using the "-server" option. Not sure what the JVM does differently internally, but using the default -client option had resolved our problems. Regards, Claudio -Origin

Re: Tomcat Apache directories, jsp/servlet path

2003-01-22 Thread Chris Schild
Yes, I believe I am confusing myself! (: I've looked at to manys docs and started circling myself... Anyhow, 1) I have the a Host element of mycompany.com 2) The appBase is QV 3) admin.xml is defined in QV/admin.xml 4) Here is the admin.xml Everything seems clear but I'm obviously doi

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-22 Thread Turner, John
Only if you have a Mac running Linux. John > -Original Message- > From: vim m [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 4:21 PM > To: Tomcat Users List > Subject: RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1 > > > Dear John: Thanks. I have one more quest

RE: Resources for a Context

2003-01-22 Thread Craig R. McClanahan
On Wed, 22 Jan 2003, David Keyes wrote: > Date: Wed, 22 Jan 2003 15:53:22 -0500 > From: David Keyes <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: Resources for a Context > > So what mechanism would you suggest for

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-22 Thread vim m
Dear John: Thanks. I have one more question, Would this file be the one I should download? httpd-2.0.43-powerpc-unknown-linux-gnu.tar.gz. Thanks a lot. --- "Turner, John" <[EMAIL PROTECTED]> wrote: > > That error is about your version of Apache. You > need 2.0.42 (preferably > 2.0.43) minim

Re: using multiple filters

2003-01-22 Thread Craig R. McClanahan
On Wed, 22 Jan 2003, Erik Price wrote: > Date: Wed, 22 Jan 2003 15:37:21 -0500 > From: Erik Price <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: using multiple filters > > > > Craig R. McClanahan wrote: > > >>Is te

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-22 Thread Turner, John
That error is about your version of Apache. You need 2.0.42 (preferably 2.0.43) minimum to use that mod_jk.so. Note that 2.0.44 was just released but is module-compatible with 2.0.43. If you can't upgrade your Apache, you will have to roll your own mod_jk from the connector source distribution,

Tomcat Out of memory

2003-01-22 Thread Nate
We are running Tomcat 4.0.6 on Windows 2000 server using JDK 1.4.0_01. Tomcat is set to run as a service. In our catalina.bat file we have set: JAVA_OPTS= -server -Xms512m -Xmx512m If I am not mistaken, this should start the VM in server mode, and allocate 512MB of memory for it to use. Our app

Altering the request URI in a filter through HttpServletRequestWrapper

2003-01-22 Thread Jan Ploski
Hello, I would like to alter the request URI in my ServletFilter to intercept requests to resources that should only be available to logged in users. I have found a solution in the archive: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg64446.html which basically suggests to term

Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-22 Thread vim m
Hi: I would like to integrate Apache2.0.40 and Tomcat4.1.18 on my computer running Linux 7.1. I downloaded the latest version of mod_jk from here:http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2/bin/linux/i386/mod_jk-2.0.43.so and put it in usr/local/apache2/modules/. I

RE: Resources for a Context

2003-01-22 Thread David Keyes
So what mechanism would you suggest for making MORE than one Resources directory available for a Context? I understand that this may not be supported currently within Tomcat, but it would be REALLY useful to be able to do it for development purposes. If you're interested in my reasoning, pleas

Re: Tomcat configuration problem: JSPs work, servlets don't

2003-01-22 Thread Felicia Neff
Woops, I realize that I should have been more specific. The error I get is a 404 error. I'm sure the servlet itself works, because I dropped it into the examples directory and was able to run it. -- Felicia On Wed, 22 Jan 2003, Felicia Neff wrote: > I am running Tomcat-4.1.18, Apache-1.3.27, an

RE: Tomcat configuration problem: JSPs work, servlets don't

2003-01-22 Thread Turner, John
What error message do you get? The default Invoker servlet is disabled by default for security reasons in recent versions of 4.1.x. John > -Original Message- > From: Felicia Neff [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 3:49 PM > To: Tomcat Users List > Subject: T

Tomcat configuration problem: JSPs work, servlets don't

2003-01-22 Thread Felicia Neff
I am running Tomcat-4.1.18, Apache-1.3.27, and mod_jk-1.2.0. The problem I am having is that while JSPs work, servlets don't. This is the relevant portion of my server.xml file: In /path/to/files, I have: hello.jsp WEB-INF/classes/HelloServlet.class

RE: Tomcat Apache directories, jsp/servlet path

2003-01-22 Thread Turner, John
Well, just copying admin.xml isn't going to do much. I think things are getting a little confusing. If you need some.domain.com/admin, then: 1) you need a HOST element with a name parameter of "some.domain.com" 2) you need to set that HOST's appBase 3) you need to put admin.xml in that appBas

Re: using multiple filters

2003-01-22 Thread Erik Price
Craig R. McClanahan wrote: Is testing the URL the most elegant way to achieve the former (determining when the SecurityFilter should be in effect and when it shouldn't)? And to use the latter (a form validation filter) do I need to register it in the same FilterChain as the the SecurityFilter?

RE: HTTP 500 - No Context configured

2003-01-22 Thread Turner, John
Please post the relevant portion of server.xml. Is there a Context element in it for the ROOT Context? There should be, if you are using the default serverl.xml. John > -Original Message- > From: pcampaigne [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 3:27 PM > To: T

Re: using multiple filters

2003-01-22 Thread Craig R. McClanahan
On Wed, 22 Jan 2003, Erik Price wrote: > Date: Wed, 22 Jan 2003 14:38:05 -0500 > From: Erik Price <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: using multiple filters > > I would like to use a filter on every servlet

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Turner, John
Just one, but I'm not sure it's relevant on HP-UX. "su www" is not the same as "su - www". The "-" means "use the login environment the user whose username is the next argument". So, even if you exported the variables, without telling su to pick them up, it won't. At least, that's how it works

Re: Resources for a Context

2003-01-22 Thread Craig R. McClanahan
On Wed, 22 Jan 2003, David Keyes wrote: > Date: Wed, 22 Jan 2003 14:27:24 -0500 > From: David Keyes <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Resources for a Context > > I am confused about what exactly entries are supposed to accom

HTTP 500 - No Context configured

2003-01-22 Thread pcampaigne
Apache 2.0.43 and tomcat4-4.1.18 auto start ok on Red Hat 8.0 when configured with mod_jk2 2.0.43 and I can view http://localhost, but when trying http://localhost:8080/ I get the following error: HTTP Status 500 - No Context configured to process this request.THe server encountered an interna

Re: Tomcat Apache directories, jsp/servlet path

2003-01-22 Thread Chris Schild
> If you want to auto-deploy, then you need to look at > $CATALINA_HOME/webapps/admin.xml and $CATALINA_HOME/webapps/manager.xml for > examples on how to auto-deploy a Context. Respectively, those two files > will make http://localhost/admin and http://localhost/manager work. > > John Auto-deploy

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Wendy Smoak
> If you can do it manually, from a log in session, but not automatically from > startup or from cron, I'm 99% sure it's because environment variables like > JAVA_HOME and CATALINA_HOME are not being set for the startup and cron > environments. Without those, you won't get anything. They're proba

Re: Non persistence session for Tomcat 4.0

2003-01-22 Thread Craig R. McClanahan
On Wed, 22 Jan 2003, Thomas Colin de Verdière wrote: > Date: Wed, 22 Jan 2003 14:30:08 +0100 > From: Thomas Colin de Verdière <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Non persistence session for Tomcat 4.0 > > I

Re: How to tune Tomcat launch time ?

2003-01-22 Thread Craig R. McClanahan
On Wed, 22 Jan 2003, Franck Delahaye wrote: > Date: Wed, 22 Jan 2003 12:10:28 +0100 > From: Franck Delahaye <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: How to tune Tomcat launch time ? > > Hi here, > > I have developped a CDROM applica

Re: SESSION BETWEEN TWO CONTEXT

2003-01-22 Thread Craig R. McClanahan
On Wed, 22 Jan 2003, Laxmikanth M.S. wrote: > Date: Wed, 22 Jan 2003 16:39:56 +0530 > From: Laxmikanth M.S. <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: SESSION BETWEEN TWO CONTEXT > > Hi All, > well and wish the same.. > I have two con

Re: Has anybody tried using the NSAPI redirector

2003-01-22 Thread John P. Dodge
I don't use the NSAPI redirector but I have built for iPlanet4.1 and SunONE 6.x and it builds pretty easily. I believe that the 4.1 redirector works with SunONE 6.0 web server, but it's been a while since I messed with it. On Wed, 22 Jan 2003, Sankaranarayanan (Ganesh) Ganapathy wrote: > Hi All,

RE: Resources for a Context

2003-01-22 Thread Turner, John
To serve http://localhost:8080/myapp/index.html, all you need is the /myapp Context element. You don't need either of those Resources elements. Using them just confuses Tomcat. I'm not sure what you want to do...if you want to put index.html in c:\dev\proj1\web and have that be /myapp/index.htm

using multiple filters

2003-01-22 Thread Erik Price
I would like to use a filter on every servlet and JSP in my webapp to verify that the user is logged in (by checking the user's session for a value), except for "index.jsp" and "error.jsp" (error.jsp is for things like invalid messages, etc). I would also like to use a filter on certain servlet

RE: Resources for a Context

2003-01-22 Thread Shapira, Yoav
Howdy, I assume you've read this, right? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.htm l > > docBase="c:/dev/proj1/web" /> > docBase="c:/dev/proj2/web" /> > I'm confused about what the above is trying to do. What is the design goal here? Perhaps if we start with tha

Resources for a Context

2003-01-22 Thread David Keyes
I am confused about what exactly entries are supposed to accomplish in Tomcat. I have the following entry in my server.xml file for Tomcat 4.0.6: If the directory c:/dev/proj1/web/ has a file called index.html in it, I would expect loading the url http://localhost:8080/myapp/index.htm

RE: Re[2]: tomcatAuthentication="false" and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Aleix Vergés
Hola Ignacio, He estado probando exactamente lo que vosotrois comentais, pero Tomcat me sigue pidiendo que entre login i password. Alguna idea? Gracias Aleix -Mensaje original- De: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 22 de enero de 20

RE: Porblem editing httpd.conf

2003-01-22 Thread Turner, John
Oops, you're right. My bad. Good eye. John > -Original Message- > From: Andy Eastham [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 1:58 PM > To: Tomcat Users List > Subject: RE: Porblem editing httpd.conf > > > John, > > Do you not need to name it too, ie > LoadMo

please help - strange messages in tomcat 4.1.18

2003-01-22 Thread Raiden
Hello, I apologize for reposting this question again, but I have received no response yet, and these messages are filling up my log files. My catalina.out logs are full of the following messages: Jan 21, 2003 10:31:41 AM org.apache.jk.common.ChannelSocket processConnection INFO: server has been

RE: Porblem editing httpd.conf

2003-01-22 Thread Andy Eastham
John, Do you not need to name it too, ie LoadModule jk2_module modules/mod_jk2-2.0.43.so Thats what's in my working set up anyway. Andy > -Original Message- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: 22 January 2003 18:07 > To: 'Tomcat Users List' > Subject: RE: Porblem edi

RE: Re[2]: tomcatAuthentication="false" and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Ignacio J. Ortega
Jacob, > > BTW, I used > request.tomcatAuthentication=false > not > request.tomcatAuthentication=true > Ooops, sorry, of course if you want tomcatAuthentication=false, you need to put request.tomcatAuthentication=false not true :, next time i will edit my Cut&Paste first i promise ..;) Sal

RE: tomcat/apache on different servers

2003-01-22 Thread Turner, John
> 1) Does the workers.properties file reside on the apache > http server box; Yes. > 2) Do you then replace the localhost entry in > "worker.ajp13.host=localhost" to worker.ajp13.host=tomcatserver; Yes. > 3) Or should you connect them and simply use the proxy > capabilities from apache?

tomcat/apache on different servers

2003-01-22 Thread Brad Straw
Up to now I have always configured tomcat and apache on the same box. However, I have need to separate them to 2 physical boxes. My questions are: 1) Does the workers.properties file reside on the apache http server box; 2) Do you then replace the localhost entry in "worker.ajp13.host=localho

RE: mod_jk2-2.0.43.so with Apache 2.0.44?

2003-01-22 Thread Turner, John
>From http://httpd.apache.org/: "No changes in configuration or third-party modules are necessary to upgrade from 2.0.42 or later, and we will make every effort to maintain this easy upgrade path in future 2.0 releases." John > -Original Message- > From: Andrzej Jan Taramina [mailto:[E

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Lott, Carey
Ricky, Actually, for my startup script that is in init.d, all I am doing is linking to catalina.sh. An "ls -al" of it look like this: lrwxrwxrwx 1 root staff 53 Nov 12 09:01 tomcat -> /bto/appl/apache/jakarta-tomcat-4.0.4/bin/catalina.sh I have then placed a link to this in the rc

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Ricky Leung
Thanks for the info. For the information, Tomcat usually stops, but occasionally, it doesn't. This seems to happen when there are some lockwaits on the db and Tomcat is just sitting there waiting for it to return. And yes, we are tracking on it to see why this is happening so we can have this fix

mod_jk2-2.0.43.so with Apache 2.0.44?

2003-01-22 Thread Andrzej Jan Taramina
Anyone know if the current mod_jk2-2.0.43.so module will work with the recently posted Apache Apache 2.0.44 release? Thanks! Andrzej Jan Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com -- To unsubscribe, e-mail: For additional comma

RE: Porblem editing httpd.conf

2003-01-22 Thread Turner, John
Tell it where: LoadModule modules/mod_jk2-2.0.43.so John > -Original Message- > From: pcampaigne [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 1:03 PM > To: Tomcat Users List > Subject: Porblem editing httpd.conf > > > After I added the following line to httpd.conf,

Has anybody tried using the NSAPI redirector

2003-01-22 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi All, Does it work against the SunONE webserver? Also does anybody have prebuild binaries. Does apache intend to make the prebuilt binaries for these available as well? Thanx in advance for any help. --Ganesh -- To unsubscribe, e-mail: For additional commands, e

Porblem editing httpd.conf

2003-01-22 Thread pcampaigne
After I added the following line to httpd.conf, the httpd server vails to start: LoadModule mod_jk2-2.0.43.so I get a syntax error at startup. What am I doing wrong here. I am trying to tell it to load the jk2 connector module. using tomcat4-4.1.18 and httpd 2.0.43 Thanks, Phil

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Shapira, Yoav
Howdy, I can't share the exact script due to intellectual property law issues ;) But it's trivial, basically doing: export CATALINA_HOME=/foo/bar $CATALINA_HOME/bin/shutdown.sh sleep 60 $CATALINA_HOME/bin/startup.sh That's it. >One of the problems I am worried about >is that Tomcat isn't stop

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Lott, Carey
Y'all were right. You were absolutely right! It was the environment variables. Once I placed the variables at the beginning of the script and exported them, the cron worked perfectly. Thanks Again -Original Message- From: Lott, Carey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, J

RE: Caucho Resin to Tomcat Conversion

2003-01-22 Thread Edgar Dollin
Tomcat has better low end hosting support and there are no licensing fees. My business is moving to smaller sites with fairly complex intranet development. Edgar Subject: RE: Caucho Resin to Tomcat Conversion From: "Shapira, Yoav" Date: 2003-01-21 14:16:35 [Download message RAW] Hi,

Failed ErrNO=61

2003-01-22 Thread Ravindra K. Bhat
Hi, Any ideas on how to solve the following error in Mod_jk.log: [Wed Jan 22 08:57:20 2003] [jk_connect.c (177)]: jk_open_socket, connect() failed errno = 61 [Wed Jan 22 08:57:20 2003] [jk_ajp_common.c (626)]: In jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 61 Thanks Ravi -- To un

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Lott, Carey
I was actually wondering about that concerning the startup environment, but I didn't think it would be an issue for cron since it was the root crontab. I'll add it to the script and see what happens. Thanks!! -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Ricky Leung
Do you mind sharing your Tomcat restart script with us? I want to do the same but perhaps on a weekly basis. One of the problems I am worried about is that Tomcat isn't stopping, so I would need to wait for it to end or kill it before I restart it. Any help would be appreciated. Thanks. Ricky

Re: tomcat not starting after reboot or from cron

2003-01-22 Thread p niemandt
I suspect it has something to do with your environmental variables: Quite likely the java_home & catalina_home has not been set at the time the script executes. When doing it from the console, as you are already logged on, it will work fine. You could try to export the variables just before running

Re[2]: Configuring error page in web.xml

2003-01-22 Thread Jacob Kjome
Hello Chandra, Ok, then I'm not sure what the issue is? Are you saying that it started up fine before you edited the web.xml and after you added the stuff you mentioned, it failed? I would suggest removing the stuff and only put that in your webapp's web.xml, not the conf/web.xml. If you confi

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Shapira, Yoav
Howdy, We have some tomcat instances that restart nightly from a crontab, without a problem. They're all tomcat 4.0.6-LE on Solaris 2.8. None use apache as the front end. None run as root. Each runs as its own user, and the restart job is in that user's crontab. We've had no problems with this

Re: tomcat not starting after reboot or from cron

2003-01-22 Thread Larry Meadors
I had a similar problem, and changed catalina.sh to do this at the start: source /etc/profile This was where I was setting CATALINA_HOME, and JAVA_HOME. When the script got run at startup, those vars were not yet set... Larry >>> [EMAIL PROTECTED] 01/22/03 10:20 AM >>> Has anybody had a problem

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Turner, John
If you can do it manually, from a log in session, but not automatically from startup or from cron, I'm 99% sure it's because environment variables like JAVA_HOME and CATALINA_HOME are not being set for the startup and cron environments. Without those, you won't get anything. They're probably bei

RE: mod_jk performance

2003-01-22 Thread Ricky Leung
I had the same problem so if you look carefully, you can see the script changed to a sub-directory and was still trying to access "./libtool". The easiest way without modifying the script for me was just creating a link in that directory to point to the parent's libtool. I had to create 2 links i

tomcat not starting after reboot or from cron

2003-01-22 Thread Lott, Carey
Has anybody had a problem with tomcat (4.0.4) starting after a reboot? Or problems starting it from the root crontab? I have no problems at all starting tomcat manually. Everything works fine that way. To automate the startup after a reboot, I am using init.d with the startup script in rc3.d.

Re: Re-name mod_jk2-2.0.43.so to mod_jk2.so?

2003-01-22 Thread Jacob Kjome
Hello pcampaigne, It depends on the name you use with LoadModule. Load the name of the module that you want. Choose whatever name you want for the module. Jake Wednesday, January 22, 2003, 10:09:43 AM, you wrote: p> Is it necessary to re-name mod_jk2-2.0.43.so to mod_jk2.so when I use this

  1   2   >