Re: IIS7 + ISAPI Redirector on 64Bit Server Platform

2010-02-26 Thread Jordan Michaels
If it helps, I was never able to get the blasted thing to work either. I was, however, able to get 32-bit to work just fine, and have been using it for just about everything, with no issues. Wish I could help more! -Jordan - Original Message - From: "David Bolsover" To: users@tomcat

IIS7 + ISAPI Redirector on 64Bit Server Platform

2010-02-26 Thread David Bolsover
Environment: Server Hardware: Dell T110 : Intel Xeon X3430, 4Gb RAM. OS: Windows Small Business Server 2008 fully patched. SQL Server standard 2008 IIS: 7.0.6000.16386 Java version "1.6.0_18" Java(TM) SE Runtime Environment (build 1.6.0_18-b07) Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mix

Re: Java programm to Shutdwon the tomcat server

2010-02-26 Thread Pid
On 26/02/2010 18:40, Joseph Morgan wrote: And... if you are writing a java program do to this for you, such as a UI, then you'll need to essentially reverse this to start it. PID's idea to connect to the port to send the shutdown command will work for shutting it down, but to start it back up

Re: Access Log /Filter/?

2010-02-26 Thread Xie Xiaodong
Hello, Christopher, No, there is no AccessLogFilter in Tomcat 7 for now. I've got my version of AccessLogFilter during Google Summer Code 2009, but has not yet submit it for some reason. Please attach your version so we could discuss it and make an AccessLogFilter in Tomcat 7. On Fri, Feb 26,

Access Log /Filter/?

2010-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I just started to write a filter that did request timing logging, and I looked at AccessLogValve for inspiration for how to parse a log pattern and then spit it out for every request. I realized that AccessLogValve can actually do everything I w

RE: log4j :ERROR LogMananger.repositorySelector was null likely duetoerror

2010-02-26 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: log4j :ERROR LogMananger.repositorySelector was null > likely duetoerror > > 4) Use jinfo, a program that comes with the JDK for sure, possibly with > the JRE as well. It doesn't come with the JRE (only the JDK), and

Re: log4j :ERROR LogMananger.repositorySelector was null likely dueto error

2010-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/26/2010 9:13 AM, Caldarale, Charles R wrote: >> From: Christoph Kukulies [mailto:k...@kukulies.org] >> Subject: Re: log4j :ERROR LogMananger.repositorySelector was null >> likely dueto error >> >> Is there a way to interrogate the running

Re: Apache 2.2 and TomCat 6.0 using SSL

2010-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cyrille, On 2/26/2010 4:22 AM, Cyrille Le Clerc wrote: > I meant x-forwarded-proto rather than x-forwarded-for. > > Here is a sample of configuration where Apache adds the header > X-Forwarded-Proto and Tomcat RemoteIpValve handles it. I think the O

RE: DB connection error -Tomcat 6 config

2010-02-26 Thread Propes, Barry L
I'm using ojdbc14_g.jar now, and have been for a while, though I've not yet tried that factory class ref. I"ll plug it in and see if it works. Thanks, Nanjangude. -Original Message- From: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.com] Sent: Thursday, February 25, 2010

RE: Java programm to Shutdwon the tomcat server

2010-02-26 Thread Joseph Morgan
And... if you are writing a java program do to this for you, such as a UI, then you'll need to essentially reverse this to start it. PID's idea to connect to the port to send the shutdown command will work for shutting it down, but to start it back up... you'll still need to do Runtime.getRunti

Re: Java programm to Shutdwon the tomcat server

2010-02-26 Thread André Warnier
I suggest the following : I) If tomcat is running as a Windows service, then you should shut it down by stopping the Windows Service (and not by stopping down Tomcat directly). To stop the Tomcat-related Windows Service, there are two methods : a) use the "Services" applet of Windows (e.g.

Re: Tomcat SSO JSESSIONIDSSO value can't be reset by browser

2010-02-26 Thread Pid
On 26/02/2010 14:58, Xiaojun Deng wrote: On Fri, Feb 26, 2010 at 8:51 PM, Pid wrote: On 26/02/2010 09:59, Xiaojun Deng wrote: On Fri, Feb 26, 2010 at 09:57:46AM +, Pid wrote: On 26/02/2010 04:15, Xiaojun Deng wrote: Hello, I use the Tomcat SSO function, and I found that when I restar

RE: Tomcat SSO JSESSIONIDSSO value can't be reset by browser

2010-02-26 Thread Caldarale, Charles R
> From: Xiaojun Deng [mailto:xjde...@gmail.com] > Subject: Re: Tomcat SSO JSESSIONIDSSO value can't be reset by browser > > but the JSESSIONIDSSO value can't be reset, it keep the old cookie > value, and when login into the server again, it failed caused by using > a old cookie value, but the serv

Re: Tomcat SSO JSESSIONIDSSO value can't be reset by browser

2010-02-26 Thread Xiaojun Deng
On Fri, Feb 26, 2010 at 8:51 PM, Pid wrote: > On 26/02/2010 09:59, Xiaojun Deng wrote: >> >> On Fri, Feb 26, 2010 at 09:57:46AM +, Pid wrote: >>> >>> On 26/02/2010 04:15, Xiaojun Deng wrote: Hello, I use the Tomcat SSO function, and I found that when I restart my tomcat >>>

RE: log4j :ERROR LogMananger.repositorySelector was null likely dueto error

2010-02-26 Thread Caldarale, Charles R
> From: Christoph Kukulies [mailto:k...@kukulies.org] > Subject: Re: log4j :ERROR LogMananger.repositorySelector was null > likely dueto error > > Is there a way to interrogate the running tomcat (catalina) process > about it's set parameters? 1) Use JConsole (tricky with a service). 2) Install

RE: Java programm to Shutdwon the tomcat server

2010-02-26 Thread Joseph Morgan
Even better! -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, February 26, 2010 8:00 AM To: users@tomcat.apache.org Subject: Re: Java programm to Shutdwon the tomcat server On 26/02/2010 12:59, Joseph Morgan wrote: > You can send any system command through a Java prog

RE: log4j :ERROR LogMananger.repositorySelector was null likely due to error

2010-02-26 Thread Caldarale, Charles R
> From: Christoph Kukulies [mailto:k...@kukulies.org] > Subject: Re: log4j :ERROR LogMananger.repositorySelector was null > likely due to error > > Since passing start parameters under Windows (service manager) is weird Use the Java tab of the tomcat6w.exe program to set startup parameters for th

Re: Java programm to Shutdwon the tomcat server

2010-02-26 Thread Pid
On 26/02/2010 12:59, Joseph Morgan wrote: You can send any system command through a Java program. Are you developing or working with some kind of management tool and you want to know how to program it to stop Tomcat??? It depends on if you are running tomcat as a service or not, but either wa

Re: [OT] jvm exits without trace

2010-02-26 Thread André Warnier
Taylan Develioglu wrote: for some reason I keep calling you chuck... I hope I'm not offending anyone :O We all do that from time to time. It comes from the fact that we know he (Chuck) is always watching us from the sidelines, to catch anyone who doesn't know his Servlet Specs from his Socket

Re: log4j :ERROR LogMananger.repositorySelector was null likely due to error

2010-02-26 Thread André Warnier
Christoph Kukulies wrote: Mark Thomas schrieb: On 26/02/2010 11:16, Christoph Kukulies wrote: Mark Thomas schrieb: On 26/02/2010 09:47, Christoph Kukulies wrote: I would be glad if I could get some help on m problem getting solved here. http://tomcat.apache.org/tomcat-6.0-doc/config/systemp

Re: [OT] jvm exits without trace

2010-02-26 Thread Taylan Develioglu
for some reason I keep calling you chuck... I hope I'm not offending anyone :O On Fri, 2010-02-26 at 13:55 +0100, Taylan Develioglu wrote: > Chuck I am aware. > > A SIGSEGV is a signal sent by the kernel. Not a violation itsself. > > A sigsegv is sent when an invalid memory access is attempted b

Re: jvm exits without trace

2010-02-26 Thread Taylan Develioglu
Hi Chris, There's no doubt about it. The amount free is what's left after everything is taken into account, heap, jvm, jni, permgen. And trust me I'd like it to be the oom killer, but it's not. They could survive, but then I could throw away half of my ram. Not seeing any point in doing that (d

RE: Java programm to Shutdwon the tomcat server

2010-02-26 Thread Joseph Morgan
You can send any system command through a Java program. Are you developing or working with some kind of management tool and you want to know how to program it to stop Tomcat??? It depends on if you are running tomcat as a service or not, but either way, you're going send your commands from jav

Re: [OT] jvm exits without trace

2010-02-26 Thread Taylan Develioglu
Chuck I am aware. A SIGSEGV is a signal sent by the kernel. Not a violation itsself. A sigsegv is sent when an invalid memory access is attempted by a process in userspace, in other words a page fault occurs, when the page is actually present in physical memory but cannot be accessed by the progr

Re: broken pipe system error 109 when stopping tomcat6 under windows XP

2010-02-26 Thread Mladen Turk
On 02/26/2010 01:04 PM, Christoph Kukulies wrote: When I stop tomcat (6.0.24) manually from the command line by net stop tomcat6 I'm getting: C:\Programme\Apache_Group\Tomcat_6.0\conf>net stop tomcat6 Systemfehler 109 aufgetreten. Try with commons-daemon-1.0.2 See the 'Tomcat 6.0.12 in wind

Re: log4j :ERROR LogMananger.repositorySelector was null likely due to error

2010-02-26 Thread Christoph Kukulies
Mark Thomas schrieb: On 26/02/2010 11:16, Christoph Kukulies wrote: Mark Thomas schrieb: On 26/02/2010 09:47, Christoph Kukulies wrote: I would be glad if I could get some help on m problem getting solved here. http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html org.apache.catali

broken pipe system error 109 when stopping tomcat6 under windows XP

2010-02-26 Thread Christoph Kukulies
When I stop tomcat (6.0.24) manually from the command line by net stop tomcat6 I'm getting: C:\Programme\Apache_Group\Tomcat_6.0\conf>net stop tomcat6 Systemfehler 109 aufgetreten. Die Pipe wurde beendet. C:\Programme\Apache_Group\Tomcat_6.0\conf>net start tomcat6 Apache Tomcat 6 wird gestar

Re: Tomcat 6.0.12 in windows vista 64 bits does not start

2010-02-26 Thread Mladen Turk
On 02/26/2010 11:43 AM, iainmac wrote: Thanks - is it safe to use that with 6.0.24? Download from http://commons.apache.org/downloads/download_daemon.cgi Click on the 'browse download area' and go to the binaries -> 1.0.2 -> windows Download and extract .zip file and then rename procrun.exe t

Re: log4j :ERROR LogMananger.repositorySelector was null likely due to error

2010-02-26 Thread Christoph Kukulies
Mark Thomas schrieb: On 26/02/2010 11:16, Christoph Kukulies wrote: Mark Thomas schrieb: On 26/02/2010 09:47, Christoph Kukulies wrote: I would be glad if I could get some help on m problem getting solved here. http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html org.apache.catali

Re: log4j :ERROR LogMananger.repositorySelector was null likely due to error

2010-02-26 Thread Mark Thomas
On 26/02/2010 11:16, Christoph Kukulies wrote: Mark Thomas schrieb: On 26/02/2010 09:47, Christoph Kukulies wrote: I would be glad if I could get some help on m problem getting solved here. http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html org.apache.catalina.loader.WebappClassL

Re: log4j :ERROR LogMananger.repositorySelector was null likely due to error

2010-02-26 Thread Christoph Kukulies
Mark Thomas schrieb: On 26/02/2010 09:47, Christoph Kukulies wrote: I would be glad if I could get some help on m problem getting solved here. http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES Mark Excuse me,

Re: log4j :ERROR LogMananger.repositorySelector was null likely due to error

2010-02-26 Thread Christoph Kukulies
Mark Thomas schrieb: On 26/02/2010 09:47, Christoph Kukulies wrote: I would be glad if I could get some help on m problem getting solved here. http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES Mark Thanks. Gr

Re: Tomcat 6.0.12 in windows vista 64 bits does not start

2010-02-26 Thread Mark Thomas
On 26/02/2010 10:43, iainmac wrote: Thanks - is it safe to use that with 6.0.24? Yes. The binary is the same across all Tomcat versions. It just gets renamed for each version (you'll need to do that too). Mark - To unsub

Re: Tomcat 6.0.12 in windows vista 64 bits does not start

2010-02-26 Thread iainmac
Thanks - is it safe to use that with 6.0.24? Mark Thomas wrote: > > On 26/02/2010 10:15, iainmac wrote: >> >> Hi, >> >> That link doesnt work - can anyone tell us where its gone? > > http://svn.apache.org/repos/asf/tomcat/trunk/res/procrun/amd64/ > > The binary is from commons daemon. Mladen

Re: log4j :ERROR LogMananger.repositorySelector was null likely due to error

2010-02-26 Thread Mark Thomas
On 26/02/2010 09:47, Christoph Kukulies wrote: I would be glad if I could get some help on m problem getting solved here. http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES Mark ---

Re: Tomcat 6.0.12 in windows vista 64 bits does not start

2010-02-26 Thread Mark Thomas
On 26/02/2010 10:15, iainmac wrote: Hi, That link doesnt work - can anyone tell us where its gone? http://svn.apache.org/repos/asf/tomcat/trunk/res/procrun/amd64/ The binary is from commons daemon. Mladen just did a commons-daemon release and that is actually the most up to date version. It

Re: log4j :ERROR LogMananger.repositorySelector was null likely due to error

2010-02-26 Thread Christoph Kukulies
Pid schrieb: On 26/02/2010 09:47, Christoph Kukulies wrote: I'm turning to this mailing list now after I posted my problem to the Opencms mailing list at opencms.org. And someone from that list gave me a hint that my problem could possibly have something to do with the folling citation: http://

RE: Tomcat 6.0.12 in windows vista 64 bits does not start

2010-02-26 Thread iainmac
Hi, That link doesnt work - can anyone tell us where its gone? Thanks, Iain n828cl wrote: > >> From: Mr Popo Sama [mailto:mrpopo...@yahoo.com.ar] >> Subject: Re: Tomcat 6.0.12 in windows vista 64 bits does not start >> >> sorry it is tomcat version 6.0.18 not .12 >> >> - Mensaje original -

Re: Tomcat SSO JSESSIONIDSSO value can't be reset by browser

2010-02-26 Thread Xiaojun Deng
On Fri, Feb 26, 2010 at 09:57:46AM +, Pid wrote: >On 26/02/2010 04:15, Xiaojun Deng wrote: >>Hello, >> >>I use the Tomcat SSO function, and I found that when I restart my tomcat or >>the >>session timeout, I refresh the page, the cookie JSESSIONIDSSO keep the old >>value, >>so I can't login m

Re: log4j :ERROR LogMananger.repositorySelector was null likely due to error

2010-02-26 Thread Pid
On 26/02/2010 09:47, Christoph Kukulies wrote: I'm turning to this mailing list now after I posted my problem to the Opencms mailing list at opencms.org. And someone from that list gave me a hint that my problem could possibly have something to do with the folling citation: http://mail-archives.

Re: Tomcat SSO JSESSIONIDSSO value can't be reset by browser

2010-02-26 Thread Pid
On 26/02/2010 04:15, Xiaojun Deng wrote: Hello, I use the Tomcat SSO function, and I found that when I restart my tomcat or the session timeout, I refresh the page, the cookie JSESSIONIDSSO keep the old value, so I can't login my application. And the web application's JSESSIONID works well, th

Re: Java programm to Shutdwon the tomcat server

2010-02-26 Thread Pid
On 26/02/2010 04:29, dBenjamin wrote: Thanks for helping developers… Can you please help me I am facing problem to shutdown the tomcat server in windows platform (xp, vista, windows7). if you click CTRL+ C in the tomcat console window, server getting shutdown. Like that is any specific command t

Re: Apache 2.2.3(mod_proxy_ajp) - Tomcat 6.0.13 Loadbalancing - error logs in apache

2010-02-26 Thread Pid
On 26/02/2010 06:36, jkv wrote: We are using the above setup to load balance http and https request, for https request Apache HTTPD 2.2.3 was released on 28 Jul 2006, you should definitely upgrade to the latest version, there have been *many* important updates since then. Tomcat 6.0.13 was

log4j :ERROR LogMananger.repositorySelector was null likely due to error

2010-02-26 Thread Christoph Kukulies
I'm turning to this mailing list now after I posted my problem to the Opencms mailing list at opencms.org. And someone from that list gave me a hint that my problem could possibly have something to do with the folling citation: http://mail-archives.apache.org/mod_mbox//logging-log4j-user/2008

Re: listing directory content outside tomcat root

2010-02-26 Thread Pid
On 26/02/2010 08:27, Ivan Longhi wrote: hi christopher, On Thu, Feb 25, 2010 at 9:33 PM, Christopher Schultz wrote: You shouldn't declare elements within conf/server.xml in any currently-supported version of Tomcat. Instead, put everything you need in your webapp's META-INF/context.xml file.

Re: Apache 2.2 and TomCat 6.0 using SSL

2010-02-26 Thread Cyrille Le Clerc
My mistake, I meant x-forwarded-proto rather than x-forwarded-for. Here is a sample of configuration where Apache adds the header X-Forwarded-Proto and Tomcat RemoteIpValve handles it. APACHE CONFIGURATION = # 'myapplication' cluster BalancerMember http://node-1:8080

[ANN] Apache Tomcat Connectors 1.2.29 released

2010-02-26 Thread Mladen Turk
The Apache Tomcat team announces the immediate availability of Apache Tomcat Connectors 1.2.29 stable. Apache Tomcat Connectors 1.2.29 concentrates mainly on bug fixes. Please refer to the change log for the list of changes: http://tomcat.apache.org/connectors-doc-1.2.29/miscellaneous/changelog.

Re: listing directory content outside tomcat root

2010-02-26 Thread Ivan Longhi
hi christopher, On Thu, Feb 25, 2010 at 9:33 PM, Christopher Schultz wrote: > You shouldn't declare elements within conf/server.xml in any > currently-supported version of Tomcat. Instead, put everything you need > in your webapp's META-INF/context.xml file. Remember that "path" and > "docBase"