Page Caching Problem

2002-12-22 Thread Ingeniak Development
Hello, I'm having some problems with page caching. I am using IE 5.5 and I have my browser to always get new pages. I even have no-cache meta tag set. When I make changes to pages and upload them via FTP, I don't see my changes until I restart the web application. I'm using Tomcat version

DBCP trouble in 4.12

2002-12-22 Thread shawn
Hello, Not at all sure if this is my own problem or a bigger issue but I moved from 4.06 to 4.12 recently and... The example DBCP given for mysql works fine for me with mysql-connector-java-2.0.14-bin.jar Thanks for the nice docs! However, when I move the code to an app I'm trying to move, I

Error in autocompiling JSP files in 4.1.12 standalone

2002-12-22 Thread Kailash Kalyani
Dear all, When running a jsp file for the first time, I get the following runtime error from Tomcat. I'm running Windows 98 with Java 1.4 SDK. (error report at bottom of message) My classpath and other relevant env settings in Windows 98 CATALINA_HOME=C:\jakarta-tomcat-4.1.12

Re: Checksum error when using 4.1.18 download...

2002-12-22 Thread Kief Morris
Rakesh Kant typed the following on 23:02 21/12/2002 -0800 I downloaded jakarta-tomcat-4.1.18.tar.gz yesterday to my windows 2000 machine and then binary ftped to my sun solaris machine. There I tried to first gunzip and then un-tar the file. But I am getting directory checksum error. Anyone

RE: Configuring mod_jk - Again! [getting desperate]

2002-12-22 Thread Kief Morris
Denise Mangano typed the following on 22:41 21/12/2002 -0500 Sorry, should have posted this... When I type in http://localhost/examples/servlets/ I now get a Forbidden message saying that I do not have permission to access /examples/servlets/index.html. This message is coming from my Apache at

RE: Configuring mod_jk - Again! [getting desperate]

2002-12-22 Thread Denise Mangano
I am running Linux 7.3. I checked all relevant pages and directories. All pages are at least read by everyone. I can get to my index page no problem which is in the /var/www/html directory. It is when I try to access anything in Tomcat without using the port number that I get this permissions

Re: progress, but still no mod_jk

2002-12-22 Thread Jerry Ford
Denese: libexec/mod_jk.so is correct---that's where mod_jk is located. So I added ApacheConfig modJk=/usr/local/apache-1.3.27/libexe/ to httpd.conf, as suggested in the catalina.out error message (thought maybe a full path would help), but Apache won't start---says ApacheConfig is invalid.

Re: Configuring mod_jk - Again! [getting desperate]

2002-12-22 Thread Jerry Ford
Denise: I have not moved the servlet or jsp example HTML files; they are in the tomcat tree. In addition, I wrote my own HelloWorld servlet and installed it in tomcat/webapps/j_tools---that's where the HTML and the servlet's WEB-INF directory are located. When I run Apache without Tomcat (it

javax.servlet does not exist?

2002-12-22 Thread Jerry Ford
I am trying to get a working mod_jk.so and have not been able to pull it off. I am trying once more to build it from the files obtained in jakarta-tomcat-connectors-4.1.12.tar but when I run ant in the jk directory, the build fails because javac cannot find javax.servlet.http. JAVA_HOME

Re: javax.servlet does not exist?

2002-12-22 Thread Jerry Ford
Sorry, one additional fine point---I know javax is available because in addition to my HelloWorld servlet, I also successfully compiled a servlet that uses the JavaMail API. Jerry Jerry Ford wrote: I am trying to get a working mod_jk.so and have not been able to pull it off. I am trying

Re: javax.servlet does not exist?

2002-12-22 Thread Jerry Ford
Well, ah, oopsI seem to have shuffled things around since building my test servlets, I have added a CLASSPATH pointing to servlets.jar in $CATALINA_HOME/common/lib and all is well. For this step, at least. Ant builds. Jerry Jerry Ford wrote: Sorry, one additional fine point---I know

DataSource error (DBCP)

2002-12-22 Thread sunil . kumar
hi all, i'm new to tomcat... if my queries are foolish...pl forgive. :) my configuration is RH Linux 8/MYSQL 3.../TOMCAT 4.1.8 all the examples provided are working correctly... i tried JNDI Datasource HOW-TO (more details in the URL)

more progress, but still no mod_jk

2002-12-22 Thread Jerry Ford
I am back to being able to open my webapps in Apache without a port 8080 specification: http://localhost opens Apache's intro page http://localhost:8080 opens Tomcat's intro page, and servlets are available and functional http://localhost/examples/servlets (no port number) opens the servlets

Directory for classes

2002-12-22 Thread Ryuji Yokoyama
Hello All! I just upgraded Tomcat 4.0.6 to 4.1.18, but I can't figure out where I should put my class files. I tried following directories. $CATALINA_HOME\common\classes $CATALINA_HOME\webapps $CATALINA_HOME\webapps\ROOT However, none of them worked. In the case of Tomcat 4.0, I can put

SSL Certificate

2002-12-22 Thread Rafael Fernandez
Can somebody send me a link where I can find information on making my own SSL certificate?

Re: SSL Certificate

2002-12-22 Thread Paul Yunusov
On Sunday 22 December 2002 04:41 pm, Rafael Fernandez wrote: Can somebody send me a link where I can find information on making my own SSL certificate? http://www.google.com/search?q=own+ssl+certificate Paul -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

AIX JVM Bug?

2002-12-22 Thread Andy Meadows
On two separate boxes running AIX 4.3.3 and Java for AIX 1.3.1 (distributed by IBM), I have run into a problem where session state is not being persisted and it would seem that the servlet context is failing too. My problem exists solely on AIX. Using Tomcat 4.1.x on Windows 2000 and RedHat Linux

[ot] Re: SSL Certificate

2002-12-22 Thread Jason Pyeron
now for some very OFF TOPIC HELP, any more than this needs to be directed to a [open]ssl group, or consulting comapany (shameless plug) for windows of u*nx? I reccommend the openssl utility. windows: http://www.cygwin.com/setup.exe install everything so you dont have questions. redhat7.3:

Re: Directory for classes

2002-12-22 Thread Paul Campbell
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html the url above discusses the organization in detail. It also discusses how to use ant to build and deploy and test you application. To answer what I think your question: I put the classes in:

install vs. deploy

2002-12-22 Thread Enoch Root
Hi all; I've a certain webapp that works when I deploy it and doesn't when i install. Specifically, in the latter case it fails to establish database connection. I'm using Ant tasks for the job. Could anyone guess what may cause it? Another minor problem is, when I do ant dist, though I do

Re: why can't tomcat 4.1.17 can't find javamail?

2002-12-22 Thread jks
On Fri, 20 Dec 2002, Dodd Gatsos wrote: Looks like you are having this problem from a JSP? Try doing it in a Servlet and see if you get the same problem. Haven't seen your code and I'm really not sure about this, but it may not be a problem with Tomcat finding the jar file. You may need

Re: Directory for classes

2002-12-22 Thread Peng Tuck Kwok
Classes for your webapps go into the /{webapp directory}/WEB-INF/{lib or classes} . Ryuji Yokoyama wrote: Hello All! I just upgraded Tomcat 4.0.6 to 4.1.18, but I can't figure out where I should put my class files. I tried following directories. $CATALINA_HOME\common\classes

RE: DataSource error (DBCP)

2002-12-22 Thread Galbayar Dorjgotov
copy mysql jdbc driver to tomcat/common/lib directory -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 3:09 AM To: [EMAIL PROTECTED] Subject: DataSource error (DBCP) hi all, i'm new to tomcat... if my queries are foolish...pl

Re: Configuring mod_jk - Again! [getting desperate]

2002-12-22 Thread Bill Barker
Apache requires at least rx permissions on all directories upto and including $CATALINA_HOME/webapps/examples/servlets. You have to check the permissions all the way up the tree. Denise Mangano [EMAIL PROTECTED] wrote in message

ClassCastException Conn=dataSource.getConnection();

2002-12-22 Thread shawn
I am getting a java.lang.ClassCastException from Connection conn = datasource.getConnection(); in the folowing: try { Context ctx = new InitialContext(); if(ctx == null ) {throw new Exception(Boom - No Context);}

RE: Configuring mod_jk - Again! [getting desperate]

2002-12-22 Thread Denise Mangano
Bill, As of right now starting from my tomcat folder down, permissions are 774 (rwx owner and group, r other). The only variant is that my webapps folder (including everything in it) has 775 (rwx owner and group, rx other). What is odd is that the jsp files that I uploaded I can see without

Re: Unhandled Exceptions in 4.1.18

2002-12-22 Thread Bill Barker
Tomcat User [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have been taking a look at the source for 4.1.18 - and have noticed a few problems with three classes in the org.apache.catalina.mbeans package... Namely - unhandled exceptions in the following

Re: Checksum error when using 4.1.18 download...

2002-12-22 Thread Bill Barker
Kief Morris [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Rakesh Kant typed the following on 23:02 21/12/2002 -0800 I downloaded jakarta-tomcat-4.1.18.tar.gz yesterday to my windows 2000 machine and then binary ftped to my sun solaris machine. There I tried to

Re: Configuring mod_jk - Again! [getting desperate]

2002-12-22 Thread Jerry Ford
Denise: Once Apache starts up, it runs as user nobody, not root. Jerry Denise Mangano wrote: Bill, As of right now starting from my tomcat folder down, permissions are 774 (rwx owner and group, r other). The only variant is that my webapps folder (including everything in it) has 775 (rwx

Re: progress, but still no mod_jk

2002-12-22 Thread Bill Barker
This would be because ApacheConfig goes in Tomcat's 'server.xml' file (except with a different syntax). The log message could be better (it's left over from Tomcat 3.3) :-(. The warning is simply because Tomcat has no way of knowing about your Apache install, so it is simply telling you that it

Re: Configuring mod_jk - Again! [getting desperate]

2002-12-22 Thread Bill Barker
You need 775 (or at least 5 on the last digit). Apache requires x permissions (which, for a directory means list rather than execute on *nix systems) on the directories. Apache will do a tree-walk from '/' to your directory incase you have any '.htaccess' files installed. Of course, it's [OT]

Re: ClassCastException Conn=dataSource.getConnection();

2002-12-22 Thread Andy Meadows
It's because jdbc is not a datasource, it's a container (or something similar. I have not the time to look it up). In your server.xml/web.xml files you should have a resource that's probably named jdbc/myConnection. Your code should read dataSource2=(DataSource)ctx.lookup(

Re: progress, but still no mod_jk

2002-12-22 Thread Jerry Ford
Bill: I added the listener line exactly as you showed it (actually, the line was already there but without the modJk=... part), and I still get these messages in catalina.out: mod_jk location: /usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/libexec/mod_jk.so Make sure it is installed

Still problem with directory

2002-12-22 Thread Ryuji Yokoyama
Hello All! Thank you for responding my previous post. I still cannot figure out the correct location to put class files. I created WEB-INF/classes directory under $CATALINA_HOME/webaaps directory. Then I put my class file into $CATALINA_HOME/webaaps/WEB-INF/classes. And I pointed

Re: JSP to Servlet to JSP pathing issue. Relative PathingPlease help.

2002-12-22 Thread Anthony Ikeda
This is something that many people have problems understanding. The concept of Forwarding is not to redirect the user to another site but to forward functionality to another JSP/Servlet. Forwarding has no client side control or interaction, all your doing is asking the web container to move the

Server Hangs Up when lookup for jndi name is made. (URGENT)

2002-12-22 Thread Ashruf Hussain
Hi Tomcat Users, Given below are server.xml and web.xml entries and code to access dbcp resource from servlet. When servlet is looking up for jndi name server hangs up with no response, with 100% cpu busy signal on win2k box. With no exception message logged logs files. I using type 4 jdbc3.0

RE: [OT] Configuring mod_jk - Again! [getting desperate]

2002-12-22 Thread Denise Mangano
My apologies if I was getting off topic, but thank you for your help just the same. I made some further permission changes, and I can now access the html files - having a different problem and will post new thread. Thanks again. Denise -Original Message- From: Bill Barker [mailto:[EMAIL

Re: Robert Sowder's howto for JK2 in Windows

2002-12-22 Thread Chris McCabe
Have you ever tried running with Apache and JK2 with both secure and non-secure pages (https and http)? I am curious if anyone has ever done it successfully and if so what the magic formula is. For some reason the URL mapping is not done in Apache for https requests when using JK2, so it

Re: progress, but still no mod_jk

2002-12-22 Thread Bill Barker
Sorry, my fault. ApacheConfig requires the full path to mod_jk.so to suppress the warning. Specifying the correct relative path will work fine with Apache (and just create the warning in the log that can be safely ignored). Jerry Ford [EMAIL PROTECTED] wrote in message [EMAIL

Re: Still problem with directory

2002-12-22 Thread Paul Campbell
1. I think you may want to say $CATALINA_HOME/webapps/YOUR_PROJECT_NAME_HERE/WEB-INF/classes/package/names/actual.class. The change is that you specify a context name. 2. You will use that context name as follows: . http://localhost:8080/YOUR_PROJECT_NAME_HERE/servlet/package/names/MyServlet or

Re: [OT] Configuring mod_jk - Again! [getting desperate]

2002-12-22 Thread Bill Barker
I considered your post on-Topic: I was just trying to prevent it from drifting :-). AFAIK, there are at most a couple of Apache/httpd developers subscribed to this list (and, I'm not one of them), so I just wanted any Apache/httpd related thread to jump to the httpd-users list. Glad that I