RE: Help with manager app

2004-05-04 Thread Richard S. Huntrods
Shane, In this application, Tomcat is the sole server running on the machine. I have Apache running on another machine to serve basic web pages, but the two are not connected at all. The Apache/web/server listens on port 80, while the Tomcat/servlet/server listens on 443 (https). That

RE: Help with manager app

2004-05-04 Thread Richard S. Huntrods
: Richard S. Huntrods [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 1:41 AM Subject: Help with manager app I have a rather urgent problem. I have been using tomcat for several years now, and normally weather the upgrades with some few problems, but nothing serious - until now

Help with manager app

2004-05-03 Thread Richard S. Huntrods
I have a rather urgent problem. I have been using tomcat for several years now, and normally weather the upgrades with some few problems, but nothing serious - until now. My problem - in the old Tomcat, I used the manager application to monitor the number of users accessing the system. In the old

RE: Directory question for the masters...

2004-03-29 Thread Richard S. Huntrods
Yoav, Hi, See the allowLinking attribute: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html. Yoav Shapira Millennium Research Informatics Thank you very much. That's just what I was looking for. That's the problem when you only need to do something once, much after the fact.

Directory question for the masters...

2004-03-27 Thread Richard S. Huntrods
I need to access a specific directory from within tomcat, but I'm having a specific problem and require some advice. I have a link to a file in the servlet, something like https://myserver.com/special-directory/file.zip; If I create the directory as follows:

Re: Upgrading Java Version

2004-01-20 Thread Richard S. Huntrods
David Evans [EMAIL PROTECTED] wrote: Hello all, I looked through the list archives and the jakarta docs, but didn't find any info. What changes, if any, do i have to make to my tomcat configuration if i want to upgrade my java SDK. I would like to do this because of the verisign root

Re: How does Tomcat 5.0.16 process the keystoreFile tag?

2004-01-10 Thread Richard S. Huntrods
Subject: Re: How does Tomcat 5.0.16 process the keystoreFile tag? From: Bill Barker [EMAIL PROTECTED] Date: Fri, 9 Jan 2004 19:26:13 -0800 To: [EMAIL PROTECTED] From a quick look at the code, it seems that Tomcat looks for 'keys/.keystore' relative to the directory that Tomcat was started from.

Problem finding .keystore in change from TC 4.1.27 to 5.0.16

2004-01-09 Thread Richard S. Huntrods
I'm having a problem with SSL keystore location moving from Tomcat 4.1.27 to Tomcat 5.0.16 Here's the 4.1.27 SSL connector code from servlet.xml !-- Define a SSL Coyote HTTP/1.1 Connector on port 443 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=443

How does Tomcat 5.0.16 process the keystoreFile tag?

2004-01-09 Thread Richard S. Huntrods
Greetings! I was usingthe keystoreFile tag successfully with Tomcat 4.1.27. However the same tag does not work as expected with Tomcat 5.0.16. Here's the SSL connector code from server.xml: !-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -- Connector port=443

RE: Have some questions, also possible contract work up for grabs

2004-01-03 Thread Richard S. Huntrods
Graham, Hi everyone, I had some questions regarding Tomcat. Is Tomcat able to handle a steady stream of about 200 years efficiently without crashing, being unreliable, etc.. ? I personally don't know the limitations of it as I am fairly new to Java. Assuming your application is written and

Re: Help! Anyone successfully install a purchased certificate?

2003-02-21 Thread Richard S. Huntrods
. We'll find out soon and I'll let everyone know whether you can go with InstantSSL or not! :-) -Matt --- Richard S. Huntrods huntrods@xxx wrote: *** I am re-sending this email with the attachment 'kt.bat' removed and the text of the batch file included in email body - after being flooded

Re: Help! Anyone successfully install a purchased certificate?

2003-02-20 Thread Richard S. Huntrods
*** I am re-sending this email with the attachment 'kt.bat' removed and the text of the batch file included in email body - after being flooded with anti-virus messages from a couple dozen ISP's that have labelled '.bat' files as potential viruses. *** Matt, I'm sorry I didn't see this

Problem reloading data...

2003-02-18 Thread Richard S. Huntrods
I am having a strange problem reloading data into one copy of MySQL. Details: production server: MySQL - Ver 8.38 Distrib 4.0.5a-beta, for sun-solaris2.8 on sparc development system: MySQL - Ver 8.38 Distrib 4.0.5a-beta, for Win95/Win98 on i32 test system: MySQL - Ver 8.38 Distrib

Apology...

2003-02-18 Thread Richard S. Huntrods
Sorry, folks. I sent an email to this group about MySQL, when it CLEARLY should have gone to the MySQL list instead. Please accept my apologies. Cheers, -Richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Redirect port 80 requests to 443

2002-06-07 Thread Richard S. Huntrods
John Roth said: This seems simple, but ... I am running Tomcat 4.0.3, standalone on w2k. I would like all requests to http://oursite/ to be automatically redirected to https://oursite/ but am not finding an elegant/simple solution. Below is a snippet from server.xml: Why not simply

RE: Who use Tomcat as a stand-alone server in production environment ?

2002-04-04 Thread Richard S. Huntrods
Anthony, == Anthony Eden [EMAIL PROTECTED] I was unable to get it working with my Thawte certificate (which works fine in Apache). After some research I determined that there is an issue with the JSSE from Sun which prevents certain certs from working. Has this changed recently?

RE: Tomcat 3.2.3 and SSL

2002-03-05 Thread Richard S. Huntrods
Paul, The protocol https is hard-wired to port 443. Using port 8443 as you have done works, but only with the hardcoded port number in the URL, as you have found out. To make Tomcat SSL work using https, you must modify the SSL port used - in server.xml. Change 8443 to 443 and restart Tomcat.

How to redirect port 8080 to port 443?

2002-02-14 Thread Richard S. Huntrods
Greetings! I am moving from an insecure to a secure server for Tomcat. Currently, I have both ports 8080 (for http) and ports 443 (for https) enabled in my server.xml.file. Now I have must remove port 8080 (insecure). Is there a way to redirect port 8080 to port 443 within server.xml? Is

Silly little error with JBoss-Tomcat and EJB's...

2002-02-13 Thread Richard S. Huntrods
I have a silly little error trying to compile a java program that implements EJBs and is to run on Tomcat / JBoss. The compiler will not compile the source code - complaining that: import javax.ejb.EJBObject; does not exist. I've found it in the J2EE javadocs (on Suns web site), and have (I

RE: Please Help - Tomcat serves HTTPS with self-signed cert, but not Thawte cert!

2002-02-06 Thread Richard S. Huntrods
Paul, It is not strange - just very, very convoluted. I have spent 2 months getting this stuff to work, and am about to order my cert from Thawte. There are a couple of problems. First, all certs in your keystore must have the 'tomcat' alias. Second, the type of certificate ordered from a

PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...

2002-01-29 Thread Richard S. Huntrods
Greetings! Well, my ISP nuked your last issue of the digest (tomcat-user Digest 29 Jan 2002 07:19:31 - Issue 352) because it was emailed with the Party virus intact. I know this list has been talking about SPAM removal, but now it is not only annoying, but has begun to SERIOUSLY IMPACT the

SSL and certificates, AGAIN

2002-01-28 Thread Richard S. Huntrods
Greetings! Three quick question to all who have SSL working with signed certificates (not just self-signed): 1. What provider did you use? Verisign, Entrust, Thawte, etc? 2. Has anyone gotten signed certificates working with Thawte certification? 3. Would you be willing to discuss this by

SSL and signed certificates...

2002-01-17 Thread Richard S. Huntrods
Greetings! I am hoping someone can provide some assistance regarding SSL and signed certificates. The Tomcat SSL-how-to FAQ stops just short of where I need to be. I have self-signed certificates working just fine with Tomcat 4.0.1. I created a 'csr' request from the working certificate

A problem with manager and Valves...

2001-12-24 Thread Richard S. Huntrods
I believe the RemoteAddrValve uses regular expression, so try a leading period as I'm not sure how reg exp treats a leading asterik. '.*' should allow all Charlie I also noticed that this should be 'allow', not 'accept' Charlie Charlie, Thank you so much. It turned out to be the allow

Re: What does it mean - \Name on certificate does not match name of the site\

2001-12-22 Thread Richard S. Huntrods
Pae wrote: It usually means that the name, e.g., Common Name, in your certificate and the name of your server, e.g., http server, where the certificate originated from don't match. How did you created the certificate? Ex, openssl? Pae Pae, Thank you for your assistance so far. I'm using the

A problem with manager and Valves...

2001-12-22 Thread Richard S. Huntrods
Greetings! I have the manager servlets working quite fine - even have the HTTP version running. I added the user to tomcat-users.xml, edited server.xml to enable the manager (it was commented out), and even edited the manager/WEB-INF/web.xml to change it to HTMLManagerServlet. However, if I add

Re: Tompcat - Manager Functions without the Manager?

2001-12-21 Thread Richard S. Huntrods
Thanks, Craig - this is exactly what I was looking for. Cheers, -Richard On Thu, 20 Dec 2001, Richard S. Huntrods wrote: Date: Thu, 20 Dec 2001 09:23:11 -0700 From: Richard S. Huntrods [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED

What does it mean - Name on certificate does not match name of the site

2001-12-21 Thread Richard S. Huntrods
Greetings! Last post for a while - I promise! G What does it mean - Name on certificate does not match name of the site? I did the self-signed certificate thing for SSL. There are three messages that appear on the pop-up dialog when you access the secure site. The first says The certificate

Re: What does it mean - Name on certificate does not match name of the site

2001-12-21 Thread Richard S. Huntrods
Greetings! Thanks for the replies so far. Unfortunately, I haven't got it to work yet. I'm putting various combinations of server name / domain name in the Company Org Unit field, but to no effect. Is there a way to view the two fields while running in a browser, i.e. what the server is

Can you view SSL without the https prefix?

2001-12-20 Thread Richard S. Huntrods
Greetings! Is it possible to view an SSL document without using the https prefix? Before I enabled SSL on my servlets, I was using port 8080. Now I have SSL working, and have disabled the normal non-SSL port 8080. Instead, I am using SSL on port 8080. This makes my application ONLY run with

Tompcat - Manager Functions without the Manager?

2001-12-20 Thread Richard S. Huntrods
Greetings! For security purposes, my tomcat server is behind a firewall, with the firewall forwarding port 8080 requests to the server (as port 8080). All works very well. FTP and Telnet are blocked by the firewall as well. Only port 80 (another machine running Apache to serve a web site) and

RE: Can you view SSL without the https prefix?

2001-12-20 Thread Richard S. Huntrods
I can change any references internal to my system (index.html, etc) to use https, but some clients have bookmarked the servlet page, rather than the access page. Is there a way to redirect http://xx.xx.xx.xx:8080/index.html; to *actually* call up the page

Re: Can you view SSL without the https prefix?

2001-12-20 Thread Richard S. Huntrods
You can't have http and https listen on the same port since https has an entire SSL handshake that must take place before the GET/POST transfer takes place. But you could have the 8080 redirect to something like 8081 with HTTPs running on that instead. Of course, the correct way is to use port

HTTP and HTTPS on two servers...

2001-12-20 Thread Richard S. Huntrods
Greetings! Well, the more you learn, the more you know how little you know! G Current status: I have two servers, one with Apache only and one with Tomcat only. This is for historic reasons of server load, but serves me very well. The Apache server listens only to port 80. All works well.

Re: HTTP and HTTPS on two servers...

2001-12-20 Thread Richard S. Huntrods
, but the Tomcat machine was using another as the defaultrouter. I edited defaultrouter to point to the router that was doing the forwarding, rebooted, and everything works! Cheers, -Richard Richard S. Huntrods wrote: Greetings! Well, the more you learn, the more you know how little you know! G

SSL and W2K vs. Solaris - SOLVED

2001-12-19 Thread Richard S. Huntrods
Greetings! I have solved the problem I was having with getting SSL to work on Solaris. As you may recall, I had it all working on W2K with Tomcat 4.0.1, but could not get it to run under Solaris 8 (SPARC). The problem was simple, as was the solution. Java 1.2 (default Java on Solaris 8) is

Re: Assistance please - fixed W2k 4.0 vs 4.0.1 problem, created another!

2001-12-18 Thread Richard S. Huntrods
Richard, I don't mess with CLASSPATH or the copying the jar files to JDK/jre/lib/ext directory. I use JBuilder 5 Personal to compile my java classes. That way you just point the IDE to the libs that you want to include in the project. You can tell the IDE to use the jar's that Tomcat is

Question on SSL...

2001-12-17 Thread Richard S. Huntrods
Greetings! I have SSL working with a self-signed certificate on Tomcat 4.0 - on a Win2K box. The only difficulty I had was that the jsse jar files had to be placed in jre/lib/ext, as the JSSE_HOME variable did not work for me. Now I am trying to move this work to Solaris. I have Tomcat 4.0.1

Assistance please - fixed W2k 4.0 vs 4.0.1 problem, created another!

2001-12-17 Thread Richard S. Huntrods
Greetings! I have solved my problem on W2K where Tomcat 4.0 worked, but Tomcat 4.0.1 did not. I simply moved some jar files (most importantly servlet.jar) from JDK/jre/lib/ext into somewhere else (a temp directory). Now Tomcat 4.0.1 runs perfectly. Obviously the occurance of TWO servlet.jar

Re: Question on SSL...

2001-12-17 Thread Richard S. Huntrods
Greetings! Weird. Here's some more info on my attempts to get SSL working on Solaris with Tomcat 4.0.1. In a previous email I mentioned that I generated the .keystore file on W2K and just copied it to Solaris. I just tried to generate a .keystore file on Solaris, and got this error message:

Re: Assistance please - fixed W2k 4.0 vs 4.0.1 problem, created another!

2001-12-17 Thread Richard S. Huntrods
Greetings! Well, I fixed the problem completely! I checked the jar files I was using in JDK/jre/lib/ext against the ones in Tomcat 4.0.1, and the file servlet.jar was larger and newer. Although I'm using JDK 1.3 on my machine, servlet.jar (and a number of other JAVAX jar files) come from the

Try a different approach - What's wrong with catalina.session???

2001-12-13 Thread Richard S. Huntrods
Greetings! Let's try this again. From the error message below, it would appear that there is something WRONG with org.apache.catalina.session.StandardSession. Note from the error that we get a java.lang.NoSuchMethodError - the method does not exist. After reading the Catalina Javadocs, it

Re: Try a different approach - What's wrong with catalina.session???

2001-12-13 Thread Richard S. Huntrods
, -Richard =the code== /** * Title: SessionTestServlet * * Description: Session Test Servlet - duplicate Catalina Session error * * Copyright: Copyright (c) 2001, Huntrods Consulting Inc. * * Company: Huntrods Consulting Inc. * Author: Richard S. Huntrods

Re: Try a different approach - What's wrong with catalina.session??

2001-12-13 Thread Richard S. Huntrods
Hmmm the difference between these two constructors is, that the one which takes a StandardSession upcasts it to HttpSession before assigning it to it's session attribute, this should not cause this problem, as StandardSession does implement all HttpSession methods (otherwise the compiler

Re: Try a different approach - What's wrong with catalina.session???

2001-12-13 Thread Richard S. Huntrods
Greetings! Craig said... This kind of problem indicates that your Tomcat installation is somehow corrupted. If it were really a bug, it would be happening to everyone, not just to you. I suggest that you do the following: * Make sure you do not have anything in $JAVA_HOME/jre/lib/ext

Re: Try a different approach - What's wrong with catalina.session???

2001-12-13 Thread Richard S. Huntrods
Thanks, Mika. I tried this servlet in Tomcat 4.0.1: http://localhost:8080/examples/servlet/SessionExample and it works in 4.0.1 UNTIL I press the URL encoded link. Then I get the exact same error message as I've been reporting. Also, typing in the Name of Session... and pressing Submit Query

Why 500 error in Tomcat 4.0.1 but NOT 4.0???

2001-12-12 Thread Richard S. Huntrods
I have a servlet that runs fine in Tomcat 4.0 on a Win2000 machine. If I run the same servlet, using the same server.xml, in the same directory structure in Tomcat 4.0.1, I get the following error. If I run this same servlet, with the same server.xml, in the same directory structure on Tomcat

Has Tomcat lost the ability to display simple HTML pages?

2001-12-11 Thread Richard S. Huntrods
Greetings! I've just been informed of a strange problem. In my webapps directory, under the sub-directory ROOT, I have a file called index.html. In Tomcat 3, this file would display if you called http://xxx.xxx.xxx.xxx:8080/; Now that I'm running Tomcat 4.0.1, this page will no longer

What happened to Session.setAttribute in Tomcat 4.0.1???

2001-12-07 Thread Richard S. Huntrods
I have servlet code that worked perfectly this morning on Tomcat 4.0.0. It uses the Session to store and retreive some data thusly: public void putSession(HttpServletRequest request) { if(request != null) { HttpSession session = request.getSession(true); if(session != null) {

Re: What happened to Session.setAttribute in Tomcat 4.0.1???

2001-12-07 Thread Richard S. Huntrods
1.2.2, while this W2K box is running JDK 1.3. It's as if key methods have been removed from the servlet.jar. -Richard On Fri, 7 Dec 2001, Richard S. Huntrods wrote: Date: Fri, 07 Dec 2001 15:48:00 -0700 From: Richard S. Huntrods [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED

Help: diff between tomcat 4.0 and tomcat 4.0.1

2001-12-07 Thread Richard S. Huntrods
I am having the exact same problem. Interestingly, 4.0.1 runs the SAME exact code (.class files) without error on a Solaris 2.8 (Sparc) box. BUT... I am also using W2K, but with JDK 1.3. Same exact problem, same exact error messages. So - to echo Nirmal... WHAT *IS* the difference with 4.0.1.

Quick Question...

2001-12-03 Thread Richard S. Huntrods
Greetings! I have a quick question. I was running just fine on Tomcat 3.2.3. I have built servlets, which sit in webapps/myapp/WEB-INF/classes/myapp/*.class In Tomcat 3.2.3, this structure was picked up when Tomcat started, and the servlets ran perfectly. Note - there was no need for web.xml