Error while starting the Tomcat

2007-06-20 Thread Soumya
Hi all, I get the following error message when i try to start the Tomcat. Due to which i cannot run my application My application includes struts , hibernate and Tomcat 6 as the application server Please help me out in fixing this issue Jun 20, 2007 11:54:39 PM org.apache.catalina.core.AprLifec

Error while starting the Tomcat

2007-06-20 Thread Soumya
Hi all, Soumya here. My application includes struts,hibernate and the MYSQL for the database When i deploy the application n try to run the application in the Tomcat, my server is not starting rather it throws the following error message. Error message Jun 20, 2007 11:45:50 PM org.apache.catali

Re: how to generate java heap dump from tomcat 5.0.27

2007-06-20 Thread Phi-Long LE
I use the same method as you except the fact that all java options are within a file and I set the JAVA_OPTS to -Xoptionsfile= Le 21/06/2007 05:48, Guan Yu a écrit : > i need to generate java heap dump to trace memory leak in our web > application. We are using tomcat 5.0.27. > I added "-agen

Re: Exchange Language

2007-06-20 Thread Jacob Rhoden
What a great idea, why didn't I think of that? Sam Klin wrote: > Can this witty exchange continue in private email? > > - Original Message - > From: "Jacob Rhoden" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Thursday, June 21, 2007 12:27 AM > Subject: Re: Exchange Language >

Re: Exchange Language

2007-06-20 Thread Sam Klin
Can this witty exchange continue in private email? - Original Message - From: "Jacob Rhoden" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, June 21, 2007 12:27 AM Subject: Re: Exchange Language > Oops, I did not mean to send this to the mailing list. Sorry. We should > tak

Re: Exchange Language

2007-06-20 Thread Jacob Rhoden
Oops, I did not mean to send this to the mailing list. Sorry. We should take the conversation off the tomcat mailing list. _ Jacobs Blog -- http://www.jacobrhoden.com/ - To start a new

Re: Exchange Language

2007-06-20 Thread Jacob Rhoden
我也学习中问。但是我的中问不好!I like learning chinese, however I am not very advanced. I am interested in learning, however I dont know how this would work over email? Best Regards, Jacob 吴熊敏 wrote: > Dear All, > > I'm learning English,is there anyone want to lean Chinese. > > I wish to find one w

Exchange Language

2007-06-20 Thread 吴熊敏
Dear All, I'm learning English,is there anyone want to lean Chinese. I wish to find one who can exchange language with me. 吴熊敏 <[EMAIL PROTECTED]> - To start a new topic, e-mail: us

Re[2]: SOS thanks

2007-06-20 Thread 吴熊敏
thanks very much On Thu, 21 Jun 2007 12:19:36 +0800 "Greg Gamble" <[EMAIL PROTECTED]> wrote: > On Thu, Jun 21, 2007 at 11:58:41AM +0800, 吴熊敏 wrote: > > "eg" stands for "example given" > > e.g. abbreviates the Latin: exempli gratia > ... which in English is: for example > > i.e. abbreviat

Re[4]: SOS thanks

2007-06-20 Thread 吴熊敏
thank you On Thu, 21 Jun 2007 12:05:17 +0800 Peter <[EMAIL PROTECTED]> wrote: > hi > i.e. > > The term i.e. means "id est" in Latin or "that is" in English. A trick that > I use: If you can replace "i.e." with "in other words" then you are using it > correctly. "I.e." is used to specify what yo

RE: Tomcat 5.5.23 on Microsoft Vista

2007-06-20 Thread Caldarale, Charles R
> From: David Kider [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 5.5.23 on Microsoft Vista > > Failed installing 'tomcatman' service I suspect you may already have a Tomcat service installed, since each service must have both a unique service name and a unique display name; what you're trying

Re: SOS thanks

2007-06-20 Thread Greg Gamble
On Thu, Jun 21, 2007 at 11:58:41AM +0800, 吴熊敏 wrote: > "eg" stands for "example given" e.g. abbreviates the Latin: exempli gratia ... which in English is: for example i.e. abbreviates the Latin: id est ... which in English is: that is Contexts of usage for both is similar ... here's a

Re: Re[2]: SOS thanks

2007-06-20 Thread Peter
hi i.e. The term i.e. means "id est" in Latin or "that is" in English. A trick that I use: If you can replace "i.e." with "in other words" then you are using it correctly. "I.e." is used to specify what your are trying to convey. see the following actical about the i.e vs e.g http://ancienthistor

Re[2]: SOS thanks

2007-06-20 Thread 吴熊敏
I have find the answer by goole i.e. (from Latin "id est") means: that is (to say). e.g. (again from Latin "exempli gratia") means: for example; for the sake of example. Thank you very much! On Thu, 21 Jun 2007 13:44:06 +1000 Jacob Rhoden <[EMAIL PROTECTED]> wrote: > 吴熊敏 wrote: > > Thanks ve

Re[2]: SOS thanks

2007-06-20 Thread 吴熊敏
"eg" stands for "example given" but what does "ie" stands for? On Thu, 21 Jun 2007 13:44:06 +1000 Jacob Rhoden <[EMAIL PROTECTED]> wrote: > 吴熊敏 wrote: > > Thanks very much. > > I have another question,what does "ie" here means? Is it the same as "it"? > > > > I have seen this word "ie" in many

RE: Tomcat 5.5.23 on Microsoft Vista

2007-06-20 Thread David Kider
I have Sun's JDK installed. I am using 1.5. Javac will successfully compile a java src file into a class and I'm able to then run it from the cmd prompt. When I try running service.bat from the cmd line I get: Installing the service 'tomcatman' ... Using CATALINA_HOME:C:\apache-tomcat-5.5.23

Re: SOS thanks

2007-06-20 Thread Jacob Rhoden
Sorry, I need to correct myself. I just checked with my Chinese colleague to make sure I was getting my Chinese right, and he says 比如 is a better translation than 比喻。 Best Regards, Jacob - To start a new topic, e-mail: users@tomc

how to generate java heap dump from tomcat 5.0.27

2007-06-20 Thread Guan Yu
i need to generate java heap dump to trace memory leak in our web application. We are using tomcat 5.0.27. I added "-agentlib:hprof=heap=dump,format=b,file=D:/java.hprof" to Java Options using "Configure Tomcat". Is this the correct method? How do I continue from here? _

Re: SOS thanks

2007-06-20 Thread Jacob Rhoden
吴熊敏 wrote: > Thanks very much. > I have another question,what does "ie" here means? Is it the same as "it"? > > I have seen this word "ie" in many mails,but i don't understand its > meaning. > "ie" means "For example". It is similar in usage to "比喻说". (I think they are the characters, not sure)

Re[2]: SOS thanks

2007-06-20 Thread 吴熊敏
> Hi, > > The closest manderin sound would be "nv2 bi4" , ie sounds a bit like > characters "女毕". Thanks very much. I have another question,what does "ie" here means? Is it the same as "it"? I have seen this word "ie" in many mails,but i don't understand its meaning. > Best Regards, > Jacob >

Re: SOS thanks

2007-06-20 Thread Jacob Rhoden
Hi, The closest manderin sound would be "nv2 bi4" , ie sounds a bit like characters "女毕". Best Regards, Jacob 吴熊敏 wrote: > I don't know the pronounciation of this word "newbie". > > [nju:bai] or [nju:bie] or ..? > > who can tell me! > > Thanks in advance!! > --

SOS thanks

2007-06-20 Thread 吴熊敏
Dear All: I don't know the pronounciation of this word "newbie". [nju:bai] or [nju:bie] or ..? who can tell me! Thanks in advance!! 吴熊敏 <[EMAIL PROTECTED]> - To start a new topic, e-mail: users@t

RE: Tomcat won't compile my jsp

2007-06-20 Thread Caldarale, Charles R
> From: Michael Schantz Klausen [mailto:[EMAIL PROTECTED] > Subject: Tomcat won't compile my jsp > > I'm not if it's fedora, java or tomcat to blame, but I > have the default GNU java installed, and I have installed the > "jdk-6u1-linux-amd64.bin" from sun. Make sure Tomcat is using the real J

Tomcat won't compile my jsp

2007-06-20 Thread Michael Schantz Klausen
I have just installed tomcat5.5 on my fedora 7 box together with the example apps. They all run just fine, but when i create a blank jsp with only text in it, tomcat won't run the jsp. I'm not if it's fedora, java or tomcat to blame, but I have the default GNU java installed, and I have installe

Re: JNDI & Tomcat

2007-06-20 Thread Tom Miller
OK Chris, Thanks Tom Original message >Date: Tue, 19 Jun 2007 18:23:08 -0400 >From: Christopher Schultz <[EMAIL PROTECTED]> >Subject: Re: JNDI & Tomcat >To: Tomcat Users List > >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Tom, > >1. DO NOT hijack threads. >2. DO post the t

Re: Cannot load customized valve and realm from META-INF/context.xml

2007-06-20 Thread Zhiyong Liu
Thanks for all the reply. I found this page while searching for a solution http://mail-archives.apache.org/mod_mbox/geronimo-user/200703.mbox/[EMAIL PROTECTED] Although it does not address my problem since I don't use Geronimo, I put the link here in hope helping someone else hits this thread.

Re: Tomcat sporadic halts

2007-06-20 Thread Jacob Bunk Nielsen
"Neeraj Vora" <[EMAIL PROTECTED]> writes: > I have been using Tomcat 5.5.7 for a long time without any issues on Solaris > 10 and Oracle 9. Recently I added a couple of apps (total is under a dozen > and load is quite low) and something very strange is observed. Around once a > day a user will

RE: Encrypt Tomcat 4.1 log and log4j.properties log with MD5

2007-06-20 Thread Peter Crowther
> From: Tim Funk [mailto:[EMAIL PROTECTED] > If you have an evil admin, there is nothing stopping the him from > sniffing the network, or starting tomcat with a debugger > which can look > at the memory or {insert evil action here} ;) Sure. Or do the old trick we used to do with Suns - L1-A o

Re: Encrypt Tomcat 4.1 log and log4j.properties log with MD5

2007-06-20 Thread Tim Funk
If you have an evil admin, there is nothing stopping the him from sniffing the network, or starting tomcat with a debugger which can look at the memory or {insert evil action here} ;) -Tim Peter Crowther wrote: From: Nelson, Tracy M. [mailto:[EMAIL PROTECTED] An easier approach might be to wr

RE: Encrypt Tomcat 4.1 log and log4j.properties log with MD5

2007-06-20 Thread Peter Crowther
> From: Nelson, Tracy M. [mailto:[EMAIL PROTECTED] > An easier approach might be to write your encrypting logger > as a filter > and have it take its input from a named pipe. I thought about suggesting that, but there's a weak point - there's nothing to stop an admin killing the encrypting logge

RE: Encrypt Tomcat 4.1 log and log4j.properties log with MD5

2007-06-20 Thread Nelson, Tracy M.
| From: Yulius [mailto:[EMAIL PROTECTED] | Sent: Wednesday, 20 June, 2007 05:07 | | I'm currently need to do the encryption towards the log files that has | been created by the webserver and the webapplication, so that only those | who has the password to decrypt the log files can read them. So

Re: How to build tomcat distribution from src

2007-06-20 Thread Johnny Kewl
Nick shouldnt be hard make sure ant set up right, then ant download ant ant -f dist.xml Done! Also saw a project with NB6 TC6 where the guys shows you how to do it in NetBeans. On the NB site... google And then I got a NB port at http://coolese.100free.com/ but its not reall

Re: define security constraint by virtual host

2007-06-20 Thread teknokrat
Caldarale, Charles R wrote: From: news [mailto:[EMAIL PROTECTED] On Behalf Of teknokrat Subject: define security constraint by virtual host Does anyone know if its possible to make the security-constraint in a web.xml aware of what virtual-host it should apply to? No, since web.xml is defined

Re: classpath and public_html directories

2007-06-20 Thread Nathan S. Haigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Caldarale, Charles R wrote: >> From: Nathan S. Haigh [mailto:[EMAIL PROTECTED] >> Subject: Re: classpath and public_html directories >> >> Doesn't tomcat set the classpath itself using the bin/setclasspath.sh >> script? > > Yes, but depending on the

RE: Tomcat application connect via https only?

2007-06-20 Thread Vigorito, Nicholas E.
Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] rg] On Behalf Of Caldarale, Charles R Sent: Wednesday, June 20, 2007 11:16 AM To: Tomcat Users List Subject: RE: Tomcat application connect via https only? > From: Vigorito, Nicholas E. [mailto:[EMAIL PROTECTED]

Re: Tomcat application connect via https only?

2007-06-20 Thread ben short
I dont know about doing it via the config files, but i guess you could write a filter that will check the requests url is https and if not redirect them to the correct the https url. On 6/20/07, Vigorito, Nicholas E. <[EMAIL PROTECTED]> wrote: Doing that will make it so that ALL apps on the serv

RE: Tomcat application connect via https only?

2007-06-20 Thread Caldarale, Charles R
> From: Vigorito, Nicholas E. [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat application connect via https only? > > Doing that will make it so that ALL apps on the server can only be > connected to via HTTPS, correct? > > Any way to do it just for one app? It depends on where you put the . I

Re: classpath and public_html directories

2007-06-20 Thread David Smith
Reply inline - Nathan S. Haigh wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Smith wrote: Hi Nathan. If setup properly, the location of your webapp shouldn't cause issues with finding various classes. Just don't mention that dirty, dirty word CLASSPATH :-). Seriously messi

RE: Tomcat application connect via https only?

2007-06-20 Thread Vigorito, Nicholas E.
Doing that will make it so that ALL apps on the server can only be connected to via HTTPS, correct? Any way to do it just for one app? Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] rg] On Behalf Of ben short Sent: Wednesday, June 20, 2007 11:04 AM To: Tomcat U

RE: classpath and public_html directories

2007-06-20 Thread Caldarale, Charles R
> From: Nathan S. Haigh [mailto:[EMAIL PROTECTED] > Subject: Re: classpath and public_html directories > > Doesn't tomcat set the classpath itself using the bin/setclasspath.sh > script? Yes, but depending on the version of Tomcat it will either ignore or extend CLASSPATH, so you want to make su

Re: Tomcat application connect via https only?

2007-06-20 Thread ben short
In the server.xml that comes with tomcat there are 2 HTTP/1.1 connectors defined. One is on port 8080 the other is on port 8443. Comment out the 8080 one and uncomemnt the 8443 one and change the port to 443. Install your cert and you should be good to go. Regards Ben Short On 6/20/07, Vigo

Re: Combining form-based authentication with client-cert authentication

2007-06-20 Thread Johnny Kewl
Nick, never done it, but I think, yes you can. You cant directly integrate them, if the SSL client auth fails in the handshake, thats it, tomcat wont smell that request. But you will get an error, and that means you should be able to make a custom error page. on that you say, "You who doesnt

How to build tomcat distribution from src

2007-06-20 Thread Nick Duan
I downloaded tomcat source and was able to build it successfully. But I could find a way build the distribution package (either package-tgz or package-zip). Any suggestions? Thanks! ND - To start a new topic, e-mail: users@tom

Re: classpath and public_html directories

2007-06-20 Thread Nathan S. Haigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Caldarale, Charles R wrote: >> From: Nathan S. Haigh [mailto:[EMAIL PROTECTED] >> Subject: Re: classpath and public_html directories >> >>> Seriously messing with the CLASSPATH environment >>> variable will cause loads of headaches. Best to >>> just

Re: Tomcat monitoring

2007-06-20 Thread Raffaele
Hi, sorry for the intrusion... could the number of active threads be retrieved also by code, invoking direclty Tomcat API? I'm using Embedded Tomcat. Thanks, regards. Raffaele Leon Rosenberg-3 wrote: > > there is probably no such thing as "best way" > >> - JVM Heap usage > manager and lamb

RE: classpath and public_html directories

2007-06-20 Thread Caldarale, Charles R
> From: Nathan S. Haigh [mailto:[EMAIL PROTECTED] > Subject: Re: classpath and public_html directories > > > Seriously messing with the CLASSPATH environment > > variable will cause loads of headaches. Best to > > just not mess with it and let tomcat ignore it. > > That's fine - I haven't touch

Re: load balancing

2007-06-20 Thread Filip Hanik - Dev Lists
yes, the balancer app is not production material, you may wanna look into other solutions Filip Asensio, Rodrigo wrote: Thanks I will try that. I read that load balancer webapp is just for small not so scalable load balancing solutions. I serve apps for a call center with 300 users hitting lik

Tomcat application connect via https only?

2007-06-20 Thread Vigorito, Nicholas E.
I am a newbie to Tomcat. I have 5.0.28. I would like to set up a web application so that one can ONLY connect to it via https. Anyone know how I can do this? I was able to set up Tomcat (via server.xml and certificates) so that one can connect to the app via either http or https and can even force

RE: Tomcat 5.5.23 on Microsoft Vista

2007-06-20 Thread Caldarale, Charles R
> From: David Kider [mailto:[EMAIL PROTECTED] > Subject: Tomcat 5.5.23 on Microsoft Vista > I wasn't sure how to respond to your msg through the list Hitting the reply button on you mailer is all it takes. Please send all messages to the list, not to individuals. > I have jdk 1.4 and jdk 1.

Re: classpath and public_html directories

2007-06-20 Thread Nathan S. Haigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Smith wrote: > Hi Nathan. > > If setup properly, the location of your webapp shouldn't cause issues > with finding various classes. Just don't mention that dirty, dirty word > CLASSPATH :-). Seriously messing with the CLASSPATH environment >

Re: monitoring mod_jk / ajp13 requests

2007-06-20 Thread Johnny Kewl
No... think its something else. As I understand it, you just trying to serve up a PDF file to a browser, whether by filter or servlet, from tc, or thru jk, dont think it makes any difference. I think what MS is waffling on about there, is that if the OBJECT tag is used by a plugin, and not a

RE: define security constraint by virtual host

2007-06-20 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of teknokrat > Subject: define security constraint by virtual host > > Does anyone know if its possible to make the security-constraint > in a web.xml aware of what virtual-host it should apply to? No, since web.xml is defined by the servlet spec a

Re: classpath and public_html directories

2007-06-20 Thread David Smith
Hi Nathan. If setup properly, the location of your webapp shouldn't cause issues with finding various classes. Just don't mention that dirty, dirty word CLASSPATH :-). Seriously messing with the CLASSPATH environment variable will cause loads of headaches. Best to just not mess with it an

define security constraint by virtual host

2007-06-20 Thread teknokrat
Does anyone know if its possible to make the security-constraint in a web.xml aware of what virtual-host it should apply to? The kind of thing I am after is - I have a security constraint on /admin which i want to be available on admin.company.com but not on any other virtual host I set up for

RE: load balancing

2007-06-20 Thread Asensio, Rodrigo
Thanks I will try that. I read that load balancer webapp is just for small not so scalable load balancing solutions. I serve apps for a call center with 300 users hitting like crazy our tomcats (I have the webapp and the bizlogic in the same server) and the most elegant solution for my situation is

Retrieving working threads from an embedded Tomcat

2007-06-20 Thread Raffaele
Hi all, I have an Embedded Tomcat, and my question is: - How should I do to retrieving the information about the number of currently working threads using the Tomcat API? Thanks in advance, Best regards Raffaele -- View this message in context: http://www.nabble.com/Retrieving-working-threads

Tomcat sporadic halts

2007-06-20 Thread Neeraj Vora
Hello, I have been using Tomcat 5.5.7 for a long time without any issues on Solaris 10 and Oracle 9. Recently I added a couple of apps (total is under a dozen and load is quite low) and something very strange is observed. Around once a day a user will report that one or the other app (sometime

Re: sticky sessions not sticking

2007-06-20 Thread Rainer Jung
Yes, but if you use it on multiple Tomcats (as a group), it will break stickyness. Of course, users can use the route attribute completely instead of the names, but most users seem to be confused by this. I tried to clarify the docs a couple of days ago, so with 1.2.24 the frequency of this q

classpath and public_html directories

2007-06-20 Thread Nathan S. Haigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm pretty new to Java and tomcat and can't seem to figure this out. I have an application that works fine under: /usr/local/tomcat/weapps/app_name However, when I put it into a user's home directory e.g. /home/user_name/public_html/app_name I get a

Re: load balancing

2007-06-20 Thread Filip Hanik - Dev Lists
copy the balancer application from Tomcat 5 into your Tomcat 6 install Asensio, Rodrigo wrote: I'm trying to implement a load balancing solution with tomcat55 with an ubuntu704 as load balancer with 3 legacy win2003 tomcat55 behind. I found a great article published in onjava.com (http://onja

Combining form-based authentication with client-cert authentication

2007-06-20 Thread Nick Duan
Is there anyway to allow both client-cert authentication and form-based authentication to work together in Tomcat? or J2EE web servers in general? I'd like to have users to log in to an web app using either user cert or username/password. If a user doesn't have a cert, the login page will show up

ClassNotFoundException when deserialized from tomcat web app

2007-06-20 Thread jtigre
Hi, Sorry for being little over descriptive here. I have an issue deserializing a file that contains a Map>. These POJO bean classes are stored in a jar file uder web-app/lib. I use classes from this jar in the rest of the application. I can deserialize the file from a standa

RE: Session Replication in Tomcat5.5.17

2007-06-20 Thread Fiona Sariedine
what this done with my problem -Oorspronkelijk bericht- Van: Mark Thomas [mailto:[EMAIL PROTECTED] Verzonden: woensdag 20 juni 2007 14:12 Aan: Tomcat Users List Onderwerp: Re: Session Replication in Tomcat5.5.17 shiva sha wrote: > Hai > > If i remove tomcats names (jvm route) in workers.

Re: Session Replication in Tomcat5.5.17

2007-06-20 Thread Mark Thomas
shiva sha wrote: > Hai > > If i remove tomcats names (jvm route) in workers.properties means how > Apache > route the request? > Pls clarify Remove the line: worker.list=tomcat1,tomcat2,loadbalancer Replace it with worker.list=loadbalancer Everythign else remains the same. mark

Re: Session Replication in Tomcat5.5.17

2007-06-20 Thread shiva sha
Hai If i remove tomcats names (jvm route) in workers.properties means how Apache route the request? Pls clarify On 6/20/07, Mark Thomas <[EMAIL PROTECTED]> wrote: shiva sha wrote: > Hi > > At present I m trying Session replication only.. > I think i need tomcat1 and tomcat2.. > Am i correct?

Re: Session replication in tomcat5.5

2007-06-20 Thread shiva sha
Yes Guru.. I had set all session attributes are "Serializable" Thanks Shiva On 6/20/07, Raghupathy, Gurumoorthy <[EMAIL PROTECTED]> wrote: Hi Shiva, Your config looks ok to me ... please can you confirm that all your session attributes are "Serializable" ? Even if one is not then se

RE: Session replication in tomcat5.5

2007-06-20 Thread Raghupathy, Gurumoorthy
Hi Shiva, Your config looks ok to me ... please can you confirm that all your session attributes are "Serializable" ? Even if one is not then session replication will have issues ... look at your application logs and confirm back Thanks Guru -Original Message- From: shiva sha [

Re: Session replication in tomcat5.5

2007-06-20 Thread shiva sha
Thanks Guru.. Below is the log entry from mod_jk.log [Mon Jun 18 21:27:32 2007] [2292:2296] [debug] jk_ajp_common.c (1806): worker tomcat1 contact is '192.168.10.30:8009' [Mon Jun 18 21:27:32 2007] [2292:2296] [debug] jk_ajp_common.c (1895): setting socket keepalive to 1 [Mon Jun 18 21:27:32 200

Re: sticky sessions not sticking

2007-06-20 Thread Mladen Turk
Rainer Jung wrote: No, Filip is right: 1) Each Tomcat needs to have a unique jvmRoute One side note: jvmRoute does not need to reflect the worker name in domain clustering model. jvmRoute can be "group1" on multiple nodes. and workers can be: worker.node1.xxx worker.node1.route=group1 ... wo

Re: monitoring mod_jk / ajp13 requests

2007-06-20 Thread Rainer Jung
Hi, if you are only interested in communication between mod_jk and Tomcat, set JkLogLevel to debug. It will dump alle headers and data packets. The data packets are truncated at 1024 bytes in the debug log. In case you need more, set JkLogLevel to trace. Try to do this without much load on t

Re: sticky sessions not sticking

2007-06-20 Thread Rainer Jung
No, Filip is right: 1) Each Tomcat needs to have a unique jvmRoute 2) the name of the member workers of the lb need to be identical to the jvmRoute of the Tomcat instances they point to. Regards, Rainer McCormack, Chris wrote: Should that not be : jvmRoute="balancer" C. -Original Mes

Re: Session Replication in Tomcat5.5.17

2007-06-20 Thread Mark Thomas
shiva sha wrote: > Hi > > At present I m trying Session replication only.. > I think i need tomcat1 and tomcat2.. > Am i correct? No - you need to remove these. Mark - To start a new topic, e-mail: users@tomcat.apache.org To un

Re: Encrypt Tomcat 4.1 log and log4j.properties log with MD5

2007-06-20 Thread Johnny Kewl
Ah, just clicked what you doing, sorry I'm slow today I think you using logging as a reporting system in your apps. Interesting, question becomes when does logging become private... personally I think the philosphy is wrong, but ok, thats what you doing. I would think about serving private

Re: Encrypt Tomcat 4.1 log and log4j.properties log with MD5

2007-06-20 Thread Andrew Miehs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20/06/2007, at 12:53 PM, Johnny Kewl wrote: Why? No, do it some other way, I think this will get horribly complex. On windows I think near impossible, short of placing a symmetrical alg in the source. What about normal protection, in essence

Re: Encrypt Tomcat 4.1 log and log4j.properties log with MD5

2007-06-20 Thread Johnny Kewl
Why? No, do it some other way, I think this will get horribly complex. On windows I think near impossible, short of placing a symmetrical alg in the source. What about normal protection, in essence the server starts up as a user, and only that user has access to the log folder, naturally admin

Re: Session replication in tomcat5.5

2007-06-20 Thread Phi-Long LE
I had paste the mod_jk.dll in conf/modules.. What i m trying is First i started the Apache and then Tomcat1,Tomcat2.. I run the html file in Tomcat1 and the given value is stored in session and displays the same. Then stop the Tomcat1.. If i run the same HTML i want to show the session value whic

test

2007-06-20 Thread Konrad Strózik
-- Konrad - 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: monitoring mod_jk / ajp13 requests

2007-06-20 Thread Tim Funk
See Fiddler http://www.fiddlertool.com/fiddler/ -Tim Philippe Boismoreau wrote: Hi, I'm requesting a .pdf file through IE6 > Apache 2.0 > mod_jk / ajp13 > Tomcat 5.0 > "my servlet who checks user's read rights" (declared as a in the web.xml of my webapp) the problem is : -> IE6 loads a wh

Re: Session replication in tomcat5.5

2007-06-20 Thread Phi-Long LE
did you try to add the address attribute within tag ? something looks strange in your worker.properties i.e. worker.tomcat1.lbfactor=1 worker.tomcat2.lbfactor=100 this two directive mean something like you will use 100 times tomcat2 for 1 time tomcat1... if you want to use the two tomcat at the

monitoring mod_jk / ajp13 requests

2007-06-20 Thread Philippe Boismoreau
Hi, I'm requesting a .pdf file through IE6 > Apache 2.0 > mod_jk / ajp13 > Tomcat 5.0 > "my servlet who checks user's read rights" (declared as a in the web.xml of my webapp) the problem is : -> IE6 loads a white page (nothing). When I retry, it loads correctly the document in the plugin for

Re: Encrypt Tomcat 4.1 log and log4j.properties log with MD5

2007-06-20 Thread Mladen Turk
Yulius wrote: Hi, I'm currently need to do the encryption towards the log files that has been created by the webserver and the webapplication, so that only those who has the password to decrypt the log files can read them. Huh, why would you need to encrypt those files? Isn't OS access

RE: sticky sessions not sticking

2007-06-20 Thread McCormack, Chris
Should that not be : jvmRoute="balancer" C. -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 14 June 2007 20:45 To: Tomcat Users List Subject: Re: sticky sessions not sticking change your JVM route to jvmRoute="worker1", as I believe the jvmRoute value h

Re: Encrypt Tomcat 4.1 log and log4j.properties log with MD5

2007-06-20 Thread Tim Funk
md5 is a one way hash - so "encrypting" your log files with md5 will yield unreadable files Tomcat out of the box doesn't have anything like this. You would need to do the following write your own log4j appenders (or whatever they are called) which encrypt the data. Since log4j can (IIRC) can

Re: Session Replication in Tomcat5.5.17

2007-06-20 Thread shiva sha
Hi At present I m trying Session replication only.. I think i need tomcat1 and tomcat2.. Am i correct? Thanks On 6/20/07, Raghupathy, Gurumoorthy <[EMAIL PROTECTED]> wrote: Try to remove tomcat1,tomcat2, from the workers.properties It should be something like worker.list=loadbalancer Tha

Re: Windows or Linux as Tomcat server?

2007-06-20 Thread Johnny Kewl
Roger, I think get your SP to set up a test linux box for you, for the office. You will need it for developers to test... Yes tomcat is perfectly compatible, but unfortunately developers are not and it very easy to slip in the code ie programmer has d:\property\ hard coded somewhere. Or mor

Encrypt Tomcat 4.1 log and log4j.properties log with MD5

2007-06-20 Thread Yulius
Hi, I'm currently need to do the encryption towards the log files that has been created by the webserver and the webapplication, so that only those who has the password to decrypt the log files can read them. Is there a way to solve this issue? Thanks in advance Yulius

apache fop and security manager problem

2007-06-20 Thread Roel Dillen
I wrote a servlet converting some xml to a pdf. The code (appended) is basically a slightly modified version of the example code in the fop faq about servlets. When I start Tomcat 5.5 with a security manager I get this weird exception (appended) when I try to access the servlet. When I don’t star

Re: Windows or Linux as Tomcat server?

2007-06-20 Thread Roger
Thanks for all your replies! @Johnny Kewl and David kerber We'll look into the memory leak, into the code. I don't know when we're going to find it, but it's good to know that it's not related to the Windows version of Tomcat. @Andrew Miehs and Tim Funk The server is hosted by a provider and beh

RE: Session Replication in Tomcat5.5.17

2007-06-20 Thread Raghupathy, Gurumoorthy
Try to remove tomcat1,tomcat2, from the workers.properties It should be something like worker.list=loadbalancer Thanks Guru -Original Message- From: shiva sha [mailto:[EMAIL PROTECTED] Sent: 20 June 2007 09:30 To: Tomcat Users List Subject: Re: Session Replication in Tomcat5.5.17 Hi

Session replication in tomcat5.5

2007-06-20 Thread shiva sha
Hi I follwoed the below URLs... http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html http://tomcat.apache.org/connectors-doc/reference/workers.html http://tomcat.apache.org/connectors-doc/generic_howto/workers.html But no luck.. Session is not get replicated.. This is my configuraion Apac

Re: Session Replication in Tomcat5.5.17

2007-06-20 Thread shiva sha
Hi I follwoed ur given URLs... But no luck.. This is my configuraion Apache Version : 2.2.4 Tomcat Version : 5.5.17 JDK : 1.6.0_01 Win 2000 workers.properties worker.list=tomcat1,tomcat2,loadbalancer # First tomcat server worker.tomcat1.type=ajp13 worker.tomcat1.host=192.168.10.30 w