jsvc and logging

2009-05-30 Thread Malcolm Warren
Dear All, I'd be grateful for some help with jsvc and logging. I've spent a whole morning googling but without success so I'm turning to the Tomcat mailing list. My logs are all going into the syslog, which is not the best solution. I would like to see tomcat logs in the usual tomcat /logs

Re: User tracking/monitoring

2009-05-30 Thread Rainer Jung
On 29.05.2009 18:58, Tim Funk wrote: Add this to your footer? SESSION ID: ${pageContext.session.id} Beware though, that in some security sensitive contexts this is not adequate, e.g. if users print out or save pages and share those with others, session takeover is made much more simple (at

Re: Php, tomcat, mappings and authentication.

2009-05-30 Thread Rainer Jung
On 29.05.2009 23:01, André Warnier wrote: Or you can use a popular filter with more options: http://securityfilter.sourceforge.net/ Or, if you decide to do the PHP part and do it under Apache httpd, then you could do all the authentication at the Apache httpd level, and pass the

Re: jk Status not showing errors

2009-05-30 Thread Rainer Jung
On 29.05.2009 22:50, Matthew Laird wrote: Good afternoon, I've been trying to get the jkstatus component of mod_jk running, and I'm not quite sure what I'm doing wrong in trying to have it report dead Tomcat instances. I have two tomcat instances setup in a load balancer, as a test I've

Re: retrive Arabic data

2009-05-30 Thread George Sexton
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 George, On 5/28/2009 3:59 PM, George Sexton wrote: The issue is the default character set for Java. I've noticed that at least at one point in time, the default character set for Java running under windows was

Re: jsvc and logging

2009-05-30 Thread Hassan Schroeder
On Sat, May 30, 2009 at 1:54 AM, Malcolm Warren malc...@villeinitalia.com wrote: The tomcat daemon is started like this:              $DAEMON -user $TOMCAT6_USER -cp $JSVC_CLASSPATH \                   -outfile SYSLOG -errfile SYSLOG \ But if I try to change the -outfile and -errfile

Tomcat 6.0 - Cannot startup Tomcat service

2009-05-30 Thread Jonathan Camilleri
I've just installed Tomcat 6.0 on Windows Server 2008 64 bit, however the service is not starting. [2009-05-30 20:56:03] [info] Procrun (2.0.4.0) started [2009-05-30 20:56:03] [info] Service Tomcat6 name Apache Tomcat [2009-05-30 20:56:03] [info] Service Tomcat6 installed [2009-05-30 20:56:03]

RE: Tomcat 6.0 - Cannot startup Tomcat service

2009-05-30 Thread Caldarale, Charles R
From: Jonathan Camilleri [mailto:camilleri@gmail.com] Subject: Tomcat 6.0 - Cannot startup Tomcat service [2009-05-30 20:56:11] [994 prunsrv.c] [error] Failed creating java C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll You've installed a 32-bit JVM; since you're on a 64-bit OS

Re: Tomcat 6.0 - Cannot startup Tomcat service

2009-05-30 Thread Jonathan Camilleri
I tried replacing the .exe files with the 64 bit within C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\bin, however no joy yet. What do I do with the tc-native-1.dll? Rgds, J. 2009/5/30 Caldarale, Charles R chuck.caldar...@unisys.com From: Jonathan Camilleri

Caching rendered page - reducing hits to the backend?

2009-05-30 Thread Andre-John Mas
Hi, Much of the content on the site which I am in the process will be semi- static, and I want to be able to cache the rendered pages to reduce database hits. To explain: A given page will depend on dynamic data that is stored in the database, but that data is updated about once a month.

Re: jsvc and logging

2009-05-30 Thread Malcolm Warren
Dear Hassan, Thank you very much for your reply. I've found my mistake - a stupid one - I forgot the trailing back slash indicating a continuing line of the command. And it now all seems to be working. Thanks again, Malcolm Warren Hassan Schroeder ha scritto: On Sat, May 30, 2009 at

RE: Tomcat 6.0 - Cannot startup Tomcat service

2009-05-30 Thread Caldarale, Charles R
From: Jonathan Camilleri [mailto:camilleri@gmail.com] Subject: Re: Tomcat 6.0 - Cannot startup Tomcat service I tried replacing the .exe files with the 64 bit within C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\bin, however no joy yet. What about the 64-bit JVM? Your

RE: Caching rendered page - reducing hits to the backend?

2009-05-30 Thread Caldarale, Charles R
From: Andre-John Mas [mailto:aj...@sympatico.ca] Subject: Caching rendered page - reducing hits to the backend? I want to be able to cache the rendered pages to reduce database hits. Wouldn't that be the function of a Java bean? Am I worrying unecessarily? Hard to tell without taking

RE: Tomcat 6.0 - Cannot startup Tomcat service

2009-05-30 Thread Martin Gainty
[2009-05-30 20:56:49] [994 prunsrv.c] [error] Failed creating java C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll//i've never been able to get folders with spaces and parenthesis to resolve correctly //i would suggest changing C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll to

RE: Tomcat 6.0 - Cannot startup Tomcat service

2009-05-30 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: Tomcat 6.0 - Cannot startup Tomcat service //i would suggest changing C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll to C:\PROGRA~1\Java\jre6\bin\client\jvm.dll Completely unnecessary; the service launcher works fine with