RE: Running a class on startup - java newbie....

2003-07-01 Thread Mayne, Peter
Title: RE: Running a class on startup - java newbie Maybe they're getting confused with EJBs, where apparently thread creation is outlawed by the spec. PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602 T: 61 2

RE: java.util.zip.ZipException: The system cannot find the path speci fied

2003-07-01 Thread Mayne, Peter
Title: RE: java.util.zip.ZipException: The system cannot find the path speci fied Try reinstalling in a directory path with no spaces in the name. PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602 T: 61 2 62689727 F:

RE: How to use HTTP1.0 by default

2003-06-29 Thread Mayne, Peter
Title: RE: How to use HTTP1.0 by default Er, isn't that what I said in my first two sentences? Rereading what I wrote, it could have been phrased a little clearer, I suppose. PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham,

RE: Log4j problem mixing 2 apps

2003-06-29 Thread Mayne, Peter
Title: RE: Log4j problem mixing 2 apps Don't put log4j in the classpath for Eclipse. Instead, right-click on your project, select Properties, and goto Java Build Path. Add the log4j library to the build path. PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1,

RE: How to use HTTP1.0 by default

2003-06-26 Thread Mayne, Peter
Title: RE: How to use HTTP1.0 by default If an HTTP/1.1 server receives an HTTP/1.0 request, it should respond with HTTP/1.0. The response will say HTTP/1.1 because that indicates the version that the server is capable of providing, not the version that it is using for the response. RFC 2145

isapi_redirector2 and wrapped headers: updated binary available?

2003-06-24 Thread Mayne, Peter
I'm using IIS + Tomcat 4.1.24 + JK2 isapi_redirector2.dll. Everything has been working so far. However, now I'm receiving HTTP headers containing a Content-Type that is continued on another line, and isapi_redirector2.dll is broken. (Sending the exact same request direct to Tomcat works fine, and

RE: [SPAM:56%] Using File class in Tomcat

2003-06-12 Thread Mayne, Peter
Title: RE: [SPAM:56%] Using File class in Tomcat Are you running Tomcat from a command line, or as a service? If Tomcat is running as a service, what user is it running as? PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham,

RE: Problem with custom TrustManager for SSL in Tomcat 4.1.24

2003-06-11 Thread Mayne, Peter
Title: RE: Problem with custom TrustManager for SSL in Tomcat 4.1.24 Try using import com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl; HttpsURLConnectionOldImpl.setDefaultSSLSocketFactory(sslFactory); instead of

RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

2003-05-30 Thread Mayne, Peter
Title: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Did you build the ispai redirector yourself? The isapi_redirector2.dll I built it has dependencies on libapr. The missing libapr.dll is what caused the specified module could not be found error. Putting the two DLLs in

LE version?

2003-03-23 Thread Mayne, Peter
What's the difference between Tomcat and Tomcat LE? I can't find anything about LE in the documentation. PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602 T: 61 2 62689727 F: 61 2 62689777 The information contained in

Non-servlet application

2003-03-23 Thread Mayne, Peter
I have an application that needs to run as a service (on Windows) responding to various events, none of which are HTTP/servlet/JSP related. I could set it up as a separate Windows service (similar to jk_nt_service). However, since there is an instance of Tomcat running already, it would be easier

RE: LE version?

2003-03-23 Thread Mayne, Peter
be run on JDK 1.2+ by adding an XML parser. All the components of this distribution are open source software. This package does not contain JavaMail, Java Activation Framework, Xerces, JNDI or the JDBC Standard Extension. -Original Message- From: Mayne, Peter [mailto:[EMAIL

load-on-startup order

2003-03-23 Thread Mayne, Peter
Tomcat 4.1.18 I have two applications, A and B, where a servlet in B depends on a servlet in A being up, so I have in A's web.xml: servlet ... load-on-startup1/load-on-startup /servlet in B's web.xml: servlet ... load-on-startup5/load-on-startup /servlet which should

RE: load-on-startup order

2003-03-23 Thread Mayne, Peter
the first time. By the way, what are you trying to do? I've never heard of anyone having this kind of requirement/architecture. Just curious. - Original Message - From: Mayne, Peter [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, March 23, 2003 7:42 PM Subject: load

RE: jk2 and passing env vars

2003-03-18 Thread Mayne, Peter
Title: RE: jk2 and passing env vars A web forum is somewhat difficult to read offline. PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602 T: 61 2 62689727 F: 61 2 62689777 -Original Message- From: Chris

RE: JK + client authentication: getRemoteUser() returns null

2003-03-13 Thread Mayne, Peter
Title: RE: JK + client authentication: getRemoteUser() returns null Finally found the problem. I started with JK, and added the /examples section from the auto-generated mod_jk.conf to my httpd.conf: Alias /examples C:/... Directory C:/... ... /Directory When I switched to JK2, I

RE: Configuration Problem with Apache 2.0.44 and Tomcat 4.1.18 on Windows 2000 Server SP3 --- Small Hint

2003-03-13 Thread Mayne, Peter
Title: RE: Configuration Problem with Apache 2.0.44 and Tomcat 4.1.18 on Windows 2000 Server SP3 --- Small Hint Always use a slash / everywhere (not just Apache) for Windows path separators. The only place you have to use backslashes \ is at the Windows command prompt. In particular for

RE: JK + client authentication: getRemoteUser() returns null

2003-03-12 Thread Mayne, Peter
Title: RE: JK + client authentication: getRemoteUser() returns null I've built jk2 2.0.2 against Apache 2.0.44, run it with Tomcat 4.1.18, and still get exactly the same results: everything seems to work except for getRemoteUser() still returning null. There is an entry [error] mod_jk child

RE: Setting javax.net.ssl.trustStore

2003-03-12 Thread Mayne, Peter
List Subject: Re: Setting javax.net.ssl.trustStore What happens if you also set -Djavax.net.ssl.keyStore=c:\... -Djavax.net.ssl.keyStorePassword=password Mayne, Peter wrote: I have an application running in Tomcat 4.1.18 using JDK 1.4.1 on Windows XP that makes connections

RE: JK + client authentication: getRemoteUser() returns null

2003-03-11 Thread Mayne, Peter
Title: RE: JK + client authentication: getRemoteUser() returns null I've reverted to Tomcat 4.0.6, I'm using mod_jk that I've built myself against Apache 2.0.44, and I'm using Ajp13Connector, but getRemoteUser() still doesn't work, and I'm tearing my hair out. Server.xml contains (in

RE: JK + client authentication: getRemoteUser() returns null

2003-03-11 Thread Mayne, Peter
for tomcatAuthentication.. Saludos, Ignacio J. Ortega -Original Message- From: Mayne, Peter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 11, 2003 2:27 AM To: 'Tomcat Users List' Subject: RE: JK + client authentication: getRemoteUser() returns null add ... to jk2

Setting javax.net.ssl.trustStore

2003-03-11 Thread Mayne, Peter
I have an application running in Tomcat 4.1.18 using JDK 1.4.1 on Windows XP that makes connections to https://...;. If I add the web server's certificate's CA to JAVA_HOME\jre\lib\security\cacerts, everything works fine. If instead I use a separate keystore, at the command prompt: set

JK + client authentication: getRemoteUser() returns null

2003-03-10 Thread Mayne, Peter
Title: JK + client authentication: getRemoteUser() returns null I'm using Windows XP Apache 2.0.44 OpenSSL 0.9.7a mod_jk-2.0.43.dll Tomcat 4.1.18 I've followed the instructions at http://www.johnturner.com/howto/winxp-howto.html to set up Apache and Tomcat using JK, with authentication

RE: JK + client authentication: getRemoteUser() returns null

2003-03-10 Thread Mayne, Peter
Title: RE: JK + client authentication: getRemoteUser() returns null Thanks to both of you. I suppose I won't be holding my breath. :-\ I'll try using the Ajp13Connector. PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham, ACT,

RE: JK + client authentication: getRemoteUser() returns null

2003-03-10 Thread Mayne, Peter
you are correct, there is a bug filed for this, Bugzilla Bug 11563 not sure anyone is dealing with it though, Filip -Original Message- From: Mayne, Peter [mailto:[EMAIL PROTECTED]] Sent: Monday, March 10, 2003 4:01 PM To: Tomcat Users List Subject: JK + client

RE: JK + client authentication: getRemoteUser() returns null

2003-03-10 Thread Mayne, Peter
Title: RE: JK + client authentication: getRemoteUser() returns null I just looked through the 4.1.21-beta release notes: it doesn't appear to be fixed there either. Who do we have to bribe around here? :-) PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1,

RE: A question regarding accessing parameters after the ? in a URL

2003-03-06 Thread Mayne, Peter
Title: RE: A question regarding accessing parameters after the ? in a URL The + characters maps to a space. Try : http://localhost:8080/myproject/MyJsp.jsp?id=2=/myproject/mydirectory/MyOtherJSP PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243