RE: where to set CATALINA_OPTS?

2002-10-28 Thread Ricky Leung
what if you are just using mod_jk? I have been setting as user environment and does this not work? -Original Message- From: Robert L Sowders [mailto:rsowders;usgs.gov] Sent: Monday, October 28, 2002 3:59 PM To: Tomcat Users List Subject: RE: where to set CATALINA_OPTS? Yoav is

RE: Tomcat 4.1 and apache 1.3 how-to

2002-11-10 Thread Ricky Leung
just compile your own, it's not that difficult. If you really can't do it yourself, I can send mine to you, which is for Solaris7 on Sparc. -Original Message- From: Beatty, Z [mailto:zackbeatty;yahoo.com] Sent: Sunday, November 10, 2002 11:09 PM To: Tomcat Users List Cc: [EMAIL

RE: Why does encodeURL not include Session ID when switching between HTTP and HTTPS

2002-12-01 Thread Ricky Leung
just take the protocol and domain part out of the encodeURL function and only have the rest of the section be in encodeURL(). so in stead of request.encodeURL(https://www.myserver.com/test.html;) use http://www.myserver.com; + requestencodeURL(/test.html); -Original Message- From:

RE: custom error-pages

2002-07-10 Thread Ricky Leung
I asked about this before but it is according to spec so I did this instead. error-page exception-typejava.lang.Exception/exception-type location/errors/test.html/location /error-page This is basically the same as a 500 with any type of exception catched and presented with a better

RE: getRequestURI()

2002-07-11 Thread Ricky Leung
Yes, that is correct. Though I am not familiar with how the other AS are interpreting this, but when I use TC and encodeURL, I find that I have to *not* put the hostname part in as the URL. For example myURL = http://myserver.com/test.jsp;; encodeURL(myURL); this will not ever put the

RE: Problem with Load Balancing using mod_jk and session affinity.

2002-07-17 Thread Ricky Leung
It definitely works as I have it working too. What you have to do is also make sure you encodeURL all links and form actions. -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 10:51 PM To: Tomcat Users List Subject: Re: Problem with Load

RE: Error : Why IllegalStateException ?

2002-07-24 Thread Ricky Leung
Well, I sometimes get this error with my error page, which only gets called by Tomcat. This is what's in web.xml. error-page exception-typejava.lang.Exception/exception-type location/error/er500.jsp/location /error-page If the stream has already been closed, I think

RE: Load balancing problem

2002-08-08 Thread Ricky Leung
I made changes for you and believe you should have it like this instead. If you don't mind, could you try it out and let us know if this works. You bought up a good point and I am experimenting this myself also. -Original Message- From: Jean-Christophe Rioux [mailto:[EMAIL PROTECTED]]

RE: apache tomcat and ssl

2002-08-09 Thread Ricky Leung
Did you define jk directives in the SSL virtual host section of your apache config file? If you want https to behave exactly like http, but just secure, copy your virtual jk directives over to the ssl portion. Also, make sure when you start apache, it doesn't complain about mod_jk without EAPI

tomcat4 and load balancing with apache

2002-02-14 Thread Ricky Leung
Hi, I am getting mixed answers from the documentations. Does Tomcat4 support load-balancing with mod_jk? I know it doesn't with mod_webapp but any idea when that feature will be out? Also, in the release notes, it says that there is now a Webapp 1.0.2, where can I download this? I only see

RE: Popup Browser Windows Tomcat Realm Authentication

2002-02-14 Thread Ricky Leung
I'm not sure if this would work, but I am guessing that your popup immediately opens and your original window didn't do a thing. If you allow your parent authenticate and go to a authenticated page, it would be fine. Then simply have that page popup the window that you wanted. This idea is

RE: Running Tomcat for Multiple developers

2002-02-14 Thread Ricky Leung
You can have multiple instances of tomcat with 1 installation but every instance *must* have their own instance. To do that, simple set JAVA_HOME to where java is installed and set CATALINA_HOME to be where tomcat4 is installed and lastly, set CATALINA_BASE to be that user's home

RE: Determining User Connection Speed

2002-02-15 Thread Ricky Leung
To determine one's net speed, I guess you can write up something to send out a 100k file and calculate how long it took the user to download the file, but that still slows down LAN users. The more elegant way is to separate by the domain or IP group since LAN users have predictable net

RE: Tomcat as a service...

2002-02-19 Thread Ricky Leung
with Tomcat4, I don't think there's a jvm.stderr and jvm.stdout, all the logs should be in your log directory, the default is CATALING_HOME/logs, stdout.log and stderr.log. Look at the other ones, they might give you an idea also. -Original Message- From: [EMAIL PROTECTED]

RE: Tomcat as a service...

2002-02-19 Thread Ricky Leung
I remember someone post it back then he tried installing without spaces and used the long names, I always install my apache and tomcat into C:\ or D:\ and not in program files, it's easier to get to them this way, or put them in c:\usr\local\ to mimic Unix directory structure. -Original

RE: Reposting [INIMSS] How can I load a custom jar file for a par ticular web application. [a newbie question]

2002-02-19 Thread Ricky Leung
depends, .class files go in the classes dir and .jar files goes in the lib dir. -Original Message- From: Dino Cherian K [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 9:48 AM To: Tomcat Users List Subject: Re: Reposting [INIMSS] How can I load a custom jar file for a par

error-page tag in web.xml

2002-02-19 Thread Ricky Leung
I have the following in my web.xml and if I bring up a non-existent page, Tomcat4 correctly parses and presents the er404.jsp page, however, I have not been able to get the 500 and the exception ones working. I always get the Tomcat Error report with the dreaded 500 - Internal Server Error. Any

RE: error-page tag in web.xml

2002-02-19 Thread Ricky Leung
, it usually has more info if the redirection is failing. Cheers Drew -Original Message- From: Ricky Leung [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 2:30 PM To: Tomcat Users List Subject: error-page tag in web.xml I have the following in my web.xml and if I bring up a non

RE: Manager options...

2002-02-20 Thread Ricky Leung
look at the web.xml file under $CATALINA_HOME/conf, there's a sample web.xml file there that explains how to setup timeouts in your webapp. Just copy and paste into your webapp's web.xml. Remember the tag ordering is crucial in xml. -Original Message- From: [EMAIL PROTECTED]

RE: session timeout

2002-02-20 Thread Ricky Leung
look at the web.xml file under $CATALINA_HOME/conf, there's a sample web.xml file there that explains how to setup timeouts in your webapp. Just copy and paste into your webapp's web.xml. Remember the tag ordering is crucial in xml. -Original Message- From: Jagan [mailto:[EMAIL

RE: Manager options...

2002-02-20 Thread Ricky Leung
sorry, post the answer to the wrong thread. -Original Message- From: Ricky Leung [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 10:51 AM To: Tomcat Users List Subject: RE: Manager options... look at the web.xml file under $CATALINA_HOME/conf, there's a sample web.xml

RE: Manager options...

2002-02-20 Thread Ricky Leung
http://jakarta.apache.org/site/bugs.html for bug entering info -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Luc BEAUDET Sent: Wednesday, February 20, 2002 10:50 AM To: Tomcat Users List Subject: Re: Manager options... Cox, Charlie a écrit :

RE: Manager options...

2002-02-20 Thread Ricky Leung
I think name=Apache in Engine has to be the same as what ServerName is defined in http.conf in apache. -Original Message- From: John Wadkin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 12:13 PM To: 'Tomcat Users List' Subject: RE: Manager options... Attached my

RE: Manager options...

2002-02-20 Thread Ricky Leung
-noexamples.xml.config you'll see that the !-- Replace localhost with what your Apache ServerName is set to -- comment makes much more sense in noexamples.xml.config! No body (developer) came back with a definitive answer... Thanks, John -Original Message- From: Ricky Leung [mailto:[EMAIL PROTECTED]] Sent

RE: multiple instance of tomcat question

2002-02-20 Thread Ricky Leung
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/RUNNING.txt Look under 4) Advanced Configuration - Multiple Tomcat 4 Instances -Original Message- From: Xie, David (IPCG-NJ) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 3:46 PM To: 'Tomcat Users List' Subject: multiple

RE: Jakarta Tomcat Error Message Information Disclosure Vulnerability?

2002-02-20 Thread Ricky Leung
The link that you send already has the answer to the problem, just some people might not implement it and therefore give it away how things are organized/setup. -Original Message- From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 4:34 PM To: Tomcat

RE: Guys Tomcat Vs Oracle Problem _Puneet Sachar

2002-02-21 Thread Ricky Leung
why don't you try installing the other way around to see if it works. If you are not using oracle's app server, pick the ones that you only need so it doesn't install JRE. All you really need to have oracle is the main oracle and some thin drivers running. Then install your JDK1.3 and make

RE: How-To on load balancing?

2002-02-21 Thread Ricky Leung
http://www.ubeans.com/tomcat/index.html -Original Message- From: Michael Molloy [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 6:30 PM To: Tomcat Subject: How-To on load balancing? Someone a few weeks ago posted a link to a how to on setting up load balancing with Tomcat

RE: Custom 404 Page

2002-02-27 Thread Ricky Leung
assuming you have tomcat4 and you integrated with apache correctly and apache send the request to tomcat because it matched the context path that you specified, you can edit your webapp's web.xml and add the following. error-page error-code404/error-code

RE: Apache does not load images!!

2002-02-27 Thread Ricky Leung
are you using mod_webapp? I find this to be a problem when using apache and mod_webapp, but it went away once I use it on Solaris. mod_jk doesn't have this problem either. -Original Message- From: Eswar.K [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 8:56 AM To: Tomcat

RE: help in include file tag.

2002-02-27 Thread Ricky Leung
you are missing a closing on your second example's first include file. -Original Message- From: Kurt Kurniawan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 1:52 AM To: [EMAIL PROTECTED] Subject: help in include file tag. hi everyone! Need help with tis one I have

RE: TOMCAT STOPS!

2002-04-03 Thread Ricky Leung
which jdk are you using and how was the memory during that time? It might be a memory issue and the system is heavily swapping, causing the server to almost halt? Just throwing random ideas out. -Original Message- From: Bob Swerdlow [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03,

RE: someone....need help!!!!....

2002-04-09 Thread Ricky Leung
I think this is the default behavior. However, it only reloads servlets and jsps and not the beans because when I was debugging them, after I deployed, TC didn't take the changes and I wasted a lot of wondering what is wrong until I restarted it and everything took into effect. -Original

RE: Newbie question

2002-04-10 Thread Ricky Leung
I've tried but it didn't work. I've made a new directory called classes under /Program Files/Apache Tomcat 4.0/webapps/ROOT/WEB-INF and I copied my HelloWorldExample.class to this directory. From my browser I tried http://localhost:8080/servlet/HelloWorldExample and I received a The requested

RE: change a webapp's context

2002-04-10 Thread Ricky Leung
Just rename you war file to ROOT.war and drop it the the same way under webapps. -Original Message- From: Brian K. Buckley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 3:49 PM To: [EMAIL PROTECTED] Subject: change a webapp's context Hi all, What must one do to change a

RE: Jspc i18n

2002-04-10 Thread Ricky Leung
did you set your browser's encoding to use French? Try it with and without. -Original Message- From: Christian Bourque [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 5:57 PM To: Tomcat Users List Subject: Re: Jspc i18n Hi Jeff ! I can't use the attribute encoding, I

RE: Newbie question

2002-04-12 Thread Ricky Leung
you also need to copy your web.xml in WEB-INF to ROOT/WEB-INF -Original Message- From: Javier [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 5:33 AM To: Tomcat Users List Subject: Re: Newbie question On 11/04/2002 at 20:16 yilmaz wrote: Hi Javier, I am not very sure what

RE: Installation Issue

2002-04-16 Thread Ricky Leung
check your logs under $CATALINA_HOME/logs and what errors you get there? I think the requirement for Tomcat4 is java1.3 also. -Original Message- From: Philip I Juels [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 3:51 PM To: [EMAIL PROTECTED] Subject: Installation Issue Hi,

RE: Loadbalancer connector Question

2002-04-26 Thread Ricky Leung
Do you have cookie turned off? If you are using modjk (which is the only one I know of that load balances), you will need that turned on, because it is dependent on that. -Original Message- From: Gabriel Maffia [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 10:18 PM To: Tomcat

server.xml dtd

2002-06-11 Thread Ricky Leung
I can't find the dtd anywhere and the documentation area only gives the explanation and not the order of the attributes and my guess is that the ordering is a must. Could someone point me to where the dtd where server.xml uses so I can just look it up myself? Thanks, Ricky -- To unsubscribe,

RE: server.xml dtd

2002-06-11 Thread Ricky Leung
] mailto:[EMAIL PROTECTED] -Original Message- From: Ricky Leung [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 10:27 AM To: Tomcat Users List Subject: server.xml dtd I can't find the dtd anywhere and the documentation area only gives the explanation and not the order

RE: server.xml dtd

2002-06-11 Thread Ricky Leung
965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Ricky Leung [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 10:44 AM To: Tomcat Users List Subject: RE: server.xml dtd not the DTD for web.xml but the DTD for server.xml. -Original Message

RE: server.xml DTD - where can I find it ?

2002-06-25 Thread Ricky Leung
server.xml doesn't have a DTD, the web.xml's DTD is what that email was about. -Original Message- From: Mykola A. Nickishov [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 1:14 PM To: Tomcat Users List Subject: Re: server.xml DTD - where can I find it ? Craig R.

RE: Tomcat 4.1.12 memory leak, still

2002-09-26 Thread Ricky Leung
JAVA_OPTS='-Xmx=64M' I remember I saw in Sun's website that it's lowercase for all, k for kilo, m for mega, and g for giga, but in this group, people always say use capital letters. Now I am confused! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: AW: Tomcat 4.1.12 memory leak, resources leak, final call ?

2002-09-27 Thread Ricky Leung
My recommendation is to stop trying to make sense of the output from top and ps, and go to an unambiguous source. Take a look at the contents of /proc/pid/status, where pid is the process ID. This will, at any instant you examine it, give you (among other things) total current VM usage and

RE: download 4.0.3?

2002-10-04 Thread Ricky Leung
Why don't you use 4.0.5? That should be the release that you should be using, which has the most bug fixes and a security fix. With 4.1.12, you might have to do additional testing to ensure that your application is working. -Original Message- From: chad kellerman [mailto:[EMAIL

RE: Does anyone know why I am getting these mod_jk error messages or what they mean????

2002-10-08 Thread Ricky Leung
I have found that I could generate this error when the site is slow and I go view a page and then clicked stop on the browser. What happens is that the user gave up looking at the page and ajp could no longer send it out. This usually happens when jsps are compiling... -Original

RE: Error with multipartParser

2002-10-09 Thread Ricky Leung
MultipartParser mpParser = new MultipartParser(req, 10*1024*1024); try to use a smaller number and see what happens, like 1024bytes, instead of 10Megs. -Original Message- From: Sam Seaver [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 2:09 PM To: [EMAIL

RE: Error with multipartParser

2002-10-09 Thread Ricky Leung
specific messages... thanks for the reply though S From: Ricky Leung [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Error with multipartParser Date: Wed, 9 Oct 2002 17:14:03 -0400 MultipartParser mpParser

RE: tomcat,mod_jk loadbalancing

2002-12-09 Thread Ricky Leung
I know the documentation says the socket_timeout is there since 1.2.0, but when I look at the source code, it seems to only read this configuration setting with 1.2.1. You might want to give that a try and also make sure that you invalidate your sessions when people logout (which helps). As for

RE: tomcat,mod_jk loadbalancing

2002-12-09 Thread Ricky Leung
- if 1.2.0 doesn't use socket_timeout could I use cache_timeout ? I think this is best used with web servers with threading models. If you are using apache2.x, then yes, use it, but if you are using apache1.3.x, then this doesn't help. Could you give me an entry point to the mod_jk sources?

RE: tomcat,mod_jk loadbalancing

2002-12-09 Thread Ricky Leung
mod_jk 1.2.0 indeed does contain the socket_timeout cache_timeout settings (I dont't know if they work, though) I couldn't see it in the source code of 1.2.0 but I could be wrong about that. This version doesn't seem to have any timeout options. Documentation says mod_jk is independent of

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 in

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 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