Redirect HTTP to HTTPS

2005-08-01 Thread Faine, Mark
I know I can redirect HTTP to HTTPS by adding: user-data-constraint transport-guarantee CONFIDENTIAL /transport-guarantee /user-data-constraint to my web.xml but the problem is that this does not redirect when someone just goes to a directory path. I would

JAAS LoginModule weird error

2005-05-25 Thread Faine, Mark
I've written a JAAS Login Module for my web application that authenticates against a third party (Documentum) content management server. It works fine but it seems to attempt to login once before the dialog is even presented to the user. The logs show: DfPrincipalException:: THREAD:

RE: Basic load balancing

2005-05-12 Thread Faine, Mark
, where clustering is a tomcat setup issue. Joe Faine, Mark wrote: Tomcat 5.0.28 We seem to often have to make minor changes that cause us to have to restart our tomcat server (the whole server, not just a web application) and this has lead me to decide to research load balancing

Basic load balancing

2005-05-11 Thread Faine, Mark
Tomcat 5.0.28 We seem to often have to make minor changes that cause us to have to restart our tomcat server (the whole server, not just a web application) and this has lead me to decide to research load balancing. The idea would be to have two servers that would be exact duplicates. One of

BadPaddingException revisited

2005-05-04 Thread Faine, Mark
Is a keystore required to use PKCS12 ssl certs with Tomcat 5? I'm trying (once again) to convert a cert issued for Apache (OpenSSL) to a pkcs12 for Tomcat but I keep getting the following error: Protocol handler start failed: java.io.IOException: failed to decrypt safe contents entry:

RE: BadPaddingException revisited

2005-05-04 Thread Faine, Mark
The password was incorrect, after correcting this, the server works as intended. -Mark -Original Message- From: Faine, Mark Sent: Wednesday, May 04, 2005 9:27 AM To: 'Tomcat Users List' Subject: BadPaddingException revisited Is a keystore required to use PKCS12 ssl certs

include generated_web.xml into web.xml

2005-04-12 Thread Faine, Mark
I'd like to include my generated_web.xml file that was created by JSPC into my applications web.xml file. How can this be accomplished? Thanks, -Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: include generated_web.xml into web.xml

2005-04-12 Thread Faine, Mark
/precompiled.xml encoding=ISO-8859-1/ !-- Now replace the xml with a predifined snippet -- replace file=${build.dir}/WEB-INF/web.xml value=${precompiled} replacetoken![CDATA[!-- precompile include --]]/replacetoken /replace -Tim Faine, Mark wrote: I'd like to include my

RE: include generated_web.xml into web.xml

2005-04-12 Thread Faine, Mark
Think I may have figured it out myself. It looks like from the source code for jasper2 that it is poolingEnabled=false and it should be passed to the jasper2 task. Thanks, -Mark -Original Message- From: Faine, Mark Sent: Tuesday, April 12, 2005 1:17 PM To: 'Tomcat Users List

filter mapping

2005-04-06 Thread Faine, Mark
Sorry this may be a little off-topic but is there a way to get the mapping for a filter. I'd like to determine what mapping set off the filter to use it to rewrite a URL. I know I can get the same information from the servlet request but then I'd have to parse it and that complicates things.

RE: SSL configuration question

2005-04-05 Thread Faine, Mark
org.apache.catalina.startup.Catalina start INFO: Server startup in 14756 ms -Original Message- From: Faine, Mark Sent: Friday, April 01, 2005 9:25 AM To: 'Tomcat Users List' Subject: RE: SSL configuration question Thanks, the link you provided allowed me to get it imported correctly. This should go on a FAQ. Thanks

RE: Tomcat and JBuilder 2005

2005-04-05 Thread Faine, Mark
Are you trying to run Tomcat from withing Jbuilder. This would be why java is being called. Also, check and see if ant is in your project's classpath. -Mark -Original Message- From: Dola Woolfe [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 11:28 AM To: Tom Cat Subject:

RE: SSL configuration question

2005-04-05 Thread Faine, Mark
Nevermind, It is fixed. Unfortunately though I can't pass on my findings as I'm not sure exactly what fixed it. -Mark -Original Message- From: Faine, Mark Sent: Tuesday, April 05, 2005 9:44 AM To: 'Tomcat Users List' Subject: RE: SSL configuration question I tried this same

RE: Compiling JK under Solaris

2005-04-01 Thread Faine, Mark
I've compiled it for Solaris 8. You could try mine if you think it might work. -Mark -Original Message- From: Steven Pannell [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 4:24 AM To: 'Tomcat Users List' Subject: Compiling JK under Solaris Hi, Has anyone ever managed to get

RE: SSL configuration question

2005-04-01 Thread Faine, Mark
to and issue by because it is a self signed certificate. when you get you certificate authorized by some one like verisign, and then import that certificate into your keystore, you'll get issued by as that certifying authority's name. - Original Message - From: Faine, Mark [EMAIL

RE: SSL configuration question

2005-04-01 Thread Faine, Mark
issued to and issue by because it is a self signed certificate. when you get you certificate authorized by some one like verisign, and then import that certificate into your keystore, you'll get issued by as that certifying authority's name. - Original Message - From: Faine, Mark [EMAIL

RE: SSL configuration question

2005-04-01 Thread Faine, Mark
that certificate into your keystore, you'll get issued by as that certifying authority's name. - Original Message - From: Faine, Mark [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Thursday, March 31, 2005 1:13 PM Subject: RE: SSL configuration

SSL configuration question

2005-03-31 Thread Faine, Mark
Solaris 8, Tomcat 5.0.28 I've configured my tomcat installation with my SSL key from Entrust and it is working (sort of). 1. It is not correctly configured. It shows my organization as both issued to and issue by when I view the certificate information. Could someone explain what I have

RE: SSL configuration question

2005-03-31 Thread Faine, Mark
server.xml change 8443 to 443 in the ssl section also check that the the normal port redirects to 443. Where you see 8443 change to 443. 2 changes in your server.xml. - Original Message - From: Faine, Mark [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Thursday, March 31, 2005 7

RE: SSL configuration question

2005-03-31 Thread Faine, Mark
you certificate authorized by some one like verisign, and then import that certificate into your keystore, you'll get issued by as that certifying authority's name. - Original Message - From: Faine, Mark [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Thursday

Tomcat 5/Apache 2 in-process

2005-03-30 Thread Faine, Mark
Has anyone succeeded in getting Tomcat 5 to run in-process with Apache 2 using mod_jk? Does anyone know of a howto on this? I've read the docs, I've searched the web, I have it working using AJP13 but I have had no luck on getting it to work in-process. I don't even know where to start.

Problem with Xerces, Xalan with Tomcat 5.0

2005-03-07 Thread Faine, Mark
I am trying to build a web (myfaces) application that uses a proprietary API called Documentum Foundation Classes. (DFC) DFC uses a patched version of Xalan that is provided with the API. Unfortunately it does not seem to work with Tomcat 5.x, only Tomcat 4.x I get the following error

Logger without timestamp not working

2004-12-23 Thread Faine, Mark
Tomcat 4.1.27 I can't get Tomcat to not timestamp log files. I've set the logger's timestamp attribute to false and still a timestamp is placed on the file. Is this a bug? Thanks, -Mark - To unsubscribe, e-mail: [EMAIL

RE: Logger without timestamp not working

2004-12-23 Thread Faine, Mark
: Re: Logger without timestamp not working The loggers doesn't support the timestamp attribute, only the accessvalve loggers do. -Tim Faine, Mark wrote: Tomcat 4.1.27 I can't get Tomcat to not timestamp log files. I've set the logger's timestamp attribute to false and still a timestamp

RE: Logger without timestamp not working

2004-12-23 Thread Faine, Mark
So how would you suggest one get a log file without a timestamp appended to it? Extend FileLogger? -Mark -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 10:48 AM To: Tomcat Users List Subject: Re: Logger without timestamp not working The

RE: Logger without timestamp not working

2004-12-23 Thread Faine, Mark
-Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 11:16 AM To: Tomcat Users List Subject: Re: Logger without timestamp not working Yup. But is it really worth it? Logger is gone in 5.5 in place of commons-logging. -Tim Faine, Mark wrote: So how

Add a text message to BASIC HTTP Authentication Dialog

2004-06-14 Thread Faine, Mark
Tomcat 4.1.29 I'd like to add some basic disclaimer text to a site that uses a JDBC Realm. I'd like for it to appear in the dialog where the user enters their username and password in the location that now reads only JDBCRealm. Is this possible, if so how? -Thanks, Mark

Question on the packaging of tag libraries

2004-03-11 Thread Faine, Mark
Tomcat 4.1.27 on Solaris 8 I'm looking at centralizing our tag libraries that our used by several web applications. Unfortunately the way one of our vendors packages their taglibs is not very portable. I know class files for taglibs can (and should) go in a jar file and be loaded by the web

RE: Tomcat is not finding my classes

2004-03-09 Thread Faine, Mark
in your jsp files? - Original Message - From: Faine, Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 08, 2004 4:20 PM Subject: Tomcat is not finding my classes Tomat 4.1.27 on Solaris 8 I've spent the past two days reading about classloaders and from what I've read

RE: Tomcat is not finding my classes

2004-03-09 Thread Faine, Mark
/common/lib. This has worked great for everything that was not appropriate for the WEB-INF/lib. Ben -Original Message- From: Faine, Mark [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 3:21 PM To: '[EMAIL PROTECTED]' Subject: Tomcat is not finding my classes Tomat 4.1.27 on Solaris 8

Tomcat is not finding my classes

2004-03-08 Thread Faine, Mark
Tomat 4.1.27 on Solaris 8 I've spent the past two days reading about classloaders and from what I've read my problem should not exist. Tomcat is not finding classes/jars in $TOMCAT_HOME/shared classes/lib. The only way I can get my classes loaded is to put them in

Classloader problems

2004-03-05 Thread Faine, Mark
Tomcat 4.1.27 on Solaris 8 I have two jar files I'd like to make available to all my web applications so I placed them in $TOMCAT_HOME/shared/lib however they are not being found. I also tried common/lib but it didn't work either. The error I'm getting is java.lang.IllegalStateException:

disable taglib pooling jspc

2004-01-22 Thread Faine, Mark
I have successfully configured tomcat 4.1.27 to disable tag pooling by using the enablePooling init parameter but how do I do the same with an ant precompile script. I am using the script from http://www.apache.org/~fhanik/precompile.html http://www.apache.org/~fhanik/precompile.html The

Re: mod_jk2 doesn't create jk2.socket

2004-01-12 Thread Faine, Mark
PS - My preferred way of dealing with Solaris installs has been to get gcc up and running, and then build everything else from source. This can be a pain on a slow box . . . building the latest version of gcc and perl take a while. However, in the end I think the effort is worth it. Check to see

mod_jk2 doesn't create jk2.socket

2004-01-09 Thread Faine, Mark
Apache 2.0.48 Tomcat 4.1.27 mod_jk2 2.0.2 Everything is built and configured but there is no jk2.socket being created. I'm not sure exactly which process (apache or tomcat ) should be creating the socket? I can post my config files if it would help but I'm hoping there is a simple solution.

mod_jk2 doesn't create jk2.socket

2004-01-09 Thread Faine, Mark
Thought I'd post some additional information that may be helpful: Apache Error Logs: [Fri Jan 09 09:32:43 2004] [error] channelUn.connect() connect failed 2 No such file or directory [Fri Jan 09 09:32:43 2004] [error] ajp13.connect() failed ajp13:/usr/local/tomcat/work/jk2.socket [Fri Jan 09

mod_jk2 doesn't create jk2.socket

2004-01-09 Thread Faine, Mark
I think I've discovered the real source of the problem but I don't understand how to fix it. Here is the output form catalina.out: Exception during startup processing java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at

mod_jk2 doesn't create jk2.socket

2004-01-09 Thread Faine, Mark
This looks like you are running on Linux . . . Or at least I've seen the same behavior on Linux as you're seeing here. It also looks like you're trying UNIX sockets as opposed to IP sockets. I've had some success doing this on the following environment. Fedora Core 1 2.4.22-1.2138.nptl Java

prevent taglib caching

2004-01-05 Thread Faine, Mark
Tomcat 4.1.27 I need to prevent Tomcat from caching tag libraries. I can't seem to find any documentation on this. Any help would be appreciated. thanks, -Mark

Re: jk2_init() Can't find child xxxxx in scoreboard

2003-06-06 Thread Faine, Mark
I am currently having the exact problem you describe. Did you ever figure it out? Thanks, -Mark Scott Ahten [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... I'm trying to setup Apache2 and mod_jk2 to pass Tomcat requests via JNI. After reading two or three HOWTOs and previously

RE: OT Dumb JavaScript question

2003-03-27 Thread Faine, Mark
You could post all the array's contents to a servlet that parses the querystring and populates some sort of collection object. -Mark -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 7:32 AM To: 'Tomcat Users List' Subject: OT Dumb JavaScript

war fie not expanding, creating directory

2003-03-17 Thread Faine, Mark
I have created a war file primarily as a container for a group of servlets. Strange thing is that it is not being unpacked by Tomcat 4.0.6 even though i have set unpackWAR to true and if I unpack it manually it just extracts the WEB-INF and related files to the webapps directory and does not

RE: war fie not expanding, creating directory

2003-03-17 Thread Faine, Mark
Wow, thanks. Not only did you help solve the problem but you taught me a better way to do it. I think I'll just specify a war file for the docbase from now on. Seems far superior to extracting the war file. -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Monday,

RE: mod_jk2/unixsocket: can't create apr

2003-01-16 Thread Faine, Mark
I had this problem and realized I had mistakenly commented out the AJP 1.3 connector on port 8009 in server.xml Thanks, -Mark -Original Message- From: Brzezinski, Paul J [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:52 AM To: Tomcat Users List Subject: RE:

RE: mod_jk2/unixsocket: can't create apr

2003-01-16 Thread Faine, Mark
: -Original Message- : From: Faine, Mark [mailto:[EMAIL PROTECTED]] : Sent: Thursday, January 16, 2003 10:55 AM : To: 'Tomcat Users List' : Subject: RE: mod_jk2/unixsocket: can't create apr : : : I had this problem and realized I had mistakenly commented : out the AJP 1.3 connector on port

RE: cannot connect

2003-01-14 Thread Faine, Mark
-Original Message- From: Brzezinski, Paul J [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 7:21 PM To: Tomcat Users List Subject: Re: cannot connect Faine, Mark wrote: Apache 2.0.43 mod_jk2 2.0.0 Tomcat 4.0.6 Can't get socket to work, I get this error message

mod_jk2 - jni linking problems

2003-01-13 Thread Faine, Mark
Solaris 8 Apache 2.0.43 Tomcat 4.0.6 When I attempt to compile mod_jk using ant native the mod_jk.so compiles but at jni section I get the following error: jni: [so] Compiling 0 out of 37 Linking /export/home/temp/appserv/jakarta-tomcat-connectors-4.0.6-src/jk/build/jk2/j ni/libjkjni.so

RE: mod_jk2 - jni linking problems

2003-01-13 Thread Faine, Mark
problems Look in the Apache's library directory. 2.0.43 of apache has a new name for the apr library...so that the linker won't find libapr.so...then adjust the makefile accordingly. : -Original Message- : From: Faine, Mark [mailto:[EMAIL PROTECTED]] : Sent: Monday, January 13, 2003 12

RE: mod_jk2 - jni linking problems

2003-01-13 Thread Faine, Mark
: Monday, January 13, 2003 12:34 PM To: Tomcat Users List Subject: RE: mod_jk2 - jni linking problems -- mailto:[EMAIL PROTECTED] Enterprise Distributed Capabilities EDS Corporation 248-265-8283 : -Original Message- : From: Faine, Mark [mailto:[EMAIL PROTECTED]] : Sent: Monday, January 13

cannot connect

2003-01-13 Thread Faine, Mark
Apache 2.0.43 mod_jk2 2.0.0 Tomcat 4.0.6 Can't get socket to work, I get this error message: [Mon Jan 13 14:43:21 2003] [notice] Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6g DAV/2 mod_jk2/2.0.0 configured -- resuming normal operations [Mon Jan 13 14:43:39 2003] [error] channelUn.connect()

Building Tomcat 4.1.12 from source

2002-12-10 Thread Faine, Mark
Solaris 8 Tomcat 4.1.12 I'm trying to build from source using the BUILDING instructions in the source directory. I've completed everything on the list, even the optional packages. Now I get this error: BUILD FAILED file:/export/home/temp/appserv/temp/jakarta-tomcat-jasper/jasper2/build.xml:

Statically compile mod_jk into Apache.

2002-12-09 Thread Faine, Mark
Solaris 8 Tomcat 4.1.12 Apache 1.3.27 I want to statically compile mod_jk in Apache. For performance reasons we have an Apache installation that does not use any dynamically loaded modules. AFAIK it couldn't even if we wanted it to (without re-compiling) because we used -DDYNAMIC_MODULE_LIMIT=0

RE: I donĀ“t understand the objective of this open list !

2002-12-09 Thread Faine, Mark
I only just subscribed to this list a few minutes ago and I will first say that if I can ever help you in any way I will. Having said that, you are fighting a loosing battle here by condemning the very people you are asking for help. There is an old saying, you get more flies with honey than

Building Tomcat 4.1.12

2002-12-09 Thread Faine, Mark
Solaris 8 Tomcat 4.1.12 I'm trying to build from source using the BUILDING instructions in the source directory. I've completed everything on the list, even the optional packages. Now I get this error: BUILD FAILED file:/export/home/temp/appserv/temp/jakarta-tomcat-jasper/jasper2/build.xml:

RE: MOD_JK Problem ?

2002-06-24 Thread Faine, Mark
Nothing but agreement here, today will be the 5th business day that I will spend trying to figure out why Apache 2 and Tomcat 4 will not work together. I should be able to download them configure them and just go. Everyone says use Apache/Tomcat it's free, what they don't say is it's free for a

RE: MOD_JK Problem ?

2002-06-24 Thread Faine, Mark
was that the Apache2 connectors area is significantly below the high quality I've grown to expect from Apache Software. Andy -Original Message- From: Faine, Mark [mailto:[EMAIL PROTECTED]] Sent: 24 June 2002 13:10 To: 'Tomcat Users List' Subject: RE: MOD_JK Problem ? Nothing but agreement here

RE: Re[2]: MOD_JK Problem ?

2002-06-24 Thread Faine, Mark
Thanks, for your reply but I think I apologized already. Still I do agree with what you say (for the most part). Also, I'm trying to build for Solaris 8. Got a binary for that? I do, but mine doesn't seem to be working. Thanks, -Mark -Original Message- From: Jacob Kjome

RE: Re[2]: MOD_JK Problem ?

2002-06-24 Thread Faine, Mark
Message- From: Faine, Mark Sent: Monday, June 24, 2002 9:43 AM To: 'Tomcat Users List' Subject: RE: Re[2]: MOD_JK Problem ? Thanks, for your reply but I think I apologized already. Still I do agree with what you say (for the most part). Also, I'm trying to build for Solaris 8. Got a binary

workers not working

2001-04-11 Thread Faine, Mark
I have sucessfully installed tomcat, cocoon, and mod_jk, except that when I try to start apache it will not start. The apache logs show: [Wed Apr 11 12:08:41 2001] [emerg] (2)No such file or directory: Error while opening the workers Looks like it could be a typeO or something but I don't

RE: Fed up to the back teeth with tomcat !!!

2001-04-11 Thread Faine, Mark
I understand your frustration, the lack of verbose/clear error messages in the logs is a big problem I am having too. -Mark -Original Message- From: Andy C [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 2:12 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Fed up to

still having problems with workers

2001-04-11 Thread Faine, Mark
Apache will not start, aside from this I get no other reason why listed anywhere? The apache logs show: [Wed Apr 11 12:08:41 2001] [emerg] (2)No such file or directory: Error while opening the workers Looks like it could be a typeO or something but I don't know where to look, any clues?