Re: Tomcat 3.3: ThreadPool bug (IS IT SAFE FOR PRODUCTION USE???)

2001-12-30 Thread Jeff Kilbride
Are you using Tomcat standalone or with Apache? If standalone, then yes, I would recommend using the latest version of Tomcat 4.x. If you're using Apache, I would stick with 3.3 until the mod_jk code is fully implemented with the 4.x versions. Thanks, --jeff - Original Message - From:

Re: Stability of Tomcat 3.3 vs. 4.0

2001-12-18 Thread Jeff Kilbride
Unfortunately, Tomcat 4.x doesn't support load-balancing, yet -- even with mod_jk. So, if you need it, you should stick with 3.3. Thanks, --jeff - Original Message - From: Hunter Hillegas [EMAIL PROTECTED] To: Tomcat User List [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 10:31 AM

Re: Ever increasing heap size with Tomcat 3.2.3 !!!

2001-12-18 Thread Jeff Kilbride
I believe you need to supply the '-server' switch at startup to the JVM to be in server mode. Try dropping that switch, if you're using it. Personally, I recommend you check out the IBM JDK, too. You can install both and easily switch between them by modifying your JAVA_HOME environment

Re: There's 6 mod_jk's? Which one?

2001-12-18 Thread Jeff Kilbride
You can also run your httpd binary from the command line with the -V switch: [root@www /root]# httpd -V This will print out all the options that your apache binary was compiled with. If you see a line like this: -D EAPI Then your apache binary was compiled with EAPI and you need the EAPI

Re: How to Increasing Tomcat memory?

2001-12-18 Thread Jeff Kilbride
Hi Jack, You should use the TOMCAT_OPTS environment variable to set these options. So, create an environment variable called TOMCAT_OPTS and set it equal to the following: -Xms32M -Xmx64M This will set the initial size of the JVM heap to 32MB and the max size to 64MB. Replace these values with

Re: This is unbelievably Hard, please help!!!

2001-12-12 Thread Jeff Kilbride
Hi Brandon, I recommend that you use the mod_jk from the 3.3 distribution. I'm not sure if all the bug fixes have been back-ported to the 3.2.x version. Also, the 3.3 version lets you restart Tomcat without having to restart Apache. Anyway, download the 3.3 bundle

Re: Change an include file requires re-compiling all JSP that include it (?)

2001-12-11 Thread Jeff Kilbride
If your included files don't contain any JSP code, you can use the jsp:include... / directive. This directive includes the file at request time, rather than page translation time -- so changes to your included file will show up immediately. If your included files contain JSP code, then you're

Re: Unable to include *.sum files (Again)

2001-12-10 Thread Jeff Kilbride
Hi Jonathon, Well, obviously, I agree with you. I think the most interesting point you bring up is the fact that %@ include...% works with any file extension, whether or not it has a registered MIME type. Why should jsp:include.../ add additional restrictions? I understand the difference between

Re: Unable to include *.sum files (Again)

2001-12-10 Thread Jeff Kilbride
We're going an awfully long way here to solve what could be cleanly done with a simple: jsp:include page=relativeURL flush=true / Don't you think? All the container has to do is default the MIME type for unknown extensions to text/html. Remember this is a JSP -- a scripting language which was

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Jeff Kilbride
I'm not so sure. The JSP spec doesn't say anything about having to register the MIME type of a file before using it in a jsp:include directive. Consider how difficult that would be if you were generating dynamic filenames with extensions like .001, .002, .003, etc... You could potentially have to

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Jeff Kilbride
Ok, but what happens if you don't have control of the included file? Your database or other source produces dynamic reports for you and you need to include them into your JSPs. My question is this: if nearly every webserver on the planet can use a default MIME type of text/html, why can't this?

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Jeff Kilbride
I agree that there are workarounds -- there are always workarounds -- but Tomcat is the RI, so this is the place where we're supposed to figure this stuff out. I guess my argument is that Tomcat is being more restrictive than the spec requires it to be. Whether that's acceptable or not is

Re: Unable to start tomcat 4

2001-12-07 Thread Jeff Kilbride
I don't think Tomcat 4 will run with jdk1.1.8. Try upgrading to jdk1.2 or later. --jeff - Original Message - From: Emil Diego [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 07, 2001 11:29 AM Subject: Unable to start tomcat 4 Hello all, I have installed Tomcat

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Jeff Kilbride
Nope. I tried it with *.doc files, too, and it still doesn't work. *.doc is defined in web.xml. Besides, it doesn't really make sense for MIME types to affect included files, does it? --jeff - Original Message - From: August Detlefsen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Jeff Kilbride
Hi Micael, Let's make sure we're talking about the same thing. If I include a file like: jsp:include page=./testTxt.sum flush=true / Why does it matter what the file extension of the included file is? Isn't the container just supposed to open the file and output it's contents at that

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Jeff Kilbride
, say JSP, text/xyz, or image/abc. This would prevent the server from sending out potentially damaging stuff with the include tag, like .java or .exe files. Again, I am just speculating... --- Jeff Kilbride [EMAIL PROTECTED] wrote: Nope. I tried it with *.doc files, too, and it still

Re: Does Tomcat support Server Push?

2001-12-07 Thread Jeff Kilbride
It's not Tomcat, it's the browser. IE doesn't support server push -- which I think is stupid, but I'm sure there's a reason. Netscape is the only browser I know that supports multipart/x-mixed-replace. --jeff - Original Message - From: Bill Taylor [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Jeff Kilbride
Yeah, see my last post. Since JSP output is written with a PrintWriter, the Catalina code is restricting it to only being able to output known text/* MIME types. This just doesn't feel right to me. Thanks, --jeff - Original Message - From: Micael Padraig Og mac Grene [EMAIL PROTECTED]

Re: Double check idiom broken - Tomcat uses it ?

2001-12-06 Thread Jeff Kilbride
If you really want the developers to take a look at this, you should probably post it to the tomcat-dev list. It's iffy whether or not they will see it here. Thanks, --jeff - Original Message - From: java programmer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 05,

Re: Authentication problem...redirected to /null

2001-12-06 Thread Jeff Kilbride
You're not supposed to be able to reach the login page, except by accessing a secure page. The container is then responsible for displaying the login page and sending the user to the correct secure page, once they have been authenticated. So, rather than having a link to your login page from your

Re: tomcat configuration error

2001-12-06 Thread Jeff Kilbride
Hi Larry, I thought for all 3.2.x versions, you could just replace the old jar files with the new ones. Is this not true for 3.2.4? Thanks, --jeff - Original Message - From: Larry Isaacs [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 5:55

Re: ONE More Time! why does Tomcat 4 work this way

2001-12-06 Thread Jeff Kilbride
What about just /images/butterfly.jpg? This assumes that your webapp is rooted at /bbb -- so you don't need to use that as part of your path. This is what I normally use with mod_jk. Don't know if it will work with mod_webapp, though. --jeff - Original Message - From: Brian Adams

Re: Setting the alocated memory to Tomcat 4.0.1

2001-12-06 Thread Jeff Kilbride
Hi Niclas, You should really do this using the environment variable CATALINA_OPTS. That's what it's designed for. Set up an environment variable called CATALINA_OPTS and set it's value to -Xmssize -Xmxsize. The easiest way to do this is by right-clicking on your My Computer icon and then

Re: ONE More Time! why does Tomcat 4 work this way

2001-12-06 Thread Jeff Kilbride
Tomcat 4 work this way I think that is what I would like to do after looking WAY TOO CLOSE at this. Patrick I know your out there *peer* what do you say? Let's move to mod_jk *point* B -Original Message- From: Jeff Kilbride [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06

Re: ONE More Time! why does Tomcat 4 work this way

2001-12-06 Thread Jeff Kilbride
move to mod_jk *point* B -Original Message- From: Jeff Kilbride [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 2:57 PM To: Tomcat Users List Subject: Re: ONE More Time! why does Tomcat 4 work this way Personally, I would drop mod_webapp in favor of mod_jk, if you really

Re: ONE More Time! why does Tomcat 4 work this way

2001-12-06 Thread Jeff Kilbride
is mod_webapp code? no see cvs module -Original Message- From: Jeff Kilbride [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 3:09 PM To: Tomcat Users List Subject: Re: ONE More Time! why does Tomcat 4 work this way Sorry, but I forgot to mention that your other

Re: benchmarking Tomcat4?

2001-11-29 Thread Jeff Kilbride
Not free, but you can get a free trial: http://www.webperformanceinc.com/ Thanks, --jeff - Original Message - From: Matt Egyhazy [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, November 29, 2001 5:52 AM Subject: Re: benchmarking Tomcat4?

Re: Tomcat 4.01 classloader - HELP!

2001-11-29 Thread Jeff Kilbride
Hi Chris, I don't know the answer to this, but you may be better off posting it to the tomcat-dev list. Thanks, --jeff - Original Message - From: Chris Malley [EMAIL PROTECTED] To: tomcat-user [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, November 29, 2001 8:31 AM Subject:

Re: Tomcat 3.2.3 Memory Exception running on HP-UX 11

2001-11-29 Thread Jeff Kilbride
For Tomcat 3.2.x, the environment variable is TOMCAT_OPTS. Thanks, --jeff - Original Message - From: Chris Newland [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, November 29, 2001 8:40 AM Subject: RE: Tomcat 3.2.3 Memory Exception running on HP-UX 11 Hi

Re: CVS

2001-11-20 Thread Jeff Kilbride
Anybody interested in CVS should take a look at the online version of Karl Fogel's book: cvsbook.red-bean.com It helped me get up and running with CVS in about a day. Thanks, --jeff - Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]

Re: LinkageError running 4.0.1 on IBM 1.3.0 VM

2001-11-19 Thread Jeff Kilbride
Hi Robin, I'm using the IBM JDK on Linux (RH7.1 w/2.4.14 kernel) with TC 4.0.1 without any problems. The only difference I can see from your setup is that my JAVA_HOME variable points to the toplevel of the IBM directory structure: /usr/local/java/IBMJava2-13 not

Re: AW: Java program interferring with Tomcat

2001-11-19 Thread Jeff Kilbride
Sure it does. Changing the transaction isolation level affects how data is read from the database. TRANSACTION_READ_COMMITTED waits for a read lock before reading data and ensures that the data being read is in a consistent state. Lower isolation levels may allow data to be read that's

Re: Does jakarta-tomcat-service work for *nixes?

2001-11-19 Thread Jeff Kilbride
, --jeff - Original Message - From: Randy Layman [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 19, 2001 3:54 AM Subject: RE: Does jakarta-tomcat-service work for *nixes? -Original Message- From: Jeff Kilbride [mailto:[EMAIL PROTECTED

Re: Common Problem with Tomcat/Apache (processer sticks at 97% on linux)

2001-11-16 Thread Jeff Kilbride
- Original Message - From: Brandon Cruz [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, November 16, 2001 7:01 AM Subject: RE: Common Problem with Tomcat/Apache (processer sticks at 97% on linux) Thank you for the suggestions, so to upgrade to a newer version of

Re: Common Problem with Tomcat/Apache (processer sticks at 97% on linux)

2001-11-15 Thread Jeff Kilbride
At the very least, upgrade to the latest stable 3.2.x version. 3.2.1 is quite old and had several security problems. I'm pretty sure they are about to release 3.2.4, so that might be a good incentive. You don't have to change any of your config files, just replace the jar files in your

Re: Wrap an HttpServletRequest

2001-11-14 Thread Jeff Kilbride
Hi Diego, You can also do this by adding query string data to the URL you are forwarding to, for example: - String myPage = /path/myPage.jsp; String myForward = myPage + ?newParam1=value1newParam2=value2; RequestDispatcher rd = getServletContext().getRequestDispatcher(myForward);

Re: Is there a way to make a default web.xml? --Tomcat 3.x

2001-08-24 Thread Jeff Kilbride
Hi Rob, 3.2.x still has web.xml in $TOMCAT_HOME/conf. I haven't tried 3.3 yet. Thanks, --jeff - Original Message - From: Rob S. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 24, 2001 7:42 AM Subject: Re: Is there a way to make a default web.xml? --Tomcat 3.x Someone

Re: VHosts causing app to load twice

2001-08-20 Thread Jeff Kilbride
Hi Steve, If you must be able to pull this site up by it's IP Address, then you must not be VHosting any other domains on this IP. Is that correct? If so, you should be using IP-based VHosting instead of Name-based. IP-based VHosting will associate one IP with one domain name. Tomcat shouldn't

Re: VHosts causing app to load twice

2001-08-20 Thread Jeff Kilbride
Heard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 20, 2001 10:43 AM Subject: Re: VHosts causing app to load twice Jeff, I am indeed running other hosts on this guy, just didn't include them in the snippet! Sorry about that. Thanks, steve on 8/20/01 1:07 PM, Jeff Kilbride

Re: VHosts causing app to load twice

2001-08-20 Thread Jeff Kilbride
Hi Larry, It doesn't really make sense to set up Name-based virtual hosting this way. In essence, your saying all requests for 111.22.33.44 should go to the same place as all requests for www.foo.com (in httpd.conf). In that case, I think you should stick with IP-based vhosts. Your Apache config

Re: VHosts causing app to load twice

2001-08-20 Thread Jeff Kilbride
Hi Larry, My comments are interspersed... :) - Original Message - From: Larry Isaacs [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 20, 2001 12:48 PM Subject: RE: VHosts causing app to load twice Hi Jeff, Maybe I can increase my understanding here, since I not that

Re: db connection denied access

2001-08-15 Thread Jeff Kilbride
You need to read chapters 4.2 and 4.3 of the MySQL manual: http://www.mysql.com/doc/P/r/Privilege_system.html http://www.mysql.com/doc/U/s/User_Account_Management.html MySQL has a somewhat strange privilege system for granting access to the database. But it's very flexible, once you learn it.

Cookie Exception: java.lang.IllegalArgumentException

2001-08-09 Thread Jeff Kilbride
Has anyone seen this type of Exception before? I'm running: RH 6.2 (2.4.7 kernel) IBMJava2_13 Tomcat 3.2.3 Apache 1.3.19 mod_jk This is a light to moderately loaded webserver (50,000 hits/day) and I'm getting 20 or 30 of these in my logs each day. I am also seeing errors where the message says

Re: Cookie Exception: java.lang.IllegalArgumentException

2001-08-09 Thread Jeff Kilbride
information. Maybe we can get a clue about what is going wrong. I'd offer to do more, but my hands are full with Tomcat 3.3. Cheers, Larry -Original Message- From: Jeff Kilbride [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 4:27 AM To: [EMAIL PROTECTED] Subject

Re: JDBC

2001-08-09 Thread Jeff Kilbride
No. You need to download the mysql drivers from http://mmmysql.sourceforge.net/ Put the jar file in your classpath and you're set. Thanks, --jeff - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 1:47 PM Subject: JDBC Does Tomcat

Re: Fine tuning my Apache -Tomcat Server

2001-08-08 Thread Jeff Kilbride
Turn off servlet auto-reloading as well. I would recommend upgrading to 3.2.3, because of security problems and other bug fixes with 3.2.1 and 3.2.2. Just copy the new .jar files from 3.2.3 to your 3.2.1 installation and restart. It's that simple. (It's outlined in the 3.2.3 release notes...)

Re: jasper: weird behaviour

2001-08-08 Thread Jeff Kilbride
You might be interested in this post from Tomcat-dev. --jeff --- Hi All! Different encodings support in Servlet/JSP is an ancient well-known problem. The setCharacterEncoding() method of HttpServletRequest allows to change request encoding before reading parameters.

Re: PLEASE UNSUBSCRIBE ME

2001-08-07 Thread Jeff Kilbride
Since we filtered HTML, can we filter any message with 'unsubscribe' in the subject? --jeff - Original Message - From: Olivier LAUDREN [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 07, 2001 5:11 AM Subject: RE: PLEASE UNSUBSCRIBE ME This could be found in the mail's

Re: Servllet

2001-08-06 Thread Jeff Kilbride
FWIW, I had to write a class to invoke a method on a given object at timed intervals using the Reflection API. I use it to automatically refresh bean info from my database at set intervals. I'm attaching the code, called TimedMethodInvoker.java, and a simple example. Works like a charm for me.

Re: Upgrade to Tomcat DECREASES Performance?

2001-07-30 Thread Jeff Kilbride
Good enough to have answered this question several times. Have you checked the archives? http://mikal.org/interests/java/tomcat/archive/view?mesg=35371 http://mikal.org/interests/java/tomcat/archive/view?mesg=33145 http://mikal.org/interests/java/tomcat/archive/view?mesg=30821

Re: Apache cannot connect to Tomcat

2001-07-29 Thread Jeff Kilbride
If you're using mod_jk, you have to add the connector to your server.xml file. I'm not sure why you *haven't* done that. Apache and Tomcat won't be able to communicate without it. So, I would suggest starting there. --jeff - Original Message - From: Kelly E. Grooms [EMAIL PROTECTED] To:

Re: HTML in Messages and politeness

2001-07-29 Thread Jeff Kilbride
[X] 0 - I don't give a damn shit. I do, however, agree with the points on politeness. I think if you reject HTML-only messages, a lot of new subscribers are not going to be able to figure out why they can't post to the list. Most probably don't even realize they are doing it, since the newer

Re: Apache cannot connect to Tomcat

2001-07-29 Thread Jeff Kilbride
You're right, Andrew! I misread and thought Kelly hadn't added _any_ connectors to server.xml. My mistake. Kelly, I have JSP's running with 3.2.3 on RedHat Apache 1.3.19. Can you post the relevant parts of your server.xml, httpd.conf and web.xml files? --jeff - Original Message -

Re: How to forward with new request/query string?

2001-07-19 Thread Jeff Kilbride
Hi Erin, You can't change the original request (at least, I don't think you can...) -- but you can add info to the request before forwarding it on to your jsp page. Just add the extra info to the query string of the jsp your forwarding to: String location = myForward.jsp?foo=barbaz=1;

Re: How to change the IP address

2001-07-18 Thread Jeff Kilbride
The PoolTCPConnector class has a parameter called inet that's not really documented. I used this parameter to make my ajp12 and ajp13 connectors listen only on the localhost interface -- by default, they listen on all interfaces, even external, which is bad. I don't know if it will work, but you

Re: How to change the IP address

2001-07-18 Thread Jeff Kilbride
Whoops, forgot the closing / for the inet param. Should be: Parameter name=inet value=127.0.0.1/ Thanks, --jeff - Original Message - From: Jeff Kilbride [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 17, 2001 11:33 PM Subject: Re: How to change the IP address

Re: Need workaround for Tomcat security.

2001-07-16 Thread Jeff Kilbride
Andrew, What version of Tomcat did this affect Form-based authentication on? I tried the URL patterns mentioned on my Form-based Realm, and the Realm worked correctly -- no security problems. I'm using TC 3.2.2 on Linux. Thanks, --jeff - Original Message - From: Andrew Robson [EMAIL

Re: ajp13 dies unexpectately

2001-07-16 Thread Jeff Kilbride
How many threads have you specified as max_threads in your PoolTCPConnector for ajp13 in your server.xml file? If you haven't done this, and you're running a reasonably high load, you should take a look at the minimal TC user's guide here:

Re: Need workaround for Tomcat security.

2001-07-16 Thread Jeff Kilbride
Hi Andrew, I know that there were some security-related problems with 3.2.1 and certain URLs. I think a bug was found and fixed right around the time of 3.2.2 beta 5. I would suggest upgrading to 3.2.2. It's very painless -- all config files stay the same, just copy your old ones into your 3.2.2

Re: help..

2001-07-15 Thread Jeff Kilbride
The MySQL JDBC driver is a type 4 driver, so it will work on Windows and Linux. Just put the MySQL jar file in your classpath on your Windows machine. Thanks, --jeff - Original Message - From: Ben Kimball [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 15, 2001 11:24 AM

Re: Okay. this is getting annoying.

2001-07-15 Thread Jeff Kilbride
From your previous posts, you're server.xml entry is not correct. You can't reference multiple IP's, domains, etc.. in the Host directive. - My most recent attempt had this in server.xml Host name=206.180.224.76 : www.pedsforless.com : pedsforless.com debug=0

Re: apache + tomcat + virtual hosts

2001-07-14 Thread Jeff Kilbride
Hi Connie, I think the first thing you should do is read the Apache docs on virtual hosting here: http://httpd.apache.org/docs/vhosts/index.html Then go to the archive here: http://mikal.org/interests/java/tomcat/index.jsp and do a search on virtual host jeff -- this will pull up all my

Re: java-linux-tomcat configuration problem

2001-07-14 Thread Jeff Kilbride
I would try the IBM JDK before Blackdown (before Sun, too...), but that's just my personal choice. The Blackdown port can be found at www.blackdown.org. --jeff - Original Message - From: Adam Fowler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 14, 2001 3:47 AM Subject:

Re: List traffic et al

2001-07-06 Thread Jeff Kilbride
or not people actually search the archives before posting...) A digest version is already available for this list. --jeff From: Dmitri Colebatch [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Fri, 6 Jul 2001 16:03:14 +1000 To: [EMAIL PROTECTED], Jeff Kilbride [EMAIL PROTECTED] Subject: Re

Re: AW: List traffic et al

2001-07-06 Thread Jeff Kilbride
In a perfect world, yes, I totally agree. However, in the real world, who's going to enforce the guidelines? (we already have guidelines that few people pay attention to...) Reposting the guidelines and links to the FAQ and archive on a regular basis would probably help, and I agree that it

Re: List traffic et al

2001-07-05 Thread Jeff Kilbride
Even if the list is not split into these specific sub-topics, I would certainly like to see it split along Windows/Unix lines. I use Unix exclusively and I skip over 99% of the Windows questions, because I don't have any experience with Tomcat on that platform. I'm sure Windows users feel the

Re: tomcat 3.2.2 session already invalidated-serious problem

2001-06-26 Thread Jeff Kilbride
Why not wrap your call to invalidate() in a try-catch clause? If the exception occurs, the session is already invalidated -- which is what you're trying to accomplish anyway. try { oldSession.invalidate(); } catch ( IllegalStateException ise ) { ; } --jeff - Original Message -

Re: limiting instances of java

2001-06-25 Thread Jeff Kilbride
PROTECTED] Sent: Sunday, June 24, 2001 11:05 PM Subject: Re: limiting instances of java Actually, I believe that it's max_spare_threads. chuck - Original Message - From: Jeff Kilbride [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 8:53 PM Subject: Re: limiting

Re: how to determine if tomcat is running

2001-06-24 Thread Jeff Kilbride
Samstag, 23. Juni 2001 um 20:17 schrieb Jeff Kilbride: You should have a java process running 'org.apache.tomcat.startup.Tomcat' when Tomcat is running. For example, when I run the 'ps' command I see the following: /usr/local/java/IBMJava2-13/jre/bin/exe/java -Xms64M -Xmx128M

Re: limiting instances of java

2001-06-24 Thread Jeff Kilbride
Try the manual. (do a find on max_threads) http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_ug.html --jeff - Original Message - From: Dino Ming [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 8:53 AM Subject: Re: limiting instances of java I have

Re: Mapping with InvokerServlet in Tomcat 3.2.1

2001-06-23 Thread Jeff Kilbride
I was under the impression that to change the default servlet mapping, you change the 'prefix' setting of org.apache.tomcat.request.InvokerInterceptor in your server.xml file. I haven't needed to do it, though, so I don't know if this is correct. Give it a try. Thanks, --jeff - Original

Re: how to determine if tomcat is running

2001-06-23 Thread Jeff Kilbride
You should have a java process running 'org.apache.tomcat.startup.Tomcat' when Tomcat is running. For example, when I run the 'ps' command I see the following: /usr/local/java/IBMJava2-13/jre/bin/exe/java -Xms64M -Xmx128M -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol

Re: Apache Default Document is .jsp?

2001-06-19 Thread Jeff Kilbride
You could also have an index.html that uses the meta-refresh tag to automatically redirect to your login.jsp. This might be a lot easier than mod_rewrite. Either way, I would turn off directory browsing in Apache, unless that's what you really want. --jeff - Original Message - From:

Re: xtags: Unable to load class

2001-06-19 Thread Jeff Kilbride
Where did you put the taglib tld file and the taglib jar file? What does your web.xml look like? The order of the definitions in web.xml is also important. When I first set up my taglibs, I had the taglib definition in my web.xml at the end of the file after a security-constraint definition and

Re: omegacms, thanks and a new problem: compile errors

2001-06-19 Thread Jeff Kilbride
Hi Vinny, The %= opening jsp tag is for single expression evaluation, while the % is for scriptlets. So, you could do this two ways: % out.print(!); % or %= ! % As you've seen, the %= wraps whatever's inside it in an out.print() statement -- so you're own out.print() is redundant in this

Re: request and jsp:include

2001-06-18 Thread Jeff Kilbride
You're missing an = in your jsp:include statement. Try this: jsp:include page=%= request.getParameter(pagina) % / You have it correct in your second example, which is why that one works. Thanks, --jeff - Original Message - From: Antoni Reus [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: Tomcat hangs if I refer to a context that doesn't exist

2001-06-13 Thread Jeff Kilbride
Actually, yes -- read the release notes for 3.2.1 that come with the distribution. --jeff - Original Message - From: Jeff Trent [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 5:30 AM Subject: Re: Tomcat hangs if I refer to a context that

Re: mod_jk and mod_perl

2001-06-06 Thread Jeff Kilbride
mod_perl and will handle perl requests. If you, or anyone else, has any advice, I'd be stoked. Thanks, * * * John -Original Message- From: Jeff Kilbride [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 4:53 PM To: [EMAIL PROTECTED] Subject: Re: mod_jk and mod_perl I've run

Re: Tomcat dying: solution!!

2001-06-05 Thread Jeff Kilbride
it. - Joe Jeff Kilbride wrote: I seem to remember something from the tomcat-dev list about 3.2.x dying less than gracefully if the max_threads parameter for PoolTCPConnector is ever exceeded. I believe the default is 50, so if you're ever hitting more than 50 concurrent threads

Re: mod_jk and mod_perl

2001-06-05 Thread Jeff Kilbride
I've run both mod_jk and mod_perl as dynamically linked modules in the past, but not statically. The dynamic modules were very easy to get running. Any reason it has to be statically compiled? Thanks, --jeff - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: 3.2.2 Dies After Prolonged Use...

2001-06-02 Thread Jeff Kilbride
: Re: 3.2.2 Dies After Prolonged Use... Thanks for the suggestion, Jeff. Stupid question...I've grepped all over hell and back and I can't find a max_threads param in any config files :) Where do I find it? - Joe Jeff Kilbride wrote: I seem to remember something from the tomcat-dev list

Re: ** JVM and Processes

2001-06-01 Thread Jeff Kilbride
When Java first came to the Linux platform (via the Blackdown port), green-threads were the only option. Native threads took a little longer to implement, but are a much better option for the reasons listed in the previous message. So, I would recommend avoiding green-threads unless you have a

Re: ** JVM and Processes

2001-06-01 Thread Jeff Kilbride
Hi Adam, No, the garbage collector runs as a low priority background process and, on a lightly loaded server, may never get called because the server's not using enough resources to warrant it. I really wouldn't worry about it too much and I would definitely avoid killing threads individually,

Re: Virtual Host Context Aliasing

2001-05-31 Thread Jeff Kilbride
Hi Daniel, I have the same problem -- wanting to alias more than one host name to a single context. Unfortunately, there is no way to do this. I've heard that the 4.0 version of Tomcat may have some abilities for doing this, but it's not nearly as straightforward as Apache's ServerAlias

Re: Apache + Tomcat with mod_jk and Virtual Hosts

2001-05-31 Thread Jeff Kilbride
Yes. See the mail archive for a generic version of my setup: http://mikal.org/interests/java/tomcat/archive/view?mesg=24718 http://mikal.org/interests/java/tomcat/archive/view?mesg=24420 http://mikal.org/interests/java/tomcat/archive/view?mesg=24256 Thanks, --jeff - Original Message -

Re: Tomcat 3.2.2 bug ???

2001-05-31 Thread Jeff Kilbride
I think I saw something about this on the tomcat-dev mailing list. Try changing your 404.html file to 404.jsp. You don't need to change the file at all, just rename it with the new extension. Then change the location tag to /404.jsp. Thanks, --jeff - Original Message - From: [EMAIL

Re: How to debug a missing servlet error?

2001-05-31 Thread Jeff Kilbride
Hi Chris, Tomcat should recognize /servlet/briefXSL without the explicit servlet-mapping you are using -- but I don't know if that is what's causing your problem. For all my servlets, I have the following type of entry: servlet servlet-namebriefXSL/servlet-name

Re: Virtual Host Context Aliasing

2001-05-31 Thread Jeff Kilbride
. Unfortunately. But exactly that's it what has been said in the tomcat-server-howto. Is it a bug? It must be Thanks, Christian Parpart http://www.surakware.net --Marcus On Thu, 31 May 2001, Jeff Kilbride wrote: Date: Thu, 31 May 2001 11:12:38 -0700 From: Jeff Kilbride [EMAIL PROTECTED

Re: Setting up Virtual Hosts

2001-05-24 Thread Jeff Kilbride
Yes: NameVirtualHost 111.222.333.444 VirtualHost www.mydomain.com server.xml: Host www.mydomain.com This is how I have it set up and it works for about 10 domains. --jeff From: Glen Eustace [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 23 May 2001 05:28:13 GMT To: [EMAIL

Re: Setting up Virtual Hosts

2001-05-22 Thread Jeff Kilbride
I'm not sure how Apache forwards the host info to Tomcat. If you're using an IP Address in your VirtualHost directive in Apache, then Apache may be sending the IPAddress to Tomcat as opposed to the hostname specified by the ServerName attribute. So, if you're trying to catch host names in your

Re: Setting up Virtual Hosts

2001-05-22 Thread Jeff Kilbride
Hi Glen, It definitely works with name-based hosts, because that's how I do it. However, I set mine up like this: Apache: VirtualHost www.mydomain.com server.xml: Host www.mydomain.com In your config, you're using an IP in the Apache VirtualHost directive and a hostname in your server.xml

Re: 3.2.1 Dies

2001-05-22 Thread Jeff Kilbride
It's not necessary to use nohup, but it's a good idea to redirect your standard out and standard error to a logfile when starting up. I use the following line in my startup script called jkup which I placed in /usr/local/bin: $TOMCAT_HOME/bin/startup.sh /var/log/tomcat/startup.log My logs

Re: Setting up Virtual Hosts

2001-05-20 Thread Jeff Kilbride
Hi Glen, I don't know if it makes a difference or not, but I've always had the same host names in my Apache VHost config and my server.xml file. In your config, you're using an IP Address in Apache and a name in server.xml. You might try using the IP in server.xml instead. Nothing else really

Re: Setting up Virtual Hosts

2001-05-19 Thread Jeff Kilbride
Post the relevant pieces of your apache config and server.xml. Thanks, --jeff - Original Message - From: Glen Eustace [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 19, 2001 2:31 PM Subject: Setting up Virtual Hosts I am trying to establish a number of virtual hosts such

Re: RequestDispatcher.forward()

2001-05-18 Thread Jeff Kilbride
Check out the HttpMessage and HttpsMessage classes in the com.oreilly.servlet package available from Jason Hunter at www.servlets.com. Does the same basic connection stuff and returns an InputStream which you can wrap in a BufferedReader like Eric does below. The nice thing is that it does

Re: Bean Choices (code question)

2001-05-18 Thread Jeff Kilbride
(or any) call, make sure to synchronize the write, in case 2 calls occur at the same time. Charlie -Original Message- From: Jeff Kilbride [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 8:56 PM To: [EMAIL PROTECTED] Subject: Re: Bean Choices (code question) Yeah, I know

Re: Bean Choices (code question)

2001-05-18 Thread Jeff Kilbride
PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 18, 2001 11:21 AM Subject: RE: Bean Choices (code question) -Original Message- From: Bo Xu [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 1:47 PM To: [EMAIL PROTECTED] Subject: Re: Bean Choices (code question) Jeff

Re: Changing Tomcat's User ID

2001-05-18 Thread Jeff Kilbride
Correct me if I'm wrong, but if you're running with Apache and ajp12 or ajp13, you shouldn't have any problems because Tomcat is only responding on ports 8007 and 8009. You only have problems when you're running Tomcat stand-alone and you want it to respond on the normal http (80) and https (443)

Re: Struts, Velocity, JSP, XSLT?

2001-05-17 Thread Jeff Kilbride
Speed is one consideration. XML and XSLT are great, but are very processor intense for all the translation/transformation that is done on the fly. --jeff - Original Message - From: Richard Draucker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 9:18 PM Subject:

Re: Cookies

2001-05-17 Thread Jeff Kilbride
Look at the session-timeout directive in your web.xml file. The default is 30 minutes. --jeff - Original Message - From: Oki DZ [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 10:26 PM Subject: Cookies Hi, I use JDBCRealm and I'd like to have the connection

  1   2   3   >