Session replication problem

2007-11-29 Thread Giancarlo Frison
Hi all, I have a cluster configured with 2 tomcat instaces in the same host and apache + mod_jk as load balancer with stiky session. The instances' server.xml (show below) diff only for /Cluster/Channel/Receiver[port] attribute, the first one set to 4000 and the second one set to 4001. The 2

Re: multithreaded with taglibs

2007-11-29 Thread ben short
Do you really need to use tomcat to do this? Maybe you should take a step back and rethink what your trying to achieve. On Nov 29, 2007 10:14 AM, Yair Ben-Meir [EMAIL PROTECTED] wrote: Let me try another scenario: let say that the generated text for the out is not one iamge, but some number

apache fop remains active in servlet environment

2007-11-29 Thread Roel
I use apache fop in a servlet to display some xml as pdf. When I have used that functionality in my webapp my (Tomcat 6.0) web container doesn't want to undeploy. It deletes everything in the webapps/*context* directory except WEB-INF/lib/batik.jar and WEB-INF/lib/fop.jar. When trying to delete

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

2007-11-29 Thread Gregor Schneider
Shaji, maybe this will do the trick: http://tomcat.apache.org/faq/security.html#8005 Cheers Gregor -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

Question about multiple SSL at same machine

2007-11-29 Thread Alex Florentino
Hi all, I have windows colocation and have one site that have ssl and it works fine, now I have another site and need set up another ssl, I think that change ssl port for second site is good solutions but my client don't like this idea, then I need set up another ip.. but I not sure how I make

Re: apache fop remains active in servlet environment

2007-11-29 Thread mgainty
FOP 0.94 has working servlet code which can be called specifying the xml and xsl http://servername/fop/servlet/FopServlet?xml=data.xmlxslt=format.xsl OR just using the fo param http://servername/fop/servlet/FopServlet?fo=readme.fo http://archive.apache.org/dist/xmlgraphics/fop/binaries/ M--

Re: Tomcat 6.0 with Apache 2.2 front-end

2007-11-29 Thread Brian Millett
Filip Hanik - Dev Lists escribío: using mod_proxy_http, you want to enable ProxyPreserveHost On Filip loknor wrote: Filip Hanik - Dev Lists wrote: three options mod_proxy_http mod_jk mod_proxy_ajp Filip Yep just found the other option, and a site that got me up to

Re: Tomcat 6.0 with Apache 2.2 front-end

2007-11-29 Thread David Cassidy
Has anyone got a comparison of the NIO one vs standard java connectors ? both with and without the native libs ? Ta On Thu, 2007-11-29 at 08:38 -0600, Brian Millett wrote: Filip Hanik - Dev Lists escribío: using mod_proxy_http, you want to enable ProxyPreserveHost On Filip

Re: Tomcat's container architecture - Authenticator

2007-11-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, Bill Barker wrote: Suggestions on how to improve the Authenticators that ship with TC are always welcome on [EMAIL PROTECTED] But help on rolling-your-own-Authenticator will likely get you pointed back to this list :). The original

Re: multithreaded with taglibs

2007-11-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yair, Yair Ben-Meir wrote: Let me try another scenario: let say that the generated text for the out is not one iamge, but some number between 0 and 5. the correct number of images will be clear only after the execution of the thread. In this case,

Re: OT - Tomcat and Stanford NLP POS Tagger

2007-11-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vasu, [EMAIL PROTECTED] wrote: We are trying to implement servlet setup with Tomcat 5.0.28 and JDK 1.5.x using POS (Parts of Speech) Tagger. We can not get it to work. What is it? Java? Tomcat? Tagger? Obviously, we can't give you Tagger support,

Re: Session replication problem

2007-11-29 Thread Filip Hanik - Dev Lists
you can turn debug on and see the messages being sent back and forth. a previous user reported that sessions got expired during a normal shutdown, I yet have to investigate this Filip Giancarlo Frison wrote: Hi all, I have a cluster configured with 2 tomcat instaces in the same host and

Re: Tomcat 6 Clustering expireSessionsOnShutdown=false

2007-11-29 Thread Filip Hanik - Dev Lists
I'll take a look at this today or tomorrow filip Timothy Wonil Lee wrote: Dear list, I have a cluster of Tomcat 6.0.14 using DeltaManager. Session replication works fine while both instances are running. I can test this by for example, logging-in to one of the webapps on a Tomcat instance in

Re: apache fop remains active in servlet environment

2007-11-29 Thread Roel
And how can i use that to render an in-memory DOM object? The xml I need to render is constructed on the fly from database records and then fed to fop. Roel mgainty wrote: FOP 0.94 has working servlet code which can be called specifying the xml and xsl

Re: Tomcat 6.0 with Apache 2.2 front-end

2007-11-29 Thread Filip Hanik - Dev Lists
the speed of the connectors are (in order) Http11Protocol - Java BIO connector, no poller, blocking read/write Http11AprProtocol - APR connector, poller, blocking read/write Http11NioProtocol - Java NIO connector, poller, simulated blocking read/write the reason the NIO is slower, is cause it

Re: OT - Tomcat and Stanford NLP POS Tagger

2007-11-29 Thread Ken Bowen
I don't think the Stanford NLP POS Tagger download includes any web-oriented classes other than the single class which can parse the un-html-tagged content out of a web page. Have you obtained or developed a servlet/jsp in which Tagger is embedded? Christopher Schultz wrote: -BEGIN PGP

Tomcat Security/Service question..

2007-11-29 Thread Joe Siebenmann
Hi All, Basically, I have a Tomcat Service that has a Service User with a User name and Password, and it's in the Administrator's Group. Using WMI, one of the Servlets can connect to a remote machine and do WMI quires. Here is the problem.. When I start the Service, that uses tomcat5.exe, it

[Tomcat 5.5.17] Strange Problem With Batabase Connection Pool

2007-11-29 Thread albert quinn
Hi all ! : I'm facing a very strange problem. I'm developing a web service with : - Apache Axis 2 RC 1.3 running on Tomcat 5.5.17, running on Windows XP Professional - Java JDK 1.5 I've set up a database connection pool in Tomcat. My Web Service gets a connection from the pool,

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

2007-11-29 Thread Jackie Justice
All of a sudden I have gotten several emails concerning tomcat. All I wanted to do was to get to petedge. Jackie - Original Message - From: albert quinn [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, November 29, 2007 4:26 PM Subject: Re: [Tomcat

Re: Tomcat 6.0 with Apache 2.2 front-end

2007-11-29 Thread Tony Anecito
Thanks Filip I am interested in that information also. I will try to get it configured and running and give feedback on performance since I already use mod_jk or the Http11AprProtocol as I think you call it. Regards, -Tony --- Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: the speed of the

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

2007-11-29 Thread albert quinn
Hi again, Mark : I've benn thinking about the problem and I don't really think it could be a problem with database connection timeout due to inactivity because when the web service is called, the web service gets a connection from the pool, it uses the connection, and then it closes the

Re: Tomcat 6.0 with Apache 2.2 front-end

2007-11-29 Thread Tony Anecito
I was interested in seeing how it compared to the regular Apache server. I am not sure of the advantages of combining multiple tiers. The reason to keep them separate is to be able to scale by adding servers to a specific tier. My experience has been keep the tiers separate. I am not sure how

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

2007-11-29 Thread albert quinn
Hi once more time : Thanks again for your help. Sorry, I didn't know the connections aren't really closed. I've to leave now, but I'll read the URLs you gave me tomorrow and then, I'll try to set up DHCP properly. Thanks a lot. I'll come back if I get any kind of new information about the

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

2007-11-29 Thread Mark Thomas
albert quinn wrote: Hi again, Mark : I've benn thinking about the problem and I don't really think it could be a problem with database connection timeout due to inactivity because when the web service is called, the web service gets a connection from the pool, it uses the connection,

Re: compiling APR/tcnative on Win32

2007-11-29 Thread br1
Hi, Thank you for your reply. Though the actual question is: what should I change in the Visual C++ project in order to get it compiled correctly? It is a non VC++ programmer question, you know :-) Thanks again, b. mgainty wrote: Hi Bruno its supposed to be located in

RE: Question about multiple SSL at same machine

2007-11-29 Thread Peter Crowther
From: Alex Florentino [mailto:[EMAIL PROTECTED] I have windows colocation and have one site that have ssl and it works fine, now I have another site and need set up another ssl, I think that change ssl port for second site is good solutions but my client don't like this idea, then I need

Thread-safety servlet testing

2007-11-29 Thread Самойлов Андрей Иванович
How to test servlet on thread-safety? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Why there are no logs?

2007-11-29 Thread Dmitry S. Kravchenko
Hi! What's wrong with the following configuration tag in Server.xml ** Host name=test02.vsetech.ru debug=1 appBase=/var/webmet/test02 unpackWARs=false autoDeploy=false !-- Logger shared by all Contexts related to this virtual host.

Re: Why there are no logs?

2007-11-29 Thread Mark Thomas
Dmitry S. Kravchenko wrote: What's wrong with the following configuration tag in Server.xml A Tomcat version would help. ** Host name=test02.vsetech.ru debug=1 appBase=/var/webmet/test02 unpackWARs=false autoDeploy=false !--