RE: Loggin out using JDBC realms

2001-09-01 Thread Taavi Tiirik
On Fri, 31 Aug 2001, PHAM,TAM (HP-Vancouver,ex1) wrote: Regarding logging out of JDBC realms. This does not seem ideal if I have to explicitly call session.invalidate() when the user logs out. Tam, You can use javascript to fire session.invalidate() in case the user closes browser window

How to access X509 Certificate?

2001-09-01 Thread Christoph Ender
Hey all, I'm trying to access the certificate that the user has sent to authenticate himself. I'm using the Tomcat/Apache combo. Apache correctly exports the Certificate to the SSL_CLIENT_CERT environment variable, but when I try to read javax.servlet.request.X509Certificate, Tomcat always

Tomcat can't open my bd.properties file

2001-09-01 Thread Enrique Marcote Peña
Hi: I have Tomcat 3.2.2 running over Debian Potato and I'm trying to install a simple JSP application with database access. I've got a connection pool that works fine when I run it directly with java. In the root of my classes directory I have a couple of files, a log file called

WEB-INF and META-INF

2001-09-01 Thread Jayesh D'Costa
Hi, I have installed tomcat last week on our solaris server. I included a new context called trialserv in server.xml file. Context path=/trialserv docBase=/usr/local/etc/httpd/trialserv crossContext=false debug=0

NullPointerException running JSP samples in Cobalt RaQ4 tomcat installation

2001-09-01 Thread Martin Alley
Hi, I'm pulling my hair out over this... Set up is Cobalt RaQ4 Sun Cobalt Developer Kit for Java (jdk 1.3.1 tomcat 3.2.1) I have two tests that fail: All samples in webapps/examples An html file call test.jsp in webapps/examples/jsp/ (file contains just html) The jsp seems to compile find,

Re: [TC3.3b1] use of taglib causes org.apache.crimson.jaxp.DocumentBuilderFactoryImpl not found error

2001-09-01 Thread Will Stranathan
Take the XML related jars in TOMCAT_HOME/lib and rename them to x[whatever].jar (for example, xjaxp.jar). Then put Velocity's XML parsers in TOMCAT_HOME/lib. I know it's a kludge, but AFAICT, these sorts of classloader issues have been corrected in 4.0. (Which is all the Struts people can't

4.0 b7 how to do JDBC

2001-09-01 Thread Peter Shankey
OS ver Solaris 8 In BUILDING.txt it says the Servlet 2.3/JSP 1.2 API classes FIXME: Properties for mail.jar, activation.jar, jdbc2_0-stdext.jar, jta-spec1_0_1.jar, tyrex-0.9.7.0.jar In the build.properties and build.xml it never referances the JDBC driver. My question are: *

Re: 4.0 b7 how to do JDBC

2001-09-01 Thread Pier Fumagalli
Peter Shankey [EMAIL PROTECTED] wrote: OS ver Solaris 8 In BUILDING.txt it says the Servlet 2.3/JSP 1.2 API classes FIXME: Properties for mail.jar, activation.jar, jdbc2_0-stdext.jar, jta-spec1_0_1.jar, tyrex-0.9.7.0.jar In the build.properties and build.xml it never referances the

RE: howto mirror a jsp site.. convert ?/= to .do/param1/param2?

2001-09-01 Thread Matt Pease
Hi Pier -- Sorry I guess I wasn't clear... getting the file with wget works fine.. all I do is: wget -m fullscreen.com But, what I get is a bunch of myfile.jsp?param=value files. moving this directory into apache doesn't work, b/c when the user requests the file /myfile.jsp?param=value

Segmentation Fault when modifying classpath?!

2001-09-01 Thread Alejandro Calbazana
Ok... All this surrounds modifying tomcat.sh per install instructions found in apache-soap. Per Apache-Soap's Getting Tomcat Ready, I have changed my classpath to put xerces.jar at the beginning of my classpath as follows: unset CLASSPATH CLASSPATH=/usr/local/java/lib/xerces.jar for i in

Unable to start tomcat 3.2.3 (Security related problem)

2001-09-01 Thread Sukhwinder Singh
Hello, I have downloaded tomcat version 3.2.3 source code and compiled it on my windows 95 machine with Sun JDk 1.3.1. I also had to download JSSE because there was no option to compile without ssl support. If these classes are not in classpath then source doesn't compile. My problem is

finding sun.tools.javac.main?

2001-09-01 Thread Madeleine Wright
PLEASE can someone help. I'm running the JDK1.3 and Tomcat 3.2.3. All the examples compile but, when I try to call up a simple JSP page, I get an error that it can't find sun.tools.javac.Main. I have C:\JDK1.3\LIB\TOOLS.JAR in BOTH the classpath and in the path (for Win 98) set in the

Re: [TC3.3b1] use of taglib causes org.apache.crimson.jaxp.DocumentBuilderFactoryImpl not found error

2001-09-01 Thread Paul Spencer
I have made the changes suggested. I still get the same errors. The jsp file will work when referenced directly, http://localhost/jetspeed/hello.jsp, but fails when it is executed by Jetspeed. This problem is does not occur in Tomcat 3.3-m4 or Tomcat 4.0-b7. I suspect something that was

Tomcat and Input-Output streams

2001-09-01 Thread Enrique Marcote Peña
Hello again: Searching a little bit more I've founded the solution to my problem. Relying reading of the properties file to a PropertiesManager class with a method like: static { try { Class propertiesManagerClass = PropertiesManager.class; ClassLoader

Tomcat 4 and JNDI Question

2001-09-01 Thread G.C. Miller
How can I set java.naming.factory.initial java.naming.provider.url java.naming.factory.url.pkgs I have tried putting a jndi.properties file in common/classes, common/lib, WEB-INF/classes, and WEB-INF/lib - didn't work. I have also tried modifing catalina.sh as below else

Re: Is there a way to get the docBase property from within aservlet?

2001-09-01 Thread Craig R. McClanahan
On Mon, 27 Aug 2001, Rick Mann wrote: Date: Mon, 27 Aug 2001 20:28:17 -0700 From: Rick Mann [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Is there a way to get the docBase property from within a servlet? Is there a Servlet spec-compliant way to get

Re: Possible problem with HttpServletResponse.encodeURL behavior inCatalina

2001-09-01 Thread Craig R. McClanahan
The only way to debug such a problem is to see the *actual* stack trace you are encountering. Can you post it? Craig McClanahan On Tue, 28 Aug 2001 [EMAIL PROTECTED] wrote: Date: Tue, 28 Aug 2001 14:15:13 +0200 From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: internal server error

2001-09-01 Thread Craig R. McClanahan
On Tue, 28 Aug 2001, Scott Knight wrote: Date: Tue, 28 Aug 2001 08:23:05 -0400 From: Scott Knight [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: internal server error I have a question that hopefully someone on this list can help with. I use the

Re: context-param

2001-09-01 Thread Craig R. McClanahan
On Tue, 28 Aug 2001, Mills, Theo wrote: Date: Tue, 28 Aug 2001 13:41:07 -0500 From: Mills, Theo [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: context-param Anyone know how to access an application-wide context-param from a servlet? The

Re: Logging

2001-09-01 Thread Craig R. McClanahan
Tomcat 3.2 does not create access log files in the format required for tools like WebTrands. You will need to do one of the following things: * Run Tomcat 3.2 behind a web server like Apache (which will create such log files for you). * Run Tomcat 4.0 in stand-alone mode (which will create

Re: Security question

2001-09-01 Thread Craig R. McClanahan
On Wed, 29 Aug 2001, Achim Baier wrote: Now my question: Am I wrong-minded, is it bug or is it a jsp/servlet/j2ee-feature? Any comments? Security constraints that you mention in your web.xml deployment descriptor are *only* applied to the original request URI, *not* to any request URI

Re: urgent : using Mail Resource in web.xml

2001-09-01 Thread Craig R. McClanahan
Can you try putting mail.jar into common/lib? That way, it is available to both the Catalina internal classes (including the resource factory) and your web app? Craig McClanahan On Thu, 30 Aug 2001, Christoph Rooms wrote: Date: Thu, 30 Aug 2001 20:00:53 +0200 From: Christoph Rooms [EMAIL

Re: Is there a way to get the docBase property from within a servlet?

2001-09-01 Thread Jeff Turner
On Sat, Sep 01, 2001 at 09:48:10PM -0700, Craig R. McClanahan wrote: On Mon, 27 Aug 2001, Rick Mann wrote: Date: Mon, 27 Aug 2001 20:28:17 -0700 From: Rick Mann [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Is there a way to get the docBase property