Using Tomcat 4.0 to connect to MS Access DB

2001-10-26 Thread Michael J. Pierzga
Hello all, I have been using Apache with Tomcat 3.2 to simply use a MS Access database. I connect the datasource name to the actual file using the ODBC service administrator from the Windows NT control panel. Now, I want to go to Tomcat 4.0 stand-alone and get to the same database ... everythi

RE: Viewing this mailing list online

2001-10-26 Thread Geoff Howard
Yes, there are lots of places -- here is one that is mentioned on mailing lists page at the jakarta site (http://jakarta.apache.org/site/mail2.html): http://mikal.org/interests/java/tomcat/archive/list You also should be able to recieve a digest version, although this post seems to imply that

2 or more sessions in tomcat

2001-10-26 Thread Rinku Randhawa
Hi, Can there be 2 or more sessions handled by tomcat server in IE 5.0 browser of a PC using its inbuilt session tracking property? I can see only one session being able to be handled till now. Whenever there are 2 sessions then the session values get interchanged between them. Thanks Rinku

Re: Error in mod-webapp nightly snapshot

2001-10-26 Thread Pier Fumagalli
David Smith at [EMAIL PROTECTED] wrote: > Pier -- Thought you might want to know about this (you might already). I > just built mod-webapp from the nightly snapshot dated 10-25-2001 and found an > error in the build. > > Line 77 of WarpConnector.java imports > 'org.apache.catalina.ServerSocketF

Link on Jakarta Web site to Tomcat 4.0 not 4.0.1?

2001-10-26 Thread Jonathan Eric Miller
I just noticed that the link to the release version of Tomcat on the Jakarta Web site is pointing to 4.0 and not 4.0.1? I thought that it pointed to 4.0.1 previously, but, I don't remember for sure. Is this an indication that there is a problem with 4.0.1? I'm currently running 4.0, but, I was th

RE: jasper directory missing in distribution

2001-10-26 Thread Joel P. Worrall
Just so you're aware, if you have a xerces parser (same or another version) in your webapp/WEB-INF/lib directory, the new ClassLoader configuration breaks Tomcat, generating a ClassCastException on the xerces DocumentBuilderFactory implementation when trying to start the JspServlet. In other word

JVM/JDK1.3/TOMCAT problems with running as a service

2001-10-26 Thread Vara Prashanth
Hello everyone: I am facing problems running tomcat as a service using jdk1.3.1 on windows 2000. I have read that there was a bug in JVM of jdk1.3 which was fixed in jdk1.3.1. Can anybody tell me how I can run tomcat as a service using jdk1.3.1. I am using tomcat 3.2.2 on win 2k machine. Many th

Protecting a Page within a Webapp under Tomcat 4.0

2001-10-26 Thread Rajan Gupta
I have a requirement where I want to provide access to a particular page or a set of pages to only a limited set of IP addresses, while allowing the rest of the web application to be visible to anyone. Is it possible to do it under Tomcat 4.0 or a combination of Apache & Tomcat? Also, where can I

Re: Viewing this mailing list online

2001-10-26 Thread Yoav Shapira
Howdy, A google search for "tomcat-user list archive" gives a bunch of results. My fav one is http://marc.theaimsgroup.com/ because all the other lists are there as well, and you can set some nice search features. Yoav Donie Kelly wrote: > > Can we view this mailing list online rather that rece

Re: tomcat session problem

2001-10-26 Thread Craig R. McClanahan
On Fri, 26 Oct 2001, Dmitri Colebatch wrote: > Date: Fri, 26 Oct 2001 15:50:41 +1000 > From: Dmitri Colebatch <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: tomcat session problem > > On Fri, 26 Oct 2001, Dmitri Colebatch wrote: > > > On Thu, 25 Oct 200

RE: File Download - CSV question ****

2001-10-26 Thread Craig R. McClanahan
On Fri, 26 Oct 2001, Dmitri Colebatch wrote: > Date: Fri, 26 Oct 2001 15:10:03 +1000 > From: Dmitri Colebatch <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: RE: File Download - CSV question > > On Thu, 25 Oct 2001, Evan Swans

RE: Compilation Error when building Tomcat

2001-10-26 Thread Craig R. McClanahan
On Thu, 25 Oct 2001, Nitin Vira wrote: > Date: Thu, 25 Oct 2001 18:48:15 -0700 > From: Nitin Vira <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: RE: Compilation Error when building Tomcat > > Hi Craig, > > Thanks for your help. I have managed to successfully

RE: Viewing this mailing list online

2001-10-26 Thread Kemp Randy-W18971
Sure. Just go to the Tomcat users archive. But the real solution is to provide a digest list option (hint! hint!). -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 4:56 AM To: [EMAIL PROTECTED] Subject: Viewing this mailing list online Can

Apache/Tomcat sending default image

2001-10-26 Thread JBrawner
Is there anyway for Apache/Tomcat to send a default image to the user if the image they are requesting doesn't exist to prevent a broken image? I have a JSP/Servlet site that collects and dynamically displays images based on user response. Sometimes the image requested just isn't there. I could

RE: Tomcat 4.0.1 Final and Xerces Parser

2001-10-26 Thread Rida Ligurs
I had read this documentation but it seemed to be out of date. It referred to crimson and and jaxp jars - I don't see these in my installation, the version I have comes with xerces. I think it should also mention that the jars in any directory are "loaded" alphabetically. Anyway, I've got everyt

Tomcat 4.0 and Poolman 2.1b1

2001-10-26 Thread Fabio Mengue
Hello, I'm having a problem using Poolman. I wonder if anybody has the same problem... I have a server (PIII 800, 256Mb RAM) with Linux (kernel 2.4.5). Using Sun JDK 1.3.1_1, and binary Tomcat 4.0 for Linux. Tomcat runs fine out of the box (ie, standalone, no connection with Apache

RE: Providing for persistent files in a web-app

2001-10-26 Thread Geoff Howard
I assume you're running tomcat standalone -- otherwise, wouldn't you just put the files somewhere under the docroot of Apache/IIS, or are the files not static? Geoff -Original Message- From: Frank Lawlor [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 3:07 PM To: Tomcat (E-ma

Re: AW: JNDI question

2001-10-26 Thread Mike Givens
I was having the same problem, but finally figured it out. I'm using Tomcat 4.0.1 and accessing my jsp pages through Apache using the Warp connector. I found it important to put the JNDI DataSource definition under the correct connector in the server.xml configuration file. So, to access the DataS

User jsp dirs via Apache

2001-10-26 Thread Mike Givens
I'm trying to set up Tomcat 4.0.1 to access jsp files from user directories, so that a url with ~username will be directed to that user's public jsp directory. I am using Apache 1.3.12 configured with the Warp connector to Tomcat to execute jsp's. This is on a Solaris 8 server. I have also added t

Re: TC4.0.1 - 500 error-page not working

2001-10-26 Thread Remy Maucherat
> Hi, > > I've implemented a JSP page for handling 500 errors, but its not > working. A similar page works fine for 404 errors coming from Tomcat. > The error in question is a NullPointerException, but this shouldn't matter. > > From web.xml: > > 500 > /system/error_docs/server.jsp >

Re: More experiments with changing the default (/) mapping

2001-10-26 Thread Micael Padraig Og mac Grene
I think I already sent you the answer. You have a "ControlServlet" servlet which has a "BeanServlet" servlet do its work processing the request in the ControlServlet's service(Req, Res) method. The call to the BeanServlet returns a RouterServlet. The RouterServlet has the code I previously sent

RE: Viewing this mailing list online

2001-10-26 Thread Mangi, Rick
http://mikal.org/interests/java/tomcat/index.jsp You can read, but you can't participate. -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 5:56 AM To: '[EMAIL PROTECTED]' Subject: Viewing this mailing list online Can we view this mailing li

Re: tomcat session problem

2001-10-26 Thread Rinku Randhawa
Hi, Limiting the sessions to one browser means I start a session in it and click on different jsp links to go to different pages, but I Do NOT open another window for any page. So, like this I have two sessions running at one time by logging into my program in two separate IE 5.0 windows. Which m

RE: how to keep form data

2001-10-26 Thread Siomara Pantarotto
OK OK OK...Nothing better than balance validations between client and server side. Especially because there are certain validations that require to be done in the server side. However, a required field left blank, a wrong date, a wrong email format, etc... all can be handled in the client side

Re: tomcat session issue

2001-10-26 Thread Rinku Randhawa
Hi, Limiting the sessions to one browser means I start a session in it and click on different jsp links to go to different pages, but I Do NOT open another window for any page. So, like this I have two sessions running at one time by logging into my program in two separate IE 5.0 windows. Which m

RE: Viewing this mailing list online

2001-10-26 Thread Micky I. Mimo
any list search engine will do the job. http://marc.theaimsgroup.com/ or http://www.mail-archive.com/lists.html#j -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 5:56 AM To: '[EMAIL PROTECTED]' Subject: Viewing this mailing list online

Attribute status has no value/Custom tag problem

2001-10-26 Thread Bryan Murtha
Please help, Keep getting Attribute status has no value when I try to pass it in directly, have to pass it to a variable and then pass it in but the application architect wants no Java code in the JSP, I know this can be done I just can't get it to work, only Using Tomcat 3.3 on Windows '9

RE: File Download - CSV question ****

2001-10-26 Thread Evan Swanson
That was it! Thank you very much for your help. The WEB.XML file seems to be much different on version 4.0 very good help thanks again... -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 10:52 PM To: '[EMAIL PROTECTED]' Cc: 'Dm

RE: properties file

2001-10-26 Thread Evan Swanson
How do you describe where the properties file is now? I believe the default directory is the /bin directory. There is a tomcat property called CATALINA.BASE that is the root directory of your tomcat4.0 installation( it used to be called TOMCAT.HOME ). ie. String tomcat_home = System.getPr

Re: This is the last test...

2001-10-26 Thread Pier Fumagalli
Remy Maucherat at [EMAIL PROTECTED] wrote: >> Sorry for this continuous tests, but setting up a mailing list server that >> can handle the load of jakarta.apache.org is not an easy trick :) :) >> This should (in theory) be the last one. I'm monitoring for failures on > the >> daemon, and this tim

Re: This is the last test...

2001-10-26 Thread Remy Maucherat
> Sorry for this continuous tests, but setting up a mailing list server that > can handle the load of jakarta.apache.org is not an easy trick :) :) > This should (in theory) be the last one. I'm monitoring for failures on the > daemon, and this time there shouldn't be any... > Again, in theory, th

This is the last test...

2001-10-26 Thread Pier Fumagalli
Sorry for this continuous tests, but setting up a mailing list server that can handle the load of jakarta.apache.org is not an easy trick :) :) This should (in theory) be the last one. I'm monitoring for failures on the daemon, and this time there shouldn't be any... Again, in theory, the mailing

Re: Testing the new mailing list...

2001-10-26 Thread Pier Fumagalli
Pier Fumagalli at [EMAIL PROTECTED] wrote: > Hope it works... :) > > Pier Ok folks... Since daedalus (the mail server) was crawling under a HUGE load, we decided to split mailing lists off to another server. One by one they should get back to normal... Let me know if you see anything wrong...

Re: Starting up Catalina

2001-10-26 Thread Craig R. McClanahan
On Fri, 26 Oct 2001, Martin Mauri wrote: > Date: Fri, 26 Oct 2001 10:13:09 -0300 > From: Martin Mauri <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Starting up Catalina > > Hi users, > > I'm facing the following problem trying to start up Catalina 4.0.1 >

RE: switch between http and https. how?

2001-10-26 Thread Craig R. McClanahan
On Fri, 26 Oct 2001, Taavi Tiirik wrote: > Date: Fri, 26 Oct 2001 17:16:19 +0200 > From: Taavi Tiirik <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: RE: switch between http and https. how? > > > > I have Tomcat 4 running fine with both http and https protoc

Testing the new mailing list...

2001-10-26 Thread Pier Fumagalli
Hope it works... :) Pier -- To unsubscribe, e-mail: For additional commands, e-mail:

Testing moderation

2001-10-26 Thread root
Testing moderation... -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Should I switch to tomcat 4.0

2001-10-26 Thread Pier Fumagalli
Tarek M. Nabil at [EMAIL PROTECTED] wrote: > Hi everyone, > > I haven't been doing any server side java development for a while, so I > installed tomcat to get to do some development on it every now and then > as not to forget and stay updated. Which version do you recommend, I > don't wanna use

Re: JSP - How do I make it invisible to the browser's "back" button

2001-10-26 Thread Frank Lawlor
I think you are going about this the wrong way. Instead of explicitly targeting the counter.jsp you could use a number of different approaches 1) have a "counter" bean. Each page you want to count could include the counter bean invocation 2) map your app accesses thru a control servlet. It w

Re: mod_webapp not forwarding

2001-10-26 Thread Pier Fumagalli
Frank Niedermann at [EMAIL PROTECTED] wrote: > Hallo! > > I have a problem with Apache Webserver and Tomcat 4.0.1 on my Linux- > Server. I installed the module webapp for apache and it seems to be > working because httpd -t says it's all ok: > httpd -t: > dettlx07:/var/log # httpd -t > [Wed Oct

Re: servlet upload

2001-10-26 Thread Pier Fumagalli
E B at [EMAIL PROTECTED] wrote: > There is only one webapp. > btw, I have some files like jar_cache22482.tmp > Who is caching these. Is it jvm, or tomcat, > or cos.jar ? Any idea? More over, I get these > tmp files only with tomcat 4. I don't know who creates them... But I noticed them too.

Re: Launching subprocess under Tomcat as a Service

2001-10-26 Thread Pier Fumagalli
Robert Casto at [EMAIL PROTECTED] wrote: > To all, > > I have a servlet that spawns a process to generate PDF reports. When I run > Tomcat 3.2.3 using the startup.bat method, everything works fine. The > subprocess runs, completes its task, and my Servlet returns and completes > its processing.

Re: Security Question

2001-10-26 Thread Frank Lawlor
I've started looking at some of the security issues but I'm still behind where you are in the area of your questions. Where did you find this document that has section 8 on "Existing Risks and Problems" Thanks, Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owne

RE: switch between http and https. how?

2001-10-26 Thread Taavi Tiirik
> > I have Tomcat 4 running fine with both http and https protocols. > > I would like to use http for serving most of the documents and > > only j_security_check (form based login) should be done over > > https. How can I configure this? > > > > There is no way to configure this. Thanks, Craig!

Re: JDBC Realm

2001-10-26 Thread Frank Lawlor
Sounds like you have your http server (IIS, Apache?) set to provide security. Turn it off. (are you serving everything, even html, from tomcat?) Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned consulting firm integrating technology strategy and software solut

RE: File Download - CSV question ****

2001-10-26 Thread Furmaniak Christophe
> > I order to reduce the variable, I tried installing TC4.0 on the same > windows based machine. I am using the same client for both( IE5.0 ). > > Results: > TC3.2 will present a popup box for downloading files with > .CSV extention. > TC4.0 throws data directly up on the screen. > > > Is t

Re: Tomcat 4.0.1 Final and Xerces Parser

2001-10-26 Thread David Morris
Frank and others, I have been experiencing similar problems. Not sure how to fix it because my errors were with an org.xml.sax.Attributes method. I found that it is defined in at least 4 jar files on my class path. I remember reading in the documentation that the parser supplied by Catalina is

Re: how to keep form data

2001-10-26 Thread Alistair Bayley
No, do it on _both_ client and server. You can't be sure that the form data you are being sent (POSTed) has actually come from your client (it can be faked/spoofed/subverted/whatever). And what about clients that do not support javascript (Lynx, and older browsers?) Actually I'm just guessing

Win98 problems

2001-10-26 Thread Hornsby Peter
I'm hoping to demonstrate some software on a Windows 98 machine having developed it on a WinNT machine. However, when I try to start tomcat 3.3, I get the messages "Out of environment space" and "tomcat.batnot found at TOMCAT_INSTALL" Can anyone suggest how I can address these problems? Tha

Re: TC4: stopping/starting an application works, reloading does not

2001-10-26 Thread Frank Lawlor
How did you deploy the new classes? Just place the war file in webapps or did you explode the war or place the new classes where they belong yourself? The manager documentation does mention that there are some problems that seem to be related to re-deploying a war with the same name. Frank Lawl

Need help for server.xml

2001-10-26 Thread Jean-Luc BEAUDET
Sorry if this is the second Post... I made a little mistake ! Hi all, I'm newbie with the Tomcat env. Runnin' SOLARIS 8 Apache 1.3.20 and ApacheJServ 1.1.2 i had to decide to shift to Tomcat 4.0.1 especially for jsp's. I'm happy with it but i'd like to: keep my servlets zones as they we

Re: login from home page

2001-10-26 Thread Frank Lawlor
You (normally) should not be doing the login from your home page. If you use the tomcat security by specifying a in web.xml it will invoke your login.jsp the first time someone trys to access the secured area. If they log in ok then it will continue on to whatever page you were trying to get to

CLASSPATH Problems

2001-10-26 Thread Gabriel J Zimmerman
Hi, I have a jar file my webapp's lib directory. It finds other jar files, but it won't find this one and I get an error in my JSP page. Here is the Jasper classpath: Classpath according to the Servlet Engine is: /usr/local/www/docs/sec/WEB-INF/classes:/usr/local/www/docs/sec/ WEB-INF/lib/mail.j

Servlet Engine for an Embedded WebServer

2001-10-26 Thread Hartmann Wolfgang
Hi there, I don't know very much about Tomcat and therefore I have some basic questions. For us it would be very interesting to improve a small, scalable HTTP-server (code size between 15KB - 100KB) written in ANSI-C, adding a servlet engine. Now the questions are: - Is Tomcat the right choice

Need help for server.xml...

2001-10-26 Thread Jean-Luc BEAUDET
Hi all, I'm newbie with the Tomcat env. Runnin' SOLARIS 8 Apache 1.3.20 and ApacheJServ 1.1.2 i had to decide to shift to Tomcat 4.0.1 especially for jsp's. I'm happy with it but i'd like to: keep my servlets zones as they were already create new ones mostly independant of the $CATALI

Re: AW: JNDI question

2001-10-26 Thread P.Miller
Hello, try it with the IP-Adress instead of @zarragon put @195... in your driver. perhaps this solves your problem. Hth Peter "Nottebrok, Guido" wrote: > > Hallo, > I have the same problem with a MySQL Database, configured everything > like you and also get null after the lookup. > I post

RE: Please explain this Tomcat problem to me.

2001-10-26 Thread m akeijou
Kemp Randy-W18971 <[EMAIL PROTECTED]> wrote: >I have this unusual quirk with Tomcat, and maybe someone out there can >explain what is happening. >1. I have Apache 1.3.19 and Tomcat 4.01 on Solaris 5.6, with Sun JDK 1.3.1. >2. I start and stop Tomcat 4.01 with startup.sh and shutdown.sh. >3. Af

RE: Tomcat vs. Apache/Tomcat

2001-10-26 Thread Mangi, Rick
If you look back through the list archives I think you'll find this topic has been beaten to death several times. -Original Message- From: Timothy Fisher [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 2:03 PM To: [EMAIL PROTECTED] Subject: Tomcat vs. Apache/Tomcat Can some

Apache/Tomcat sending default image

2001-10-26 Thread JBrawner
Is there anyway for Apache/Tomcat to send a default image to the user if the image they are requesting doesn't exist to prevent a broken image? I have a JSP/Servlet site that collects and dynamically displays images based on user response. Sometimes the image requested just isn't there. I could

Tomcat Performance Comparisons

2001-10-26 Thread Ben Pickering
Hi We're looking for a table of performance comparisons between various versions of Tomcat. Does anyone know of any good places to get such data? We're especially interested in the differences between versions 3.2.x, 3.3.x and 4.0.x. Regards, Ben. ___

RE: login from home page

2001-10-26 Thread Larry Isaacs
You don't mention which Tomcat you are using. Assuming it is a Tomcat 3.2.x version, I think this is a known problem. For both Ajp12 and Ajp13 protocols, the remoteUser is always set to the "user" supplied with the browser's request. This isn't the user the FORM login seeks to authenticate, whic

Starting up Catalina

2001-10-26 Thread Martin Mauri
Hi users, I'm facing the following problem trying to start up Catalina 4.0.1 I cannot add extra libreries ".jar" files to the server because they aren't added to the run CLASSPATH, however in the earlier versions of TOMCAT, the script added all the jars in the lib directory to the run classpath.

RE: Tomcat vs. Apache/Tomcat

2001-10-26 Thread Kemp Randy-W18971
If you look into the Tomcat archives, this was answered a few days ago. But to recap, some reasons for running Apache with Tomcat: 1. Apache can handle static pages better (plain HTML). 2. Apache has great security and logging capacities. 3. Apache can handle applications in other languages, l

Can precompiled jsp's be used with any web server?

2001-10-26 Thread Alex Colic
Hi, If I create a war file which holds precompiled jsp's will they work with any web server? I am wondering about how to develop a generic war file that is not tied to the web server. Regards Alex

RE: Can't get precompiled JSP to be welcome page?

2001-10-26 Thread Alex Colic
Ah, Thanks for the info. I will try that. Alex 8 Date: Thu, 25 Oct 2001 06:59:13 -0400 To: [EMAIL PROTECTED] From: Randy Layman <[EMAIL PROTECTED]> Subject: RE: Can't get precompiled JSP to be welcome page? Message-ID:

RE: Servlet Mapping -- Servlet getting called twice

2001-10-26 Thread Larry Isaacs
I tried mapping the ROOT context's SnoopServlet in a similar fashion, and it is only called once. There isn't enough information supplied to tell what is differenct in your test case. Larry > -Original Message- > From: Smith, Lawrence T (Lance) [mailto:[EMAIL PROTECTED]] > Sent: Thursda

RE: how to configure mod_jk (tomcat 3.3) for multiple hosts?

2001-10-26 Thread Larry Isaacs
I believe you can specify this in the worker.properties file by specifying the desired host in the worker..host setting. Larry > -Original Message- > From: Schulz, Sebastian [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 25, 2001 4:05 AM > To: '[EMAIL PROTECTED]' > Subject: how to

Re: the meaning of message "WebappClassLoader: Lifecycle error"

2001-10-26 Thread Kamil Kukura
hmm I guess it happens when WebappClassLoader is stopped and my thread wants to load some other class. Is there way my thread can obtain WebappClassLoader so I can check if it is started? -- Kamil

Viewing this mailing list online

2001-10-26 Thread Donie Kelly
Can we view this mailing list online rather that receive it by e-mail. It's currently running at hundreds of messages per day (a testament to how popular Tomcat is) Regards Donie

Can mod_jk be made to restart tomcat, if tomcat has died?

2001-10-26 Thread Bang, Steinar
Can mod_jk be made to restart tomcat, if it discovers that the tomcat process is no longer running? Thanx! - Steinar This email, its content and any attachments is PRIVATE AND CONFIDENTIAL to TANDBERG Television. If received in error please notify the sender and destroy th

properties file

2001-10-26 Thread Antonio Trigo
My application works fine in Tomcat 3.x. On Tomcat 4.0.1 it can't load the properties file that is in the application jar file. Do I have to tell him in the web.xml where the file is? Any ideas? Thanks in advance.

Is something wrong with the Catalina 4.0.1 distribution? (PS)

2001-10-26 Thread raj
> Looking at "jasper-compiler.jar" I notice that the class "TldLocationsCache" is in the package > org.apache.jasper.compiler > and not > org.apache.jasper.compiler.TldLocationsCache.processJars > as it seems to be looking for from the above exceptions. Sorry the above should have said: Th

tomcat acts strange (servlet reloading)

2001-10-26 Thread Dario Novakovic
i have very weird problem with tomcat 3.2.3. for example i have html page which calls servlet. everything is fine when i start tomcat. now when i recompile servlet and try to call it again, this is what i get: Internal Servlet Error:java.lang.IllegalStateException: Can't happen -classname is nu

Is something wrong with the Catalina 4.0.1 distribution?

2001-10-26 Thread raj
To enable JDBC realm I added my jar file (weblogic4.jar) to CATALINA_HOME/common/lib. I find that the driver is not being found/read (obviously not being added to classpath, also true if added to CATALINA_HOME/lib). I forced this jar in, by adding it to the line (shown below) in catalina.bat:

Tomcat startup trouble...

2001-10-26 Thread Chandramouli Nagarajan
Hai, I am deploying TOMCAT3.2.3 with Apache1.3.20 in Solaris-7 platform. I have configured TOMCAT to work with apache. When i start tomcat after setting all the contexts, i am getting an error as below. -

Permanent NullPointerException

2001-10-26 Thread Aurélie Lucet - Atlog
Hi, I have a very big problem trying to run quite simple JSP pages with tomcat 4.0.1 (running on WinNT 4 SP6a). My code is like this : " ... <% String str = request.getParameter("rSelection"); try { Vector v = listeCli.getListePersonnes(false, true); out.println(v == nul

RE: File Download - CSV question ****

2001-10-26 Thread Cato, Christopher
Without being an expert on TomCat, I'd say straight away that this is a MIME error. You need to set the MIME for .csv files to something that's not parsed by the browser, like, application/x-whatever. Fiddle around with that. I think the MIMES are in the server.xml file. I could be wrong though.

TC4.0.1 - 500 error-page not working

2001-10-26 Thread Brett Porter
Hi, I've implemented a JSP page for handling 500 errors, but its not working. A similar page works fine for 404 errors coming from Tomcat. The error in question is a NullPointerException, but this shouldn't matter. From web.xml: 500 /system/error_docs/server.jsp 404 /

AW: Load Balancing on Tomcat.

2001-10-26 Thread Schulz, Sebastian
hi, don't know how to do this for iis, but for Apache you can do it using jserv or (much better) mod_jk. you have to define the needed workers at workers.properties (see documentation about workers) and you have to map the right worker (the loadbalancer) at (normaly) mod_jk.conf. you can also s

AW: JNDI question

2001-10-26 Thread Nottebrok, Guido
Hallo, I have the same problem with a MySQL Database, configured everything like you and also get null after the lookup. I posted this twice on this list and saw other postings with this problem, but nobody got an answer. If you find a solution please post it here. Guido > -Ursprungliche Na

RE: File Download - CSV question ****

2001-10-26 Thread Craig R. McClanahan
On Thu, 25 Oct 2001, Evan Swanson wrote: > Date: Thu, 25 Oct 2001 13:22:06 -0700 > From: Evan Swanson <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Cc: 'Dmitri Colebatch' <[EMAIL PROTECTED]> > Subject: RE: File Download - CSV question***

AW: Questions on tomcat heap usage and garbage collection (avoiding OutOfMemoryError exceptions)

2001-10-26 Thread Ralph Einfeldt
See below: > -Ursprüngliche Nachricht- > Von: Bang, Steinar [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 25. Oktober 2001 09:20 > An: '[EMAIL PROTECTED]' > Betreff: RE: Questions on tomcat heap usage and garbage collection > (avoidi ng O utOfMemoryError exceptions) > Why does a sin

Re: tomcat session problem

2001-10-26 Thread Dmitri Colebatch
On Fri, 26 Oct 2001, Dmitri Colebatch wrote: > On Thu, 25 Oct 2001, Rinku Randhawa wrote: > > > Thanks Ralph for the information, my question is when there are 2 sessions > > running on the web in the same PC (by opening 2 browsers) then it doesn't > > track the sessions properly and changes the

RE: File Download - CSV question ****

2001-10-26 Thread Dmitri Colebatch
On Thu, 25 Oct 2001, Evan Swanson wrote: > I am using IE5.0 in both situations. The only difference is going from > TC3.2 on windows to TC4.0 on HP Unix. I would think that the IE would > be making the decision on how to handle the file by the extension name > but it is not. technically speaking

Re: getNamedDispatcher

2001-10-26 Thread Micael Padraig Og mac Grene
Try the trusted and true: if(isForward) { ServletContext ctx = servlet.getServletContext(); RequestDispatcher rd = ctx.getRequestDispatcher(response.encodeURL(url)); rd.forward(request, response); } else { response.sendRedirect(res.encodeRedirectURL(url)); } -Original Messa

Re: tomcat session problem

2001-10-26 Thread Dmitri Colebatch
On Thu, 25 Oct 2001, Rinku Randhawa wrote: > Thanks Ralph for the information, my question is when there are 2 sessions > running on the web in the same PC (by opening 2 browsers) then it doesn't > track the sessions properly and changes the value of the session when I go > to different pages eve

RE: Launching subprocess under Tomcat as a Service

2001-10-26 Thread Robert Casto
Some very good suggestions. I will give them a try. Thanks. Robert Casto . CinciJava | Java Development and Training Robert Casto | [EMAIL PROTECTED] 513-349-JAVA | www.cincijava.com -Original Message- From: Frank Lawlor [mailto:

Re: how to keep form data

2001-10-26 Thread Craig R. McClanahan
On Thu, 25 Oct 2001, David Smith wrote: > Date: Thu, 25 Oct 2001 11:59:12 -0400 > From: David Smith <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: how to keep form data > > I would like to add to that. It's a better user experience to do the > validat

RE: tomcat session issue

2001-10-26 Thread Conor . Power
If you have two browser windows open they both use the same session in the servlet engine. If you use session state to determine navigation etc. then you would get unpredictable results. Conor. -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25,

RE: Compilation Error when building Tomcat

2001-10-26 Thread Nitin Vira
Hi Craig, Thanks for your help. I have managed to successfully build the tomcat. The problems were caused by existence of earlier versions of ant.jar and servlet.jar in jre/lib/ext folder. Now I am actually wondering, is it really smart to put jars in jre/lib/ext folder cause i struggled throu

Re: switch between http and https. how?

2001-10-26 Thread Craig R. McClanahan
On Thu, 25 Oct 2001, Taavi Tiirik wrote: > Date: Thu, 25 Oct 2001 16:36:35 +0200 > From: Taavi Tiirik <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: switch between http and https. how? > > > I have Tomcat 4 running fine with both http and https protocols. > I

RE: File Download - CSV question ****

2001-10-26 Thread Alberto Gobbi
You should have a look at the mime type definition for .csv in both installations. Alberto -Original Message- From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 22:11 To: Tomcat-User Subject: Re: File Download - CSV question Are you using the same

Re: Questions on tomcat heap usage and garbage collection (avoidingO utOfMemoryError exceptions)

2001-10-26 Thread Craig R. McClanahan
See intermixed. On Thu, 25 Oct 2001, Bang, Steinar wrote: > Date: Thu, 25 Oct 2001 15:55:35 +0200 > From: "Bang, Steinar" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: Questions on tomcat heap usage and garbage collection (avoiding >

RE: Launching subprocess under Tomcat as a Service

2001-10-26 Thread Robert Casto
I have been dealing with this problem for some time. I would like it very much if someone would reply and let me know if they have experienced the same problem and if so, how they dealt with it. Robert Casto . CinciJava | Java Development

Re: Can't open InputStream to manager??

2001-10-26 Thread Craig R. McClanahan
On Thu, 25 Oct 2001, Yoav Shapira wrote: > Date: Thu, 25 Oct 2001 09:33:15 -0400 > From: Yoav Shapira <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Can't open InputStream to manager?? > > Hi there, > > I have a servlet that tries to do something like: > >

Re: jasper directory missing in distribution

2001-10-26 Thread Craig R. McClanahan
On Thu, 25 Oct 2001, Joel P. Worrall wrote: > Date: Thu, 25 Oct 2001 09:34:24 -0400 > From: Joel P. Worrall <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED], [EMAIL PROTECTED] > To: "Tomcat User List (E-mail)" <[EMAIL PROTECTED]> > Subject: jasper directory missing in distribution > > Is it my