Re: HTTP Error 302

2003-11-25 Thread Günter Kukies
No, I can't use a forward(), because the FOP is interpreting a fop:image tag and the FOP-Generator is requesting the image source. The things I can change is the path to the ImageGenerator and the query piece of the image-url. Does the trick with including the session ID in my HTTP request work,

Declarative Security - Forbid access to all resources except one

2003-11-25 Thread Martin Kupisch
Hi, I'm looking for a way to declare security on my webapp. The webapp is very small. It consists of a few JSPs and a servlet controller. I tried to forbid access to every resource in the app with a security-constraint element via url-pattern/*/url-pattern and no auth-constraint. I granted access

Re: HTTP Status 404.

2003-11-25 Thread Antony Paul
If you created a new context try restarting Tomcat and look at the work directory of Tomcat usually at D:\ApacheTomcat4\work\Standalone\localhost\ to see whether the directory pg_mdp is created. If not you have to add a context in conf\server.xml. Antony Paul - Original Message - From:

Miss 0 when Excel file is downloaded

2003-11-25 Thread Cui Xiaojing-a13339
Hello All, I use below commands to generate a Excel file: DataOutputStream out = new DataOutputStream(new FileOutputStream(e:/report.xls)); out.writeBytes(Commerce ID); out.write(9); out.writeBytes(Name);

Re: Slow on Linux

2003-11-25 Thread Yonatan Goraly
I have read that Suse linux team has been working closely with AMD to support AMD64, and I am going to try their commercial product (professional edition, $130). I know that SUN plan to have an AMD64 version for the JDK 1.5, which should be next year. The reason for choosing the Linux OS is

Re: definition/usage of session-timeout?

2003-11-25 Thread Ben Souther
JSP/Servlet technology uses a solution called the HttpSession to overcome the limitations of the stateless HTTP protocol. Tomcat uses cookies to map a particular web user to his/her session object. The developer can bind objects to a user's session object and then retrieve them on subsequent

RE: Hot Reload

2003-11-25 Thread Vaneet Sharma
change server.xml put reloadable = true for your context application simple enjoy Vaneet -Original Message- From: Leonardo Lopez [mailto:[EMAIL PROTECTED] Sent: Sun 23/11/2003 20:35 To: Tomcat Users List Cc: Subject: Hot Reload Hi gurus, I`m using tomcat 4.0.6 and I

Re: Slow on Linux

2003-11-25 Thread Nikola Milutinovic
Yonatan Goraly wrote: I have read that Suse linux team has been working closely with AMD to support AMD64, and I am going to try their commercial product (professional edition, $130). I know that SUN plan to have an AMD64 version for the JDK 1.5, which should be next year. The reason for

RE: [OT] Why did you choose Tomcat? (FKA: Re: IIS is not supported in Tomcat 4.1.29.)

2003-11-25 Thread Roeland Meyer
From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 9:20 PM Just out of curiosity, why did you choose Tomcat, or any OSS app, over .NET (and no, this isn't an attempt to start another thread about J2EE vs .NET)? You've stated that: 1.) That you are deploying on

Re: Tomcat 4.1.27/IE 6.0 Lockup

2003-11-25 Thread S R
Chris, Yup - quite a busy front end! Typically 100 dynamic objects (images swaps, formatted numbers) displaying factory data. Doe anybody have experience of Tomcat being used 24x7x365 for real-time type applications? --- Christopher Schultz [EMAIL PROTECTED] wrote: Steve, My application

Re: download file issue

2003-11-25 Thread Andoni
Please give a little more detail about what actually goes wrong. Also have you looked at the log files? If there is something there that you can't interpret then post a few of the relevant lines to the list (but not the whole log file, obviously ;-) ). Andoni. - Original Message -

Re: download file issue

2003-11-25 Thread Andoni
Sorry, wasn't looking at list in date order!! A. - Original Message - From: Andoni [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 10:33 AM Subject: Re: download file issue Please give a little more detail about what actually goes wrong.

Re: Miss 0 when Excel file is downloaded

2003-11-25 Thread Jon Wingfield
As you say it's an excel problem not a java/servlet/tomcat problem. Excel has always been this way. Really annoying when leading zeroes do mean something (like in telephone numbers, for example). If this is a display issue only then try adding a leading single quote to the data:

[OT] Mozilla/Firebird and Session Cookie Problem

2003-11-25 Thread Mario Ivankovits
Hello ! For sure, not the right mailinglist, but maybe someone has experienced the same: If i use Firebird 0.7 (Windows) to connect to our Tomcat 4.1.24 Server, a new session cookie is retrieved. So long, this is correct But if i start a second instance of Firebird (not tabbed !!!), the

RE: HTTP 404 response for directory listing

2003-11-25 Thread Atreya Basu
Just in case anyone is following this thread. I don't' think that my problem lies in my configuration files. It might be the way I compiled the mod_jk2 module. I am going to try and recompile it. I'll post my results once I do. Cheers, _ Atreya Basu

TC 5 CATALINA_BASE JSP FileNotFound for .java files

2003-11-25 Thread John Saunders
Following up myself. Did I mention the SDK I was using? 1.4.2. # /opt/j2sdk_nb/j2sdk1.4.2/bin/java -version java version 1.4.2 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) Read that bit again about Tomcat being

Re: open filehandles

2003-11-25 Thread srevilak
mboeckman I have a problem that has occurred under mboeckman tomcat-4.1.12/j2sdk1.4.1_02 that caused me to want to ask mboeckman the group a question. The problem was Too many open mboeckman files, java.io.FileNotFoundException . mboeckman What I noticed is that Tomcat seems to keep a file handle

Error on web page?

2003-11-25 Thread Jonathan Peterson
The web site http://jakarta.apache.org/tomcat/ says Tomcat 4.1.x. Tomcat 4.1.27 Stable is the latest release But, then it also suggests under 'Versions' that 4.1.29 is the latest stable release - and that's certainly the only one that's easily downloadable. I guess the 4.1.27 reference is out of

Re: [OT] Mozilla/Firebird and Session Cookie Problem

2003-11-25 Thread Ben Souther
I'm not that familiar with Firebird, but I know that Mozilla allows you to create different profiles, each having it's own space for storing cookies. Have you tried running two instances with different profiles? On Tuesday 25 November 2003 06:49 am, you wrote: Hello ! For sure, not the right

Re: [OT] Mozilla/Firebird and Session Cookie Problem

2003-11-25 Thread Mario Ivankovits
Ben Souther wrote: I'm not that familiar with Firebird, but I know that Mozilla allows you to create different profiles, each having it's own space for storing cookies. Have you tried running two instances with different profiles? I havent found profiles in firebird, but i am pretty sure,

Manager app in 4.1.27 behaves differently to 4.1.18

2003-11-25 Thread Tom Lyle
Hi there, I'm having a slightly annoying problem using the Tomcat Manager application. I have a webservices web application that i deploy using an Ant script and the org.apache.catalina.ant.DeployTask UndeployTask. On Tomcat 4.1.18 this works fine, I package the application up as a war file and

Tomcat statistics

2003-11-25 Thread Walter do Valle
How I collect static informations about tomcat? Is there a way or an application for download? Informations about number of requests, average time of requests, source of requests (IP address or hostname of users), etc. Any help is welcome. Hugs Walter do Valle

Are Multiple requests from single client handled sequentially?

2003-11-25 Thread Ramya Parameswaran
Hi, We have a client server set up, wherein the client sends multiple requests to the server at the same time the data is retrived from the database. But the response from the server is got only one after the other. :( Can soemone tell me why this might be happening?? We have NOT

Re: Tomcat statistics

2003-11-25 Thread Tim Funk
depends what you mean by statistics. If you want run-time stats see the manager application. If you want more run-time stats, use a JMX agent to hooks into more detailed stats. If you want site usage stats, use an access log and and web log analyzer. -Tim Walter do Valle wrote: How I collect

RE: download file issue

2003-11-25 Thread Ostad, James
I appreciate your trying to help. Thanks, James -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 5:55 AM To: Tomcat Users List Subject: Re: download file issue Sorry, wasn't looking at list in date order!! A. - Original Message -

Re: [OT] Mozilla/Firebird and Session Cookie Problem

2003-11-25 Thread Adam Hardy
On 11/25/2003 01:45 PM Mario Ivankovits wrote: Ben Souther wrote: I'm not that familiar with Firebird, but I know that Mozilla allows you to create different profiles, each having it's own space for storing cookies. Have you tried running two instances with different profiles? I havent found

RE: Error on web page?

2003-11-25 Thread Shapira, Yoav
Howdy, As much as I like to confuse people, I fixed this one ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Jonathan Peterson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 3:59 AM To: [EMAIL PROTECTED] Subject: Error on web page? The web site

RE: Manager app in 4.1.27 behaves differently to 4.1.18

2003-11-25 Thread Shapira, Yoav
Howdy, Is unpackWARs set to true for your Host? Yoav Shapira Millennium ChemInformatics -Original Message- From: Tom Lyle [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 7:54 AM To: Tomcat Users List Subject: Manager app in 4.1.27 behaves differently to 4.1.18 Hi there,

RE: Miss 0 when Excel file is downloaded

2003-11-25 Thread Shapira, Yoav
Howdy, Yup, Senor Wingfield's suggestion is referred to as ticking the cell. The other thing you can do is write out Excel XML (only if you have Office XP or later). It's actually a decent way to go about things, and I've been working with it for the past few weeks. You can get detailed data

RE: Security

2003-11-25 Thread Shapira, Yoav
Howdy, Umm, use SSL? ;) And assuming that you're asking us because you're going to use tomcat, run with a SecurityManager with as strict a policy as possible. Don't expose any services or ports you don't need. Audit your system periodically with tools like port scanners, checks your logs, run

Tomcat 4.1.29 start / stop problem

2003-11-25 Thread Julien Oix
Hi everyone, I start tomcat with the method below (in order the user nobody to run tomcat porcesses): [EMAIL PROTECTED] # su - nobody -c $CATALINA_HOME/bin/startup.sh Using CATALINA_BASE: /var/tomcat Using CATALINA_HOME: /var/tomcat Using CATALINA_TMPDIR: /var/tomcat/temp Using JAVA_HOME:

Re: open filehandles

2003-11-25 Thread Matthew Boeckman
[EMAIL PROTECTED] wrote: mboeckman I have a problem that has occurred under mboeckman tomcat-4.1.12/j2sdk1.4.1_02 that caused me to want to ask mboeckman the group a question. The problem was Too many open mboeckman files, java.io.FileNotFoundException . mboeckman What I noticed is that Tomcat

Re: Strange file explorer errors since 4.1.29 installed.

2003-11-25 Thread Charles Gardner
I have been developing with tomcat 3.3.1 running on both windows 2000 (professional (but not server version)) and solaris for close to a year now. I have had no problems most likely because the stuff I am doing is relatively simple types of things at the present. I installed 4.1.29 last weekend

RE: Extending JNDIRealm

2003-11-25 Thread Hart, Justin
Ok, why? What am I doing that should cause a stack overflow? Justin -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 7:26 PM To: Tomcat Users List Subject: Re: Extending JNDIRealm Odd, based on what I see so far, I would expect it to crash

RE: open filehandles

2003-11-25 Thread Shapira, Yoav
Howdy, - try combining multiple jars into a single jar: make a temporary directory, unpack each jar into it, then jar up the temporary directory. Again, you'd need to do this on a per-classloader basis If doing this, be careful of signed jars. You'll need to unsign them by

Re: Extending JNDIRealm

2003-11-25 Thread Tim Funk
Based on what I saw so far ... In JNDIRealm authenticate(String, String) gets a DirContext and calls authenticate(DirContext, String, String). Your code snippet which I assume overrides, authenticate(DirContext, String, String) which calls super.authenticate(String, String). Then ...

RE: Extending JNDIRealm

2003-11-25 Thread Hart, Justin
I *cough* didn't download the JNDIRealm code. I'll go look into that. Justin -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 9:28 AM To: Tomcat Users List Subject: Re: Extending JNDIRealm Based on what I saw so far ... In JNDIRealm

RE: Extending JNDIRealm

2003-11-25 Thread Hart, Justin
Wait, reading the stack trace doesn't show anything like that. No, that can't be the issue. Justin -Original Message- From: Hart, Justin Sent: Tuesday, November 25, 2003 9:30 AM To: Tomcat Users List Subject: RE: Extending JNDIRealm I *cough* didn't download the JNDIRealm code. I'll

Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector

2003-11-25 Thread Bhavdeep Sharma
Hi all, I am running tomcat 4.0 as service on Win 2K I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2 (isapi_redirect_1.2.5.dll) I try to access the sample JSP page using IIS and get the error Page cannot be displayed The same JSP page works fine if I access it directly from

Install manually Tomcat 4.x + JDK1.3

2003-11-25 Thread Sylvain MACHEFERT
Hi folks ! I'm new to this list and I didn't find any answer in FAQs and Google :-\ I want to create an all-in-one package (for Windows, using a program like Inno Setup) which install MySQL, JDK and Tomcat. It's for users in my company, I want to create this package so they can install

Re: open filehandles

2003-11-25 Thread srevilak
As a shorter-term workaround, you might try one or more of the following: - if open filehandles are not maintained for individual class files, try expanding your jars into each classloader's corresponding classes directory (i.e shared/lib/*.jar into shared/classes, etc). I'm

Re: definition/usage of session-timeout?

2003-11-25 Thread Ron W.
Ben, Thanks for the reply. But I'm still unclear on why setting the timeout won't work for my situation. What is the difference between an effectively idle session timing out, and cancelling a request? Of course I agree that fixing the root problem would be preferable, but it's extremely

Problem creating Tyrex resources in GlobalNamingResources

2003-11-25 Thread Patrick van Kann
Hello, I am able to set up Tyrex datasources within the context elements of my server.xml and access them from my webapps without difficulty. Problems occur when I try to create a Tyrex datasoruce resource in GlobalNamingResources in server.xml. At server startup, this happens...

Re: open filehandles

2003-11-25 Thread Matthew Boeckman
[EMAIL PROTECTED] wrote: As a shorter-term workaround, you might try one or more of the following: - if open filehandles are not maintained for individual class files, try expanding your jars into each classloader's corresponding classes directory (i.e shared/lib/*.jar into shared/classes,

RE: Manager app in 4.1.27 behaves differently to 4.1.18

2003-11-25 Thread Tom Lyle
Hi, I've reduced my server.xml down to the bare minumum of ROOT, manager admin contexts I use a copy of the same server.xml in an instance of Tomcat 4.1.27 Tomcat 4.1.18 and use the org.apache.catalina.ant.DeployTask to deploy my war file. In 4.1.18 it unpacks it into \work\localhost\myapp in

RE: Extending JNDIRealm

2003-11-25 Thread Hart, Justin
Read through the code, ran some example stuff. What I'm doing in my implementation is fine. Justin -Original Message- From: Hart, Justin Sent: Tuesday, November 25, 2003 9:31 AM To: Tomcat Users List Subject: RE: Extending JNDIRealm Wait, reading the stack trace doesn't show

RE: Extending JNDIRealm

2003-11-25 Thread Hart, Justin
Ok, for those interested, here's the real issue. At some point in time (I don't know enough about tomcat to know when or why), before it Tomcat has your username (at least with my config files, but it looks common since JNDIRealm is checking for it too), authenticate is called with a null

Re: definition/usage of session-timeout?

2003-11-25 Thread Ben Souther
A session timeout just means that the next time you hit the site with the same browser, you will be assigned a new JSPSessionID to bind that transaction with your session object. It would do nothing to stop a request that's hung. Think of a request as one hit to a server and a session as

Access to Session ID from Realm

2003-11-25 Thread Hart, Justin
Is there a way to get at the Session ID from RealmBase? Justin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How jasper determines when to use default package org.apache.jsp when translating jsps to servlets?

2003-11-25 Thread Kris Gemborys
thanks, that solved the problem. Justin Ruthenbeck wrote: Filip Hanik has posted a build script that does a deployment-time compilation of all JSP files in an app -- sounds like what you're looking for. I haven't used it, but it's a pretty common request on the list and it seems his solution

MySQL DBCP Example

2003-11-25 Thread Ralf Poppen
Hello, I tried the MySQL DBCP Example. I used the j2sdk1.2.4_02 and the tomcat 4.1.24. After i have compiled the DBTest.java with javac foo/DBTest.java, i copied the class into the path : C:\jakarta-tomcat-4.1.24\webapps\DBTest\foo and the test.jsp into the path

ClassCastException trying to access UserDatabase from examples we b app

2003-11-25 Thread Danielle Mortimer
I am getting a ClassCastException when I try to access the global UserDatabase from a web app. I believe it is something to do with different class loaders but I'm not sure how to solve it. I noticed an old post on this same topic http://www.mail-archive.com/[EMAIL PROTECTED]/msg88967.html but

RE: Manager app in 4.1.27 behaves differently to 4.1.18

2003-11-25 Thread Larry Isaacs
I believe the point that Yoav was going to make was that Tomcat 4.1.18 doesn't honor the unpackWARs Host setting when using the Manager's deploy function. Thus it always serves such a webapp from the WAR, for which the Manager undeploy works. Tomcat 4.1.27 does honor the unpackWARs setting, so

RE: How jasper determines when to use default package org.apache.jsp when translating jsps to servlets?

2003-11-25 Thread Shapira, Yoav
Howdy, Filip's script, like the rest of his work, is excellent. Tomcat 5 offers an alternative, as the new Deployer can precompile JSPs for you. Yoav Shapira Millennium ChemInformatics -Original Message- From: Kris Gemborys [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003

RE: Tomcat Dies

2003-11-25 Thread Rob Wichterman
The Developers swear they do not use large collection objects. I also noticed that the Garbage collection times start to get to be over a second or to before they die. Another strange thing is that we have two tomcat instances running on separate servers and they both die at the same time with

RE: Tomcat Dies

2003-11-25 Thread Shapira, Yoav
Howdy, The Developers swear they do not use large collection objects. I also Great. Use a profiler to see for yourself where memory is allocated. noticed that the Garbage collection times start to get to be over a second or to before they die. Another strange thing is that we have two So

RE: make error of mod-jk2 in Redhat Linux

2003-11-25 Thread Asif Chowdhary
The libapr.so does not exist on my system. It must not be installed with the RedHat linux. Also in my case Tomcat is running on an NT machine. Thanks Asif -Original Message- From: Sean Bruton [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 8:54 PM To: Tomcat Users List

Re: Slow on Linux

2003-11-25 Thread Oscar Carrillo
I imagine that you could compile an AMD64 kernel, and compile Postgresql for AMD64. But you still might have a poor performer with a 32-bit jdk. You could put Postgresql on a separate AMD64 server and Tomcat on a 32-bit X86 server, but that may or may not be what you want. Compiling a kernel

Difference between JK 2.0.2 JK 4.1.29

2003-11-25 Thread Jose
Hello. What is the difference between both ? I use tomcat-4.1.29 then which i must use to works with apache 2.0.48 ? Thanks. -- Tu portal de Aix en Español http://aixpanish.com --

sharing sessions across multiple webapps

2003-11-25 Thread Kumar, Sumit
I have two webapps on my server. I am using the same userInformation object in both the webapps that is located in tomcat/common/classes. When a user is authenticated by any webapp it puts the userinformation object in session. I want to track number of active users for each application. My

RE: Tomcat Dies

2003-11-25 Thread Rob Wichterman
Thanks for the reply. Here is how I have the JAVA_OPTS set up(-Xmx256m -XX:+UseConcMarkSweepGC -XX:+PrintGCDetails) I wanted you to see this incase there is a problem with the concurrent GC collector. Also how large of a Heap should we try? We have 4 Gig with 3.5 free of RAM. One last question

RE: MySQL DBCP Example

2003-11-25 Thread Lee, Paul NYC
Your error here speaks for itself. Tomcat can't find foo. Check your classpath. -Original Message- From: Ralf Poppen [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 9:33 AM To: [EMAIL PROTECTED] Subject: MySQL DBCP Example Hello, I tried the MySQL DBCP Example. I used

RE: Slow on Linux

2003-11-25 Thread Wade Chandler
Just wondering. Did you know that every Postgres connection creates a system process, and not a thread? PostgreSQL uses Fork. I don't use it because of this. DB Connection = Separate Process. I use Firebird. You can use Firebird 1.5 even. That's just a consideration since you are posting

Best Connector for mod_jk + 4.1.x

2003-11-25 Thread Mike Millson
I am using Tomcat 4.1.24 on Red Hat Linux 9 with the mod_jk (ajp13) connector to forward requests from Apache 2.0. There are 2 connectors that will handle mod_jk/ajp13: (1) org.apache.ajp.tomcat4.Ajp13Connector (2) org.apache.jk.server.JkCoyoteHandler What are the advantages/disadvantages of

Re: Are Multiple requests from single client handled sequentially?

2003-11-25 Thread Justin Ruthenbeck
At 05:19 AM 11/25/2003, you wrote: Hi, We have a client server set up, wherein the client sends multiple requests to the server at the same time the data is retrived from the database. But the response from the server is got only one after the other. :( Can soemone tell me why this might be

RE: sharing sessions across multiple webapps

2003-11-25 Thread Shapira, Yoav
Howdy, Yes, write an HttpSessionListener which accesses a singleton whose code is in common/lib. Yoav Shapira Millennium ChemInformatics -Original Message- From: Kumar, Sumit [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 2:16 PM To: 'Tomcat Users List' Subject: sharing

RE: Tomcat Dies

2003-11-25 Thread Shapira, Yoav
Howdy, Thanks for the reply. Here is how I have the JAVA_OPTS set up(-Xmx256m -XX:+UseConcMarkSweepGC -XX:+PrintGCDetails) I wanted you to see this incase there is a problem with the concurrent GC collector. If there's a problem with the concurrent GC collector, I don't know of it. I assume

Re: MySQL DBCP Example

2003-11-25 Thread Ben Souther
Put the class in: C:\jakarta-tomcat-4.1.24\webapps\WEB-INF\classes\PACKAGE\CLASS On Tuesday 25 November 2003 02:22 pm, Lee, Paul NYC wrote: Your error here speaks for itself. Tomcat can't find foo. Check your classpath. -Original Message- From: Ralf Poppen [mailto:[EMAIL

RE: sharing sessions across multiple webapps

2003-11-25 Thread Kumar, Sumit
Didn't get you. Can you explain it a little more for me. Thanks -sumit -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 1:40 PM To: Tomcat Users List Subject: RE: sharing sessions across multiple webapps Howdy, Yes, write an

Re: Slow on Linux

2003-11-25 Thread Yonatan Goraly
Isn't this what connection pooling is all about? Wade Chandler wrote: Just wondering. Did you know that every Postgres connection creates a system process, and not a thread? PostgreSQL uses Fork. I don't use it because of this. DB Connection = Separate Process. I use Firebird. You can use

Re: Slow on Linux

2003-11-25 Thread Oscar Carrillo
Ok, I read the PostgreSQL docs. It looks like AMD64 version is only workable under kernel 2.6. The good thing about the new kernel 2.6 is that FWIK you can have as many process/threads as you want cause it handles order of magnitudes more than kernel 2.4. I would also watch blackdown.org release

Removing Examples context in Tomcat 4.1

2003-11-25 Thread Bob Jacoby
I'm having some difficulties with Tomcat 4.1.24. I tried searching the archives and bug database. Chances are I missed it somewhere, but I've been looking at this for the better part of the day and need some new leads. :) Environment: HP-UX 11 JVM - HP 1.3 Tomcat 4.1.24 I installed and

Re: definition/usage of session-timeout?

2003-11-25 Thread Justin Ruthenbeck
At 07:08 AM 11/25/2003, you wrote: Ben, Thanks for the reply. But I'm still unclear on why setting the timeout won't work for my situation. What is the difference between an effectively idle session timing out, and cancelling a request? Of course I agree that fixing the root problem would

RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector

2003-11-25 Thread Wendell Holmes
Looks like you've set up a worker for ajp12 instead of ajp13. [jk_ajp12_worker.c (242)]: Into jk_worker_t::get_endpoint Wendell -Original Message- From: Bhavdeep Sharma [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 7:21 AM To: Tomcat Users List Subject: Tomcat 4 - IIS 5

RE: sharing sessions across multiple webapps

2003-11-25 Thread Shapira, Yoav
Howdy, You want to find out the number of active sessions (or active users) in each app. So you write an HttpSessionListener which keeps a counter that is incremented in every sessionCreated event and decremented in every sessionDestroyed event. This is fairly simple and has been covered many

RE: Removing Examples context in Tomcat 4.1

2003-11-25 Thread Goehring, Chuck Mr., RCI - San Diego
Bob, I had the same problem but got completely different errors. I think it needed ExampleFilter.class but I'm not sure. I couldn't tell you what version either - still have Examples in there. Chuck -Original Message- From: Bob Jacoby [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: Slow on Linux

2003-11-25 Thread Oscar Carrillo
I assume Firebird is just doing connection pooling internally. To be fair though, it is supposed to have very good performance but without all the features of PostgreSQL. Oscar On Tue, 25 Nov 2003, Yonatan Goraly wrote: Isn't this what connection pooling is all about? Wade Chandler wrote:

JK2

2003-11-25 Thread yuval
Hi, I would like the tomcat to work with more than 1 IP address as host how can I configure it? Thank you in advance, Regards, Yuval

Re: Removing Examples context in Tomcat 4.1

2003-11-25 Thread Ben Souther
2003-11-25 14:01:42 ContextConfig[] Parse error in default web.xml Looks like you've got a parse error in the default web.xml file. See if there are any entries in there for the Examples app. On Tuesday 25 November 2003 03:45 pm, Goehring, Chuck Mr., RCI - San Diego wrote: Bob, I had

RE: Removing Examples context in Tomcat 4.1

2003-11-25 Thread Shapira, Yoav
Howdy, If you remove the examples webapp, you need to both remove the directory from webapps and the entire Context definition from server.xml. Yoav Shapira Millennium ChemInformatics -Original Message- From: Goehring, Chuck Mr., RCI - San Diego [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Tools for Installing/Configuring Tomcat 4.x on Mac OS 10.2.8 and for Migrating Tomcat 3.x web applications to Tomcat 4.x

2003-11-25 Thread Asad Habib
Hello. Does anyone know of any software tools that manage the installation/configuration of Tomcat 4.x on Mac OS 10.2.8 and also the migration of Tomcat 3.x web applications(using JSP/Servlet technology) to Tomcat 4.x? Thanks. -Asad

RE: Problems following symlinks

2003-11-25 Thread John Prout
A detail I left out is that I'm configuring virtual hosts, pointing to an .ear file in JBoss. I don't have a context element in my Tomcat configuration file. My Configuration is roughly as follows (Many attributes omitted): Server Service name=JBoss-Tomcat Engine Host

RE: JK2

2003-11-25 Thread Asif Chowdhary
Do you mean running multiple applications within their own virtual hosts. Check Virtual Hosting. -Original Message- From: yuval [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 3:58 PM To: [EMAIL PROTECTED] Subject: JK2 Hi, I would like the tomcat to work with more than 1

Catalina.stop: java.net.ConnectException Help - Thanks!

2003-11-25 Thread SL
Hi everyone, I am Tomcat newbie, so please pardon the dumb question. I am using Windows 2000, jdk 1.4.1, tomcat 4.1. Here is what I have done so far: installed jdk installed tomcat set java_home (c:\j2sdk1.4.1_05) and catalina_home (c:\tomcat 4.1) changed the port to use port 80 in the

Re: JK2

2003-11-25 Thread yuval
I think so, but i'm using tomcat with IIS 5 I run few web sites that each one of them use the tomcat but each one of them have different IP address (on the same computer) the question is what i need to write in the worker.properties under the: # Example socket channel, override port and host.

Tomcat 4.1.29 and Remedy 5.1.2 MidTier

2003-11-25 Thread Simon Taylor
Here's hoping someone out there has tried to install the Remedy MidTier 5.1.2 with Tomcat 4.1.29. I cant get it to work. :-) I have Tomcat working no problem - running examples and other servlets. I have Apache working into Tomcat using JK no problem running servlets and static. Remedy MidTier

RE: Tomcat Dies

2003-11-25 Thread Jeff Tulley
Rob, Sorry I'm late on this thread, I just noticed it. Actually, I have spent the whole last week or so chasing down some perceived memory leaks on Tomcat (in general, not in my application), and maybe you are hitting what I am hitting. What kind of load is the server getting? What I have

Glen: One more item to include in Tomcat performance presentations

2003-11-25 Thread Jeff Tulley
I have been looking through the ApacheCon Tomcat performance presentation while simultaneously working on a performance / memory problem with Tomcat 4.x, and I have one more item that I would add to the presentation: Make sure JSP pages that do not deal with the session have %@ page session=false

Re: Tomcat 4.1.29 and Remedy 5.1.2 MidTier

2003-11-25 Thread Jeff Tulley
No more root causes on the exception? Any errors that point to a line of the JSP code, or any other causes? There is not enough detail here to figure out what is going wrong, unless somebody out there happens to have Remedy MidTier installed. (We actually might, I'll call our Remedy team and

Re: Tomcat 4.1.29 and Remedy 5.1.2 MidTier

2003-11-25 Thread Jeff Tulley
Our Remedy team gave me a URL for the remedy listserver: [EMAIL PROTECTED] Also, I'd check their web / support site. I cannot imagine that this is not a solved problem and that you would find good support there to get this running. [EMAIL PROTECTED] 11/25/03 3:21:46 PM Here's hoping someone

Invalid Number error when regional setting set to English (Canada )

2003-11-25 Thread Lisa Wong
I have a Java/struts app running on a Windows box. If the box has the regional setting set to English (Canada), I am unable to save decimal numbers as somewhere along the way, it changes the decimal to a comma. I've run the package by itself on the box and it works fine, but through the app I

RE: Tomcat Dies

2003-11-25 Thread Steve Revilak
The Developers swear they do not use large collection objects. I also noticed that the Garbage collection times start to get to be over a second or to before they die. Another strange thing is that we have two tomcat instances running on separate servers and they both die at the same time

Re: Tools for Installing/Configuring Tomcat 4.x on Mac OS 10.2.8 and for Migrating Tomcat 3.x web applications to Tomcat 4.x

2003-11-25 Thread Deepak Parbhoo
Hi. Have a look at this site 'http://www.micromata.com/M_tec/schroedinger/index.html'. Not sure if it will handle all your requirements though. DP Asad Habib wrote: Hello. Does anyone know of any software tools that manage the installation/configuration of Tomcat 4.x on Mac OS 10.2.8 and also

Re: Tomcat Dies

2003-11-25 Thread David Rees
Jeff Tulley wrote: What I have seen is that if there is a reasonably heavy load for a short amount of time, you can have too many sessions in memory that have not yet hit their session timeout value, and so cannot be freed by the garbage collector. It is very easy to run out of memory well before

Qs on Workers HowTo Document

2003-11-25 Thread Mike Millson
In the Workers HowTo (http://www.jajakarta.org/tomcat/jk2/en/docs/jk/workershowto.html) it in the jni worker properties section it has the following: worker.wrkjni.class_path=/var/tomcat3/lib/tomcat.jar What does tomcat.jar equate to in version 4.1.29? Is this

Re: how to customize HTTPSession

2003-11-25 Thread ppalavilli
thanks for the good suggestion Chris - that is what exactly I am looking for. I tried it and got part that involves reading the cookie from the Request and setting a request object (easy part though). I seem to have problems implementing the HttpServletResponseWrapper to collect the response

Catalina.stop: java.net.ConnectException Help - Thanks!

2003-11-25 Thread SL
Hi everyone, I am Tomcat newbie, so please pardon the dumb question. I am using Windows 2000, jdk 1.4.1, tomcat 4.1. Here is what I have done so far: installed jdk installed tomcat set java_home (c:\j2sdk1.4.1_05) and catalina_home (c:\tomcat 4.1) changed the port to use port 80 in the

Any jsp examples that pull from a local db?

2003-11-25 Thread SL
Hey Guys, I know this maybe off the wall question, but I am learning JSPs and I just installed tomcat to run my JSPs...so i was wondering if anyone had any sample code that displays a jsp by pulling information from a local db (access, mysql or oracle). thanks all! sl

Re: Slow on Linux

2003-11-25 Thread Nikola Milutinovic
Wade Chandler wrote: Just wondering. Did you know that every Postgres connection creates a system process, and not a thread? PostgreSQL uses Fork. I don't use it because of this. DB Connection = Separate Process. I use Firebird. You can use Firebird 1.5 even. That's just a consideration

Importing WAR File in Tomacat

2003-11-25 Thread dakavara
Hi, I am new to Tomcat. How can we import an war file into Tomacat Web Project. What is the administration url in Tomcat. Thanks in Advance, Ashok.D - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

  1   2   >