Tomcat and Apache

2003-02-06 Thread Richard Johnstone
I apologise for sending this as I know there are about 50 posts daily on this subject but I can't get the 2 of these to link. I have checked the archives and help docs and everything seems in place but when I call my servlet without the 8080 port I get nothing. Looking at the apache logs it says

Re: Antwort: Tomcat and Apache

2003-02-06 Thread Richard Johnstone
acceptCount=10 debug=0/ Then it should work. Dietmar Richard Johnstone [EMAIL PROTECTED] am 06.02.2003 12:02:01 Bitte antworten an Tomcat Users List [EMAIL PROTECTED] An:[EMAIL PROTECTED] Kopie: Thema: Tomcat and Apache I apologise for sending this as I know there are about 50 posts daily

RE: Tomcat and Apache

2003-02-06 Thread Richard Johnstone
with the generated config. Looks also like you are using Solaris, perhaps my Solaris HOWTO can help: http://www.johnturner.com/howto John -Original Message- From: Richard Johnstone [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 6:02 AM To: [EMAIL PROTECTED] Subject: Tomcat

RE: Tomcat and Apache

2003-02-06 Thread Richard Johnstone
Yup, avcweb is just a copy of examples. [EMAIL PROTECTED] 02/06/03 02:26pm I havent seen a context definition anywhere in your posts, are you creating one? -b On Thu, 2003-02-06 at 09:28, Richard Johnstone wrote: OK, took all the stuff out of httpd.conf so all

RE: Tomcat and Apache

2003-02-06 Thread Richard Johnstone
-Original Message- From: Richard Johnstone [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 9:28 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat and Apache OK, took all the stuff out of httpd.conf so all that is in there in the loadmodule and include In mod_jk.conf it has

RE: Tomcat and Apache

2003-02-06 Thread Richard Johnstone
by getting config snippets, so I am trying to provide a description of the debugging method that I would use if I was having the same problem. HTH John -Original Message- From: Richard Johnstone [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 9:53 AM To: [EMAIL PROTECTED

Time Out

2003-01-02 Thread Richard Johnstone
Hi, I have just built a new webserver and I am having a strange problem. The first few times I try to call a servlet it times out. Then eventually it will just call as normal and run ok. Then when I leave it for a while and come back I get the same issue. I looked in the logs and this was the

Java.util.zip.ZipException : Error openning Zip File

2002-12-02 Thread Richard Johnstone
Hi When I try and start tomcat I am getting this error. Does anyone know what causes it? Rich The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or

Re: storing passwords

2002-11-22 Thread Richard Johnstone
You could just store them in your database. All you need to do is encrypt them using a simple encryption method public static byte[] encrypt(String x) throws Exception { java.security.MessageDigest d =null; d = java.security.MessageDigest.getInstance(SHA-1); d.reset();

Re: Tomcat Application on Port 443 or 8080?

2002-11-13 Thread Richard Johnstone
Having just managed to get this working I can finally help someone. Hurray. You need to setup the connectors between apache and tomcat Try http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html for the files you need. To set it up, follow the docs. I have found this site

oracle.jdbc.pool not killing extra connections

2002-11-13 Thread Richard Johnstone
I have a connection pool based on OracleConnectionCacheImpl from oracle.jdbc.pool When I want a connection I call getConnection and it all works fine. When I start to up the usage on the site It has to create a few new connections which is ok, but when these new connections are finished with, they

Re: oracle.jdbc.pool not killing extra connections

2002-11-13 Thread Richard Johnstone
I think I have sussed the problem. It was to do with my max/min connections. I had min 5 and max 30 I assumed that all connection past 5 would be killed when done with when infact it is any connections beyond 30 that are binned (provided that cache scheme is DYNAMIC). So if you only want 5

Oracle connection pool

2002-11-13 Thread Richard Johnstone
Hi I foolishly stated in my last mail that I had fixed this problem when I might of known I haven't. I set the min connections to 2 and the max connections to 3. I fire off some requests and it just creates new connections when needed. These new connections seem to be redundant though as the same

Tomcat from Apache Connectors

2002-11-08 Thread Richard Johnstone
First off thanks for the SSL help. I have decided to use SSL through apache and not standalone on Tomcat after your advice. Now I am having problems linking Tomcat into Apache. I put all the bits in from the HOWTO doc and apache and tomcat both startup fine My localhost runs ok and my

RE: Tomcat from Apache Connectors : More Info

2002-11-08 Thread Richard Johnstone
to help. Which connector, which version, and the relevant connector config files and portions (not the whole thing) of httpd.conf as necessary. John -Original Message- From: Richard Johnstone [mailto:Richard.Johnstone;appleyard-contracts.co.uk] Sent: Friday, November 08, 2002 6:29 AM

RE: Tomcat from Apache Connectors : More Info

2002-11-08 Thread Richard Johnstone
to map your URLs to the only path that it knows about, which is its DocRoot. JkMount commands look like this: JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 Do you have these in httpd.conf? If so, what are they? John -Original Message- From: Richard Johnstone

Setting up aliases (Maybe?)

2002-11-07 Thread Richard Johnstone
Hi I have managed to get things pretty much set up except for one thing. I have the DocumentRoot in my apache conf to webapps\myweb\html This is fine and runs my html pages. But when I try and access my servlets (in webapps\myweb\WEB-INF\classes\myclasses) I get bumped off. Looking at the logs it

Tomcat-Apache SSL

2002-11-07 Thread Richard Johnstone
After reading the installing SSL doc for tomcat it says you don't need it on Tomcat, just have it on apache and you are ok. I have an apache SSL port (443) and this is working ok. I have my tomcat application on 8080, also works ok. What I don't understand is the link between these 2. Do I have to

DB Connection issue

2002-11-06 Thread Richard Johnstone
I have a system running on suse 7.3 and it is all working fine I have since tried to build another box for deployment and I get an error when connecting to the DB java.sql.SQLException: Io exception: The Network Adapter could not establish the connection at

Re: DB Connection issue

2002-11-06 Thread Richard Johnstone
I haven't got oracle installed on either server. my url connection is jdbc:oracle:thin:@192.2.100.9:1521:test for both servers. the classes12 is in the classpath [EMAIL PROTECTED] 11/05/02 11:31pm Richard J java.sql.SQLException: Io exception: The Network Adapter could not establish the

DBConnection issue : UPDATE

2002-11-06 Thread Richard Johnstone
I have found out the issue with this but am more puzzled than before. If I re-comment out Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=false maxActiveSessions=-1 minIdleSwap=-1

Off Topic Design Question

2002-08-19 Thread Richard Johnstone
Sorry to post this here but maybe someone on this list can help. Does anyone know of any tools for building flow documentation between pages? I have a load of servlets and want to be able to build up the process flow. Ta Rich The information contained in this communication is intended solely

Refresh Issue

2002-08-15 Thread Richard Johnstone
Hi I am having some problems with the refreshing of servlets. When I call a page from an HTML form submit it is ok. If I use a link, if the page has already been called it pulls that page back. Only when I refresh the page will it reload with the correct information. It seems that the page is

Re: Refresh Issue

2002-08-15 Thread Richard Johnstone
By cache control, do you mean meta content=0 http-equiv=expires I put this in as one of the archives mentioned it but no help. Still picks up a cached page [EMAIL PROTECTED] 08/15/02 12:48pm Check your header cache control - Original Message - From: Richard Johnstone [EMAIL PROTECTED

Re: templating system?

2002-05-24 Thread Richard Johnstone
I don't know about that but I use a base servlet which has all the borders etc for the page. You can then have a generic class which converts a vector/result set to display a query in HTML format [EMAIL PROTECTED] 05/24/02 03:13pm Hello All, I was wondering if there were any projects out

A bit off topic

2002-05-02 Thread Richard Johnstone
I know this is a bit off topic but I can't seem to get an answer from anywhere. Has anyone been able to load a Java array from a servlet into a javascript array within the HTML page generated by the servlet? Is it possible? The information contained in this communication is intended solely for

JDBC instead of SQLJ

2002-04-18 Thread Richard Johnstone
Having read a few post about the pain of getting SQLJ to work, does this mean that most people are just using JDBC calls?? If so, is there an easy way to pass in a query string like in SQLJ sql { select x from dual } instead of having to do qryString = select x +

JDBC Drivers

2002-04-16 Thread Richard Johnstone
I don't know if I should post this here or not but here goes I am trying to connect to an oracle DB using a thin connection. I have downloaded the classes12.zip file and put it in $TOMCAT_HOME/common/lib but I am getting a java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver Do I

RE: JDBC Drivers

2002-04-16 Thread Richard Johnstone
Thats fixed it. Cheers Matey [EMAIL PROTECTED] 04/16/02 10:27am rename the zip to .jar -Original Message- From: Richard Johnstone [mailto:[EMAIL PROTECTED]] Sent: 16. apríl 2002 09:34 To: [EMAIL PROTECTED] Subject: JDBC Drivers I don't know if I should post this here