Re: Tomcat 5 vs. Resin?

2004-04-03 Thread Hiroshi Iwatani
Yes. Lately, Tomcat is unnecessarily complex. Resin is much simpler, easy to use, easy to configure, has good performance, smarter code generation for JSP than Tomcat, chief developer Scott is a very nice guy with deep knowledge, etc., etc. Best thing for me is, in Resin, you don't have to

Connecting Apache 2 and Tomcat 5 in process using JK2 on Solairs 9

2004-04-03 Thread Dale, Matt
Hi, I'm having some trouble getting Tomcat to start in process, i've seen the error in the archives but no-one has suggested a solution. I am using the minimum recommended configuration from the jakarta site for both jk2.properties and workers2.properties but have increased logging to DEBUG so

Re: FW: jsp:include tag does not preserve encoding of the text

2004-04-03 Thread Hiroshi Iwatani
In your deployment, html is handled by Apache and not processed by JSP/Servlet engine. Included JSP inherit main-page setting. If you run Tomcat stand-alone without other HTTP server, you will find its html handling characteristics. I don't expect much from Tomcat, though ;-) eMantra Information

JNDI Datasource receives AccessControlException with Security Manager

2004-04-03 Thread Juergen Weber
I got database connection up and running as described in tomcat-docs/jndi-datasource-examples-howto.html But it does not run with the Security Manager enabled. The mysql driver and commons-dbcp are in common/lib, so grant codeBase file:${catalina.home}/common/- { permission

Re: Tomcat Site slow and stops responding after certain number of threads

2004-04-03 Thread Graham Bleach
On Thu, Apr 01, 2004 at 10:39:37PM -0500, sp k wrote: We have a Tomcat site which becomes terribly slow and then stops responding after the thread count in windows task manager reaches 107 threads. We are using Tomcat 4.1.27 on windows 2000 machine. Our load tests could never emulate this

Mapping to a different port on localhost, using mod_jk2

2004-04-03 Thread Dominique Kraus-Ahma
Hi, i am using jk2 for the connection between Apache 2.0.49 and Tomcat 5.0.19 (on Win32). In httpd.conf, i am using a virtual host (localhost:8090), where my project resides. Now i am trying to figure out, how to map the standard worker to process all JSPs on that virtual host. I tried

Re: AGAIN jk2 2.0.4 compile

2004-04-03 Thread Graham Bleach
On Thu, Apr 01, 2004 at 06:40:24PM +0100, Dale, Matt wrote: I think that using JK2 with apache 1.3 is unsupported and that you should either use the JK connector or upgrade to apache 2. Is this correct? I'm planning to use mod_jk2 with Apache 1.3.29 and Tomcat 4.1.29 in a production environment

Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?

2004-04-03 Thread Yair Fine
Hi, I installed Tomcat 5.0.1.9 on Windows 2000. When I run Start menu- programs - Apache Tomcat 5.0 - Start Tomcat , nothing happens, and no tomcat icon appears. When i go to bin directory and run startup-using-launcher.bat , I get an exception : java.lang.NoClassDefFoundError:

RE: Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?

2004-04-03 Thread FRANCOIS Dufour
i ad the same ive red somwere to copy tool .jar to a folder in tomcat i tink its comun/lib not shure try to ad catalina_home environement variable pointing to your tomcat instalation folder [EMAIL PROTECTED] administrateur http://entre-nous.qc.tc From: Yair Fine [EMAIL PROTECTED]

SendRedirect and IllegalStateException

2004-04-03 Thread Umesha Balasubramaniam
Hi Everyone, I am brushing up on my servlet programming after a long lay off. I was working through this book and came across the perils of using sendRedirect after commiting the response. My understanding according to the book and the 2.4 servlet api is that if you call the sendRedirect

RE: Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?

2004-04-03 Thread Yair Fine
Did you mean tools.jar ? It is already in common\lib I also have my CATALINA_HOME environement variable set (C:\Program Files\Apache Software Foundation\Tomcat 5.0) It still don't work Yair -Original Message- From: FRANCOIS Dufour [mailto:[EMAIL PROTECTED] Sent: 03 2004 15:48 To:

Apllications used to work - now hangs without any message in the logs

2004-04-03 Thread Christian Riedel
Hi, using Tomcat 5.0.19 we ran a web app that used to work just fine until Wednesday. But here is our problem: The app uses an OracleConnectionCache for database access. Without having changed anything on the code responsible for this, the app hangs. Debugging via System.out.println(...)

Re: SendRedirect and IllegalStateException

2004-04-03 Thread Tim Funk
It should display company news. And you should see in your logs an IllegalStateException. (And the stack trace should contain the sendRedirect method) -Tim Umesha Balasubramaniam wrote: Hi Everyone, I am brushing up on my servlet programming after a long lay off. I was working through this

Tomcat 5 not starting on Windows/MAC OS X

2004-04-03 Thread alistair
Hi folks, no matter what I do with Tomcat 5.0.19 it won't start under Windows or MAC OS X. It always complains about Boostrap start can't Catalina.setAwait(). I had a look at the source and Catalina extends Embedded, which contains the setAwait method but the Bootstrap class causes a method not

RE: Tomcat configuration

2004-04-03 Thread Taj
Under ROOT exists myapplication directory The structure goes like : tomcat-home webapps ROOT myapplication Html pages WEB-INF Web.xml

A couple of performance related questions

2004-04-03 Thread Randy Paries
Hello, I have a couple of performance questions. BTW, yesterday someone sent out to the list a chart of times for connectors. I accidentally deleted it and can not find it on the archive. Could someone that still has that please email it to me directly? I am using rh9, tomcat 4, apache 2 1)

Memory Issues

2004-04-03 Thread shyam
Hi All, I have an application running on tomcat4.1.24. I have allocated 1500 mb to the java vm. What happens is in 3-4 days my total memory reaches the 1500mb. The free memory is low. I force the GC to run so that the memory is freed. What I don't understand why is the total memory maximum. I

RE: Memory Issues

2004-04-03 Thread SH Solutions
Hi I have an application running on tomcat4.1.24. Upgrade. 4.1.30 is latest in 4.1.x. I can even recommend 5.0.19, that I am running without problems. For some it has shown to be even faster. I force the GC to run so that the memory is freed. No. You can not. You can tell the system, that

Load testing using ApacheBench

2004-04-03 Thread Christopher Schultz
All, I've started load testing my application using ApacheBench and I think I must be missing something. I only heard about this tool very recently, so I have pretty much no experience with it. I was getting some odd behavior (i.e. very long response times compared to what I observe when just

RE: Memory Issues

2004-04-03 Thread shyam
Hi, Thanks a lot for the information. I am using java 1.4.1_02 . I force the GC to run so that the memory is freed. No. You can not. You can tell the system, that it should. You cannot enforce it. I ask the System to the GC. Sorri for the wrong interpretation. We are pretty soon moving to

RE: [OT] The Way Java Handles Date

2004-04-03 Thread George Sexton
I got tired of it once and wrote this class. http://www.mhsoftware.com/resources/jar/doc/com/MHSoftware/dates/SaneDat e.html The totally brilliant thing about it is like xbase, date addition and subtraction are greatly simplified. George Sexton MH Software, Inc. Home of Connect Daily Web

ChannelSocket.read -- always runnable?

2004-04-03 Thread Christopher Schultz
All, I'm currently profiling my app running on: RH Linux 9 / kernel 2.4.20-8 Sun JDK 1.4.2 Tomcat 4.1.29 I'm using Borland's OptimizeIt v4.2 (a bit old, but hey! it's expensive!). Technically, I'm running the host on my server (on Linux) and the OptimizeIt profiling client on a separate windoze

RE: Memory Issues

2004-04-03 Thread SH Solutions
Hi Thanks a lot for the information. I am using java 1.4.1_02 . I am not sure, maybe someone else can jump in, but I think, this was one the those VM releases I mentioned here: It was said, that where were StringBuffer memory leaks in at least one of the recent versions. So this might be

Re: Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?

2004-04-03 Thread Bill Barker
The 'startup-using-launcher.bat' is pretty much unmaintained at the moment (and has nothing to do with the Start Menu shortcut :). To reproduce what the shortcut should be doing, cd to the Tomcat bin directory and run: tomcatw //GT//Tomcat5 To review your startup settings run: tomcatw

RE: Memory Issues

2004-04-03 Thread shyam
Hi, Thanks a lot again. I just checked the release notes of java 1.4.2. The memory leak problem is fixed in 1.4.2. We will upgrade our VM. And I guess this is the problem coz I am using StringBuffer extensively. Will also run the profiler to check for any other memory leaks. Thanks shyam

Re: Apache security certificate vs. Tomcat security certificate

2004-04-03 Thread Bill Barker
Hollerman Geralyn M [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I currently have Tomcat 5.0.16 running using the SSL connector and a self-signed certificate - I followed the directions in the Tomcat SSL HOW-TO in how to create the certificate and set up Tomcat for SSL. This is

Re: How to set up JAVA_OPTS while running tomcat as a service

2004-04-03 Thread Bill Barker
Well, Tomcat 5 has the nice GUI to do most of this (right-click the Tomcat sys-tray icon), as well as the 'service.bat' file that you can customize for your settings. There should never be a reason to edit the registry settings directly. However, for those people that don't want to heed the

RE: Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?

2004-04-03 Thread Yair Fine
I did both : tomcatw //GT//Tomcat5 And tomcatw //ES//Tomcat5 And there was no response .Any other suggestions? -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: 03 2004 23:03 To: [EMAIL PROTECTED] Subject: Re: Problem with starting up Tomcat 5.0.1.9

Re: A couple of performance related questions

2004-04-03 Thread David Rees
Randy Paries wrote, On 4/3/2004 9:57 AM: 1) Is there any advantages/disadvantage to using mod_jk2 instead of mod_jk? Not really from my point of view. 2) has anyone used Jikes and seen a noticeable difference? It compiles faster, which is good if you have a slow machine and/or don't precompile

Re: A couple of performance related questions

2004-04-03 Thread Parsons Technical Services
Randy, Since David did 1 2 I'll give you 3. 3) setting -Xmx ,-Xss. (what is the default? I noticed in the catalina.sh, there is no -Xmx ,-Xss) If you are using catalina.sh then you set the enviroment settings by exporting a system variable in the shell. If you are running it as a daemon,

Re: Tomcat 5 vs. Resin?

2004-04-03 Thread Hiroshi Iwatani
And, Resin is open-source, kind of ... Josh Rehman wrote: Has anyone compared Tomcat 5 and Resin? Resin has a huge drawback of being closed-source, but it has a great reputation for being small, fast, and easy to configure. Tomcat is working for us, but has been something of a bear WRT

unable to start tomcat 5.0.19 using startup launcher file

2004-04-03 Thread daffy duck
Hi, Does anyone know how to start tomcat 5.0.19 using startup-using-launcher.bat? I tried and it gives me error F:\jakarta-tomcat-5.0.19\binstartup-using-launcher java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain at java.lang.ClassLoader.defineClass0(Native Method)

RE: How to set up JAVA_OPTS while running tomcat as a service

2004-04-03 Thread Antoni Unkovich
Excellent! (the system tray Icon that is) Just what I was looking for. Thanks Antoni -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Sunday, 4 April 2004 9:36 a.m. To: [EMAIL PROTECTED] Subject: Re: How to set up JAVA_OPTS while running tomcat as a

Re: Re: problem with new 2.04 mod_jk2

2004-04-03 Thread Daniel Savard
Walter Truitt a écrit: ... I don't know why someone would have X11 libraries linked in with an Apache module. -walter I don't know either, but it's a simple fact. However, I discovered I am getting different results from different users while running the ldd on the mod_jk2.so module: With

RE: Re: Re: problem with new 2.04 mod_jk2 (KMM16055293V54052L0KM)

2004-04-03 Thread Auto-Reply ACD Systems
**This is an automated response.** **Do not reply to this message.** Thank you for contacting the ACD Systems Online Store. If you require the assistance of our Customer Care Center representatives, please review the below information so that we can help you with your question(s) as fast as

Re: Re: problem with new 2.04 mod_jk2

2004-04-03 Thread QM
On Sat, Apr 03, 2004 at 11:38:37PM -0500, Daniel Savard wrote: : I know it's no longer a Tomcat question, but anyone knows what can : influence the result of the ldd command? A but? A problem with the glibc : library? Anyone has ever encountered such a problem? Smells like $LD_PRELOAD. What's

How to grant write permission on tomcat 5?

2004-04-03 Thread daffy duck
Hi all, I'm using Tomcat 5.0.19 I know read permission is implicitly granted (recursively) to all files and subdirectories of the current directory. but, how do I grant write permission (recursively) to all files and subdirectories of the current directory ? I tried adding either one of

Re: Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?

2004-04-03 Thread JavaNetIn
hello Friend, Which JDK Version do you have? Have you tried on jdk1.3.x version. Because I can not compile jsp pages on tomcat 5.0 as well as tomcat 4.1.0 build 7 in jdk1.4.2 environment but both perfectly runs in jdk1.3 environment. I don't know the reason. ./Nikhil Yair Fine wrote: Did

RE: How to grant write permission on tomcat 5? (KMM16055616V57685L0KM)

2004-04-03 Thread Auto-Reply ACD Systems
**This is an automated response.** **Do not reply to this message.** Thank you for contacting the ACD Systems Online Store. If you require the assistance of our Customer Care Center representatives, please review the below information so that we can help you with your question(s) as fast as