Re: tomcat oracle jdbc pooling

2004-10-12 Thread Bj
No, I don't want to. I want to use an OracleDatasource object but to manipulate an simple Datasource in my code. So my OracleDatasource has to be pre-configured at the loading. I thought Tomcat was giving a Map of parameters to the datasource and the datasource search in the Map for

5.5.3 zip has no tomcat exe for windows

2004-10-12 Thread Christopher Watson
Hi All, Just unzipped 5.5.3 zip and tried to run service.bat to install the w2k service It says The tomcat.exe was not found ... There are tomcat5.exe and tomcat5w.exe in 5.5.2 zip Why are they missing from 5.5.3 ? By accident or design? If design, how would I get the windows service running? If

RE: Adding DataSources to a specific webapp context using MBeanServer - half success

2004-10-12 Thread Jérôme BATON
Hi all, Could anyone tell me the order of the initializations of the webapps contexts, the webapps, the servlets (those run at startup). I succeeded in creating my DataSources in my webapp context by redeploying my classes with tomcat running, I just copied the newly compiled classes to the

unsetting characterEncoding?

2004-10-12 Thread Ronald Klop
Hello, Is it possible to unset the character encoding for some requests. I call setCharacterEncoding(windows-1252) for every request in a filter. But now my image/jpeg servlets add charset to the content-type. If I now call setCharacterEncoding(null) in my image-servlet it doesn't unset the

How to make Tomcat write its server config to server.xml ...

2004-10-12 Thread Krist van Besien
Hello all, (This is a repost, as I had no anwers last time. I still hope there is an answer though, as this issue just bit me again). Around here we install webapps in non standard locations from the command line. We do this by creating an .xml that contains all that tomcat (ver 4.1.27) needs to

Re: 5.5.3 zip has no tomcat exe for windows

2004-10-12 Thread Remy Maucherat
On Tue, 12 Oct 2004 08:49:31 +0100, Christopher Watson [EMAIL PROTECTED] wrote: Hi All, Just unzipped 5.5.3 zip and tried to run service.bat to install the w2k service It says The tomcat.exe was not found ... There are tomcat5.exe and tomcat5w.exe in 5.5.2 zip Why are they missing

Re: unsetting characterEncoding?

2004-10-12 Thread Shinobu Kawai
Hi Ronald, Is it possible to unset the character encoding for some requests. I call setCharacterEncoding(windows-1252) for every request in a filter. But now my image/jpeg servlets add charset to the content-type. If I now call setCharacterEncoding(null) in my image-servlet it doesn't unset

unpackWARs=false = hot unzip for static resources

2004-10-12 Thread Boulay Arnaud
Hello ! I would like to have confirmation for this topic : Says a XML context file myapp.xml like this : Context docBase=C:\app.war path=/agoodapp reloadable=false privileged=false/ and unpackWARs set to false in Host tag and server.xml file. What does happen when the client call static

RE: euro sign tomcat 4 - 5

2004-10-12 Thread Xavier Frisaye
I found my problem : I was calling response.getWriter() before response.setContentType(text/xml; charset=utf-8) and thus as java servlet 2.3 spec, the writer never use the charset specified in content type (with Tomcat 5 but with Tomcat 4 it does). So, sorry for the inconvenience and thank to

TOMCAT 5 over 4

2004-10-12 Thread Kumar Singh Rathour, Raj \(Vedam\)
Hi All, Any one can get me the comparative of TOMCAT 5 and 4. As some thoughts I cud get using manual but I think this does not provide exact comparative. Kindly let me know if any one know. thanx regards RKS Rathour = Disclaimer : The

Re: 5.5.3 zip has no tomcat exe for windows

2004-10-12 Thread Harald Henkel
Hello. Just unzipped 5.5.3 zip and tried to run service.bat to install the w2k service It says The tomcat.exe was not found ... There are tomcat5.exe and tomcat5w.exe in 5.5.2 zip Why are they missing from 5.5.3 ? By accident or design? By design. So, does the .exe (Windows

Re: 5.5.3 zip has no tomcat exe for windows

2004-10-12 Thread Harald Henkel
Harald Henkel wrote: Just unzipped 5.5.3 zip and tried to run service.bat to install the w2k service It says The tomcat.exe was not found ... There are tomcat5.exe and tomcat5w.exe in 5.5.2 zip Why are they missing from 5.5.3 ? By accident or design? By design.

Re: 5.5.3 zip has no tomcat exe for windows

2004-10-12 Thread Remy Maucherat
On Tue, 12 Oct 2004 13:40:13 +0200, Harald Henkel [EMAIL PROTECTED] wrote: Hello. By design. So, does the .exe (Windows installer) download contain the tomcat.exe? I downloaded 5.5.0 sometime ago but never used it. What struck me after downloading 5.5.3 is that it's only 4.2 MB while

Tomcat 4.1.31

2004-10-12 Thread Harald Henkel
Hello all. Jakarta Project announced Tomcat 4.1.31, although it is not downloadable yet (the links still point to 4.1.30). In the Release Notes (which are alread available) I found: JDBCStore: Optimize use of database session persistence to improve scaling and performance. Does anybody have

Re: 5.5.3 zip has no tomcat exe for windows

2004-10-12 Thread Michael Medwith
I will refund and ship via UPS tonight -Mike On Tue, 12 Oct 2004 13:41:39 +0200, Remy Maucherat [EMAIL PROTECTED] wrote: On Tue, 12 Oct 2004 13:40:13 +0200, Harald Henkel [EMAIL PROTECTED] wrote: Hello. By design. So, does the .exe (Windows installer) download contain the

Re: 5.5.3 zip has no tomcat exe for windows

2004-10-12 Thread Remy Maucherat
On Tue, 12 Oct 2004 13:50:29 +0200, Harald Henkel [EMAIL PROTECTED] wrote: Anyway, reducing the size by a factor of 50% !? Just by throwing out unimportant pieces ? What a lot of never (?) used stuff did Tomcat contain until now ? I don't know if you were using these: - admin webapp -

Re: Tomcat5 and Debian Sarge

2004-10-12 Thread Kai Neubecker
Hi Ben, It's a intenet server. I try http://myserver.tld:8080. no connect. a netstat -an show me, the port 8080 is not open. in CATALINA_HOME/logs is a emty file catalina.out thanx, Kai Am Di, den 12.10.2004 schrieb Ben Souther um 3:07: Did you try hitting it with a browser to see if it is

Re: Tomcat 4.1.31

2004-10-12 Thread QM
On Tue, Oct 12, 2004 at 01:56:08PM +0200, Harald Henkel wrote: : Jakarta Project announced Tomcat 4.1.31, although it is not downloadable : yet (the links still point to 4.1.30). I missed the announcement. Was it declared available or production quality? It won't appear on the main download

Re: TOMCAT 5 over 4

2004-10-12 Thread QM
On Tue, Oct 12, 2004 at 04:23:45PM +0530, Kumar Singh Rathour, Raj (Vedam) wrote: : Any one can get me the comparative of TOMCAT 5 and 4. As some thoughts I cud : get using manual but I think this does not provide exact comparative. Check the 5.0.x change log for the exhaustive list of updates.

Where can I get mod_jk-2.0.42.so?

2004-10-12 Thread Brenner, Andrea
Hi, some time ago there was a download link for mod_jk-2.0.42.so at jakarta.apache.org, but it seems they have a new website structure now and I am not able to find this file there anymore. Is this file no more needed? I'm trying to set up an intranet solution and following the instructions

Re: Where can I get mod_jk-2.0.42.so?

2004-10-12 Thread QM
On Tue, Oct 12, 2004 at 02:29:40PM +0200, Brenner, Andrea wrote: : I'm trying to set up an intranet solution and following the instructions : included apache 2 now asks for mod_jk-2.0.42.so. I installed the apache : tomcat jk2 connector rpm, but this module file is not on the pc. You can list

Re: Tomcat 4.1.31

2004-10-12 Thread Harald Henkel
Hello. Sorry for this thread beeing appended to the above one (about TC 5.5.3). QM wrote: On Tue, Oct 12, 2004 at 01:56:08PM +0200, Harald Henkel wrote: : Jakarta Project announced Tomcat 4.1.31, although it is not downloadable : yet (the links still point to 4.1.30). I missed the

SSL Definitions in Server.xml

2004-10-12 Thread Hubble, Christopher
Why can you define the keystore in server.xml, but you have to set the truststore in the jvm? Has this been changed in tomcat 5? It makes setting up client side auth a lot more work than it should be. Chris - To unsubscribe,

RE: [OT] Re: AW: DefaultServlet

2004-10-12 Thread Shapira, Yoav
Hi, Okay, so for a start, can I do some changes that I think would be good for the code, make a diff and send that to you? No. First, don't send me anything personally. Second, don't send me just a patch. Send a patch and at least one unit test that proves it doesn't break anything.

RE: How to make Tomcat write its server config to server.xml ...

2004-10-12 Thread Shapira, Yoav
Hi, Well, if you put myapp.xml in the conf directory, Tomcat will remember it ;) Otherwise, the answer to your question is no. Yoav Shapira -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 5:21 AM To: [EMAIL PROTECTED]

RE: Intalling Tomcat 5.0 on AIX

2004-10-12 Thread Shapira, Yoav
Hi, Hmm... I have Tomcat 5 running nicely on AIX, but standalone (no Apache in front, as we have no need for it) and therefore no connectors. So I can't help much on this one, sorry ;( Yoav Shapira -Original Message- From: Kyle Boyd [mailto:[EMAIL PROTECTED] Sent: Friday,

RE: Javascript and cookie

2004-10-12 Thread Shapira, Yoav
Hi, Cookies you can test: simply write one, sendRedirect, and try to read it. If it works, then you know the browser supports cookies. Detecting whether JavaScript is enabled can be done in a similarly tricky way, by including some JavaScript in a response that pings a server URL of your

Re: error-page exception-type

2004-10-12 Thread François Richard
I have a beginning of answer, the guilty could be Internet Explorer 6.0 ... The redirection works fine with Firefox and mozilla. Anyone no why ? Anyone have this working on IE6 ? Streve 1) In my case the problem is the same with the redirection error-code, like : error-page

RE: Check for deployed applications

2004-10-12 Thread Shapira, Yoav
Hi, You can use the Manager webapp's HTML interface: http://localhost:8080/manager/list in your browser. Yoav Shapira -Original Message- From: kax [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 3:04 AM To: [EMAIL PROTECTED] Subject: Check for deployed applications

Help!

2004-10-12 Thread Martin Crowe
Ok, let me introduce myself, just to give you a level of experience with linux. I know very little about linux - basic commands etc. My company is on my back about installing a linux box with tomcat and apache. They seem to be very good at telling me what they want (ie what packages running),

RE: Help!

2004-10-12 Thread Pawson, David
-Original Message- From: Martin Crowe Could anyone point me in the right direction please - any pointers to manuals or webpages that would help, or just any knowledge that could be passed on to me regarding this. http://cymulacrum.net/writings/tomcat5/book1.html

RE: How to make Tomcat write its server config to server.xml ...

2004-10-12 Thread Jérôme BATON
Hi Krist, You found the way, it is using the commit changes class, a Struts Action. To get the MBeanServer from your class, use the following (deprecated) code Registry.getRegistry().getMBeanServer(); And then send the same commands that the Action class (look in the source code). As

RE: Name jdbc is not bound in this Context

2004-10-12 Thread Shapira, Yoav
Hi, I bet it's just your webapp code that's looking for jdbc instead of jdbc/myapp ;) Your config (original: you don't need to do the GlobalResources stuff, your original config is better) looks fine. Yoav Shapira -Original Message- From: Mauro Romano Trajber [mailto:[EMAIL

RE: Performance issue

2004-10-12 Thread Shapira, Yoav
Hi, The machine's are not swapping, simply JVM's max memory is 2GB. Our They might not be swapping, but they certainly appear to be spending a good amount of time on GC. 0.8sec for an incremental GC is significant. But that might be because your heap is so high. RAM is 4GB. Any attempt

RE: euro sign tomcat 4 - 5

2004-10-12 Thread Shapira, Yoav
Hi, No problem: thank you for posting your solution. Tomcat 5 in general is much stricter in each charset handling. It follows the servlet and JSP specifications rigidly. Yoav Shapira http://www.yoavshapira.com/ -Original Message- From: Xavier Frisaye [mailto:[EMAIL PROTECTED]

Re: unpackWARs=false = hot unzip for static resources

2004-10-12 Thread Larry Meadors
From what I have seen, everything gets unpacked anyway...just into the work directory instead of the webapps directory (with my version of tomcat - 4.1.29). Larry [EMAIL PROTECTED] 10/12/04 3:54 AM Hello ! I would like to have confirmation for this topic : Says a XML context file myapp.xml

RE: Realm for Admin tool?

2004-10-12 Thread Shapira, Yoav
Hi, The default Realm for Admin and Manager is a Memory realm using conf/tomcat-users.xml that's declared in the GlobalNamingResources section of the default server.xml file. Yoav Shapira http://www.yoavshapira.com/ -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent:

RE: Tomcat + NFS

2004-10-12 Thread Shapira, Yoav
Hi, Definitely not a Tomcat issue: it's an NFS issue, contact your sysadmin. Tomcat (and Java apps in general) don't want, need, or can mess with your NFS mount setup. Yoav Shapira http://www.yoavshapira.com/ -Original Message- From: Amin Abbaspour [mailto:[EMAIL PROTECTED] Sent:

Re: reloading JSP files without reloading classes/beans

2004-10-12 Thread Jonathan Wilson
Just an FYI for anybody else that is trying to learn the standard way of doing things in Tomcat development. The following article is out of date with respect to the most recent version of Tomcat, but it does provide a framework for doing JSP development using Tomcat. It also provides

RE: Tomcat5 Install problem

2004-10-12 Thread Shapira, Yoav
Hi, Look in the logs subdirectory of where you installed Tomcat to see the logs. You can also try to run it from the command-line first, before running as a service, to make sure it's installed fine. You can use catalina.bat run to keep the DOS window open so that messages don't disappear.

Re: RE: Check for deployed applications

2004-10-12 Thread kax
Yes, but the problem is that I want to get this information from an external application. /Kax From: Shapira, Yoav [EMAIL PROTECTED] Date: 2004/10/12 ti PM 01:42:59 GMT To: Tomcat Users List [EMAIL PROTECTED] Ämne: RE: Check for deployed applications Hi, You can use the Manager

RE: versions 2.3 and 2.4 of web.xml

2004-10-12 Thread Shapira, Yoav
Hi, Seems like a solid report. Post it in Bugzilla (probably to the Jasper component). I notice you said 5.0.27: does 5.0.28 work? Yoav Shapira http://www.yoavshapira.com/ -Original Message- From: Steve Kirk [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 2:50 PM To:

RE: Undefined hosts being directed to localhost

2004-10-12 Thread Shapira, Yoav
Hi, The RemoteAddr/RemoteHost filter valves may be useful for you in this scenario as well, especially as they can be configured at the Engine level to cover all your Hosts. See the Valve configuration documentation page for details. Yoav Shapira http://www.yoavshapira.com/ -Original

[OT]Setting default value for form input type

2004-10-12 Thread Antony Paul
Hi, Is there any way to set the default value for the file field when the form is loaded ?. rgds Antony Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: RE: Check for deployed applications

2004-10-12 Thread kax
Maybe I can make a http request to the url and parse the result? Is that a good solution or is there any better? /Kax From: kax [EMAIL PROTECTED] Date: 2004/10/12 ti PM 02:09:42 GMT To: Tomcat Users List [EMAIL PROTECTED] Ämne: Re: RE: Check for deployed applications Yes, but the

Re: Performance issue

2004-10-12 Thread Faisal Abdullah
So what's your complaint? That it's GC'ing too much? I don't know if its GCing too much or not. I haven't any idea what the ideal GC should be like. But thanks for your comments on that. That it's not handling enough concurrent clients? Those connection reset messages that were in your

RE: RE: Check for deployed applications

2004-10-12 Thread Boulay Arnaud
Ant tomcat tasks is a better way ... regards, Arnaud Message d'origine De: kax [mailto:[EMAIL PROTECTED] Date: mar. 12/10/2004 16:22 : Tomcat Users List Cc: Objet: Re: RE: Check for deployed applications

RE: RE: Check for deployed applications

2004-10-12 Thread Shapira, Yoav
Hi, That's a decent solution. JMeter does something similar with the status servlet's XML output. Yoav Shapira http://www.yoavshapira.com -Original Message- From: kax [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 10:23 AM To: Tomcat Users List Subject: Re: RE: Check for

RE: versions 2.3 and 2.4 of web.xml

2004-10-12 Thread Steve Kirk
didn't try 5.0.28 but might upgrade to that soon and if so will test there too -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday 12 October 2004 15:10 To: Tomcat Users List Subject: RE: versions 2.3 and 2.4 of web.xml Hi, Seems like a solid

Re: [OT]Setting default value for form input type

2004-10-12 Thread Ben Souther
No, browsers won't allow that. Picture what kind of files a malicious page could grab off of your machine with a hidden form if they did. On Tue, 2004-10-12 at 10:18, Antony Paul wrote: Hi, Is there any way to set the default value for the file field when the form is loaded ?. rgds

Re: error-page exception-type

2004-10-12 Thread Markus Schönhaber
François Richard wrote: I have a beginning of answer, the guilty could be Internet Explorer 6.0 ... The redirection works fine with Firefox and mozilla. Anyone no why ? Anyone have this working on IE6 ? Does redirection really not happen or is the error page simply not shown by IE? IE ignores the

RE: Blocking access to static content

2004-10-12 Thread Robert Harper
I have a tree that looks something like the following: +---ctimpact +---ctimpact +---CTImpact L---src L---com L---iat +---ctimpact L---utils +---images +---usr +---1000 +---download +---html

RE: error-page exception-type

2004-10-12 Thread Steve Kirk
That reminds me. I remember reading a few days ago on this list that IE ignores pages that are shorter than 512 bytes in length. -Original Message- From: Markus Schönhaber [mailto:[EMAIL PROTECTED] Sent: Tuesday 12 October 2004 15:47 To: Tomcat Users List Subject: Re: error-page

how to bind the shutdown port to one single IP address

2004-10-12 Thread Sascha Vital
Hi, is it possible to bind the shutdown port to one single IP address? I do have a clustered environment and running different virtual hosts on the same physical host. Tomcat now binds the shutdown port always to localhost.8005 and with this localhost, all virtual hosts are included. But I just

RE: how to bind the shutdown port to one single IP address

2004-10-12 Thread Shapira, Yoav
Hi, Undocumented options? ;) This is why our code is open for all to see: look at org.apache.catalina.startup.Catalina line 397. The 127.0.0.1 localhost address is hard-coded. So the answer to your question is no: to accomplish what you want, you must build a custom version of Tomcat which

Re: error-page exception-type

2004-10-12 Thread François Richard
YESS !!! This is the answer of my problem ;-)) THX A LOT !!! Steve Kirk wrote: That reminds me. I remember reading a few days ago on this list that IE ignores pages that are shorter than 512 bytes in length. -Original Message- From: Markus Schönhaber [mailto:[EMAIL

Re: How to make Tomcat write its server config to server.xml ...

2004-10-12 Thread erh
On Tue, Oct 12, 2004 at 11:21:29AM +0200, Krist van Besien wrote: Hello all, (This is a repost, as I had no anwers last time. I still hope there is an answer though, as this issue just bit me again). Around here we install webapps in non standard locations from the command line. We do

Re: Blocking access to static content

2004-10-12 Thread QM
On Tue, Oct 12, 2004 at 09:01:04AM -0600, Robert Harper wrote: : http://localhost:8080/ctimpact/usr/1234567890/.properties, : I would get the contents of that file. This is not acceptable. So far, so good. What about putting the web-resource-name and url-pattern inside /web-resource-collection

request.getSession(false) randomly returns null in servlet

2004-10-12 Thread Mark
Hi All, I have unstable behavior in my web application when I try to get HttpSession. The problem is that the following code randomly returns _null_ for HttpSession. But next http request from different servlet using the same code is fine. and when I call servlet with problem I've got null again.

Re: request.getSession(false) randomly returns null in servlet

2004-10-12 Thread David Wall
Is it possible that your session has ended (too long between requests)? Check how long you have configured sessions to be active (in web.xml). Is it possible you are losing the encoded session ids (if cookies are not being used)? It's easy to miss an encoded URL on a page for get/post and thus

Repost: Hiding welcome page

2004-10-12 Thread khanaz
Assuming my site is http://www.mysite.com/ http://www.mysite.com/ , whenever I go to the site, I see http://www.mysite.com/index.jsp http://www.mysite.com/index.jsp . How do I enable tomcat 4.1 (preferably) or 5 to hide the index.jsp portion of the URL so all I see is http://www.mysite.com

Re: AS/400 DB2

2004-10-12 Thread Chris Egolf
Have you tried the JT400 jdbc driver from IBM? http://oss.software.ibm.com/developerworks/opensource/jt400/ That's the only JDBC driver I know of that works with DB2 on the AS/400. Your connection string would look then look like this: jdbc:as400://serverName and the driver class name is

Re: 5.5.3 zip has no tomcat exe for windows

2004-10-12 Thread Christopher Watson
Remy Maucherat wrote: On Tue, 12 Oct 2004 08:49:31 +0100, Christopher Watson [EMAIL PROTECTED] wrote: Hi All, Just unzipped 5.5.3 zip and tried to run service.bat to install the w2k service It says The tomcat.exe was not found ... There are tomcat5.exe and tomcat5w.exe in 5.5.2 zip Why are they

Re: request.getSession(false) randomly returns null in servlet

2004-10-12 Thread Mark
Hi David, Thanks for reply but I guess I need something else. All answers to your suggested situation are negative. Answers included in your message. --- David Wall [EMAIL PROTECTED] wrote: Is it possible that your session has ended (too long between requests)? nope, another servlet get session

Re: Running tomcat 5.0 as a service in Windows OS

2004-10-12 Thread Shankar Unni
Pramod Jain wrote: a) with tomcat5w.exe, I go to startup tab and enter: start -config C:\abc\my_server.xml b) In Windows Services editor I go to Apache-Tomcat - Properties - Start Parameters and enter: start -config C:\abc\my_server.xml Don't use double-quotes - those will be passed literally

Anti file locking features.

2004-10-12 Thread cn
Hi. Can anyone tell me how to install or enable anti file locking features for (or in) Tomcat 5.5? I have problems undeploying and redeploying webapps under Tomcat 5.5.3 on Windows. I tried to use the Manager webapp to do this. It faild to delete the expanded webapplications. I have been

Re: AS/400 DB2

2004-10-12 Thread Reynir Þór Hübner
hi, To continue with what Chris Egolf said, in my experience, you must get this driver from the exact distribution of the AS400 / ISeries machine, because it will not work if they are not of the same version as the database. There are other drivers available such as the Datadirect ones, and I

RE: Anti file locking features.

2004-10-12 Thread Shapira, Yoav
Hi, Read http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html. Yoav Shapira http://www.yoavshapira.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 12:51 PM To: Tomcat Users List Subject: Anti file locking features.

RE: multiple tomcat instance and log4j

2004-10-12 Thread Simon Zeng
Hello, It is my impression that lots of people on this user list are using log4j as their logging mechanism. Also i believe lots of people here use multiple tomcat instances for load balancing. I am wondering how you guys are using log4j in this case. If anyone can give me some ideas and/or

RE: multiple tomcat instance and log4j

2004-10-12 Thread Shapira, Yoav
Hi, It is my impression that lots of people on this user list are using log4j as their logging mechanism. Also i believe lots of people here use multiple tomcat instances for load balancing. I am wondering how you guys are using log4j in this case. If anyone can give me some ideas and/or answer

RE: multiple tomcat instance and log4j

2004-10-12 Thread Simon Zeng
Thanks for the quick response. Seperate logs for each tomcat was my proposal too. But people like to have an easy way to view them as a whole. A nice merge tool would be nice. The first and minumum requirement for the tool is to merge and sort all log records by time so that it can really be

Re: Tomcat5 and Debian Sarge

2004-10-12 Thread Kai Neubecker
ok, the problem is I run Tomcat in a vserver. (www.linux-vserver.org) in the syslog of the hostsystem I found a error about to many processes. Oct 12 19:31:17 srvxxx kernel: PAX: From 80.xxx.xxx.xxx: execution attempt in: /usr/local/j2sdk1.4.2_05/jre/lib/i386/client/libjvm.so, 2beb9000-2bed4000

RE: Tomcat 4.1.31

2004-10-12 Thread Mark Thomas
I think all that has happened is that the announcement has come out before all the mirrors have synchronised with the apache servers - hence you might see an older release. For the record, it is both available and production quality. Mark From: Harald Henkel [mailto:[EMAIL PROTECTED] Sent:

RE: multiple tomcat instance and log4j

2004-10-12 Thread Shapira, Yoav
Hi, If you really think you need such a merge tool, go write it ;) I don't have suggestions off the back of my hand, but then again I don't see much need for such a tool anyways ;) Yoav Shapira http://www.yoavshapira.com -Original Message- From: Simon Zeng [mailto:[EMAIL PROTECTED]

Tomcat 4.x with Oracle OCI connection-Error

2004-10-12 Thread Annamalai Ramasamy
Hi., I'm using OCI to connect the oracle8.x from my Tomcat. After some period of time tomcat get lost the DataBase Connection. I'm getting this two errors. ORA-03113: end-of-file on communication channel , ORA-03114: not connected to ORACLE If I restart the tomcat its working fine.Is

Form Based Authentication with Cookies?

2004-10-12 Thread Chris Forbis
I have been looking for a way withing tomcat using a JDBCRealm to do form bases authentication and allow users to set some sort of Remember Me cookie, so they do not need to log into my application more than once a month or so. It looks like to me that FormAuthenticator is sort of hardcoded into

RE: Form Based Authentication with Cookies?

2004-10-12 Thread Chris Ward
Chris, For what it's worth, I spent ages trying to get a remember-me login thing going out of the box but never managed it. In the end I implemented my own user/role setup and use a Filter to ensure the user is logged in when accessing servlets/ JSPs with specifice URL paths. The login page

Catalina.out errors

2004-10-12 Thread Ciaran Hanley
Hi, We have moved a tomcat webapp to a new server which uses tomcat 5.0.27, (we were using version 5.0.18 on the old server). When an error is thrown no stack trace is printed in the catalina.out or in the other log files as was the case with the old server. Is there some configurations I

RE: Catalina.out errors

2004-10-12 Thread Shapira, Yoav
Hi, Usually the full stack trace will be available. We didn't remove that, as it's an extremely useful feature. Are you running Tomcat as a service or from the command-line? Yoav Shapira http://www.yoavshapira.com -Original Message- From: Ciaran Hanley [mailto:[EMAIL PROTECTED] Sent:

Tomcat 5.5.3 and JRE 1.5.0 on linux

2004-10-12 Thread Marc Logemann
Hi, i am feeling a little bit silly to ask, but i have to ;-) I installed JRE 1.5.0 and Tomcat 5.5.3 on linux, set the JAVA_HOME to the JRE location and started tomcat with ./catalina start Then i got the point to a JDK not a JRE error. I checked the setclasspath.sh and there is a paragraph that

Re: Tomcat 5.5.3 and JRE 1.5.0 on linux

2004-10-12 Thread Remy Maucherat
On Tue, 12 Oct 2004 21:32:51 +0200, Marc Logemann [EMAIL PROTECTED] wrote: Hi, i am feeling a little bit silly to ask, but i have to ;-) I installed JRE 1.5.0 and Tomcat 5.5.3 on linux, set the JAVA_HOME to the JRE location and started tomcat with ./catalina start Then i got the point

RE: Catalina.out errors

2004-10-12 Thread Ciaran Hanley
I am running it from the command line. No errors print at all, it simply ignores any stack traces. I thought that whoever installed it on the new server must have somehow disabled it? Is there a way to ensure error logging when starting tomcat from the command line? Thanks -Original

Re: Tomcat 5.5.3 and JRE 1.5.0 on linux

2004-10-12 Thread Marc Logemann
Remy Maucherat wrote: On Tue, 12 Oct 2004 21:32:51 +0200, Marc Logemann [EMAIL PROTECTED] wrote: Hi, i am feeling a little bit silly to ask, but i have to ;-) I installed JRE 1.5.0 and Tomcat 5.5.3 on linux, set the JAVA_HOME to the JRE location and started tomcat with ./catalina start Then i got

Re: request.getSession(false) randomly returns null in servlet

2004-10-12 Thread Justin Ruthenbeck
Mark, Check the session id that is included in the request (getRequestedSessionId) and verify that this sessionid is ALWAYS identical to the one used when the session was created. More than likely, you'll find this is not the case. If you're convinced that the sessionid is found at one

Manager application in TC 4.1

2004-10-12 Thread Andoni
Hello, I have just upgraded to Tomcat 4.1 and I have encountered the fact that the manager application is now at: www.mydomain.com:8080/manager/html/ What is the simples way to change this to be at www.mydomain.com:8080/manager ? I have changed the mappings but that breaks the mappings in the

RE: Manager application in TC 4.1

2004-10-12 Thread Mike Curwen
put an index.html page under $CATALINA_HOME/server/webapps/manager and have it contain a link to /html or a meta refresh. -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 3:59 PM To: Tomcat Users List Subject: Manager application in TC 4.1

Re: Manager application in TC 4.1

2004-10-12 Thread Andoni
Ok, now I have rebooted the server I know it doesn't work! I did exactly what it said to do in the comment and this did not work. The same thing (replacing the class name) *did* work in 4.0.4, which was my last version, which is why I tried it in the 1st place :-) Anyway any suggestion as to

mod_jk2 Ready/Recommended For Production?

2004-10-12 Thread Mike Millson
The Tomcat FAQ page still says that mod_jk is great and should be used for production and mod_jk2 may not be production worthy for everyone. http://jakarta.apache.org/tomcat/faq/connectors.html#vs Is this still accurate, or is mod_jk2 now ready/recommended for production? Thank you, Mike

Re: mod_jk2 Ready/Recommended For Production?

2004-10-12 Thread QM
On Tue, Oct 12, 2004 at 10:07:34PM -0400, Mike Millson wrote: : The Tomcat FAQ page still says that mod_jk is great and should be used : for production and mod_jk2 may not be production worthy for everyone. : [snip] : Is this still accurate, or is mod_jk2 now ready/recommended for : production?

Unable to verify

2004-10-12 Thread Peter Fogg
The following files were downloaded from the Apache Jakarta Site: jakarta-tomcat-5.0.28.tar.gz jakarta-tomcat-5.0.28.tar.gz.asc jakarta-tomcat-5.0.28.tar.gz.md5 Attempted to verify the distribution before installing it: $ gpg --verify jakarta-tomcat-5.0.28.tar.gz.asc jakarta-tomcat-5.0.28.tar.gz

Re: mod_jk2 Ready/Recommended For Production?

2004-10-12 Thread Peng Tuck Kwok
Do you really need to put apache in front of tomcat ? Standalone tomcat (since ver 4.x) has always been pretty good in terms of performance On Tue, 12 Oct 2004 22:07:34 -0400, Mike Millson [EMAIL PROTECTED] wrote: The Tomcat FAQ page still says that mod_jk is great and should be used for

Re: Unable to verify

2004-10-12 Thread Jacob Kjome
It verifies just fine against the .md5 file using Ant's checksum task. Jake At 07:24 PM 10/12/2004 -0700, you wrote: The following files were downloaded from the Apache Jakarta Site: jakarta-tomcat-5.0.28.tar.gz jakarta-tomcat-5.0.28.tar.gz.asc jakarta-tomcat-5.0.28.tar.gz.md5 Attempted to

RE: Weird Red Hat Enterprise Startup

2004-10-12 Thread Mike Cherichetti \(Renegade Internet\)
Hi Everyone, Well, I finally solved this problem. OS patches didn't do the trick, still had segmentation faults and unexplained crashes on startup and shutdown, no core dumps, no error messages, and -server band-aid didn't work for me either (I was running out of options!). The solution was to

Apache MaxClients vs. what in JK2 configuration?

2004-10-12 Thread raiden
Hello, I currently have one Apache instance talking to one Tomcat instance. However, I really want to understand the relationship between client connections, because I plan to make this two Apache servers talking to one or two Tomcat servers. In Apache you can configure the maximum number of

Re: Repost: Hiding welcome page

2004-10-12 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Assuming my site is http://www.mysite.com/ http://www.mysite.com/ , whenever I go to the site, I see http://www.mysite.com/index.jsp http://www.mysite.com/index.jsp . How do I enable tomcat 4.1 (preferably) or 5 to hide the

Re: Unable to verify

2004-10-12 Thread Peter Fogg
Thanks for the response. I'm new to this business of verifying files and I read somewhere recently that it is not safe to use a .md5 file from the same server from which I get the distribution file. The reason given was that the .md5 file may also have been hacked along with the distribution