[solution] installing *OFFICIAL (commercial)* SSL-certificate

2001-09-23 Thread pero
Hi, after long time of trying to setup a (demo)certificate from thawte.com or trustcenter.de I finally made it. And because of the numerous questions on this list concerning this topic, I thought it would be a good idea to share my gained wisdom :-) So what follows is a step-by-step instruction

Re: Error running ./configure of webapp-module-1.0-tc40

2001-09-23 Thread Allan Kamau
I forgot to say that the APRVARS file does exist in the /apr directory in the directory where I am running ./configure --- Allan Kamau [EMAIL PROTECTED] wrote: Hi all, I am getting an error during the ./configure of webapp-module-1.0-tc40 in my RH 7.1 box running Apache 2.0.16 this is what

Re: Error running ./configure of webapp-module-1.0-tc40

2001-09-23 Thread Pier Fumagalli
Hmm... It seems that there are some troubles with building for Apache 2.0 (which integrates APR as its core foundation)... Can you please send me (privately, not to clog the list) the output of ls -laR /software/apache/httpd/apache-2_0_16?? Thanks Pier Allan Kamau [EMAIL PROTECTED] wrote:

Re: webapp directory as apache document root

2001-09-23 Thread Pier Fumagalli
Charles Baker [EMAIL PROTECTED] wrote: What all needs to be changed to make a webapp's directory be the document root of my apache server? Do I just need to change the docment root entry in httpd.conf? If you're using mod webapp, simply put WebAppDeploy name connection / in your httpd.conf.

Re: mod_webapp / mod_proxy and Tomcat 4.0

2001-09-23 Thread Pier Fumagalli
Richard P [EMAIL PROTECTED] wrote: The Proxy HOWTO mentiones mod_webapp, which I assume is the replacement for mod_jk, sorta. Where do I get it? Are there any docs for configuring it? Together with the source/binary distribution of Tomcat 4.0 final :) Pier

Re: Where is Mod_webapp?

2001-09-23 Thread Pier Fumagalli
Nael Mohammad [EMAIL PROTECTED] wrote: Where is Mod_webapp? I was on a plane between the U.K. and the U.S. (and given the times, it was not a pleasant one). It's on the site together with Tomcat 4.0. Pier

Re: How can I compile mod_webapp.c???

2001-09-23 Thread Pier Fumagalli
Jaime Garcia [EMAIL PROTECTED] wrote: Hi, I´m trying Apache 2.x and Tomcat 4 work together. I find mod_webapp.c but i don't know how i can compile it. Anyone can help me please ./configure ... make ... That's supposed to work.

Re: Catalina mod_webapp path=

2001-09-23 Thread Pier Fumagalli
Manri Offermann [EMAIL PROTECTED] wrote: Hi all, I am trying to find some informtation (without success :( ...) on how to do the equivalent of: mod_jk Tomcat3.2 Apache --- server.xml Host name=www.xyz.com Context path= docBase=/home/me/www reloadable=true

Re: Using mod_webapp 0.5

2001-09-23 Thread Pier Fumagalli
Paul Andreas Petershagen [EMAIL PROTECTED] wrote: Hi, I tried mod_webapp 0.5 with Tomcat 4 because I'm waiting for the release of the mod_webapp binaries in the Tomcat 4 download directory. There is not such thing as mod_webapp 0.5.. I got this error message from Apache: Invalid

Re: Building mod_webapp using APR.

2001-09-23 Thread Pier Fumagalli
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, As per documentation of Tomcat4, I tried to build mod_webapp from APR sources available at http://apr.apache.org but it is not generating the required mod_webapp module in apache. Will anybody have any exprience to build mod_webapp.so using

Re: help with mod_webapp cvs checkout

2001-09-23 Thread Pier Fumagalli
tom cat [EMAIL PROTECTED] wrote: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0 Binary and source distributions of the mod_webapp connector will be posted on Wednesday, September 19, 2001, for a variety of platforms. If you wish to build the connector in the mean time,

Re: Solution to mod_webapp.so:undefined symbol: pthread_sigmaskon Red Hat Linux 7.1

2001-09-23 Thread Pier Fumagalli
Janek Bogucki [EMAIL PROTECTED] wrote: Hi, I may have solved (or at least worked around) the the missing 'pthread_sigmask' symbol error encountered when trying to use mod_webapp.so. From the mailing list it appears to affect this configuration: 1. Red Hat Linux 7.1 2. Apache 1.3.x

Re: New To Java - Cant't get Database Insert to work

2001-09-23 Thread BlyonsJ2EE
Right now, I have tried Microsofts own example of the SQL statement which does not differ much from my original statement it is in the form INSERT INTO Employees (FirstName,LastName, Title) VALUES ('Harry', 'Washington', 'Trainee'); However, I do not have a SQL client at home to test

per-context RequestInterceptor?

2001-09-23 Thread Artiom Morozov
Hello, Probably this question is already discussed here, but i can't get no faq =( Is there a way to setup context dependent RequestInterceptor? I need to set different auth info DB tables for different contexts. Could you please advise how to do that? Thanks! -- WEB SPACE STATION Web

Re: New To Java - Cant't get Database Insert to work

2001-09-23 Thread BlyonsJ2EE
Hi Dim, Thanks for your help. The problem is resolved. The error was caused because I apparently used a reserved word as a colum name in the database. In the original Servlet I was using the statement: INSERT INTO LINKS (VALUE, NAVIGATION_TEXT) VALUES ('George', 'Washington');

Re: SSL Connection problem through jsp

2001-09-23 Thread Jonathan Eric Miller
I think I've seen this problem when trying to use ldaps with JNDI. I found that you still have to use ldap, not, ldaps. Then, you tell it to use the SSL port. In the case of LDAPS, it's 636. For HTTPS, it's 443. I think if you leave the s off the end it will probably work. At least that's the way

Session timeout in Tomcat 4.0 off by 10 seconds?

2001-09-23 Thread Jonathan Eric Miller
I did some testing to make sure that my sessions were getting timed out correctly. It appears that it's working. However, it appears to be off by 10 seconds. Not a big deal at all, but, it's not what I expected. You can use the following application to test it. First you need to add the

Separating back-end process from JSP display

2001-09-23 Thread Marc Elliott
Hey folks, I have a fairly resource- and time-intensive back-end function that I want to kick-start using a JSP page. Basically, it works like this. -- user hits a button -- an application javabean goes and gets a resultset of email addresses from a database -- for

Re: Tomcat Spontaneously Restarting System

2001-09-23 Thread Jonathan Eric Miller
My bet is that the problem has nothing to do with Tomcat and has to do with an interaction between the firewall and the OS. I would check to see what Windows Updates are installed on the machines. Also, check the versioning on the firewall software. My guess is that it isn't a hardware problem if

Re: importing an existing certificate

2001-09-23 Thread Jonathan Eric Miller
It's not that simple because you need to import the private key as well. I'm in the same situation, except that I'm importing from Apache Web Server to Tomcat in standalone mode. I posted this question a few days ago and someone told me about the following link which has a program that is

Re: importing an existing certificate

2001-09-23 Thread Jonathan Eric Miller
Actually, if this works, and if keytool doesn't allow you to do this, it might not be a bad idea if a utility were included with Tomcat that allowed you to migrate your certificate from Apache Web Server to Tomcat standalone. Over time, I suspect that many users may want to do this. Jon -

stdint.h not found when compiling apr in webapp 1.0 (tc4.0)

2001-09-23 Thread Marcus Adair
I'm doing ./configure then make --with-apxs and I can't avoid a compile error in the APR. Following is the output when I try compiling the apr dir in the source distro. I'm running FreeBSD 4.4 on Intel. Tomcat 4.0 is running fine, as well as JDK 1.3.1_01. Any help is much appreciated, Output

tomcat 4 standalone virtual host

2001-09-23 Thread Dom
Is it possible to manage virtual hosts with tomcat 4 standalone ? When I start Tomcat, I get in catalina out : Starting service Tomcat-Standalone Apache tomcat/4.0 java.lang.NullPointerException at org.apache.catalina.startup.HostConfig.deployApps(Unknown Source) ... If I start

RE: per-context RequestInterceptor?

2001-09-23 Thread Ignacio J. Ortega
Upgrade to TC 3.3 or TC4.0.. Saludos , Ignacio J. Ortega -Mensaje original- De: Artiom Morozov [mailto:[EMAIL PROTECTED]] Enviado el: domingo 23 de septiembre de 2001 15:56 Para: [EMAIL PROTECTED] Asunto: per-context RequestInterceptor? Hello, Probably this question is

TC4 and Send Error

2001-09-23 Thread Brett Knights
I have installed TC4 and have it working. I am moving an app that worked fine under TC3.3. My problem is that when I call: res.setHeader(WWW-Authenticate, BASIC realm=\ + domain +\); rese.sendError(res.SC_UNAUTHORIZED); in my servlet the authenticate header is stripped from the result.

RE: TC4 and Send Error

2001-09-23 Thread Brett Knights
The spec seems to be somewhat ambiguous (at least the bits I have read so far) on this issue. It is quite explicit however that in the case of res.sendError(res.SC_UNAUTHORIZED, message); any headers set so far should be preserved. I tried this with no different result. -Original

Re: error using application under Tomcat 4.0

2001-09-23 Thread michael . brohl
Hi , thanks for your reply. I'm sending you the source of the servlet , maybe you can see what's causing the error? (The application runs well under Tomcat 3.2) -- cut --- package org.apache.jsp; import

win32 build of mod_webapp?

2001-09-23 Thread Scott Ahten
hello, everyone.. i've decided to start evaluating tomcat / apache for production use under win2k. i've managed to get both running on my box with one exception - i'm unable to find a binary version of mod_webapp for win32. i've found what i believe is the linux and macosx versions of

Re: Tomcat 4 and session persistance ...

2001-09-23 Thread Jonathan Eric Miller
Dunno. I just noticed the same thing. The howto document is in b7, but not in rc1, or the release version of 4.0. Jon - Original Message - From: David Cassidy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 20, 2001 8:57 AM Subject: Tomcat 4 and session persistance ...

Re: 4.0 RPMs: when

2001-09-23 Thread Jonathan Eric Miller
What's wrong with the .zip file? Jon - Original Message - From: Sergey V. Udaltsov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 22, 2001 12:05 PM Subject: Re: 4.0 RPMs: when Hi We still have problems with related jars, like jdbc2.0ext, jta, jmx, ldap which

Re: Get Friggin Verisign Working on Tomcat 4.0 Standalone How To - The Official Thread

2001-09-23 Thread Jonathan Eric Miller
If you haven't already done this, you might want to check out the keytool documentation that comes with the JDK. The Examples section pretty much explains how to do it. The next thing you need to do is a -import when you get back the signed certificate from Verisign.

Re: i´m in a muddle

2001-09-23 Thread Jonathan Eric Miller
I think you're supposed to use mod_webapp with Tomcat 4. I think that's the Tomcat 4 equivalent of mod_jk. I think the source for it was just recently released. It came out a little later than the release version of Tomcat 4.0 itself. Jon - Original Message - From: Jaime Garcia [EMAIL

Error building mod_webapp: dyld.h not found

2001-09-23 Thread nykoping
Hello, I can't seem to get mod_webapp to make correctly. My system is RedHat Linux 7.1 and I have successfully run configure, but get an error when I try to make: In file included from dso.c:55: ../../include/arch/unix/dso.h:67:25: mach-o/dyld.h: No such file or directory now, I realize that

Re: tomcat 4 (final) quits without notice

2001-09-23 Thread Jonathan Eric Miller
Are there errors in the logs? Jon - Original Message - From: pero [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 20, 2001 1:54 PM Subject: tomcat 4 (final) quits without notice Hi there, After months of developing with tomcat 4 (yes, I was there from the very

Re: Has anyone configured tomcat 4.0 with IIS???

2001-09-23 Thread Jonathan Eric Miller
Have a look at $CATALINA_HOME/conf/server.xml. That's where all the settings are such as what ports it listens on. Jon - Original Message - From: Tia Haenni [EMAIL PROTECTED] To: Tomcat Mailing List [EMAIL PROTECTED] Sent: Thursday, September 20, 2001 7:34 PM Subject: Has anyone

Re: Error building mod_webapp: dyld.h not found

2001-09-23 Thread Ryan Bloom
On Sunday 23 September 2001 05:54 pm, [EMAIL PROTECTED] wrote: Can you see if your platform actually has a copy of mach-o/dyld.h in /usr/include or /usr/local/include In the meantime, if you do the following, everything should work: edit apr/include/arch/unix/apr_private.h search for DYLD.

Re: login question

2001-09-23 Thread Jeff Turner
On Sat, Sep 22, 2001 at 10:55:04PM -0700, Charles Webber wrote: There should be a file in the conf directory called tomcat-users.xml where you can specify your admin name and password. do it like this user name=admin password=password roles=admin / Or if it's Tomcat 4.0, the role should be

Please help: Method getParameterMap() not found

2001-09-23 Thread tom cat
How can I solve this build error? RH 7.0, jdk1.3.1_01, Tomcat 4.0 obviously I'm using this servlet.jar 76877 Sep 18 12:57 /usr/local/jakarta-servletapi-4/lib/servlet.jar # ant dist ... build-main: [javac] Compiling 4 source files to

Help wanted

2001-09-23 Thread Chandra Aryasomayajula S
Hi all, Tomcat version 3.2.2 installed on Unix machine is crashing without writing anything in the log files. Can anybody help me. Thanks Chandra

[TC4] TC4 + IIS!

2001-09-23 Thread Moin Anjum H
Hi All, Configuring TC4 and IIS on Win2k is not yet available. I have managed to download and TC4 for win32 and succesfuly installed in my machine. Could anyone direct me as how to go about this. Any help appricated. Regards Moin.

ConcurrentModificationException

2001-09-23 Thread Walter Weinmann
Hello, I've switched my applicatin from TOMCAT 3.2.3 to 4.0 and get now this error ConcurrentModificationException. What is the problem ? Best regards Walter Weinmann = Code String lvSessionVariable = ; Enumeration lvSessionVariablen = session.getAttributeNames(); while

MyClass.getPackage() == null... Why?

2001-09-23 Thread Eung-ju Park
Hi. I have one jars file in /WEB-INF/lib/test.jar test.jar contains com.MyClass class. I try below code in test.jsp. %page import=com.* % ... % if ( null == MyClass.class.getPackage() ) { out.println( NULL ); } else { out.println( MyClass.class.getPackage() ); } But classes in

Re: importing an existing certificate

2001-09-23 Thread Ricardo
You can import openssl certificates with no problems !!! See at ... http://www.comu.de/docs/tomcat_ssl.htm Ricardo Borillo Domenech Programació - Servei d'Informàtica Universitat Jaume I - Original Message - From: Jonathan Eric Miller [EMAIL PROTECTED] To: