Tomcat Service and OCI

2007-11-30 Thread Rumpa Giri
Hello, I am trying to run the tomcat as NT Service, but does not seem to work with OCI, if I run the same tomcat instance not as a service but via startup.bat, the OCI JDBC driver works fine. Can anybody help me locate how to fix the service installation script to avoid the exception

RE: How to make Tomcat shutdown itself if the address it is trying to bind is already in use.

2007-11-30 Thread Shaji Thomas
Thank you Gregor for the links. We are trying not to modify the Tomcat code at this point to avoid regression testing. We decided to change our Tomcat startup scripts to check for port issues and restart the server since this is the least intrusive change at this point in our release cycle. Thank

Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-11-30 Thread Tom Robinson
Caldarale, Charles R wrote: >> From: Tom Robinson [mailto:[EMAIL PROTECTED] >> Subject: java.lang.NoClassDefFoundError: >> org/apache/commons/collections/SequencedHashMap >> >> I think I've installed all the correct jars (mostly via >> jpackage and CentOS yum repos) > > And therein lies the pro

RE: SSL Session expires every request

2007-11-30 Thread Caldarale, Charles R
> From: Bárbara Vieira [mailto:[EMAIL PROTECTED] > Subject: RE: SSL Session expires every request > > HttpSession wasn't null in the beginning, when I started > my implementation. However, now is null in every request. How are you retrieving the session? A code sample would be good. - Chuck

RE: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-11-30 Thread Caldarale, Charles R
> From: Tom Robinson [mailto:[EMAIL PROTECTED] > Subject: java.lang.NoClassDefFoundError: > org/apache/commons/collections/SequencedHashMap > > I think I've installed all the correct jars (mostly via > jpackage and CentOS yum repos) And therein lies the problem, most likely. Throw away the 3r

java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-11-30 Thread Tom Robinson
Hi, I'm having some trouble with a new tomcat5 setup. The webapp works on another host with the following setup: CentOS 4 OK - Server info Tomcat Version: Apache Tomcat/5.0 OS Name: Linux OS Version: 2.6.9-55.0.9.ELsmp OS Architecture: i386 JVM Version: 1.4.2_10-b03 JVM Vendor: Sun Microsystems I

RE: SSL Session expires every request

2007-11-30 Thread Vimal Kumar
This is the first time I am ever asking a question, coz I just got registered here now. I think you mistook for somebody elese Chuck Charles Vimal Message Received: Nov 30 2007, 11:58 PM From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Us

RE: SSL Session expires every request

2007-11-30 Thread Bárbara Vieira
Hi Martin! I'm using 2 connectors : non-SSL HTTP/1.1 Connector on port 8080 and SSL HTTP/1.1 Connector on port 8443. Tomcat's connectors are very well configured, because HttpSession wasn't null in the beginning, when I started my implementation. However, now is null in every request. I can authent

RE: SSL Session expires every request

2007-11-30 Thread Caldarale, Charles R
> From: Vimal Kumar [mailto:[EMAIL PROTECTED] > Subject: RE: SSL Session expires every request > > Do u know how to configure PHP 5.2.5 on Tomcat 6.0. Please > let me know about it. Now you've become really annoying - you've hijacked threads, asked the same question multiple times, and appare

RE: SSL Session expires every request

2007-11-30 Thread Vimal Kumar
Hello, Do u know how to configure PHP 5.2.5 on Tomcat 6.0. Please let me know about it. Vimal Message Received: Nov 30 2007, 11:27 PM From: "Bárbara Vieira" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" Cc: Subject: RE: SSL Session expires ever

RE: Parameter Map is null after Ajax Request

2007-11-30 Thread Caldarale, Charles R
> From: Randeep Walia [mailto:[EMAIL PROTECTED] > Subject: Parameter Map is null after Ajax Request > > Saving Set 3 will demonstrate a problem whereby the servlet > that processes this request has an empty Parameter map Servlets don't have parameter maps, requests do. Are you by any chance st

RE: Parameter Map is null after Ajax Request

2007-11-30 Thread Propes, Barry L
do the logs have anything helpful at all? Almost sounds as if you save "out of order" - say, skipping from set 2 to set 3 you get this error, where as saving the first set or all sets won't cause the issue? -Original Message- From: Randeep Walia [mailto:[EMAIL PROTECTED] Sent: Friday, No

Re: SSL Session expires every request

2007-11-30 Thread Martin Gainty
Barbara Filip asks if you are using non SSL HTTP/1.1 HTTPConnector ***or*** SSL HTTP/1.1 Connector (presumably with Client certs) ? M-- - Original Message - From: "Filip Hanik - Dev Lists" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, November 30, 2007 2:16 PM Subject: Re: S

Parameter Map is null after Ajax Request

2007-11-30 Thread Randeep Walia
Over a year ago, a user reported a problem with his Request parameter map showing up null sporadically on his application: http://mail-archives.apache.org/mod_mbox/tomcat-dev/200601.mbox/[EMAIL PROTECTED] I am suddenly seeing similar behavior with our AJAX-enabled web application. We are using R

RE: [Tomcat 6] jsp on the fly

2007-11-30 Thread Caldarale, Charles R
> From: Manca Davide [mailto:[EMAIL PROTECTED] > Subject: R: [Tomcat 6] jsp on the fly > > but it doesn't... > how can I make it works? Does auto-compilation of JSPs work in a fresh Tomcat download, using the included JSP examples? If so, then something you have changed in your current Tomcat i

R: [Tomcat 6] jsp on the fly

2007-11-30 Thread Manca Davide
but it doesn't... how can I make it works? -Messaggio originale- Da: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Inviato: ven 30/11/2007 20.40 A: Tomcat Users List Oggetto: Re: [Tomcat 6] jsp on the fly yes, this works out of the box, without any changes to any config files Filip

RE: SSL Session expires every request

2007-11-30 Thread Bárbara Vieira
I have this problem with all my web applications. It already worked. But now isn't working and I need to know how to solve the problem. I'll try almost everything: install a new Tomcat, remove additional configurations in web applications, etc. But nothing works. -Original Message- Fro

Re: SSL Session expires every request

2007-11-30 Thread Carlo Politi
in my thesis i worked with SSL and mutual authentication between Apache HTTP Server and Tomcat. I didn't use Client-cert and i was able to access to HTTPServletRequest - Messaggio originale - Da: Bárbara Vieira <[EMAIL PROTECTED]> A: Tomcat Users List Inviato: Venerdì 30 novembre 2007,

Re: SSL Session expires every request

2007-11-30 Thread Carlo Politi
m very strange behaviour but have you had this strange thing only with a particular application or with all? - Messaggio originale - Da: Bárbara Vieira <[EMAIL PROTECTED]> A: Tomcat Users List Inviato: Venerdì 30 novembre 2007, 23:26:39 Oggetto: RE: SSL Session expires every requ

RE: SSL Session expires every request

2007-11-30 Thread Bárbara Vieira
I'm talking about HTTPSession. I think that I cannot accede to SSL session from HTTPServletRequest. -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 30 de Novembro de 2007 19:16 To: Tomcat Users List Subject: Re: SSL Session expires every reque

RE: SSL Session expires every request

2007-11-30 Thread Bárbara Vieira
Hi carlo!! Yes, it validates the certs. The certs are valid :) When the application is running all pages are showed( all pages are protected - under ssl), but when I test if HttpSession in the HttpServletRequest exists, it is null. -Original Message- From: Carlo Politi [mailto:[EMAIL PR

Help needed to Configure PHP 5.2.5 on Tomcat 6.0

2007-11-30 Thread Vimal Kumar
Hello, Can you please let me know how do I configure PHP 5.2.5 on Tomcat 6.0. Please let me know about it as soon as possible. Vimal - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PRO

RE: SSL Session expires every request

2007-11-30 Thread Bárbara Vieira
Hi Martin! is 2.(2 minutes). I believe that's not the problem, because CLIENT_CERT authentication already worked with session-timeout = 2. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 30 de Novembro de 2007 18:37 To: Tomcat Users List Subject: Re: S

Help needed to Configure PHP 5.2.5 on Tomcat 6.0

2007-11-30 Thread Vimal Kumar
Hello, Can you please let me know how do I configure PHP 5.2.5 on Tomcat 6.0. Please let me know about it as soon as possible. Vimal - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PRO

Re: Infinite loop restarting web app

2007-11-30 Thread David Sánchez
Hi cuck, I found the problem! Another tomcat project had a copy of this .jar and this copy was in future. Thanks for the info. David, 2007/11/30, David Sánchez <[EMAIL PROTECTED]>: > > Hi, > > The file jep-2.3.0.jar is: >Created: viernes, 30 de noviembre de 2007, 22:07:51 >Modify: vier

Re: Infinite loop restarting web app

2007-11-30 Thread David Sánchez
Hi, The file jep-2.3.0.jar is: Created: viernes, 30 de noviembre de 2007, 22:07:51 Modify: viernes, 10 de agosto de 2007, 11:49:10 Last Access: viernes, 30 de noviembre de 2007, 22:07:51 (noviembre = november and agosto=august) and the problem continues: 30-nov-2007 22:11:00 org.apache

RE: Infinite loop restarting web app

2007-11-30 Thread Caldarale, Charles R
> From: David Sánchez [mailto:[EMAIL PROTECTED] > Subject: Infinite loop restarting web app > > Any ideas what could have caused this? I erased the jars and > re-uploaded but the problem continues What's the timestamp on the jep-2.3.0.jar? Is it in the future, perhaps? - Chuck THIS COMMUNI

Infinite loop restarting web app

2007-11-30 Thread David Sánchez
I made a change to a jar file for a web app and uploaded it using my normal process. Immediately after refreshing the jar on the server, Tomcat went into an infinite loop restarting the app (See snippit from stdout log below). Any ideas what could have caused this? I erased the jars and re-uplo

Re: [Tomcat 6] jsp on the fly

2007-11-30 Thread Filip Hanik - Dev Lists
yes, this works out of the box, without any changes to any config files Filip Manca Davide wrote: Hello, I have a problem using jsp on tomcat 6 + jdk 6. I have some jsp under a webapp. I want to Tomcat recompile them into .class files without restarting. I already tried these: In

Re: SSL Session expires every request

2007-11-30 Thread Filip Hanik - Dev Lists
what session are you talking about, the HTTP session or the actual SSL session? Filip Bárbara Vieira wrote: Hi there!! I have a problem with SSL Session in Tomcat. I’m using CLIENT_CERT authentication to authenticate users in my web application. But, the session expires at every request, i

Re: SSL Session expires every request

2007-11-30 Thread Carlo Politi
but the certs are valids? - Messaggio originale - Da: Bárbara Vieira <[EMAIL PROTECTED]> A: Tomcat Users List Inviato: Venerdì 30 novembre 2007, 18:22:32 Oggetto: SSL Session expires every request Hi there!! I have a problem with SSL Session in Tomcat. I’m using CLIENT_CERT authentic

Re: SSL Session expires every request

2007-11-30 Thread Martin Gainty
which value is session-timeout assgined to in web.xml? M-- - Original Message - From: "Bárbara Vieira" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" Sent: Friday, November 30, 2007 12:22 PM Subject: SSL Session expires every request Hi there!! I have a problem with SSL Session in Tom

SSL Session expires every request

2007-11-30 Thread Bárbara Vieira
Hi there!! I have a problem with SSL Session in Tomcat. I’m using CLIENT_CERT authentication to authenticate users in my web application. But, the session expires at every request, in all browsers : Opera, IE, Firefox and Netscape. This is not make any sense, and I don’t know solve this problem

Re: Domino DSAPI-Tomcat

2007-11-30 Thread Rainer Jung
Martin Luna wrote: Hi, My name is Martin, I'm from Argentina and I'm a IBM Lotus Domino developer. I'm trying to use Tomcat as my JSP server. I've seen that there used to be a dsapi_redirector.dll for Tomcat-Domino integration, but I can't find it and I'm not sure is still working. Can you help

Re: Re^2: Comet servlet synchronization and flush problems

2007-11-30 Thread Filip Hanik - Dev Lists
ffd wrote: I found the origin of the problem in my case. The problem was neither the synchronization nor the connection gone. It was that the asynchronous writing started too early, before the connection was completely established, speaking losely... just call response.flushBuffer() on the B

[Tomcat 6] jsp on the fly

2007-11-30 Thread Manca Davide
Hello, I have a problem using jsp on tomcat 6 + jdk 6. I have some jsp under a webapp. I want to Tomcat recompile them into .class files without restarting. I already tried these: In context.xml WEB-INF/web.xml In server.xml:

can't undeploy webapp with manager

2007-11-30 Thread Tom Robinson
Hi, I'm having trouble with the manager webapp not removing the unpacked WAR after an undeploy. The result is that tomcat just redploys the webapp immediately! Do I have an incorrectly configured manager? Is the webapp itself to blame? I've pasted my context (ROOT.xml) and server.xml below with a

Re: Domino DSAPI-Tomcat

2007-11-30 Thread Martin Gainty
Lotus has published a comprehensive article located on implementing DSAPI in Tomcat at http://www-10.lotus.com/ldd/nd6forum.nsf/DateAllFlatweb/f5b53b588d8e36cf8525 73a3004b4d46?OpenDocument As Microsoft dlls are proprietary to their hosting environment if the suggestions from the whitepaper will n

Re: [Tomcat 5.5.17] Strange Problem With Batabase Connection Pool

2007-11-30 Thread albert quinn
Hi, (n+1)-th times !! : I've new information about the Database Connection Pool's mistery. After the last setup, adding testWhileIdle="true" and timeBetweenEvictionRunsMillis="240" it worked nice after about 3 hours of inactivity, but I don't undestand why It seems to work now and it didn'

comet tomcat 6.0.14

2007-11-30 Thread gabi munteanu
i am giving my first shot at a simple echo comet servlet. i have a simple webpage with a textarea in it, and a button. when clicking on the button, i do an ajax request to a comet servlet and write its response on the onsuccess ajax event in the textarea. on the server side i have a comet servlet

SV: Thread-safety servlet testing

2007-11-30 Thread Wilhelmsen Tor Iver
> How to test servlet on thread-safety? Use jMeter with a multitude of different "users" and test the returned data that you do not get the data for another user. http://jakarta.apache.org/jmeter/ - To start a new topic, e-mail:

Domino DSAPI-Tomcat

2007-11-30 Thread Martin Luna
Hi, My name is Martin, I'm from Argentina and I'm a IBM Lotus Domino developer. I'm trying to use Tomcat as my JSP server. I've seen that there used to be a dsapi_redirector.dll for Tomcat-Domino integration, but I can't find it and I'm not sure is still working. Can you help me with this? I'm

Re: Tomcat 5.5.25 DHCP SQLException: Already closed.

2007-11-30 Thread David Smith
I'm guessing somewhere in your code, you're calling close() on a connection and that's bringing up this exception. It would appear org.apache.commons.dbcp.PoolableConnection is going against the Sun javadocs for at least java 5 which states that calling close() on an already closed connection

Tomcat 5.5.25 DHCP SQLException: Already closed.

2007-11-30 Thread Eickvonder Bjoern
Hi, I just discovered a minor difference in the DHCP implementation used in Tomcat 5.5.25 vs. 5.5.23 and I'd like to know if it is a bug or a feature. I use conncetion pooling with minIdle>0 (but no validationQuery), so a few connection will remain open all day long. If the database now closes th

Re: [Tomcat 5.5.17] Strange Problem With Batabase Connection Pool

2007-11-30 Thread albert quinn
Hi for the n-th time ! : I've set up testWhileIdle="true" and timeBetweenEvictionRunsMillis="240". I'll try again in about an hour with this new setup and I'll come back if the new setup give me any new information. 2007/11/30, albert quinn <[EMAIL PROTECTED]>: > Hi again : > > I've r

Re: Thread-safety servlet testing

2007-11-30 Thread Leon Rosenberg
start with firing mit many threads (clients) on it. On Nov 30, 2007 5:30 AM, Самойлов Андрей Иванович <[EMAIL PROTECTED]> wrote: > > How to test servlet on thread-safety? > > > - > To start a new topic, e-mail: users@tomcat.apache

Re: [Tomcat 5.5.17] Strange Problem With Batabase Connection Pool

2007-11-30 Thread albert quinn
Hi again : I've read the URLs about DBCP configuration. Then, I've set up DBCP for my connection pool. I've added a validation query and I've set testOnBorrow="true". I've tried again and I've achieved the same strange behaviour : after about and hour of inactivity, it waits forever in the 3th

Re: Tomcat 6.0 with Apache 2.2 front-end

2007-11-30 Thread David Cassidy
Tony, mod_jk - which uses the ajp13 protocol is not the same as the http11aprprotocol which uses http/1.1 as its protocol. Filip - is there a comparison between apache talking to http to tomcat vs apache with ajp to tomcat ? Ta D On Thu, 2007-11-29 at 13:37 -0800, Tony Anecito wrote: > Thanks