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. > ** > unpackWARs="false" autoDeploy="false"> > > > directory="logs" prefix="test02.v

Why there are no logs?

2007-11-29 Thread Dmitry S. Kravchenko
Hi! What's wrong with the following configuration tag in Server.xml ** ** I have no test02* logs in /var/log/tomcat5 directory, only catalina* and localhost* logs. W

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]

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

Re: compiling APR/tcnative on Win32

2007-11-29 Thread Martin Gainty
Hi Bruno- one of 2 solutions 1)get the source for Rpcrt4.dll and compile and link itnot sure how to acquire the source for Rpcrt4 2)coax Rpcrt4.dll to library format Rpc4t.lib and link it in i think there is a DLL2Lib hanging around somewhere? ask the folks on tomcat-dev if they have a DLL2Lib

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 %SystemRoot%\syst

Re: Tomcat Security/Service question..

2007-11-29 Thread br1
Joe, I would try running the service under your credentials. If it works, it's not a Tomcat problem. In general, the user has to be recognized both by the local machine and by the remote machines that you are trying to query. The "service user" you are using might not have the necessary rights o

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 m

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 secu

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 connectio

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 connec

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 th

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" Sent: Thursday, November 29, 2007 4:26 PM Subject: Re: [Tomcat 5.5.17] Strange Proble

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

2007-11-29 Thread Jackie Justice
I don't know why you are writing to me. I just wanted to get to petedge. Jackie J - Original Message - From: "Mark Thomas" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, November 29, 2007 3:54 PM Subject: Re: [Tomcat 5.5.17] Strange Problem With Batabase Connection Pool

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

2007-11-29 Thread albert quinn
It could be. I'm really lost, and have no idea about what is happening. I forgot to tell that, when I call the web service after about an hour of inactivity and it waits forever at the 3th line, if i call the web service again, it works nice and it keeps on working nice (except if I wait about

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

2007-11-29 Thread Mark Thomas
albert quinn wrote: > The lines 1 and 2 are executed, but the 4th line is never reached. > Any idea of what could be happening here or how could I do to discover > what's happening? does it seems to be a bug on my code or a setup > problem? Could you database connection be timing out due to inac

[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, sen

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

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 S

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: 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 > http://servername/fop/servlet/

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 t

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 apac

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 suppo

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 c

Re: Question about multiple SSL at same machine

2007-11-29 Thread Mark Deneen
You can't do name-based virtual hosting with SSL. I think I remember reading that the headers are encrypted and are not decrypted until after apache would have to make the choice of which virtual host to send the request to. I suppose that changing the SSL port would let you use the same IP addre

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: Question about multiple SSL at same machine

2007-11-29 Thread Hassan Schroeder
On Nov 29, 2007 3:43 AM, Alex Florentino <[EMAIL PROTECTED]> wrote: > 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 it... > > beca

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 > > > > > >

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 th

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.xml&xslt=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--

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 it.

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 --

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 th

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 numbe

RE: multithreaded with taglibs

2007-11-29 Thread Yair Ben-Meir
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, I do want to continue with the JSP and write to the "out" later on. The only

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 insta