Unable to open the servlet.

2003-10-05 Thread anunay ashish
Hi, My servlet is placed at: C:\Program Files\Apache Group\Tomcat 4.1\webapps\Tracking_system\WEB-INF\classes\com\scheduler with the name addDataServlet My web.xml is as follows: addDataServlet com.scheduler.addDataServlet pageFormat.jsp

Start tomcat with a different server.xml?

2003-10-05 Thread Josh G
Hi, I know it can be done, I just can't remember how to do it - how do I make tomcat use a different server.xml file on startup? Cheers, -Josh -- [ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ] - To unsubscrib

Re: Help :- Filters .

2003-10-05 Thread Steven Perry
Thanks a lot Jacob. I'll take a look at the docs right away. --Steve --- Jacob Kjome <[EMAIL PROTECTED]> wrote: > > You might want to look into Tomcat-specific Valve's. > Valve's are > essentially filters, but act at the level of Tomcat > instead of at the level > of each webapp and can be mo

Re: Blowing away objects that have been stored in the session context

2003-10-05 Thread Nikola Milutinovic
> Does Tomcat release all the resources used by an object if the object > has been stored in the session context and a call to > session.removeAttribute("objName") is made? I'd like to blow away > several beans that are used throughout the processing of a transaction > once the confirmation page i

Apache2+ mod_jk2+ MultipleTomcats 4.1.X in Load Balancing and Context Switching

2003-10-05 Thread Abhijit Aklujkar
Applies to Unix Like OS, FreeBSD and Configuration Part applies to all platforms including Windows (All). The article contains the step by step guidelines to achieve the above configuration. Complete Configuration of Apache2+ mod_jk2+ Multiple Tomcat 4.1.X in Load Balancing and Context Switchin

mod_jk problem

2003-10-05 Thread Jack Lauman
I'm trying to get apache 2.0.47, mod_jk-cvs to work with tc-4.1.27. I can successfully load and execute the tc examples. I have 3 webapps that are for a single url ie: www.java.com They are all accessed from a subdirectory called members which has a simple .htaccess .htpasswd scheme. When I acce

Re: JNDI+dbcp Can't find my jdbc driver

2003-10-05 Thread Peter Harrison
On Mon, 06 Oct 2003 14:55, Josh G wrote: > Unfortunately it's already in a specific context as far as I can tell :( > I've downloaded the source to dbcp and it seems it's throwing a > SQLException on DriverManager.getDriver(url) but there's no reason I can > see that it should, as the url it retur

Re: JNDI+dbcp Can't find my jdbc driver

2003-10-05 Thread Josh G
Peter Harrison wrote: A known issue was with putting the resources under either the default context or the global resources. If you do thins you end up with various errors. This might not be the same issue of course. To fix it place the resources in a Context you intend to run under. Unfortu

Re: JNDI+dbcp Can't find my jdbc driver

2003-10-05 Thread Peter Harrison
On Mon, 06 Oct 2003 13:51, Josh G wrote: > Tried that, still nothing. And there's nothing showing up in > var/mysql.log either. Is there any way to dig up where exactly the > problem is between tomcat and mysql? A known issue was with putting the resources under either the default context or the

Re: JNDI+dbcp Can't find my jdbc driver

2003-10-05 Thread Josh G
Adam Hardy wrote: Josh, try jdbc:mysql://localhost:3306/docomatic Tried that, still nothing. And there's nothing showing up in var/mysql.log either. Is there any way to dig up where exactly the problem is between tomcat and mysql? Cheers, -Josh -- [ Josh 'G' McDonald ][ 0415 784 825 ][ http://

Re: RH9's Apache 2 and Tomcat 4

2003-10-05 Thread Dave Thomas
I would also like to know some facts on this. I need to maintain many Linux boxes running Apache and Tomcat...having the ability to update Apache with a plain RPM from RedHat is a huge bonus. Thanks, Dave Thomas Mike Millson wrote: I have heard the claims before about not using the default Apac

Re: manager.xml in tomcat 5

2003-10-05 Thread Adam Hardy
Oh I see - you mean I can edit the docs by editing the xml file, and then uploading a patch to bugzilla? What's the best way of editing the xml - just in a bog-standard text editor? On 10/06/2003 12:43 AM Tim Funk wrote: All docs are xml files which get transformed to html files at build time.

Re: Blowing away objects that have been stored in the session context

2003-10-05 Thread Tim Funk
No. If it did it would be magical. All objects follow the garbage collection rules. So session.removeAttribute("mybean") will remove all known references that the tomcat internals point to the reference pointing to "mybean". So for mybean to be garbage collected - make sure you have no objects p

Re: manager.xml in tomcat 5

2003-10-05 Thread Tim Funk
All docs are xml files which get transformed to html files at build time. The xml files for the docs won't be in the binary release. -Tim Adam Hardy wrote: In the src distro I can see, but not in the binary 5.0.12 tarball: [EMAIL PROTECTED] junk]$ tar -tvzf jakarta-tomcat-5.0.12.tar.gz |grep m

Re: Re: Is it a Memory leak issue???

2003-10-05 Thread Filip Hanik
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html look under the production configuration - Original Message - From: Satya Narayan Dash To: Tomcat Users List Cc: Filip Hanik Sent: Sunday, October 05, 2003 3:12 AM Subject: Re: Re: Is it a Memory leak issue???

Blowing away objects that have been stored in the session context

2003-10-05 Thread Adrian Beech
G'day all, Does Tomcat release all the resources used by an object if the object has been stored in the session context and a call to session.removeAttribute("objName") is made? I'd like to blow away several beans that are used throughout the processing of a transaction once the confirmation page

Re: manager.xml in tomcat 5

2003-10-05 Thread Adam Hardy
In the src distro I can see, but not in the binary 5.0.12 tarball: [EMAIL PROTECTED] junk]$ tar -tvzf jakarta-tomcat-5.0.12.tar.gz |grep manager.xml -rw--- 0/0 418 2003-09-15 19:25:48 jakarta-tomcat-5.0.12/conf/Catalina/localhost/manager.xml -rw-r--r-- 0/0 435 2003-09-

Re: manager.xml in tomcat 5

2003-10-05 Thread Tim Funk
Nope. Its an xml file in jakarta-tomcat-catalina/webapps/docs -Tim Adam Hardy wrote: Just found out that manager.xml is found under conf/Catalina/localhost/ nowadays. It means the docs on the website are a bit out-of-date. Took me half an hour to work out what was going on because I didn't re

Re: Unable to access JSP page on local host

2003-10-05 Thread Ben Souther
Have you tried hitting http://localhost:8080 to verify that tomcat is intsalled and running properly? If it is, click through some of the example JSP apps to make sure that the javac compiler is installed and can be found by tomcat. I would also double check the JAVA_HOME and CATALINA_HOME eviron

Re: Tomcat hanging!! About to change container!! Please help!!

2003-10-05 Thread Remy Maucherat
David Rees wrote: On Sun, October 5, 2003 1at 2:44 am, Remy Maucherat sent the following If there's a clear confirmation of this, a recommendation not to use Sun JDKs on Linux would be added in the release notes. I can't say I agree with this as I have about half a dozen machines running Tomcat

Re: virtual directory in tomcat

2003-10-05 Thread Dov Rosenberg
Instead of using relative paths in your application, use absolute paths , i.e. http://media.company.com/images/ What force Tomcat to serve your application and images, let Apache do the image serving, makes your application loads more scalable. Dov Rosenberg On 10/5/03 2:26 AM, "[EMAIL PRO

Re: Tomcat hanging!! About to change container!! Please help!!

2003-10-05 Thread David Rees
On Sun, October 5, 2003 1at 2:44 am, Remy Maucherat sent the following > If there's a clear confirmation of this, a recommendation not to use Sun > JDKs on Linux would be added in the release notes. I can't say I agree with this as I have about half a dozen machines running Tomcat on a Linux 2.4 k

Re: RH9's Apache 2 and Tomcat 4

2003-10-05 Thread Mike Millson
I have not had any problems integrating tomcat w/ RH9 and Apache 2. Here is my write up on how to do this: http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html Granted, I'm not using mod_jk2, so maybe that is why I had no trouble. I have always heard it's better to compile Apache fr

manager.xml in tomcat 5

2003-10-05 Thread Adam Hardy
Just found out that manager.xml is found under conf/Catalina/localhost/ nowadays. It means the docs on the website are a bit out-of-date. Took me half an hour to work out what was going on because I didn't realise, and copied my tomcat-4 manager.xml over to webapps/, because it's got my realm

Re: RH9's Apache 2 and Tomcat 4

2003-10-05 Thread Chong Yu Meng
Hi Mike ! I guess the best way to test my theory is to try integrating Tomcat with Apache 2 yourself. There are real benefits for using RH's rpms, but if the integration takes too much effort, it may not be worth it. I haven't touched Tomcat for about 4 months now, but when I was working on my

Re: RH9's Apache 2 and Tomcat 4

2003-10-05 Thread Mike Millson
There are two compelling benefits to installing the RedHat rpms: 1) Updates and bug fixes can be installed automatically from the Red Hat Network (https://rhn.redhat.com/). 2) Startup and shutdown scripts are already configured and available. I would like to weigh these benefits against any specif

RE: RE: Is it a Memory leak issue???

2003-10-05 Thread Goehring, Chuck Mr., RCI - San Diego
Satya , I'm just passing on that at least some versions of javac were alleged to have memory leaks. If that is the problem, the version of Tomcat wouldn't matter. I don't really know much about this issue, I was just passing on some info I thought might be helpful. If you are sure you are pu

Re: RH9's Apache 2 and Tomcat 4

2003-10-05 Thread [EMAIL PROTECTED]
I am using RH9 with the Apache2 that comes with it. Recently I've installed Tomcat5 with mod_jk2 without too many problems (jakarta-tomcat-5.0.7.tar.gz and mod_jk2-ap20-2.0.1-1jpp.i386.rpm). Proper configuration of workers2.properties and jk2.properties is essential I believe. I got a few sites ru

Re: Is it a Memory leak???

2003-10-05 Thread Tim Funk
I don't know what Linux 7.2 is (or for that matter most linux distr versions). Running java on windows or hp-ux shows the behavior I described. I have run tomcat on linux but never paid attentino to the memory usage since ps works so horribly bad with threads. -Tim Satya Narayan Dash wrote: T

Re: RH9's Apache 2 and Tomcat 4

2003-10-05 Thread Mike Millson
I have heard the claims before about not using the default Apache that comes w/ RH 9, but I have never seen any concrete evidence for not doing this. Do you have any specifics such as articles or facts that show the downside of using the default Apache that comes w/ RH? Thank you, Mike On Sat, 20

Re: virtual directory in tomcat

2003-10-05 Thread Tim Funk
This would be a new context. I am unsure in a Context declaration you are allowed to enter a \\machine-name\dir. -Tim [EMAIL PROTECTED] wrote: Hello guys, Can anybody advise me on this...is it possible to create a virtual directory in Tomcat which points to a directory on a different machi

Re: invalidating sessions

2003-10-05 Thread Tim Funk
session.removeAttribute("mybean"); -Tim [EMAIL PROTECTED] wrote: Is there to invalidate a single sessionbean rather than the whole session? thanks -ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: Re: Is it a Memory leak issue???

2003-10-05 Thread Satya Narayan Dash
Fillip, I have a separate script for compiling the JSP files, which is used for compiling the JSPs. Can you please tell the significance of the fork flag?? I wonder, if it has someting to do with the OS. As in Win2k we have a fork process concept for Apache. Satya. On Sun, 05 Oct 2003 Filip Ha

Re: RE: Is it a Memory leak issue???

2003-10-05 Thread Satya Narayan Dash
Chuck, In fact I've upgraded from Tomcat 4.0.4 to 4.1.27. I have precompiled JSPs w.r.t tomcat 4.0.4. Do you want me to compile them w.r.t 4.1.27 and retest?? Satya. On Sun, 05 Oct 2003 Goehring, Chuck Mr., RCI - San Diego wrote : >Satya, > >Roomer was the Java compiler leaks memory when it co

Re: Re: Is it a Memory leak???

2003-10-05 Thread Satya Narayan Dash
Tim, Is it that JVM bundled in Windows and Linux are different?? I have tested in Linux 7.2 and there is not memory increment. It hovers around the same value. This happens in Win2k. The parent process eats up enough memory. Satya. On Sun, 05 Oct 2003 Tim Funk wrote : >The JVM does not releas

Re: Tomcat hanging!! About to change container!! Please help!!

2003-10-05 Thread Remy Maucherat
David Rees wrote: On Fri, October 3, 2003 at 1:02 pm, Remy Maucherat sent the following Interesting stuff about the logger. Anyway, in the dump, there's, as usual, only one connector listening on its server socket. And, as usual, it is Sun JDK 1.4.1 or 1.4.2 on Linux. I think there are way too ma