TC 4.1.16 : java.lang.ClassNotFoundException: compressionFilters.CompressionFilter

2002-12-08 Thread Dom
Win2K, j2sdk1.4.1_01, TC 4.1.16 fresh install from zip When I start TC, I get in examples_log : 2002-12-08 12:23:43 WebappLoader[/examples]: Deploying class repositories to work directory D:\jakarta-tomcat-4.1.16-LE-jdk14\work\Standalone\localhost\examples 2002-12-08 12:23:43

RE: SSL Exceptions

2002-12-08 Thread mech
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14164 Upgrade to 4.1.14+ -Original Message- From: Aleksandr Shneyderman [mailto:[EMAIL PROTECTED]] Sent: Freitag, 6. Dezember 2002 19:20 To: [EMAIL PROTECTED] Subject: SSL Exceptions I have configured the tomcat (4.1.12) as a

Re: TC 4.1.16 : java.lang.ClassNotFoundException: compressionFilters.CompressionFilter

2002-12-08 Thread Dom
I had installed not from the zip file, but from the tar.gz file ! Dom - Original Message - From: Dom [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 08, 2002 12:41 PM Subject: TC 4.1.16 : java.lang.ClassNotFoundException: compressionFilters.CompressionFilter Win2K,

remote logging

2002-12-08 Thread Jonas Björnerstedt
Hello, I just got around to using logging. Although *really* simple to use, it would be even better with remote logging. I did some searching in the archives and on the net, without finding much. Before writing my own servlet that dumps the logs/stderr.log as a response, I thought I would ask if

javabean problems

2002-12-08 Thread Mikael Göransson
hey, it seems like i can't run my javabeans. i'm using tomcat 4.1.12 binary distrubtion. i get the error cannot resolve symbol. and i have no idea what it could be, it's just a simple bean: public class JellyBean implements java.io.Serializable { private String color;

Re: javabean problems

2002-12-08 Thread David Brown
Mikael Göransson writes: hey, it seems like i can't run my javabeans. i'm using tomcat 4.1.12 binary distrubtion. i get the error cannot resolve symbol. and i have no idea what it could be, it's just a simple bean: public class JellyBean implements java.io.Serializable { private String

Re: javabean problems

2002-12-08 Thread Mikael Göransson
On Sun, 08 Dec 2002 09:23:56 -0500 David Brown [EMAIL PROTECTED] wrote: Mikael Göransson writes: hey, it seems like i can't run my javabeans. i'm using tomcat 4.1.12 binary distrubtion. i get the error cannot resolve symbol. and i have no idea what it could be, it's just

Re: javabean problems

2002-12-08 Thread David Brown
Mikael Göransson writes: On Sun, 08 Dec 2002 09:23:56 -0500 David Brown [EMAIL PROTECTED] wrote: Mikael Göransson writes: hey, it seems like i can't run my javabeans. i'm using tomcat 4.1.12 binary distrubtion. i get the error cannot resolve symbol. and i have no idea what it

Re: Security constrant to force SSL works with apache+tomcat?

2002-12-08 Thread Alexander Wallace
On Sat, 2002-12-07 at 03:35, Craig R. McClanahan wrote: That's not quite right. Starting a session in http and switching to https for the sensitive part (i.e. fill your shopping cart on http and switch for the checkout page that asks for your credit card number) is fine. Switching from

Re: javabean problems

2002-12-08 Thread David Brown
Mikael Göransson writes: On Sun, 08 Dec 2002 09:23:56 -0500 David Brown [EMAIL PROTECTED] wrote: Mikael Göransson writes: hey, it seems like i can't run my javabeans. i'm using tomcat 4.1.12 binary distrubtion. i get the error cannot resolve symbol. and i have no idea what it

Re: javabean problems

2002-12-08 Thread Mikael Göransson
On Sun, 08 Dec 2002 09:49:58 -0500 David Brown [EMAIL PROTECTED] wrote: Mikael Göransson writes: On Sun, 08 Dec 2002 09:23:56 -0500 David Brown [EMAIL PROTECTED] wrote: Mikael Göransson writes: hey, it seems like i can't run my javabeans. i'm using tomcat 4.1.12

Re: remote logging

2002-12-08 Thread Mark
At 12/8/2002 03:56 PM, you wrote: Hello, I just got around to using logging. Although *really* simple to use, it would be even better with remote logging. I did some searching in the archives and on the net, without finding much. Before writing my own servlet that dumps the logs/stderr.log as a

Re: javabean problems

2002-12-08 Thread David Brown
Mikael Göransson writes: On Sun, 08 Dec 2002 09:49:58 -0500 David Brown [EMAIL PROTECTED] wrote: Mikael Göransson writes: On Sun, 08 Dec 2002 09:23:56 -0500 David Brown [EMAIL PROTECTED] wrote: Mikael Göransson writes: hey, it seems like i can't run my javabeans. i'm

RE: javabean problems

2002-12-08 Thread Ron Day
Your javabeans are not in a package.Tomcat 4.xx does not like this as it puts it in the default package, and then cannot find it at run time. Just put your beans in a package, recompile and then add your package directory structure under the classes directory. i.e if you have com.my.package for

Re: javabean problems

2002-12-08 Thread Mikael Göransson
On Sun, 8 Dec 2002 11:00:05 -0600 Ron Day [EMAIL PROTECTED] wrote: Your javabeans are not in a package.Tomcat 4.xx does not like this as it puts it in the default package, and then cannot find it at run time. Just put your beans in a package, recompile and then add your package directory

make the app as ROOT.war

2002-12-08 Thread Billy Ng
If my app needs to overwrite the ROOT.war, will it only kill the tomcat's examples? if not, what are the problems will I get? I notice the tomcat 4 exe installer installs the admin stuff, will it be a problem if I overwrite the ROOT? Thanks! Billy Ng

URGENT HELP NEEDED PLEASE ADVISE

2002-12-08 Thread Alex K.
Hello, How is everyone? I have a really really weird problem with mod_jk For some reason it forwards servlets file to tomcat, but jsp files it does not forward to tomcat at all. Here is a line out of mod_jk.log When a .jsp file is sent to it:

RE: javabean problems

2002-12-08 Thread Ron Day
what is com. Either it is part of package name and needs to be added to package to make it: package com.testbean; , or the com directory needs to be removed. don't use root, use your own webapp. R -Original Message- From: Mikael Gvransson [mailto:[EMAIL PROTECTED]] Sent: Sunday,

Re: javabean problems

2002-12-08 Thread Mikael Göransson
On Sun, 8 Dec 2002 12:43:57 -0600 Ron Day [EMAIL PROTECTED] wrote: what is com. Either it is part of package name and needs to be added to package to make it: package com.testbean; , or the com directory needs to be removed. don't use root, use your own webapp. R

mod_jk does not work with jsp files, but works with servlets; please advise

2002-12-08 Thread Alex K.
Hello, How is everyone? I have a really really weird problem with mod_jk For some reason it forwards servlets file to tomcat, but jsp files it does not forward to tomcat at all. Here is a line out of mod_jk.log When a .jsp file is sent to it:

Re: Tomcat 4.0.4 and DataSource problem

2002-12-08 Thread Jacob Kjome
I believe the 4.0.x versions of Tomcat used Tyrex to implement the JNDI DataSource functionality. I have no experience with that. However, if you move to using Tomcat-4.1.12, I can assure you that things will work for you as long as you change user to username. Jake At 12:59 PM 12/7/2002

RE: Tomcat 4.1, DBCP and Oracle

2002-12-08 Thread Jacob Kjome
Yes, I have been able to do that. When you say that Tomcat doesn't automatically recognize the file in its classpath, how do you know that? And when you hard code it in /bin/setclasspath.sh and it sees it, does your DataSource config now work? If not, then there is a config problem. You'll have

Re: TC 4.1.16 : java.lang.ClassNotFoundException: compressionFilters.CompressionFilter

2002-12-08 Thread Jacob Kjome
So, install from the .zip file to see if that makes a difference. jake At 02:04 PM 12/8/2002 +0100, you wrote: I had installed not from the zip file, but from the tar.gz file ! Dom - Original Message - From: Dom [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 08, 2002

apache tomcat integration

2002-12-08 Thread Manish Sharma
Dear Sir/Mam.. please help me on this issue. i'm facing problem in apache tomcat integration on linux server. there's error after restart the apache. theres message started ok. but in error.log two errors. Syntax error on line 2 of

JVM or tomcat aggressive caching DNS lookups?

2002-12-08 Thread Aditya
This seems to be a problem with the JVM, but since I only run into it in long running programs like Tomcat, I'm asking here -- it seems that in an JSP, if I'm using URLConnection to retrieve a remote webpage, the IP address that is obtained when doing the lookup in URLConnection persists for the

Re: remote logging

2002-12-08 Thread Jacob Kjome
Log4j provides everything you need for remote or any sort of logging you want. http://jakarta.apache/org/log4j/ Jake At 11:23 AM 12/8/2002 -0500, you wrote: At 12/8/2002 03:56 PM, you wrote: Hello, I just got around to using logging. Although *really* simple to use, it would be even better

Re: Tomcat shared libraries

2002-12-08 Thread Craig R. McClanahan
On Sun, 8 Dec 2002, Dave Ford wrote: Date: Sun, 8 Dec 2002 12:38:31 -0800 From: Dave Ford [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Tomcat shared libraries Now the problem is this: Tomcat

RE: JVM or tomcat aggressive caching DNS lookups?

2002-12-08 Thread Schnitzer, Jeff
I had to deal with this last week. Here's the important bit of documentation: http://java.sun.com/j2se/1.4.1/docs/api/java/net/InetAddress.html Jeff Schnitzer [EMAIL PROTECTED] The Sims Online -Original Message- From: Aditya [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07,

Re: getRealPath is null

2002-12-08 Thread Charlene Mitchell
Hi, Thanks for the info - I will certainly look into your suggestion (though I'm also using Cocoon which I think fails for the same reason in some areas and I don't want to hack around inside that beast!). Regards Charlene --- Jacob Kjome [EMAIL PROTECTED] wrote: Yep, because JBoss serves

Re: Tomcat shared libraries

2002-12-08 Thread Dave Ford
Now the problem is this: Tomcat doesn't use libraries from anywhere but within its scope. Rick, I was reading your discussion with Craig McClanahan and I agree with you - that a web app should be able to access classes outside the tomcat folder. Copying class into catalina/shared for each

Re: JVM or tomcat aggressive caching DNS lookups?

2002-12-08 Thread Aditya
Great, thank you, I'll give it a try. It's also documented at: http://java.sun.com/j2se/1.4/docs/guide/net/properties.html Thanks, Adi On Sun, 8 Dec 2002 13:08:16 -0800, Schnitzer, Jeff [EMAIL PROTECTED] said: I had to deal with this last week. Here's the important bit of documentation:

admin username

2002-12-08 Thread Peter O'Reilly
I just installed Tomcat, can someone tell me the admin username and password? Thanks, -Peter __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE,

Threads of Control

2002-12-08 Thread micael
Can a servlet start an application on a server which is available to a user on the server machine? Something, i.e., like the following: import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class AppCtrl extends HttpServlet implements Runnable {

Re: admin username

2002-12-08 Thread Dan Tran
It is in conf/tomcat-users.xml -D - Original Message - From: Peter O'Reilly [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 08, 2002 4:53 PM Subject: admin username I just installed Tomcat, can someone tell me the admin username and password? Thanks, -Peter

RE: Threads of Control

2002-12-08 Thread Jeremy Joslin
U e...sure you could do that but you should ask yourself is this the right thing to do? If the sample code you provided is similar to what you're trying to implement I would recommend that you right your own Runnable object and control it's lifetime using a ServeltContextListener object.

RE: Help with using mod_jk2

2002-12-08 Thread Madere, Colin
There is some less knowledge-assuming documentation here: http://www.johnturner.com/howto/apache-tomcat-howto.html But I've yet to find nor receive reference to any trully complete documentation. Your best bet is to see if you can make it work with the stuff that's around (and searching the

RE: JK and multiple virtual hosts on Apache (repost)

2002-12-08 Thread Madere, Colin
Thanks for the input, but I don't want any port numbers in the URLs for a number of reasons. Hence my use of the JK connector (that and only wanting to set up SSL through Apache and not Tomcat). I'm quite surprised no one else on this list has a setup similar to what I'm doing

JSP inside Javascript

2002-12-08 Thread Laxmikanth M.S.
hi all, Can we have JSP expression inside javascript? I have javascript which is generating tree structure but I want to have JSP expression inside the tree. If anybody knows how to put this I will appreciate if somebody forward me example or link. Thanx Laxmikanth

RE: admin username

2002-12-08 Thread Laxmikanth M.S.
admin user name and password should be added in tomcat-users.xml file in /catalina_home/conf directory and restart the server Regards Laxmikanth M S Off* : 91-80-6610330 extn 1256 Res* : 91-80-5267150 http://www.sonata-software.com Coming together is the beginning, staying together is

Fw: Help!

2002-12-08 Thread Affan Qureshi
i'm at the point where the 'auto' folder is created in the conf dir of tomcat and a mod_jk.txt file is created in it. i have modified the httpd file in apache to point to the mod_jk.conf, but now my apache server wouldn't start. it starts when the line of code added to the httpd file is

A solution idea for Invalid Direct Reference... + Comments please

2002-12-08 Thread gautam
Hello Folks, I have to find a solution to the Invalid direct reference... problem when using FORM based authentication with Tomcat (4.0.6). I cannot stop users from bookmarking the login page and hence must find another solution. What I have done is : In my logon.jsp (my form-login-page), I have

Name Based Virtual Host Problem

2002-12-08 Thread Laxmikanth M.S.
Hi all, I have configured apache1.3.27 and tomcat4.1.12. I have configured two sites as below using Name Based Hosting. when I type www.xxx.com and www.yyy.com the correct sites are coming - no problem ...but when I type yyy.com it opens www.xxx.com's pages...why this happensd ..how it can be

Problem building mod_jk

2002-12-08 Thread Vikram Dham
Dear All, I am trying to connect tomcat 4.1.12 and apache 1.3.27 on solaris 9 server without any success. I have been trying to use mod_jk connector. I have downloaded its source code from jakarta website. When I try to use buildconf.sh it gives me the error AM_PROG_LIBRARY macro not found.

Re: Why run tomcat as root

2002-12-08 Thread Nikola Milutinovic
Craig R. McClanahan wrote: Unix (and Linux) provide mechanisms to deal with this already, without changing the root-only restriction for ports 1024. * There's a system call to change your user id (this is what Apache itself does to grab port 80 as root and then switch itself to a

Re: JSP inside Javascript

2002-12-08 Thread Praveen Wicliff
You can use it, that is say if you want your tree name to be taken from JSP you can define it like var scriptTree = %=myTree% Understand this, the page is processed by application server, and all the JSP code is processes irrespective of where they occur. Once it is processed to the browse, as

Re: A solution idea for Invalid Direct Reference... + Comments please

2002-12-08 Thread gautam
Opps. Made a typo. 1. request.getRequestedSessionId() is *NULL* and 2. There is *NO* cookie named JSESSIONID. Regards, Gautam Satpathy - Original Message - From: gautam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 09, 2002 12:07 PM Subject: A solution idea for Invalid