Re: Query string / InputStream

2003-06-18 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi list, I have a question to servlets with TC. I set up a easy web site with a form and request method POST. The action is then a call to a servlet. In this servlet I implemented doPost and doGet while doPost just calls doGet.

Re: problems with web.xml and security

2003-06-18 Thread Bill Barker
servlet-mapping and mime-mapping are optional elements. If you don't need them, then they don't have to be there. If you remove the session-config, then the rest of what is posted of your web.xml is valid (even if the /secure/* is implied by the /*, but that shouldn't matter). I'm still going

RE: problems with web.xml and security

2003-06-18 Thread Rosaria Silipo
Jwsdp.log.date.txt does not report any error. I do not have catalina.out. Maybe I am using the wrong version of Tomcat? I think my problem is that /secure has its own web.xml that overrides the web.xml in /. How can I avoid that? -- Rosaria -Original Message- From: news [mailto:[EMAIL

Realm Authentication does not restore Original POST request.

2003-06-18 Thread Raman
Hi, I am facing this problem. The Form Based Realm Authentication is not able to recreate the original post request. To recreate the problem: -Request a page protected with Form Based authentication. -Login to the application. -Stop at a page which has a form with method POST, till session

Best way to deploy an application?

2003-06-18 Thread Riaan Oberholzer
As far as I can see, you can deploy a .war in three ways: 1) Dump it in the webapps dir 2) Deploy it with the console 3) Use the ant tasks in the catalina-ant.jar I use #3, particularly in development it is the fastest. Which one is recommended and what are the pro's cons of them? Why

java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-06-18 Thread Riaan Oberholzer
I cannot seem to set up a datasource correctly. I get the java.sql.SQLException: Cannot load JDBC driver class 'null' exception. I have read numerous threads with things to check, but still get it. I deploy my application using ant and the catalina-ant.jar. I have the mysql jar in the /common/lib

How do I configure datasources using ANT?

2003-06-18 Thread Riaan Oberholzer
Is there a way to configure a datasource using ant that will result in the server.xml updated to give me datasources? I can delete, update and deploy applications to Tomcat using the catalina-ant.jar tasks, but can I also create/edit datasource? I have done it in BEA WebLogic before, just not

Filters and Forwarding

2003-06-18 Thread Chisholm, Paul
Hi, I have a servlet X that forwards to a servlet Y. When Y is requested directly there is a filter specified in web.xml that does some preprocessing of the request. When X forwards to Y I want the request to pass through the filter, but it seems to go straight to Y. Associating the filter with X

Problems Setting up Tomcat 4.1.18 on W2K

2003-06-18 Thread Oliver . Methfessel
Hi There, I'm trying to use Tomcat 4.1.18 on my local Machine, but it won't work. When I try to open the index.jsp it says me: Error 500 org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac]

Re: problems with web.xml and security

2003-06-18 Thread Bill Barker
Now we are getting somewhere ;-). If you have a context with a path=/secure, then you need to set the security-constraint (including login-config) in that web.xml as you have except that you only need to have the url-pattern/*/url-pattern (since the url-pattern is relative to the context-path).

How to stop execution of infinite loop in Tomcat ?

2003-06-18 Thread anto paul
Hi Is there any way to stop the execution of a JSP page on a remote server ? Today by mistake I wrote code which print inside a while loop. By mistake I increased the counter instead of decreasing it. How I can stop the execution of the page. Tomcat is running in another machine which I have

Re: ssl keystore

2003-06-18 Thread stephan beal
On Tuesday 17 June 2003 18:55, Marc Dugger wrote: I am attempting to change the certificate against which a webapp authenticates itself. I've gone as far as deleting the old key/cert from the keystore and imported a new one. However, the webapp continues to use the old cert. I've verified

JNDI Resources Problem

2003-06-18 Thread Geirola Marco
I'm trying to add a new custom resource factories in jakarta, I followed the documentation instructions, I wrote a class that extend ObjectFactory and I modified server.xml and web.xml but dosen't work. I use tomact 4.1.18. I use a jsp to try the resource Can someone help me? Follow the jsp

probelm running webapp on tomcat 4.1.24

2003-06-18 Thread Leon Gierat
Hi, I'm hoping someone out there can help me with this - I'm banging my head against a wall here... I've just installed tomcat 4.1.24, because it supports multiple developers using a single install (we used to use tomcat 3. The guy who set that up is on holiday, etc., etc.) I'm a tomcat

Fw: getting a reply like this.

2003-06-18 Thread anto paul
When I post to this mailing list I am getting the following reply. Why I am getting this. Any one else get this ? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 1:55 PM Subject: RE: How to stop execution of infinite loop in Tomcat ?

How do I easily set logging verbosity for coyote and the like?

2003-06-18 Thread marc . lehmann
Hi *, I'm using Tomcat 5.0.2 and J2SDK1.4.2 beta. The Tomcat log fills up with a lot of INFO messages which I wouldn't like to see. (Stdout and stderr are redirected to files.) Tweaking the debug and/or the verbosity attributes for the respective components in server.xml has no effect with

Problems starting Tomcat from CD

2003-06-18 Thread Thomas Weller
Hello. We have developed a JSP application we want to provide on CD. Tomcat-Version: 4.1.24-LE-jdk14 JDK Version: 1.4.1-b21 When starting Tomcat from a write protected medium, we get an exception like this: ContextConfig[/applicator]: Exception processing JAR at resource path

Email Problem

2003-06-18 Thread Ozgur
Hi Everyone, Has any one face with a problem seen below: # java.lang.NullPointerException at java.net.InetAddress.cacheAddress(InetAddress.java:648) at java.net.InetAddress.cacheAddress(InetAddress.java:633) at

Precompiling JSPs

2003-06-18 Thread Andoni
Hello, I have a build.cmd file that I have had and modified for every project I've done for years. I should probably go learn ANT or some other build technique but for now I want to do this the command line way. I'm not even sure if ANT will do what I want. I want to have my .jsp files made

RE: Precompiling JSPs

2003-06-18 Thread Wayne Chang
Andoni, Justin Ruthenbeck helped me with this situation. Direct your browser to: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html and look at Web Application Compilation. See if that helps you. Best regards, Wayne Chang Pacific Northwest Software Mobile: (978) 869-3446

global parameters--which way

2003-06-18 Thread Dave Naden
I have a question about web app design. It seems as though there are (at least) 2 ways to set up global application parameters at deployment time: 1) put them in a context-param tag in the deployment descriptor, or 2) use a properties file or resource bundle to read them in. Is there a

RE: Dashboard Login

2003-06-18 Thread Kranthi Yemula
No he does not have one. Should I create one ? What should be his access level ? Just Viewer ? -Kranthi. -Original Message- From: Ryan Waterer Sent: Tuesday, June 17, 2003 4:07 PM To: Thomas Tracey; Kranthi Yemula Subject: RE: Dashboard Login Kranthi, Does

Re: How to stop execution of infinite loop in Tomcat ?

2003-06-18 Thread Tim Funk
AFAIK, no. If the JSP/servlet was writing to stream - the browser closing the connection could trigger an IO eventually. Of you can luck out with a recursive loop and end up with a stack overflow. But if you are in a tight loop like this: while(true) { int foo=1; } Then you are out of most

Re: Filters and Forwarding

2003-06-18 Thread Tim Funk
Filters apply only to the incoming request. Filters are not invoked on subsequent forward() or include(). But the 2.4 spec will allow filters to be run on forward() (and I think include, read the spec to verify) -Tim Chisholm, Paul wrote: Hi, I have a servlet X that forwards to a servlet Y.

Re: Best way to deploy an application?

2003-06-18 Thread Tim Funk
Topic most likely to start a flame war. I like to do things manually. In 4.0 - I always edit server.xml and keep my webapps out of the webapps dir. By doing a manual restart - I can guarantee when my JVM crashes (or other stuff occurs) - I can guarantee it will restart. In 4.1 - I plop an XML

Re: JSP Compiler output?

2003-06-18 Thread Noel Rappin
One other thought: I notice that the compiler messages look like ant messages -- could the problem be that ant is not in my classpath or system path some related ant setting? Noel Noel Rappin wrote: I replicated this experiment exactly in my environment. Tomcat 4.1.24, Linux, JSDK 1.4.1_01.

Re: JSP Compiler output?

2003-06-18 Thread Noel Rappin
Interesting... can you point me to more information, or has this been discussed on this list? Noel Jason Bainbridge wrote: I haven't really been following this thread but is this the problem where in some scenarios that JAVA_HOME/bin needs to be in the system PATH? Regards,

Re: win2000 issue with tomcat4.1.24

2003-06-18 Thread John Turner
Then something is seriously screwed up. As I said, I would start over, and when I say start over, I don't just mean with Tomcat, I mean everything: JDK, etc. Make sure you don't have older JDK files or JAR files hanging around that might confuse Tomcat. John On Tue, 17 Jun 2003 18:35:10

Re: JSP Compiler output?

2003-06-18 Thread Noel Rappin
There is a root cause, but it doesn't have the error info... java.lang.ClassNotFoundException: org.apache.jsp.foo_jsp at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:209) at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:131) at

Re: Precompiling JSPs

2003-06-18 Thread Ben Souther
Have you tried compiling the servlet source files in the work directory? On Wednesday 18 June 2003 05:25 am, Andoni wrote: Hello, I have a build.cmd file that I have had and modified for every project I've done for years. I should probably go learn ANT or some other build technique but

RE: Best way to deploy an application?

2003-06-18 Thread Shapira, Yoav
Howdy, I think it's enlightening to see two tomcat developers using different methods for the same task: I do almost the opposite of what Tim does ;) I like to keep the .war files packed, my server set to unpackWARs=false, autoDeploy=false, and I use an ant task (self-written, not from

Re: JSP Compiler output?

2003-06-18 Thread Jason Bainbridge
It's cropped up a few times on the list, maybe do a search for JAVA_HOME/bin (or with a backslash instead) at http://tomcatfaq.sf.net Have you tried doing this yet? It might just work. :) Regards, -- Jason Bainbridge http://jblinux.org On Wed, 18 Jun 2003 19:09, Noel Rappin wrote:

RE: Email Problem

2003-06-18 Thread Shapira, Yoav
Howdy, This clearly seems like a BugParade issue, so this is not the list for it. But as always I'm curious: is this a multi-homed system? A multi-NIC system? Yoav Shapira Millennium ChemInformatics -Original Message- From: Ozgur [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18,

RE: getting a reply like this.

2003-06-18 Thread Shapira, Yoav
Howdy, Others have reported this. For me, it depends on which of my email accounts I post to this list from. Someone needs to ask [EMAIL PROTECTED] what they're doing... Yoav Shapira Millennium ChemInformatics -Original Message- From: anto paul [mailto:[EMAIL PROTECTED] Sent:

RE: global parameters--which way

2003-06-18 Thread Shapira, Yoav
Howdy, It seems as though there are (at least) 2 ways to set up global application parameters at deployment time: 1) put them in a context-param tag in the deployment descriptor, or 2) use a properties file or resource bundle to read them in. Is there a preferred or standard way, or does it

LDAP/SSL Realm

2003-06-18 Thread Carl Walker
Has anyone used an LDAP Tomcat Realm over SSL? I wasn't able to get the stock JNDIRealm to work using the secure port. -Carl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to stop execution of infinite loop in Tomcat ?

2003-06-18 Thread Shapira, Yoav
Howdy, No. You have to kill the server, remove offending code, and restart. That's why I like to test locally ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: anto paul [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 4:14 AM To: tomcat mail list Subject:

RE: probelm running webapp on tomcat 4.1.24

2003-06-18 Thread Shapira, Yoav
Howdy, I've just installed tomcat 4.1.24, because it supports multiple developers using a single install (we used to use tomcat 3. The guy who set that up is As an aside, for development I strongly suggest each developer have a completely separate tomcat installation. It doesn't cost you any

RE: Problems starting Tomcat from CD

2003-06-18 Thread Shapira, Yoav
Howdy, ContextConfig[/applicator]: Exception processing JAR at resource path /WEB-INF/lib/servlets-common.jar javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/servlets-common.jar at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java :

Re: Fw: getting a reply like this.

2003-06-18 Thread John Turner
Because the postmaster at logicaonline.com has blacklisted hotmail.com. The postmaster at logicaonline.com has nothing to do with the list, but someone at logicaonline.com has subscribed to the list, so every time you post, they get a copy of your post, which is rejected because the postmaster

Re: Fw: getting a reply like this.

2003-06-18 Thread John Turner
Because the postmaster at logicaonline.com has blacklisted hotmail.com. The postmaster at logicaonline.com has nothing to do with the list, but someone at logicaonline.com has subscribed to the list, so every time you post, they get a copy of your post, which is rejected because the postmaster

RE: Email Problem

2003-06-18 Thread Ozgur
Hi Yoav, Thank you so much for your interest, sorry to bother the list. Unfortunately, I have managed this problem by sending email via an autheticated connection to another email server. The environment which the problem occurs, includes an email server works for our web applicaitons and allows

Re: Host Setup - (The Default Tomcat Page is Stalking Me)

2003-06-18 Thread John Turner
First, let me say that this is the first time, ever, in my checkered I.T. past, that I have encountered someone else who uses booga. I'm cracking up over here. I actually use ooga booga, but still, its fun to see. What you're experiencing is most likely due to the fact that both of your

RE: Precompiling JSPs

2003-06-18 Thread Andy Eastham
Andoni, I do this in Sun One Studio, where I do all my Java development. You can compile JSPs just as you can compile java source. Andy -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: 18 June 2003 10:25 To: Tomcat Users List Subject: Precompiling JSPs Hello,

RE: getting a reply like this.

2003-06-18 Thread Andy Eastham
Anto, When you post to this list, the mail gets distributed to various subscribers, some of whom are behind companies anti-spam filters that range from crap to fuxxing useless. These antispam filters all seem to be poorly written and poorly configured, so that they allow in most spam but reject

RE: Precompiling JSPs

2003-06-18 Thread Robert Priest
You should read up on the JspC task: http://ant.apache.org/manual/OptionalTasks/jspc.html The JspC task will compile your jsp file to a java servlet (.java) file. Then you can run javac/ to get your class files. You will need to download the jasper-compiler.jar and jasper-runtime.jar files. I

Tomcat - PERL problem.

2003-06-18 Thread tito santini
Dear all, I'm currently having this strange problem with Tomcat 4.0.3 (running on Solaris) and a CGI program written in PERL. The program outputs some HTML lines, and everything goes OK until the HTML page is small. When the page grows up, i.e inserting SELECT field with 100 options, Tomcat

Re: Tomcat - PERL problem.

2003-06-18 Thread G. Wade Johnson
Without seeing the code that is running forever, it's almost impossible to tell. I have seen the running forever if you call perl without a script name on the command line. When called without a script, the perl executable waits for the script on STDIN. G. Wade tito santini wrote: Dear all,

Problems with XML parsers and webapps

2003-06-18 Thread Jared Walker
All, Our webapp was built to use the Xerces xml parser. I'm trying to update our JDK and tomcat version to do testing for a production level upgrade. I'm running into problems with the JVM using the Crimson parse. The crimson parser does not agree with our XML files. Does anyone know

Best versions - of Tomcat to run with apache

2003-06-18 Thread Kevin Passey
Hi, Can anybody tell me the best version of Tomcat that will run with apache using say mod_jk or mod_jk2. Thanks Kevin Passey Tel +44(0)1273 712830 http://www.kdpsoftware.co.uk http://www.freeas400software.com - To

NoClassDefFoundError

2003-06-18 Thread Bob Damato
I'm getting the exception below, however the class that it's saying it cannot find is in the WEB-INF/classes/com/valpak/j2ee/logicalresourcemapping directory for the webapp that's throwing the exception. Is there something special I need to do to get the webapp to look there to find the class?

RE: Best versions - of Tomcat to run with apache

2003-06-18 Thread Shapira, Yoav
Howdy, The latest stable release, 4.1.24. Yoav Shapira Millennium ChemInformatics -Original Message- From: Kevin Passey [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11:14 AM To: Tomcat (E-mail) Subject: Best versions - of Tomcat to run with apache Hi, Can anybody tell me

RE: NoClassDefFoundError

2003-06-18 Thread Shapira, Yoav
Howdy, tired-mantra-repeating-voice NoClassDefFoundError is not the same as ClassNotFoundException. Read the JavaDocs for both. Search the archives of this list for other people's experiences with this error. /tired-mantra-repeating-voice Yoav Shapira Millennium ChemInformatics

Off topic / webapp listener

2003-06-18 Thread christian . schuster
Hi list, Does anyone know about a resource how to write webapp listeners? Regards, Christian Schuster Rudolf Schuster AG Postfach 277 CH - 3000 Bern 11 http://www.rsag.ch ++41 31 348 05 30 - To unsubscribe, e-mail:

RE: Off topic / webapp listener

2003-06-18 Thread Shapira, Yoav
Howdy, They're usually very simple to write: the JavaDocs are clear. If you have a specific design goal and are not sure how best to implement it, feel free to share and I'm sure you'll get a ton of advice ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL

RE: Best versions - of Tomcat to run with apache

2003-06-18 Thread Kevin Passey
Hi Yoav, I know that - I want to load it on a RH7.2 box with apache using mod_jk or 2. Have you ever configured tomcat to run in-process with apache. All you do is start apache and it calls tomcat when and if it needs it. I'm on the verge of getting the latest 4.1.24 rpms and the latest apache2

Tomcat 5 limits the number of jars ???

2003-06-18 Thread Renato Romano
I noticed a problem when deploying my webapp under Tomcat 5, about the number of jars in the lib dir of my webapp. Unfortunately I can't easily reproduce the problem, but it seems that if the number of jar files exceeds 10-15, Tomcat fails to compile JSP pages (!!!) and produces a message

RE: Best versions - of Tomcat to run with apache

2003-06-18 Thread Shapira, Yoav
Howdy, I did the standard apache2 - tomcat mod_jk configuration once, just to try it out. But I run tomcat standalone, including in production, as I find its performance more than adequate and don't need any apache features. Yoav Shapira Millennium ChemInformatics -Original Message-

RE: Tomcat 5 limits the number of jars ???

2003-06-18 Thread Shapira, Yoav
Howdy, For starters, try a clean installation into a directory without spaces in its name, e.g. c:\tomcat5. If that still doesn't work, try coming up with a method to reliably reproduce your error. Yoav Shapira Millennium ChemInformatics -Original Message- From: Renato Romano

RE: Best versions - of Tomcat to run with apache

2003-06-18 Thread Kevin Passey
Hi, Yes I've done the apache/tomcat/mod_jk2 and it works fine. The reason I wanted to do this is because I was using nessus to scan my web server and it reports a vulnerability it TOMCAT 4.1.12 which allows someone to retrieve any file on your system by putting ../../ in front of the file name.

Log4J under two different webapps

2003-06-18 Thread Donie Kelly
Hi all Im using log4j in two webapps, which means Ive copied the log4j.jar into both WEB-INF/lib directory for each webapp. Im loading a log4j.xml for configuration from my webapp and this works great when I run the app from the command line using the tomcat startup scripts. I can vary

prompting for password at tomcat startup

2003-06-18 Thread Mark W. Webb
Hello - I have an SSL enabled system I am deploying using tomcat, and I would like to prompt the user for a password to open up an encrypted file. What is the easiest way to do this using tomcat 4.1.24 ? thank you. - To

Re: NoClassDefFoundError

2003-06-18 Thread John Turner
Sorry, I tried to jump in before you did, save you the trouble, but I was too late. LOL John On Wed, 18 Jun 2003 11:19:25 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, tired-mantra-repeating-voice NoClassDefFoundError is not the same as ClassNotFoundException. Read the JavaDocs for

Re: Problems with XML parsers and webapps

2003-06-18 Thread Nishant Kumar
hi, if you are using the latest tomcat then you will find an endorsed dir in there for example. jakarta-tomcat-4.1.24/common/endorsed/ this should be containing xercesImpl.jar and xmlParserAPIs.jar. i guess this should solve your problem. bye. On Wed, 2003-06-18 at 20:37, Jared Walker

Re: Best versions - of Tomcat to run with apache

2003-06-18 Thread John Turner
I wouldn't use any of the RPMs, if I were you. But that's just me. My HOWTO is for RH 7.2, everything you need step by step (for mod_jk, anyway): http://www.johnturner.com/howto. The Apache and Tomcat versions are a little old, but that's irrelevant, the instructions are the same. Don't use

ClassLoad diagnostic JSP

2003-06-18 Thread christian . schuster
Hi list, I was struggeling already many times with class loading (NoClassDefFoundErr) issues due to company history. So I wrote a JSP which tells which class are loaded from where. It also looks inside of jar files. Feel free to use and edit it the to met your needs. I just do not guarantee

Re: Best versions - of Tomcat to run with apache

2003-06-18 Thread John Turner
I've never heard of that vulnerability. Have you tried it? Have you checked the security lists to confirm? If memory serves, it wasn't known as of 4.1.18 when the Apache Tomcat Security Handbook from Wrox Press was published. John On Wed, 18 Jun 2003 16:37:22 +0100, Kevin Passey [EMAIL

RE: Problems with XML parsers and webapps

2003-06-18 Thread Mike Curwen
Read the very bottom of this doc: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html -Original Message- From: Jared Walker [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 10:08 AM To: Tomcat Users List Subject: Problems with XML parsers and webapps

Re: Tomcat Class Loader (parent/child tree)

2003-06-18 Thread Guus Holshuijsen
All, Just to let you know that I found out what caused the ClassNotFoundException problem. I found the answer in the release notes of Tomcat 4.0.6. It says the following: Tomcat 4.0 and Sun JDK 1.4 beta 3 Some unpredictable classloading behaviour has been reported when Tomcat is used with Sun

context.xml question

2003-06-18 Thread White, Joshua A (HTSC, CASD)
Three questions here: Can the docBase attribute of the context element be relative? The location of the docBase will be different depending on where I am deploying to. Given mywebapp/META-INF/context.xml, the document root will always be two directories up from the context.xml file. Could this

Re: context.xml question

2003-06-18 Thread John Turner
On Wed, 18 Jun 2003 12:32:00 -0400, White, Joshua A (HTSC, CASD) [EMAIL PROTECTED] wrote: Can the docBase attribute of the context element be relative? The location of the docBase will be different depending on where I am deploying to. Given mywebapp/META-INF/context.xml, the document root will

RE: Best versions - of Tomcat to run with apache

2003-06-18 Thread Kevin Passey
John thanks for that - I think it is about time I upgraded anyway. I have tried it and it comes up with a blank page in the editor - so I'm not too worried. Would you say it was better to run tomcat behind apache - the server in question only runs JSP all my static stuff is served by my ISP. I

RE: context.xml question

2003-06-18 Thread Shapira, Yoav
Howdy, Can the docBase attribute of the context element be relative? The location Yes. It can be relative to the host's appBase or absolute. See the Context configuration reference. On a seperate note, when installing a war file using the catalina ant task, should tomcat automatically look

Re: Host Setup - (The Default Tomcat Page is Stalking Me)

2003-06-18 Thread Paul Hepworth
John, Thanks! I changes the appBase and it worked great! BTW - My good friend got me hooked on booga. I use too much myself. :) You got me to crack up too. :) Thanks again, Paul John Turner wrote: First, let me say that this is the first time, ever, in my checkered I.T. past, that I have

Re: Best versions - of Tomcat to run with apache

2003-06-18 Thread John Turner
I would only use Apache if you had to...Tomcat should be fine for most uses. Better is relative. John On Wed, 18 Jun 2003 17:39:16 +0100, Kevin Passey [EMAIL PROTECTED] wrote: John thanks for that - I think it is about time I upgraded anyway. I have tried it and it comes up with a blank

RE: context.xml question

2003-06-18 Thread Jose Santiago Oyervides Gonzalez
Hi, I am having the same situation as Joshua, I have a W2k Server IIS5.0, Tomcat 4.0.6. I looked for admin.xml and manager.xml and those weren't in my installation. All I am trying to do is put my jsp file outside CATALINA_HOME/ (D:\Tomcat4) and put them in E:\webapps. I have tried to do it but

RE: context.xml question

2003-06-18 Thread Shapira, Yoav
Howdy, I am having the same situation as Joshua, I have a W2k Server IIS5.0, Tomcat 4.0.6. I looked for admin.xml and manager.xml and those weren't in my installation. Those are tomcat 4.1 features, as is the whole context.xml approach. All I am trying to do is put my jsp file outside

RE: problems with web.xml and security

2003-06-18 Thread Rosaria Silipo
Thanks! The SingleSignOn valve works like a charm! -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Wednesday, June 18, 2003 1:02 AM To: [EMAIL PROTECTED] Subject: Re: problems with web.xml and security Now we are getting somewhere ;-). If you

Re: JSP Compiler output?

2003-06-18 Thread Noel Rappin
We seem to have been able to get the error stack traces by adding the init-param fork to the JSP servlet, with a value of false. Any idea why this works? Noel Noel Rappin wrote: There is a root cause, but it doesn't have the error info... java.lang.ClassNotFoundException:

Re: context.xml question

2003-06-18 Thread Jason Bainbridge
On Thu, 19 Jun 2003 01:15, Jose Santiago Oyervides Gonzalez wrote: I've tried: Host name=mydomain.com debug=0 appBase=e:\webapps unpackWARs=true Try a forward slash instead ie. e:/webapps or maybe a double backslash. Also is e: drive a local or network drive? If it is a Network drive

RE: context.xml question

2003-06-18 Thread Jose Santiago Oyervides Gonzalez
That were a network drive. I used the tip Jason gave me. Now it works. Thanks to all. Jose Oyervides. -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 12:24 PM To: Tomcat Users List Subject: Re: context.xml question On Thu, 19 Jun 2003

disable session support in Tomcat

2003-06-18 Thread Marco Phler
Hi, Is it possible to disable the session support (means no cookies and no JSESSIONIDs) somewhere in Tomcat ? This is may be a simply question, but I couldn't found any hint in the docs and the list archive. Thanks in advance Marco P.S.: I'm using 4.1.12 on lInux

RE: disable session support in Tomcat

2003-06-18 Thread Shapira, Yoav
Howdy, The Servlet Specification requires container to support sessions. So no, you can't disable it ;) You can: - Download the tomcat source and hack out the session-related items, rebuild it, and have your own session-less servlet container ;) - Have very short session timeouts, e.g. 1

Re: disable session support in Tomcat

2003-06-18 Thread Marco Pöhler
that was fast... I think I should try it with session enabled, the other options are... ahm... too simple ;-) Thank you, Yoav Am Mittwoch, 18. Juni 2003 19:53 schrieb Shapira, Yoav: Howdy, The Servlet Specification requires container to support sessions. So no, you can't disable it ;) You

Re: disable session support in Tomcat

2003-06-18 Thread Ben Souther
Just out of curiosity, why? On Wednesday 18 June 2003 01:52 pm, Marco Pöhler wrote: Hi, Is it possible to disable the session support (means no cookies and no JSESSIONIDs) somewhere in Tomcat ? This is may be a simply question, but I couldn't found any hint in the docs and the list

Can I set up 2 realms for the same server so I can access 2 databases

2003-06-18 Thread Val T.
Hi, I've got two sites set up on one server, and I am trying to set up security for each of them. They use 2 different databases. Is it possible to set things up in the server.xml the way I have below, or do I have to put all users in the same database? I can't find anything on the Web that

Mod_rewrite and mod_jk2

2003-06-18 Thread James Courtney
Hey all, We're using Apache 2.0.45 as a pure load-balancer for two Tomcat 4.1.24 instances. Apache serves no content and redirects /* to the Tomcats (using the uri element of the workers2.properties). We have some rewrite rules that massage some URL's based on the domain name the user

RE: Can I set up 2 realms for the same server so I can access 2 databases

2003-06-18 Thread Angus Mezick
According to the spec, you can have 0 or 1 realms configured. Now, if you want to rewrite the code that uses the realms for logging people in I think you can use 2 DB's. -Original Message- From: Val T. [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 2:40 PM To: Tomcat Users

RE: Can I set up 2 realms for the same server so I can access 2 databases

2003-06-18 Thread Angus Mezick
Yup, as I read further, it looks like you would need to write your own realm class that will talk to both DB's for you. Sounds like a mess. --Angus -Original Message- From: Angus Mezick Sent: Wednesday, June 18, 2003 2:49 PM To: Tomcat Users List Subject: RE: Can I set up 2 realms

Re: Can I set up 2 realms for the same server so I can access 2 databases

2003-06-18 Thread Val T.
- Original Message - From: Angus Mezick [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 2:48 PM Subject: RE: Can I set up 2 realms for the same server so I can access 2 databases According to the spec, you can have 0 or 1 realms configured. Now,

RE: win2000 issue with tomcat4.1.24

2003-06-18 Thread Srinivasu Gandu
I will do tonight and let you know tomorrow.. how it went up -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 8:40 AM To: Tomcat Users List Subject: Re: win2000 issue with tomcat4.1.24 Then something is seriously screwed up. As I said, I

RE: Mod_rewrite and mod_jk2

2003-06-18 Thread James Courtney
Apparently if you move the loading of mod_jk2 after the loading of mod_rewrite in httpd.conf this corrects the problem... Jamey -Original Message- From: James Courtney Sent: Wednesday, June 18, 2003 11:47 AM To: Tomcat Users List (E-mail) Subject: Mod_rewrite and mod_jk2 Hey all,

Invalid pc in line number table

2003-06-18 Thread Val T.
Hi, Does anyone understand what might be causing this error? The log files don't enlighten me at all, and searching on the Web brought no resolution. replylibrary is a package name, and SampleReply is the class. I'm accessing it from a JSP. It works fine on another site, and all other files

Tomcat Standalone and Virtual Hosting

2003-06-18 Thread Latesha Williams
I have a web application deployed under Tomcat v4.1.18 (port 8080). Is it also possible to configure the Tomcat Standalone Service to support virtual hosting, but on port 80? If so, how is this accomplished? What is the best practices method for storing static web content in this situation?

Re: Invalid pc in line number table

2003-06-18 Thread Jason Bainbridge
G'day, Strange error... What are the JDK's that are involved along with the Operating Environment and`what version of Tomcat? I'd say it is some sort of incompatibility between the two, is one maybe a very early version of the JDK? Also what JDK was it compiled under? Regards, -- Jason

Re: Invalid pc in line number table

2003-06-18 Thread Val T.
Hi, Strange error... What are the JDK's that are involved along with the Operating Environment and`what version of Tomcat? I'd say it is some sort of incompatibility between the two, is one maybe a very early version of the JDK? Also what JDK was it compiled under? It's not that, because

NullPointerException in classloader?

2003-06-18 Thread Jouko Johansson
Hi, System information Linux 2.4.20 #2 SMP jakarta-tomcat-4.0.6 java version 1.4.1_02 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06) Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode) We are running an simple webapp about 7 request / sec and sometimes occurs

IIS ISAPI Redirect problems (was Re: context.xml question)

2003-06-18 Thread Jason Bainbridge
G'day, You're welcome. :) In future though I suggest you post questions to the list and not direct to an individual you are much more likely to get help that way. :) (I've CC'd the list with this) As to your problem, can you give a few more details? Is the 404 being thrown by IIS or Tomcat?

RE: Tomcat Standalone and Virtual Hosting

2003-06-18 Thread Jacob L E Blain Christen
I have a web application deployed under Tomcat v4.1.18 (port 8080). Is it also possible to configure the Tomcat Standalone Service to support virtual hosting, but on port 80? If so, how is this accomplished? What is the best practices method for storing static web content in this

RE: Singleton across multiple contexts

2003-06-18 Thread Jacob L E Blain Christen
I do have a database. Databases are supposed to store data, aren't they? ;-) Yeah, which is why ... Now seriously... My application includes a web interface to a kind of workflow system. This component is the workflow engine, which is in charge for automatic (background) state changes

  1   2   >