Re: redirect port 8080 to 443

2003-10-11 Thread Peter Harrison
On Sat, 11 Oct 2003 17:38, Bill Barker wrote: It's in the FAQ: http://jakarta.apache.org/tomcat/faq/security.html#https Twan Munster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I'm using apache+mod_ssl+mod_jk to make a secure connection. But every time I call a page

Tomcat restart.

2003-10-11 Thread anunay ashish
Hi, I am using Tomcat to host an application. Sometimes it happens that the JSP page giving an error, becomes fine as soon as I restart the tomcat. The error generated is specifically at the place where I am initializing the bean. Why is it so? Thanks in advance. Regards, Anunay Ashish. -

Re: Tomcat hangs after a few days!

2003-10-11 Thread Volker
Shapira, Yoav schrieb: Howdy, Threads like these are exasperating ;) It almost definitely is a JVM/threading problem. You've already gone into a far less common configuration than most on this list by using Blackdown and green mode. If you do this, you risk not being able to get much

Jav.util.logging URGENT

2003-10-11 Thread Galbayar
Hi, I am learning to use logger. I have a code snippet below package test import java.io.IOException; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Date; import java.util.logging.FileHandler; import java.util.logging.SimpleFormatter; public class Logger

Re: tomcat and mac os 10.2.8 update

2003-10-11 Thread Giuliano Gavazzi
was /usr/local a symbilic link? If so the installation might have replaced it with a directory. so you should copy the new content to the target and reinstate the symbilic link. BTW Using JAVA_HOME: /usr sounds wrong to me. Giuliano At 13:09 -0700 2003/10/10, Augustina Blair wrote: i

Question about the Petstore's SignOnFilter class

2003-10-11 Thread Julien Martin
Hello, I am going through the Petstore's SignOnFilter class and I am wondering why it has been named SignOnFilter and not SignInFilter. Isn't the businesss logic of the class to help the signing in and not the signing on? Am I right or wrong? Thanks in advance for your replies. Julien. Here is

Difficulty in compiling a servlet.

2003-10-11 Thread anunay ashish
Hi, The code for my bean is: package com.scheduler; import java.sql.*; public class DBUpdate { private Connection conn; private Statement stmt; private ResultSet rs; public DBUpdate() { conn = null; stmt = null; rs = null; } public void

RE: Question about the Petstore's SignOnFilter class

2003-10-11 Thread Ralph Einfeldt
What is the difference for you between singing in and on ? For me as non native english speaker SignIn and SignOn are equivalent. The opposite is SignOff. -Original Message- From: Julien Martin [mailto:[EMAIL PROTECTED] Sent: Saturday, October 11, 2003 1:52 PM To: Tomcat Users List

Re: JNDIRealm source code -

2003-10-11 Thread Tim Funk
http://jakarta.apache.org/site/cvsindex.html JNDIRealm is jakarta-tomcat-catalina for tomcat5, jakarta-tomcat-4.0/catalina/ for tomcat4 I recommend more exploration before accepting an error code2 as a valid login. Its a kluge around the MS's ldap implementation and such a kluge probably

Question about the Petstore's SignOnFilter class

2003-10-11 Thread Julien Martin
Hello Ralph, I am not a native english speaker either. I thought that to sign on meant to register and to sign in meant to authenticate oneself. Can anyone help? Julien. - Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday,

Re: Clustering Tomcat - Loadbalancing and Failover

2003-10-11 Thread Hanasaki JiJi
Very nice! does the mcastAddr=228.1.2.3 imply tcp multicasting using java.net.MulticastSocket? What is in place for security? Does the cluster support loadbalancing? or failover? how can its config be tweeked? The filter, shown at the link provided, doesnt seem to support jsp/servlets.

Re: Difficulty in compiling a servlet.

2003-10-11 Thread Holger Klawitter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On compiling the addDataServlet.java, an error is coming - Unresolved symbol:Class DBUpadate is not resolved DBUpdate is not in the classpath of the compiler when the servlet is being compiled. Mit freundlichem Gruß / With kind regards

Getting segmentation faults with Apache 2.0.47/Tomcat 4.1.27/mod_jk2

2003-10-11 Thread Mario Juric
Hi, I have a hard time configuring Apache 2.0.47 with Tomcat 4.1.27 using mod_jk2/jni/jdk 1.4.2 on a Mandrake Linux 9.1 box. I compiled Apache and tomcat connectors myself. Both Apache and Tomcat work fine for them selves. Connecting them produces the following output in

JNDIRealm source code - (was: Re: Tomcat vs Bea WebLogic)

2003-10-11 Thread Davi Leal
Hi, I am using tomcat 4.1.27, Java sdk-1.4.1_02 and JNDIRealm to use the Micro$oft Site Server service to authenticate our webapps. I get an error code 2 exception (Protocol Error) only when the user and the password is right. That is to say, when an OK is expected. I am thinking about modify

RE: Jav.util.logging URGENT

2003-10-11 Thread Joseph Krasnov
What version of Java are you using? -Original Message- From: Galbayar [mailto:[EMAIL PROTECTED] Sent: Saturday, October 11, 2003 2:54 AM To: Tomcat Users List Subject: Jav.util.logging URGENT Hi, I am learning to use logger. I have a code snippet below package test import

NEWBEE: try to connect to Firebird database.

2003-10-11 Thread Richard Drent \(Drent IT BV\)
Hi all I'm lost, I try to connect to a firebird database with the Jaybird jdbc. I have her the syntax of my page, because I don't now if it is tomcat, the JDBC or my page who is making the error. The error is at the bottom of this msg. So can some body tell me what is wrong here, or where to

RE: Performance problem?

2003-10-11 Thread Neil Aggarwal
Hello All: While profiling my app, I also see another baffling output from my code: 10/10/2003 7:00:56.391 PM [Thread-96] Before synchronized block 10/10/2003 7:00:56.391 PM [Thread-96] Getting server context 10/10/2003 7:04:07.762 PM [Thread-96] Setting server context attribute This

form-based authentication session.invalidate

2003-10-11 Thread Adam Hardy
I am using session.invalidate() to try to cause the user to receive another login request, using CMS form-based authentication. I saw the same issue in bugzilla but for basic authentication: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12147 where the tomcat developer/bugzilla person

Re: form-based authentication session.invalidate

2003-10-11 Thread Tim Funk
Authentication information is somewhat stored in the session for form based authentication. (I can't remember the specifics) So using session.invalidate should log the user out. This works since the session id which is a cookie or URL rewriting scheme is what the browser keys in on. By

Apache+Tomcat with mod_jk on OS X

2003-10-11 Thread Matt Raible
I'm trying to get Apache (1.3.27) integrated with Tomcat (4.1.27) on OS X. I've read the following article (http://tinyurl.com/qkgp), which didn't help much, as well as my own (http://raibledesigns.com/tomcat), but I've found no success. I downloaded mod_jk.so (for 1.3.27) from

Re: NEWBEE: try to connect to Firebird database.

2003-10-11 Thread Diego Novati
Root cause: java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) The problem is that you don't deploy the FirebirdSQL driver. Put all the following files firebirdsql-full.jar jaas.jar log4j-core.jar mini-concurrent.jar

[ANN] Apache Tomcat mod_jk 1.2.5 Web Server Connector released

2003-10-11 Thread Glenn Nielsen
[October 11, 2003] The Tomcat team is pleased to announce the release of version 1.2.5 of the Apache Tomcat mod_jk web server connector. Tomcat is the reference implementation of a web application server which implements the Java Servlet and JavaServer Pages specifications. mod_jk is a connector

[HELP!] Which key alias names to use for SSL?

2003-10-11 Thread Sonny Sukumar
[I sent this once before, but got no response, and I'm not sure what to do. Thanks in advance.] Hi guys, I'm trying to setup my Tomcat (4.1.27) server to work with SSL. I got a CA-signed cert to go with my private key and CA root cert, but I'm confused as to how to name the alias for the

RE: Question about the Petstore's SignOnFilter class

2003-10-11 Thread Steve Raeburn
IMHO sign in and sign on are equivalent. To register is, well, register :-) The only suggestion I would make is that you use Sign in/Sign out or Sign on/Sign off consistently. Steve -Original Message- From: Julien Martin [mailto:[EMAIL PROTECTED] Sent: October 11, 2003 6:17 AM To:

Invoking Perl script through Tomcat

2003-10-11 Thread nraghupathy
Hi, I'm trying to run a Perl script in Tomcat 4.1.27 (perl version: ActivePerl build 5.8.0 build 806) and it's giving me the error pasted below, when I submit to the script from an html. I have done the renaming of jars and uncommenting in two places in web.xml. I've also tried having the

Re: form-based authentication session.invalidate

2003-10-11 Thread Adam Hardy
I have just figured out that the SSO in JSESSIONIDSSO stands for single-sign-on. I have the following JSP: remote user %=request.getRemoteUser() % in session %= session.getId() % % session.invalidate(); % and after doing a login, I saw I got JSESSIONID and JSESSIONIDSSO cookies. I then go to a

Re: [HELP!] Which key alias names to use for SSL?

2003-10-11 Thread Adam Hardy
On 10/11/2003 09:08 PM Sonny Sukumar wrote: [I sent this once before, but got no response, and I'm not sure what to do. Thanks in advance.] Hi guys, I'm trying to setup my Tomcat (4.1.27) server to work with SSL. I got a CA-signed cert to go with my private key and CA root cert, but I'm

Re: Apache+Tomcat with mod_jk on OS X

2003-10-11 Thread Giuliano Gavazzi
At 10:52 -0600 2003/10/11, Matt Raible wrote: I'm trying to get Apache (1.3.27) integrated with Tomcat (4.1.27) on OS X. [...] I downloaded mod_jk.so (for 1.3.27) from http://tinyurl.com/qkh6. Currently, the issue I'm having is with Apache, hopefully someone can help. When I restart Apache, I

Re: [HELP!] Which key alias names to use for SSL?

2003-10-11 Thread Sonny Sukumar
Hi Adam, Your first step was: # keytool -genkey -alias tomcat -keyalg RSA and your last step was: # keytool -import trustcacerts -file public.crt -alias tomcat So you used the same alias (tomcat) for both the private key and the signed public key. This is what doesn't work for me, because when

Re: Apache+Tomcat with mod_jk on OS X

2003-10-11 Thread Matt Raible
Yep, and that appears to work just fine. On Saturday, October 11, 2003, at 02:54 PM, Giuliano Gavazzi wrote: At 10:52 -0600 2003/10/11, Matt Raible wrote: I'm trying to get Apache (1.3.27) integrated with Tomcat (4.1.27) on OS X. [...] I downloaded mod_jk.so (for 1.3.27) from

RE: NEWBEE: try to connect to Firebird database.

2003-10-11 Thread Richard Drent \(Drent IT BV\)
The weird this is that they are in WEB-INF/lib And also in the Jakarta-tomcat/lib And I tried also with attribute 777, but Im lost in this one... Is my syntax of connecting OK??? Greetz richard Root cause: java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native

Resource needed for bean:write!?

2003-10-11 Thread Morten
Hi. Running Tomcat 4.0.6 w. Struts 1.1. I have some JSP like the following: logic:iterate collection=%=dao.getItems()% id=bean type=... bean:write name=bean property=value/br/ /logic:iterate When I try to execute this, I get: javax.servlet.ServletException: Cannot find message resources under

Re: [HELP!] Which key alias names to use for SSL?

2003-10-11 Thread Sonny Sukumar
Update: I did a keytool -list with the -rfc options and discovered that all the certs *are* in fact there, but just that public/private key were bundled together under the same alias. The way it lists the certs by default is what confused me. HOWEVER, I uploaded the keystore to our server,

FYIL My favoirete JSP tag is:

2003-10-11 Thread Vic Cekvenich
Here is my favorite tag: http://displaytag.sf.net and see examples (in upper right). Grid, Sorting, nested, group, export, everything you like, plus its free. Here is example code of how I used it: http://cvs.sourceforge.net/viewcvs.py/basicportal/bPproj/bP/WEB-INF/pgs/forums/ArticleLst.jsp You

Re: [HELP!] Which key alias names to use for SSL?

2003-10-11 Thread Sonny Sukumar
2nd Update: --I reconfigured the SSL port from 8443 to 443 on our server (as well as the redirect port), and all of a sudden I can connect using SSL. I don't understand why 8443 didn't work. Any ideas?? --Now when I request static HTML pages, I get a browser alert saying that some of the

Re: form-based authentication session.invalidate

2003-10-11 Thread Tim Funk
Hmm. I always thought that when using the SSO valve, logging out of one webapp automatically logs you out of all webapps. The 5 code looks broken based on *very quick* inspection compared to 4.1 based on lines 304-308. if ( event.getData() != null logout.equals(

Re: Apache+Tomcat with mod_jk on OS X

2003-10-11 Thread Trinity Jacobs
HELP ever since the big virus ive been plagued with emails from thei comapny or whatever it is.. i get at least 800 a day and i can t make them stop.. i dont know what you are all are talkingabout and i really dont care.. i cant seem to unsubscribe successfully HELP!! i want my email inbox

Re: [HELP!] Which key alias names to use for SSL?

2003-10-11 Thread Bill Barker
Sonny Sukumar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 2nd Update: --I reconfigured the SSL port from 8443 to 443 on our server (as well as the redirect port), and all of a sudden I can connect using SSL. I don't understand why 8443 didn't work. Any ideas?? There is a

Re: [HELP!] Which key alias names to use for SSL?

2003-10-11 Thread Sonny Sukumar
3rd update: For the 2nd issue below, I had some http references in my static html file--that's why I was getting the message about the page having unencrypted elements on it. :-) I still haven't figured out the 1st issue regarding ports 443/8443, but 443 is the one I want anyhow, so it's not

Re: [HELP!] Which key alias names to use for SSL?

2003-10-11 Thread Sonny Sukumar
From: Bill Barker [EMAIL PROTECTED] --I reconfigured the SSL port from 8443 to 443 on our server (as well as the redirect port), and all of a sudden I can connect using SSL. I don't understand why 8443 didn't work. Any ideas?? There is a well-know bug in MSIE related to

[OT] Re: Question about the Petstore's SignOnFilter class

2003-10-11 Thread Bill Barker
It is also off-topic, since Petstore is maintained by Sun, not Jakarta. Steve Raeburn [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] IMHO sign in and sign on are equivalent. To register is, well, register :-) The only suggestion I would make is that you use Sign in/Sign out or Sign

Re: FYIL My favoirete JSP tag is:

2003-10-11 Thread David Rees
On Sat, October 11, 2003 at 3:52 pm, Vic Cekvenich sent the following Here is my favorite tag: http://displaytag.sf.net and see examples (in upper right). Grid, Sorting, nested, group, export, everything you like, plus it’s free. Thanks for the heads up on this, it will save me loads of time!

Tomcat JDBCRealm And security-constraint in the web.xml

2003-10-11 Thread Caroline Jen
My applications behave wierd after I configured the JDBCRealm. After experimenting in many different ways, I found that as long as I have the JDBCRealm in the server.xml, the Tomcat does not accept security-constraint specified in the application's web.xml file. Please help me. My configuration