Security and Forward

2000-10-31 Thread Carole HEBRARD
Hi. I have the following behaviour in Tomcat 3.2b6 on Windows NT. I protect a page P using security-constraint in the deployment descriptor. So when I call this page, the browser asks me for a login/password. Now, I have a JSP page which isjsp:forward page "P". When I call the JSP page, I

unsuscribe

2000-10-31 Thread Salvador Mira
_ wanadoo.esDirección I+D / Portal y Servicios MultimediaJ. Salvador Mira Gregori / [EMAIL PROTECTED]Tel: +34 96 504 0031 http://www.wanadoo.es __

Custom Error Document

2000-10-31 Thread Fredrik Stenberg
Is it possible to redirect to a custom error page when recieving an Error 500 from Tomcat? Eg. something equal to Apache's ErrorDocument directive. /Fred

RE: Execute JSP's in a different directory - sans-examples.

2000-10-31 Thread Kitching Simon
Hi Sterling, Basically, your description of the process to set up a new webapp below is correct. I suggest that you consider this process as having two parts: (a) setting up tomcat (b) setting up apache You can configure tomcat, then check that it is all correct by using tomcat's http port

RE: strange Error 404

2000-10-31 Thread Wyn Easton
I would remove the original WebAppA's work (%TOMCAT_HOME%\work\yourWebAppA)directory to be sure you are not picking-up anything from there. Do this before you restart Tomcat after you have done your directory renames. --- Wolfgang Egger [EMAIL PROTECTED] wrote:

RES: Custom Error Document

2000-10-31 Thread Sergio Stateri Jr
Yes, but only if there's a web server calling Tomcat (Apache). Put the ErrorDocument command in Apache's httpd.conf : VirtualHost 192.168.0.13:80 ServerName www.fotoptica.com.br DirectoryIndex index.jsp index.html ApJServMount / ajpv12://192.168.0.13:8007 ErrorDocument 500 /erros/error500.html

Problems in Installing

2000-10-31 Thread Ajay
Hello, I am running a windows98 in a win32 platform. As u have mentioned i unzipped the folder and renamed the folder to tomcat..Also i set the required env variables.. 1. set TOMCAT_HOME=c:\tomcat 2.set JAVA_HOME=c:/jdk1.23. set PATH=%PATH%;%JAVA_HOME%\bin I restarted the machine after

RE: Execute JSP's in a different directory - sans-examples.

2000-10-31 Thread Alon Marom
-Original Message- From: Kitching Simon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 31, 2000 10:24 AM To: '[EMAIL PROTECTED]' Subject: RE: Execute JSP's in a different directory - sans-examples. Hi Sterling, Basically, your description of the process to set up a new webapp

Tomcat 3.2-beta-6 or 4.0m3?

2000-10-31 Thread Zsolt Koppany
Hi, right now I work with tomcat-3.2-beta-6. Is it better to move to 4m3? What is the reason of having both versions? Zsolt -- Zsolt Koppany Intland GmbH www.intland.com Schulze-Delitzsch-Strasse 16 D-70565 Stuttgart Tel: +49-711-7871080 Fax: +49-711-7871017

RE: Tomcat 3.2-beta-6 or 4.0m3?

2000-10-31 Thread Kitching Simon
Hi Tomcat developers, I'd love to see some info on the release plans for these products too. I presume that those of you with "committer" status have some general long-term plans I understand that software development schedules (and esp. open-source projects) are difficult to estimate, but

AW: Custom Error Document

2000-10-31 Thread Amrhein, Thomas
Hi, I want to do the same. Belong the Servlet-Spec 2.2 we have to edit web.xml like this: ... web-app ... error-page error-code404/error-code location/404.html/location /error-page /web-app But my tomcat hangs in an endless loop. He does not find 404.html. In my

RE: Custom Error Document

2000-10-31 Thread Fredrik Stenberg
I am using apache but I can not get it to serve my custom Error I have included the: ErrorDocument 500 "The server made a boo boo. in my httpd but still I only get the stack-trace from tomcat with Error: 500 /Fred -Original Message- From: Sergio Stateri Jr [SMTP:[EMAIL PROTECTED]]

READ THIS First! Mailing-list archive and good tips

2000-10-31 Thread Wolfgang Stein
To unsubscribe from this list mailto:[EMAIL PROTECTED] To stop subscription for an alternate account (e.g. [EMAIL PROTECTED]) send an eMail to [EMAIL PROTECTED] Before posting any questions --- + We welcome open discussion of Tomcat issues at both

Variable lost reference

2000-10-31 Thread Domenico di Girolamo
I've a servlet loaded on startup. It has a class viariable (static or not static) that I inizialize in the init() method. I give it an instance of a connection pool class. This variable is shared with jsp and servlets by appletContext.setAttribute and moreover i have a static metod

Getting the examples running

2000-10-31 Thread Nathan Wilhelmi
I'm new to Tomcat / Apache and trying to get the example JSP pages working. I'm running W2K, Tomcat 3.1, and JDK 1.3 installed. I thought I followed the configuration instructions correctly. I can see the static page listing the examples, but when I try to run one of the example pages I get

RE: Getting the examples running

2000-10-31 Thread Nacho
You need to put %JAVA_HOME%/lib/tools.jar in your classpath, as is needed to compile JSPs.. Saludos , Ignacio J. Ortega -Mensaje original- De: Nathan Wilhelmi [mailto:[EMAIL PROTECTED]] Enviado el: martes 31 de octubre de 2000 17:37 Para: '[EMAIL PROTECTED]' Asunto: Getting the

RE: Getting the examples running

2000-10-31 Thread Ed Gomolka
There's a file called tools.jar that must be in your classpath. Add a line to your "tomcat.bat file", as follows: set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar Ed I'm new to Tomcat / Apache and trying to get the example JSP pages working. I'm running W2K, Tomcat 3.1, and JDK

RE: Win98 Tomcat 3.1 - Starts to launch but then exists???

2000-10-31 Thread Dan Byrne
You can also just modify the batch file properties to change the 'initial environment' to 2806 like it says in the docs somewhere Dan -Original Message- From: David Harris [mailto:[EMAIL PROTECTED]] Sent: Monday, October 30, 2000 1:15 AM To: '[EMAIL PROTECTED]' Subject: RE: Win98

RE: Getting the examples running

2000-10-31 Thread Nathan Wilhelmi
Thanks for the response all - Here is my tomcat.bat file: @echo offrem A batch file to start/stop tomcat server. rem This batch file written and tested under Windows NTrem Improvements to this file are welcome rem Guess TOMCAT_HOME if it is not present if not "%TOMCAT_HOME%" == ""

Help :HANDLER THREAD PROBLEM?

2000-10-31 Thread Mauricio Nuñez
I get the following exception: HANDLER THREAD PROBLEM: java.io.IOException: Stream closed prematurely java.io.IOException: Stream closed prematurely at org.apache.tomcat.service.connector.AJP12RequestAdapter.readNextReque st(Ajp12ConnectionHandler.java, Compiled Code) at

[tomcat-user] Re: AW: Custom Error Document

2000-10-31 Thread kenneth topp
Yes, I consider tomcat to be broken, in this regard. But I make it .jsp and it works fine. Also, if you have virtual hosts, this hangs (as opposed to a loop), so I just made an default context to one of the virtual hosts, so it would pick up the WEB-INF/web.xml... probably causes some other

Re: Security and Forward

2000-10-31 Thread Craig R. McClanahan
Carole HEBRARD wrote: Hi. I have the following behaviour in Tomcat 3.2b6 on Windows NT. I protect a page P using security-constraint in the deployment descriptor. So when I call this page, the browser asks me for a login/password. Now, I have a JSP page which isjsp:forward page "P".

Re: Execute JSP's in a different directory - sans-examples.

2000-10-31 Thread Sterling
H- Thank you for the clarity. Being a newbie, still not sure how Tomcat does what it does. So the confirmation on key points is very helpful. I'll go through the process and hopefully everything will work out alright. If not I'm sure the mailing list will be hearing my cries of pain and anguish

[tomcat-user] RE: Tomcat 3.2-beta-6 or 4.0m3?

2000-10-31 Thread kenneth topp
Yes, a page modeled after: http://us1.samba.org/samba/development.html would indeed kick ass.. I think the tomcat cvs is too intimidating... There should be a document explaining the tags... Anycase, my theory is that 3.3 (note that apache doesn't follow the even version number scheme of the

RE: Apache/Tomcat Setup on Win2000 Professional

2000-10-31 Thread Aaron Knauf
I run Tomcat 3.1 Final on win2k at work. I can say with certainty that it works. If I were you, I would not run tomcat in a directory that has spaces in its pathname. While this can work, You always have to be so damn careful with your quoting that I find it is not worth the effort. Another

RE: Builds/Releases

2000-10-31 Thread Michael Percy
try asking on tomcat-dev Mike -Original Message- From: Mark Porter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 31, 2000 1:27 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Builds/Releases Why are the nightly builds broken (still!) and why is no-one answering

RE: Getting the examples running

2000-10-31 Thread Ed Gomolka
Your classpath statements look good. The only thing that I can advise at this point is to doublecheck your JAVA_HOME value, and ensure that it's pointing to the right place. I have sometimes seen cases where JAVA_HOME was pointing to the JRE, but the JAR file was in the JDK's Java lib

RE: Trouble installng Tomcat on (Debian) Linux

2000-10-31 Thread Renee Petris
Looks like there was a problem parsing an xml file. Since tomcat.log doesn't exist, your server.xml file may have a problem. Did you modify it? -Original Message-From: Gregory Guthrie [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 31, 2000 9:51 AMTo: [EMAIL PROTECTED]Cc:

RE: Help :HANDLER THREAD PROBLEM?

2000-10-31 Thread Ranko Bijelonic
Are you using a secure Apache server like the one with mod_ssl or Raven or anything like that? Also did you just dowload mod_jserv binary? What you need to do is compile the mod_jserv binary using the Apache apxs script and make it a part of EAPI (note that I'm not sure exactely what I'm talking

Helper script

2000-10-31 Thread David Knaack
Greetings, I wrote a script to make it easy for me to control tomcats on my virtual hosts. It works well for me so I thought I'd share it, just in case someone else might find it useful. It provides easy start/stop/restart control over one or all of the servers. I call it 'tomcat', and store

Re: Helper script

2000-10-31 Thread David Knaack
From: "David Knaack" [EMAIL PROTECTED] It uses the startup.sh and shutdown.sh scripts with the -f parameter to specify what server.xml file to use with each virtual domain. Check the config section at the top to set up variables for your installation. Note that in the server.xml file you

CLASSPATH and JARs

2000-10-31 Thread Raghu Havaldar
Hi, Am using Tomcat 3.1. For a webapp, I have a bunch of JARs. How do I ensure that it gets picked up in the CLASSPATH ? Putting them in either the web-inf/lib or web-inf/classes does not help. From the FAQ on Jakarta site, one person recommends adding it to the system CLASSPATH. Maybe it

[ANN] Metamata Debug, Cover 2.0

2000-10-31 Thread Louis Tribble
Metamata is pleased to announce the release of the Metamata Development Environment, version 2.0. Key features include remote debugging, JSP source level debugging, servlet output stream monitoring, customized viewing of common servlet API data types, method and statement coverage, fix and

Re: Help : can't get java compiling through

2000-10-31 Thread Aaron Knauf
Add servlet.jar to your classpath. Aaron Knauf Systems Integrator Genie Systems Ltd Auckland, New Zealand Ph. +64-9-573 3310 x812 email: [EMAIL PROTECTED] http://www.geniesystems.com

Re: [ANN] Metamata Debug, Cover 2.0

2000-10-31 Thread Aaron Knauf
I am not remotely interested in seeing spam on this type of email on this mailing list. In my opinion, it is one step short of spam. (The one step required would be to send it from some anonymous address - at least this guy wasn't trying to be underhanded.) I would like to see this guy issued

Re: Tomcat 3.2-beta-6 or 4.0m3?

2000-10-31 Thread Craig R. McClanahan
To follow up on a few of the items from my perspective as a Tomcat developer: Kitching Simon wrote: Hi Tomcat developers, I'd love to see some info on the release plans for these products too. I presume that those of you with "committer" status have some general long-term plans I

Re: [ANN] Metamata Debug, Cover 2.0

2000-10-31 Thread Craig R. McClanahan
Aaron Knauf wrote: I am not remotely interested in seeing spam on this type of email on this mailing list. In my opinion, it is one step short of spam. (The one step required would be to send it from some anonymous address - at least this guy wasn't trying to be underhanded.) I would

Re: uninitialized instance variables in servlet

2000-10-31 Thread Craig R. McClanahan
Have you checked your servlet logs to see if the UnavailableException errors actually are being thrown? You don't say what version of Tomcat you are using, but (if I remember correctly) version 3.1 did not actually honor UnavailableExceptions thrown from init(). Craig McClanahan Tom O'Connor

Re: XML, DTD, Tomcat

2000-10-31 Thread Craig R. McClanahan
Alex Tang wrote: Hi folks. I've got a servlet (actually a couple) that are doing some XML parsing (Mainly SAX, some DOM). The only problem I seem to be having is that when if I have a XML file that looks like this: ?xml version="1.0" encoding="UTF-8"? !DOCTYPE taglist SYSTEM

Re: JSPs anywhere

2000-10-31 Thread Julio Serje (@canada.com)
Hi, Joe, You may have any directory structure for your HTML pages as long as you comply with a minimum set of requirements: - each application should be declared (as a "context") in the server.xml file of Tomcat. The organization of that diectory is up to you, with the exception of the

Re: socket exception errors on startup

2000-10-31 Thread Julio Serje (@canada.com)
It may be that a) you have another process that is using port 8080, or b) you already have an instance of tomcat running that is using that port. In case a), change in server.xml the port number Tomcat is listening to. Julio Serje Calian Tech. - Original Message - From: John Howay

Q: apache isn't forwarding to tomcat

2000-10-31 Thread Mohammed Bustany
Please respond to my email address since I'm not (yet) subscribed to the mailing list. Hi all, I can't get apache to forward jsp pages to tomcat. I'm quite familiar (as a user) with tomcat so I've tried troubleshooting it but to no avail. I'm using: OS: Linux RedHat 6.2 apache 1.3.12 tomcat

RE: CLASSPATH and JARs

2000-10-31 Thread David Harris
I believe the 'correct' place to put jars is in the WEB-INF/lib directory of the context. I run tomcat 3.2beta6 on jdk1.3 and can say that it behaves correctly on redhat 6.2 and win NT and win98. Note that WEB-INF must be capital letters on unix/linux platforms, it doesn't matter on win32.

jk_nt_service error in NT workstation

2000-10-31 Thread John T. H. Wong
Dear Tomcat support team, I have problem in running jk_nt_service.exe. The output is some random characters with an error message at the end: L=!This program cannot be run in DOS mode. n.b. my computer is running NT4.0 with SP5 on.

Re: (Possible VIRUS) Re: ???????? - ????????????

2000-10-31 Thread Simon Lam
William Brogden [EMAIL PROTECTED] wrote: Crashed my Netscape 4.61 but I don't think it was a virus, just some really weird data. -- WBB It's just an ad in Chinese. Netscape crashed? I think that happens. My Chinese version of Netscape gives me an error message every time I exit it.

SessionContext.log(...) Where does the path in the output come from?

2000-10-31 Thread Kurt, Oliver
Hi all, when using the log method from SessionContext(), the written output looks like the follwing: Context log path="" : here goes the log message string What is that "Context log path" thing? When I'm using log("...") the context log path is always empty. What is the meaning of the path

Builds/Releases

2000-10-31 Thread Mark Porter
Why are the nightly builds broken (still!) and why is no-one answering questions about builds/releases?!? Mark -- Mark D. Porter Exchange Solutions Inc. [EMAIL PROTECTED]

Trouble installng Tomcat on (Debian) Linux

2000-10-31 Thread Gregory Guthrie
I installed tomcat on my Debian Linux system from Apache runs fine, but I have tomcat problems. 1) How do I test it with their examples? There is a webapps/examples.war; how do I invoke it? 2) Do I have to manually start it (per the Install how to run instructions?), or shouldn't it be