Re: Multiple instances

2003-05-31 Thread John Turner
Ditto. John On Thu, 29 May 2003 18:47:31 +0800, Jason Bainbridge [EMAIL PROTECTED] wrote: On Thu, 29 May 2003 18:41, Rohit Peyyeti wrote: I need to setup multiple tomcat 4.1.24 instances (for each of my web applications). I did read RUNNING.txt shipped with tomcat distribution -- but was not

Re: Need Help in clearing my doubts

2003-05-31 Thread Geralyn M Hollerman
Joe wrote: According to one of the mail which I have received, I saw him putting this in apache : httpd.conf: JkWorkersFile /home/gmh2441/uPortal/Tomcat_4-0-4/conf/workers.properties JkLogFile

Re: How to create directories unser webapps?

2003-05-31 Thread John Turner
This only works if you allow symbolic links (not recommended). In recent versions of Tomcat, you have to explicitly define symbolic links as being OK...they are disabled by default. John On Thu, 29 May 2003 10:32:02 -0500, Geralyn M Hollerman [EMAIL PROTECTED] wrote: stephanj wrote: Is it

RE: remote restart of server

2003-05-31 Thread Brian Buchanan
If tomcat is running as a service, and you have an administrator account on the machine (It's terribly difficult to give other users access to start/stop services) you can start and stop the service in a number of ways. From a batch file I use netsvc.exe from the Windows 2000 Server resource Kit

Re: Need Help in clearing my doubts

2003-05-31 Thread John Turner
On Fri, 30 May 2003 19:21:55 +0800, Joe [EMAIL PROTECTED] wrote: http://www.johnturner.com/howto/rh72-howto.html According to one of the mail which I have received, I saw him putting this in apache : httpd.conf:

Re: Multiple instances

2003-05-31 Thread John Turner
On Fri, 30 May 2003 08:12:26 -0400, Lloyd Meinholz [EMAIL PROTECTED] wrote: I have a wrapper startup script that changes the value of CATALINA_BASE before it calls the startup.sh script. Just have the right directories and files created in your CATALINA_BASE directory before you call

Re: Need Help in clearing my doubts

2003-05-31 Thread John Turner
Thanks for the kind words. I can tell you that I just tried Apache 2.0.45 (from source), Tomcat 4.1.24, mod_jk 2.0.3 (from source...latest), and Red Hat 9.0, and everything worked fine, with only one snag, but that was a building Apache snag, not a mod_jk snag. I will update my HOWTO soon,

Tomcat 5.0.2 Bug

2003-05-31 Thread Ed Smith
I think there is a bug in Tomcat 5.0.2 (at least under Windows XP) dealing with placing a $ before (at least some) tags. Consider the following JSP: jsp:useBean id=login class=LoginBean scope=session/ jsp:setProperty name=login property=username value=foo/ html body $jsp:getProperty

Re: How to create directories unser webapps?

2003-05-31 Thread Geralyn M Hollerman
John Turner wrote: This only works if you allow symbolic links (not recommended). In recent versions of Tomcat, you have to explicitly define symbolic links as being OK...they are disabled by default. I didn't realize that...so is there a better (recommended) way to refer to a directory

Re: Error 500 - Can't find my classes in WEB-INF/classes

2003-05-31 Thread Rick Roberts
Yea! I put my classes inside of a package within WEB-INF/classes Problem solved. Thanks, -- *** * Rick Roberts* * Advanced Information Technologies, Inc. * *** Tim Funk wrote: See Don't

Re: How to create directories unser webapps?

2003-05-31 Thread John Turner
I'm no guru, but I believe the recommended configuration is to set the Context with the appopriate directory as its docBase. A Context's docBase does not have to be under a Host's appBase. John On Fri, 30 May 2003 08:40:31 -0500, Geralyn M Hollerman [EMAIL PROTECTED] wrote: John Turner

Re: Tomcat / Apache / JK2 impossible??

2003-05-31 Thread John Turner
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/ John On Thu, 29 May 2003 14:39:55 +0530, deepa_narayanan [EMAIL PROTECTED] wrote: I am trying to get Tomcat 4.1.24 and apache 2.0.45 working with mod_jk connector. I need to install it for unix and windows. Where do i get teh

RE: remote restart of server

2003-05-31 Thread mde
Thanks Brian. As soon as I can get Tomcat installed as a service successfully, then I think my problems will largely be resolved. So far I haven't been able to get it to work as a service (installs succesfully, but nothing happens on start), but I've got a link from someone else in the list to an

apache serving as a proxy server to tomcat but cant find servlet

2003-05-31 Thread Eric fiedler
hi - I have apache setup as a proxy server to machine running Tomcat hosting a site. I can view the Tomcat site from the apache machine by using the url, we'll say http://apache:8080/TomactMachine/index.html The site will come up fine. However, when I try to execute a servlet off the Tomcat

tar.tar binary

2003-05-31 Thread Moss, Patricia
Good Morning - I attempted to download the jakarta tomcat 4.0.3 binary (for HP), from the jakarta website. On the binary site it listed the file as jakarta-tomcat-4.0.3.tar.gz; however, when the download completed the file was jakarta-tomcat-4.0.3.tar.tar. I tried using the regular HP tar as

RE: tar.tar binary

2003-05-31 Thread graghupathy
afer the download rename is to jakarta-tomcat-4.0.3.tar.gz and the usin gunzip to unzip it and then untar ( tar -xvf ) Regard Guru -Original Message- From: Moss, Patricia [mailto:[EMAIL PROTECTED] Sent: 30 May 2003 15:19 To: Tomcat Users List Subject: tar.tar binary Good Morning - I

Re: apache serving as a proxy server to tomcat but cant find servlet

2003-05-31 Thread John Turner
Did you explicitly map your servlet in your web application's web.xml file? You have to map your servlet to a URL, you can't just call it. Check the docs and the FAQ. John On Fri, 30 May 2003 10:12:27 -0400, Eric fiedler [EMAIL PROTECTED] wrote: hi - I have apache setup as a proxy server

RE: apache serving as a proxy server to tomcat but cant find servlet

2003-05-31 Thread Eric fiedler
yes I did...The page running under Tomcat works fine if I run it from localhost...the machine runing Tomcat -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 10:21 AM To: Tomcat Users List Subject: Re: apache serving as a proxy server to tomcat but

Re: tar.tar binary

2003-05-31 Thread Jason Bainbridge
On Fri, 30 May 2003 22:18, Moss, Patricia wrote: Good Morning - I attempted to download the jakarta tomcat 4.0.3 binary (for HP), from the jakarta website. On the binary site it listed the file as jakarta-tomcat-4.0.3.tar.gz; however, when the download completed the file was

RE: tar.tar binary

2003-05-31 Thread Moss, Patricia
Thank you Guru!! Pati Moss Unix Systems Administrator First Consulting Group, Inc. http://www.fcg.com Phone: (610) 989-7105 Fax: (610) 989-3207 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 10:20 AM To: [EMAIL

Tomcat under UML

2003-05-31 Thread Benjamin Temko
Greetings, all - I have searched many different sources for information about Tomcat running in a UML server, and the only things I can find are documents protesting that it's possible. It certainly seems as if it ought to be, since Apache runs right out of the box, and java applications

Re: error starting apache w/ mod_jk2

2003-05-31 Thread Vincent J. Buonassisi
you can get the connectors at: http://jakarta.apache.org/builds/jakarta-tomcat-connectors you'll choose either jk or jk2. jk2 supercedes jk. here is some documentation: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html

PreparedStatement Pool

2003-05-31 Thread Munteanu Gabriel
I want to make a PreparedStatementPool with all my SQL queries[not all, because I noticed that not all of them is good to be prepared] my site will use. Anyway, I reailized that there are around 35 queries. Now, I made a guess and I think 15 wil be used REALLY very frequently. Also, I assume

RE: tar.tar binary

2003-05-31 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Patricia, Be carefull with the HP tar for unpacking files for tomcat. It works well with some of the tarballs but for others some file corruption occurs. The corruption appears to affect specifically the ajp13 connectors. We burnt out a new IT specialist trying to integrate to apache because

jk2 isapi filter crashes iis services afterter several failed requests?

2003-05-31 Thread [EMAIL PROTECTED]
I though I was pretty thorough in providing information about my problem, environment, what I've tried, etc. But I have not gotten any responses, not even a suggestion to try another mailing list. I try to answer questions if I can, or at least point people in the right direction. So if I'm

Re: apache serving as a proxy server to tomcat but cant find serv let

2003-05-31 Thread John Turner
Sounds like an Apache mod_proxy configuration problem to me, then. Or, is your Tomcat Context configured in a Host named localhost or one named for the FQDN that you are using? John On Fri, 30 May 2003 10:20:04 -0400, Eric fiedler [EMAIL PROTECTED] wrote: yes I did...The page running under

RE: Tomcat STILL freezing - time to look at another app server?

2003-05-31 Thread George Sexton
Pay attention to the comments made about database contention. This URL provides additional information about contention issues in web applications: http://www.mhsoftware.com/resources/top10asp.html#TIP_9 -Original Message- From: Hunter, Sandra [mailto:[EMAIL PROTECTED] Sent: Thursday,

Advanced Struts best practices web cast training by winner of besttraining with money back guarantee(this is not Intro To Struts):

2003-05-31 Thread Vic Cekvenich
Advanced Struts best practices web cast training by winner of best training with money back guarantee(this is not Intro To Struts): Register now for the best rate by going to www.baseBeans.com and click training, then click register. The cost is very reasonable to and cost effective take web

RE: Tomcat STILL freezing - time to look at another app server?

2003-05-31 Thread James Lewis
Just to be clear. when you say: I have beans that I set back to null, and session variables that I do the same with, at the end of this particular file and at the beginning of the app. Does this include the Connection object (conn)? This has been a particular problem for us in the past (as

Typical newbie problems

2003-05-31 Thread John Collier
I am trying to work through some servlet examples from a book (Java for the Web with Servlets, JSP, and EJB) and am getting the dreaded HTTP Status 404 message, i.e., The requested resource (xxx) is not available. This does not surprise me. What concerns me is that I have no clue how to go about

RE: tar.tar binary

2003-05-31 Thread Wendy Smoak
Jeff wrote: Be carefull with the HP tar for unpacking files for tomcat. It works well with some of the tarballs but for others some file corruption occurs. The corruption appears to affect specifically the ajp13 connectors. Don't quote me on this as I was in a panic when I couldn't get the

Re: Typical newbie problems

2003-05-31 Thread John Turner
The /examples web app, and most Tomcat books published before 4.1.12-ish were released use the Invoker servlet. The Invoker is what lets you just put a servlet into a directory and call it. This is disabled by default in more recent versions of Tomcat. You have to explicitly declare every

RE: tar.tar binary

2003-05-31 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
That does work but we have found that it leaves all files with windows linefeeds. In some cases this causes the #!/bin/sh to not be recognized by the shell. Plus it annoys me for no good reason having to see all those ^M's when I use vi. We have even had problems with some of the xml files that

RE: Advanced Struts best practices web cast training by winner of best training with money back guarantee(this is not Intro To Struts):

2003-05-31 Thread Shapira, Yoav
Howdy, Please don't use this list for advertising. Yoav Shapira Millennium ChemInformatics -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 11:22 AM To: [EMAIL PROTECTED] Subject: Advanced Struts best practices web cast training by winner of

RPM for Tomcat 4.1.24 and JDK 1.4

2003-05-31 Thread Scott Ahten
Hello everyone, I'm trying to install the light version of Tomcat 4.1.24 on Redhat Linux 7.3 from the RPM on the Jakarta site, but It fails due to the following dependencies. java_parser_impl xml-commons-apis I have already installed the Java 1.4 JDK RPM from the Sun website

RE: apache serving as a proxy server to tomcat but cant find serv let

2003-05-31 Thread Eric fiedler
damn thats gonna suck...Sat. night Im hanging out with some friends in baltimore..I think Sunday we're going to take the boat out -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 11:01 AM To: Tomcat Users List Subject: Re: apache serving as a proxy

RE: apache serving as a proxy server to tomcat but cant find serv let

2003-05-31 Thread Eric fiedler
psexcuse that...wrong reply. -Original Message- From: Eric fiedler [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 12:12 PM To: 'Tomcat Users List' Subject: RE: apache serving as a proxy server to tomcat but cant find serv let damn thats gonna suck...Sat. night Im hanging

Apache 2.0.45/Tomcat4.0.4/mod_jk/ajp13 - I got it to work!!

2003-05-31 Thread Geralyn M Hollerman
Whew! It's all over now but the documentation... After over a week of scouring the Net, reading documentation over and over to grasp any possible subtleties, and basically trying anything I could think of, I have at last gotten my Apache to talk to my Tomcat via mod_jk - I know yesterday I posted

RE: Can't find TomcatStarter

2003-05-31 Thread Allen Williams
Thanks I was beginning to wonder if my post was hitting the mail list (I'm bouncing back and forth between several computers). I will give this a shot and post the results. anw -Original Message- From: Chong Yu Meng [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 7:55 PM

Re: RPM for Tomcat 4.1.24 and JDK 1.4

2003-05-31 Thread John Turner
Don't use the LE version...it's a special purpose distribution. Also, in my opinion, you're much better off downloading the binary install of Tomcat, not the RPM. Download the binary, unpack it, set CATALINA_HOME, and start it up...its that easy. All covered in my HOWTO:

Re: apache serving as a proxy server to tomcat but cant find serv let

2003-05-31 Thread John Turner
Sounds like fun! Are we invited? ;) John On Fri, 30 May 2003 12:12:13 -0400, Eric fiedler [EMAIL PROTECTED] wrote: damn thats gonna suck...Sat. night Im hanging out with some friends in baltimore..I think Sunday we're going to take the boat out -Original Message- From: John Turner

Re: Setting Tomcat to run as a service with recovery settings to restart if the service stops.

2003-05-31 Thread Scott Reynolds
I have this at the bottom of my startup.bat file: :run echo.%CATALINA_HOME%\bin\running.txt call %EXECUTABLE% run %CMD_LINE_ARGS% if exist %CATALINA_HOME%\bin\running.txt goto run And this at the bottom of my shutdown.bat file: if exist %CATALINA_HOME%\bin\running.txt del

Re: How do I listen for threads starting and stopping?

2003-05-31 Thread Kenneth H. Cox
Sorry; I was unclear. I'm planning to use TclBlend to start one Tcl interpreter per thread (a Tcl interp cannot jump threads and so cannot be pooled). Starting and initializing these interps is somewhat heavyweight, so my plan was to keep them around until Tomcat discards the thread or the

Is this normal for Tomcat?

2003-05-31 Thread Angelov, Rossen
Hi, I'm using Tomcat 4.1.12 running on Solaris 5.7 Issue #1: There are two different contexts with different paths and different docBase. Two different servlets using two different log files (log4j). I was browsing the pages from the same browser window (IE 5.5) switching between both contexts

RE: How do I listen for threads starting and stopping?

2003-05-31 Thread Shapira, Yoav
Howdy, Just be very careful with ThreadLocal -- it's inherently evil and easy to misuse. Consider the PooledExecutor from Doug Lea's util-concurrent package (which will become java.util.concurrent in J2SE 1.5, Doug Lea's the spec lead for JSR 166) as an alternative:

RE: Is this normal for Tomcat?

2003-05-31 Thread Shapira, Yoav
Howdy, Do you have any code in the common/lib or common/classes repository that these two contexts share? Is the File destination for log4j's FileAppender configured to be the same for the two contexts? Yoav Shapira Millennium ChemInformatics -Original Message- From: Angelov, Rossen

RE: Is this normal for Tomcat?

2003-05-31 Thread Angelov, Rossen
No, they are completely different: webapps - context1 - WEB-INF - classes - com/context1 webapps - context2 - WEB-INF - classes - com/context2 I don't have anything in common/lib or common/classes used by these servlets. log4j has two different paths for the log files. I'm not using

Re: RPM for Tomcat 4.1.24 and JDK 1.4

2003-05-31 Thread Vincent J. Buonassisi
hi, in your howto document you set up two listeners. can you explain to me why you did this? thanks, Don't use the LE version...it's a special purpose distribution. Also, in my opinion, you're much better off downloading the binary install of Tomcat, not the RPM. Download the binary,

RE: Is this normal for Tomcat?

2003-05-31 Thread Angelov, Rossen
Sorry, I meant, I'm not using Apache's FileLogger to log this data. Both are using FileAppender with different log4j.appender.LOG.File property. The categoryFactory, rootCategory, PatternLayout and ConversionPattern are the same. -Original Message- From: Shapira, Yoav [mailto:[EMAIL

RE: Is this normal for Tomcat?

2003-05-31 Thread Shapira, Yoav
Howdy, Are you actually specifying a categoryFactory? Is it a custom one? What version of log4j are you using? I still have no clue as to the shared cookies issue. Yoav Shapira Millennium ChemInformatics -Original Message- From: Angelov, Rossen [mailto:[EMAIL PROTECTED] Sent: Friday,

Re: libjkjni.so

2003-05-31 Thread Vincent J. Buonassisi
hi pascal, that worked! the jk2.socket file is being created and apache seems to be using it after i changed the permissions on the file. but, i am getting the following error when the service starts: Starting service Tomcat-Standalone Apache Tomcat/4.1 May 30, 2003 8:38:57 AM

Re: how to avoid listing directory in Tomcat 4.1 ?

2003-05-31 Thread Tim Funk
http://tomcatfaq.sourceforge.net/configure.html -Tim Michenaud Laurent wrote: Hi, how to avoid listing directory in Tomcat 4.1 ? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Is this normal for Tomcat?

2003-05-31 Thread Larry Meadors
This could be a thread safety issue. Are you using a servlet that has instance variables to generate the response? Larry [EMAIL PROTECTED] 05/30/03 11:33 AM I still have no clue as to the shared cookies issue. Yoav Shapira Millennium ChemInformatics -Original Message- From:

mod_jk2, directory listing managed by Tomcat, not Apache

2003-05-31 Thread Michenaud Laurent
Hi, I've got a little problem with mod_jk2. In my configuration, all jsp and servlets are redirected to Tomcat. All html, css... pages are managed by Apache. But when i request www.mysite.com/, the directory listing is printed by Tomcat and it should be done by Apache. I don't why... My uri in

RE: Is this normal for Tomcat?

2003-05-31 Thread Angelov, Rossen
I'm not sure if I understand the question very well but the original HttpServletResponse is being passed to the constructor of another class to create an instance and then this instance is changed in the course of the execution. At the end it's printed out through PrintWriter and then flushed.

Thanks for the help

2003-05-31 Thread John Collier
I just wanted to let you know that I appreciate the prompt help that I received and was finally able to get my toy application to work. After much digging around, poking, guessing (and cursing), I added the following lines to the web.xml file for the toy application: servlet-mapping

RE: how to avoid listing directory in Tomcat 4.1 ?

2003-05-31 Thread Richie Chauhan
In the Jakarta-tomcat.../conf/web.xml the configuration for the default servlet should be as below. The parameter of interest is listings and the value should be false servlet servlet-namedefault/servlet-name servlet-class

Re: RPM for Tomcat 4.1.24 and JDK 1.4

2003-05-31 Thread Scott Ahten
John, On Friday, May 30, 2003, at 12:30 PM, John Turner wrote: Don't use the LE version...it's a special purpose distribution. I was under the impression that the LE version was designed for JDK 1.4.x, which is what I'm running. Also, in my opinion, you're much better off downloading the

Re: RPM for Tomcat 4.1.24 and JDK 1.4

2003-05-31 Thread John Turner
There was a thread a week or so ago all about the whole LE vs. Full debate. I don't understand all the ins and outs, but from what I gathered, there's really no reason at all to download the LE version unless you know exactly what you are doing, and have specific reasons for not needing the

Tomcat 4 and native threads

2003-05-31 Thread Michenaud Laurent
Hi, Tomcat 4 is using green threads, am i wrong ? how can i make it working with native threads ? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat 4 and native threads

2003-05-31 Thread Filip Hanik
this is a setting for your JVM and has nothing to do with Tomcat :) Tomcat runs whatever the VM runs Filip -Original Message- From: Michenaud Laurent [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 12:19 PM To: [EMAIL PROTECTED] Subject: Tomcat 4 and native threads Hi,

RE: PreparedStatement Pool

2003-05-31 Thread Filip Hanik
you don't need to pool prepared statements, close them and the underlying driver will do the job for you. Filip -Original Message- From: Munteanu Gabriel [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 8:32 AM To: Tomcat Users List Subject: PreparedStatement Pool I want to

RE: Tomcat 4 and native threads

2003-05-31 Thread John Corrigan
Doesn't the thread model depend on the JVM? -Original Message- From: Michenaud Laurent [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 12:19 PM To: [EMAIL PROTECTED] Subject: Tomcat 4 and native threads Hi, Tomcat 4 is using green threads, am i wrong ? how can i make it working

RE: PreparedStatement Pool

2003-05-31 Thread Lauren Commons
The benefit of pooling comes when you need a connection and don't have to take the time and resources to OPEN a new one. The drivers don't do that, and closing a connection doesn't really have anything to do with it (in fact a pool would NOT close an unused connection.) Perhaps you're thinking

I cannot get Tomcat4.1.24 to run as a service using JRockit. Has anyone done this?

2003-05-31 Thread Brendan
I'm fairly impressed with the JRockit8.1 JVM but I can't seem to get Tomcat to stay alive as a service when trying to subsitute in JRockit. Using tomcat.exe to install JRockit as a service seems to work, but when you start the service it quickly dies. I think it does start up briefly because

RE: PreparedStatement Pool

2003-05-31 Thread Shapira, Yoav
Howdy, The drivers don't do that, and closing a connection doesn't really have anything to do with it (in fact a pool would NOT close an unused connection.) That's not necessarily true. Most connection pools are smart enough to close resources associated with a logical connection (as well as a

RE: Tomcat 4 and native threads

2003-05-31 Thread Angelov, Rossen
HotSpot VM supports only native threads and the Classic VM supports native and green threads. To force it to use either native or green threads you can do: java -native mypkg.MyClass javac -native MyClass.java or if you use classic VM java -green mypkg.MyClass javac -green MyClass.java

RE: Can't find TomcatStarter

2003-05-31 Thread Allen Williams
Pascal, Thanks for the tip, but it didn't work. It is STILL telling me it can't find TomcatStarter. How can it find the bootstrap program and not find TomcatStarter? Here's what I currently have: Environment: CATALINA_HOME=E:\Program Files\Apache Group\Tomcat 4.1 CLASSPATH=E:\Program

Re: JK2 apache2 log errors

2003-05-31 Thread Geralyn M Hollerman
Michael Cardon wrote: Can anyone explain the following errors to me? This is from the error_log file of the httpd (apache2) server. ... [Fri May 30 12:24:12 2003] [error] jk2_init() Can't find child 2954 in scoreboard [Fri May 30 12:24:12 2003] [notice] workerEnv.init() ok

Re: I cannot get Tomcat4.1.24 to run as a service using JRockit. Has anyone done this?

2003-05-31 Thread Jason Bainbridge
On Sat, 31 May 2003 03:40, Brendan wrote: I'm fairly impressed with the JRockit8.1 JVM but I can't seem to get Tomcat to stay alive as a service when trying to subsitute in JRockit. Using tomcat.exe to install JRockit as a service seems to work, but when you start the service it quickly

Re: JK2 apache2 log errors

2003-05-31 Thread John Turner
sleep 10 or sleep 15 Unlike Apache, Tomcat does not start up instantly...it needs time to do so. John On Fri, 30 May 2003 14:48:42 -0500, Geralyn M Hollerman [EMAIL PROTECTED] wrote: Michael Cardon wrote: Can anyone explain the following errors to me? This is from the error_log file of

Re: Can't find TomcatStarter

2003-05-31 Thread Jason Bainbridge
Try losing the double quotes around the path names and also use forward slashes instead of backslashes, that is how my working OPT's are set. That isn't your whole workers2.properties is it? Are you setting it up to run in process via JNI (that's the recommended way)? If so you should have a

RE: JK2 apache2 log errors

2003-05-31 Thread Michael Cardon
Thanks for your reply. What does it mean when it says, Can't find child 2954 in scoreboard? Is the 'scoreboard' have something to do with the shm.file? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 12:49 PM To: Tomcat Users List

RE: Tomcat 4 and native threads

2003-05-31 Thread Michenaud Laurent
What is the HotSpot VM ? Where can i download it ? Does it work on i686 ? at this time, i've download the sun j2sdk 1.4.1 ( i586 ) and when i launch : java -native I get : Error: native VM not supported HotSpot VM supports only native threads and the Classic VM supports native and green

Re: JK2 apache2 log errors

2003-05-31 Thread Geralyn M Hollerman
Michael Cardon wrote: What does it mean when it says, Can't find child 2954 in scoreboard? Is the 'scoreboard' have something to do with the shm.file? As far as I know, no, the two aren't related. My sysadmin had commented the stuff about a Scoreboard directive in httpd.conf out, and I'm not

Running Tomcat as a WinNT service

2003-05-31 Thread Tom Heiber-Cobb
I'm new to the list so I apologize if this one has come up many times before. I've installed Tomcat 4.1.18 on a WinNT machine. I chose the option during installation that allows Tomcat to run as a service. I made the install directory C:\Tomcat-4.1.18 The machine had (has) jdk 1.2.2 on it

RE: Tomcat 4 and native threads

2003-05-31 Thread Shapira, Yoav
Howdy, It's surprising that you think tomcat uses green threads and you don't know what the HotSpot VM is ;) I don't think I've ever seen that combination before. Do java -version and you'll see that you already have the HotSpot VM. JDK 1.4.1 works on the Intel platforms you want. Unless

Re: Running Tomcat as a WinNT service

2003-05-31 Thread Jason Bainbridge
Looks like it is still trying to use the older JDK, try double checking what you set it to, close the services panel and open it again if that doesn't work you might need to bounce your server, Windows can be picky about that kind of things at times. Regards, -- Jason Bainbridge KDE Web Team

RE: Can't find TomcatStarter

2003-05-31 Thread Allen Williams
Right. I have two installation (trying desparately to get this working), one in a directory tree that has no spaces (E:\ApacheGroup\Tomcat4.1... etc.) and another in my standard Program Files directory, because someone in another forum told me that it wouldn't work with spaces in the file name.

RE: Running Tomcat as a WinNT service

2003-05-31 Thread Robert Priest
Have you checked the registry setting to make sure it is not using the older version? check: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\${SERVICE_NAME}\Paramet ers -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 4:20 PM To: Tomcat

Error passing parameters to JSP pages

2003-05-31 Thread Jeff Knox
I am using Apache 1.3.22 and Tomcat 4.1.24. If I access http://www.mydomain.com/page.jsp everything works fine. If I try going to http://www.mydomain.com/page.jsp?someParam=1 it fails with the following message on a Mac: The attempt to load 'Accessing URL:

Re: Can't find TomcatStarter

2003-05-31 Thread Jason Bainbridge
On Sat, 31 May 2003 04:24, Allen Williams wrote: Right. I have two installation (trying desparately to get this working), one in a directory tree that has no spaces (E:\ApacheGroup\Tomcat4.1... etc.) and another in my standard Program Files directory, because someone in another forum told me

RE: Can't find TomcatStarter

2003-05-31 Thread Allen Williams
Hey! Fantastic! That fixed that error. Now, I've got: [Fri May 30 16:29:46 2003] [error] channelSocket.open() connect failed localhost:8009 61 Unknown error [Fri May 30 16:29:46 2003] [error] ajp13.connect() failed ajp13:localhost:8009 [Fri May 30 16:29:46 2003] [error] ajp13.service()

RE: Tomcat 4 and native threads

2003-05-31 Thread Michenaud Laurent
i think it is because i've got a redhat 9.0 which uses new kinds of threads( NPTL ). Compatibility problems... Howdy, It's surprising that you think tomcat uses green threads and you don't know what the HotSpot VM is ;) I don't think I've ever seen that combination before. Do java

RE: Can't find TomcatStarter

2003-05-31 Thread Allen Williams
Someone earlier in this thread suggested I try that. Since that part is now working, thanks to your suggestion about the slashes, I can take it out and try it without the CLASSPATH. Allen N. Williams President Voice: +1.321.728.1995 Fax: +1.321.722.0580 -Original Message- From:

Re: Can't find TomcatStarter

2003-05-31 Thread Jason Bainbridge
Do you have the following in your server.xml and uncommented? Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ and in your jk2.properties you should have: shm.file=path/to/your/shm/file

Re: Can't find TomcatStarter

2003-05-31 Thread Jason Bainbridge
Ack typo... and in your jk2.properties you should have: shm.file=path/to/your/shm/file channelJni.disabled = 0 apr.jniModeSo=inprocess Just in case you didn't notice it. :) On Sat, 31 May 2003 05:11, Jason Bainbridge wrote: Do you have the following in your server.xml and uncommented?

Re: Can't find TomcatStarter

2003-05-31 Thread John Turner
Shouldn't that be CoyoteConnector instead of Ajp13Connector? John On Sat, 31 May 2003 05:11:39 +0800, Jason Bainbridge [EMAIL PROTECTED] wrote: Do you have the following in your server.xml and uncommented? Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5

RE: Can't find TomcatStarter

2003-05-31 Thread Michael Cardon
Jason, I would love to see your workers2.properties file and your jk2.properties file. I was never able to get the jni working and that was my first choice. Thanks. My environment is: Red Hat Linux 9 Red Hat httpd (apache2) 2.0.40-21 Sun JDK j2sdk1.4.2 (beta) Tomcat jakarta-tomcat-4.1.24 JK2

Re: Can't find TomcatStarter

2003-05-31 Thread Jason Bainbridge
Oh crap you're right, damn twitchy fingers copied and pasted the wrong blurb. :) Allen, Just check the section that is commented as Define a Coyote/JK2 AJP 1.3 Connector on port 8009 is uncommented. On Sat, 31 May 2003 05:15, John Turner wrote: Shouldn't that be CoyoteConnector instead of

RE: Can't find TomcatStarter

2003-05-31 Thread Allen Williams
Roger. I'll check for it now; I thought we were on to something, because the Ajp13Connector part was commented out!! -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 5:18 PM To: Tomcat Users List Subject: Re: Can't find TomcatStarter

My Apache/Tomcat in process configuration

2003-05-31 Thread Jason Bainbridge
Okay properties files attached. Windows 2000 Professional Apache 2.0.44.0 Tomcat 4.1.24 JDK 1.4.0 Running Tomcat as in process through JNI from Apache. -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] -

RE: Can't find TomcatStarter

2003-05-31 Thread Allen Williams
Nope, don't have that connector in my server.xml. In fact, I have the warp connector in there!?! What should it look like? Thanks, anw -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 5:18 PM To: Tomcat Users List Subject: Re: Can't

Re: My Apache/Tomcat in process configuration

2003-05-31 Thread Jason Bainbridge
Grrr damn attachments, try this instead: http://jblinux.org/tomcat/jk2.properties http://jblinux.org/tomcat/workers2.properties I should write a howto I guess... Maybe over the weekend... On Sat, 31 May 2003 05:26, Jason Bainbridge wrote: Okay properties files attached. Windows 2000

RE: My Apache/Tomcat in process configuration

2003-05-31 Thread Allen Williams
Jason, The attachment didn't come through. Maybe because of going through the list reflector? If you want to post it, that's great, or you can email me directly at [EMAIL PROTECTED] Allen -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003

Re: Can't find TomcatStarter

2003-05-31 Thread Jason Bainbridge
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2

RE: My Apache/Tomcat in process configuration

2003-05-31 Thread Michael Cardon
Thanks Jason, but the links won't open darn -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 2:32 PM To: Tomcat Users List Subject: Re: My Apache/Tomcat in process configuration Grrr damn attachments, try this instead:

RE: My Apache/Tomcat in process configuration

2003-05-31 Thread Allen Williams
I can get to the links, but I think what I need is the xml config for the CoyoteConnector from the server.xml file. Thanks, Allen -Original Message- From: Allen Williams [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 5:35 PM To: Tomcat Users List Subject: RE: My Apache/Tomcat

RE: My Apache/Tomcat in process configuration

2003-05-31 Thread Allen Williams
Go to the URL, then click on the file name (i. e., navigate to http://jblinux.org/tomcat). From there you should be able to click on the files. Allen -Original Message- From: Michael Cardon [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 5:39 PM To: Tomcat Users List Subject:

valves, and filtering by ip address

2003-05-31 Thread Vladimer Shioshvili
i have asked a question couple weeks ago regarding combining filtering by ip and authenticating by username/password.. thanks all of you who gave suggestions. i finally got to get to it and have a valve working, but now i have another problem.. i return a response with SC_UNAUTHORIZED if user

  1   2   >