Re: jdbc driver location in TC 7

2012-03-26 Thread Terence M. Bandoian
On 1:59 PM, Pid * wrote: On 25 Mar 2012, at 03:10, Terence M. Bandoiantere...@tmbsw.com wrote: On 1:59 PM, Pid * wrote: On 23 Mar 2012, at 21:59, David Kerberdcker...@verizon.net wrote: On 3/23/2012 6:51 PM, Terence M. Bandoian wrote: On 1:59 PM, David kerber wrote: On 3/23/2012 11:19

Re: Windows Connector Binaries have wrong Module Magic Number for httpd-2.4

2012-03-26 Thread Mladen Turk
On 03/26/2012 12:32 AM, Tom Donovan wrote: The Windows connector 1.2.35 binaries for httpd-2.4 at: http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/windows/ appear to have been built with the wrong httpd Module Magic Number: 20120109. The startup error message is: Module mod_jk.c

AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Witoslaw Koczewski
Hello, for our Kunagi Java web application we have a signed kunagi.jar file which contains our classes together with classes from embedded Tomcat 6. This runs perfectly when calling java -jar kunagi.jar. But when starting it with Java WebStart, I get an exception while embedded Tomcat is

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Pid
On 26/03/2012 10:32, Witoslaw Koczewski wrote: Hello, for our Kunagi Java web application we have a signed kunagi.jar file which contains our classes together with classes from embedded Tomcat 6. This runs perfectly when calling java -jar kunagi.jar. But when starting it with Java

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Witoslaw Koczewski
There's a file called catalina.policy in tomcat/conf, which has some rules in it. You'll need compare those rules to the ones implemented in the client's policy file to work out what you need to add. Since I am using embedded Tomcat, there is no catalina.policy :-( Can't I just disable the

Re: jdbc driver location in TC 7

2012-03-26 Thread Terence M. Bandoian
On 1:59 PM, Pid * wrote: On 25 Mar 2012, at 03:10, Terence M. Bandoiantere...@tmbsw.com wrote: On 1:59 PM, Pid * wrote: On 23 Mar 2012, at 21:59, David Kerberdcker...@verizon.net wrote: On 3/23/2012 6:51 PM, Terence M. Bandoian wrote: On 1:59 PM, David kerber wrote: On 3/23/2012 11:19

org.apache.catalina.tribes.ChannelException: Operation has timed out(3000 ms.).; Faulty members:tcp://{-64, -88, 3, 16}:4000;

2012-03-26 Thread Dhaval Jaiswal
Hi List, Below is my server.xml configuration for session replication. Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster channelSendOptions=6/ Manager className=org.apache.catalina.ha.session.BackupManager expireSessionsOnShutdown=false

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Pid
On 26/03/2012 11:12, Witoslaw Koczewski wrote: There's a file called catalina.policy in tomcat/conf, which has some rules in it. You'll need compare those rules to the ones implemented in the client's policy file to work out what you need to add. Since I am using embedded Tomcat, there is

Re: jdbc driver location in TC 7

2012-03-26 Thread Pid
On 26/03/2012 12:30, Terence M. Bandoian wrote: On 1:59 PM, Pid * wrote: On 25 Mar 2012, at 03:10, Terence M. Bandoiantere...@tmbsw.com wrote: On 1:59 PM, Pid * wrote: On 23 Mar 2012, at 21:59, David Kerberdcker...@verizon.net wrote: On 3/23/2012 6:51 PM, Terence M. Bandoian wrote: On

Re: chunked encoding

2012-03-26 Thread Pid
On 25/03/2012 22:55, Alex Samad - Yieldbroker wrote: -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, 26 March 2012 8:47 AM To: Tomcat Users List Subject: Re: chunked encoding On 25/03/2012 08:54, Alex Samad - Yieldbroker wrote: [snip] 1.

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Witoslaw Koczewski
On 26/03/2012 11:12, Witoslaw Koczewski wrote: There's a file called catalina.policy in tomcat/conf, which has some rules in it. You'll need compare those rules to the ones implemented in the client's policy file to work out what you need to add. Since I am using embedded Tomcat,

Re: configuring SSL for Tomcat with .pfx

2012-03-26 Thread Daniel Mikusa
- Original Message - Hi Daniel Thanks so much for replying. So you mentioned that I ought to import the existing PKCS12 (remedy.optinet.net_cert.pfx) keystore into a Java Keystore (remedy.optinet.net_cert.jks) using the following command: keytool -importkeystore

Re: configuring SSL for Tomcat with .pfx

2012-03-26 Thread Daniel Mikusa
- Original Message - Hey Daniel I seem to be making progress. Here’s what I’ve done so far: Imported the existing PKCS12 (remedy.optinet.net_cert.pfx) keystore into a Java Keystore (remedy.optinet.net_cert.jks): D:\Program Files

Re: jdbc driver location in TC 7

2012-03-26 Thread Torsten Krah
Am Montag, den 26.03.2012, 05:30 -0600 schrieb Terence M. Bandoian: Apparently, Tomcat (6.0.29) takes care of that if the driver is located in the Tomcat lib directory but not if it is located in web application's lib directory. Tomcat does not take care afaik - the classloader is not the

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Pid
On 26/03/2012 12:43, Witoslaw Koczewski wrote: On 26/03/2012 11:12, Witoslaw Koczewski wrote: There's a file called catalina.policy in tomcat/conf, which has some rules in it. You'll need compare those rules to the ones implemented in the client's policy file to work out what you need to add.

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Witoslaw Koczewski
Shouldn't there be a switch in Tomcat to turn off this checks? Why? If you don't want the Security Manager, don't turn it on. I don't, WebStart does. Usualy when I turn on a feature in software A, I don't expect it to affect software B. Logging for example can be configured separately.

RE: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Caldarale, Charles R
From: Witoslaw Koczewski [mailto:w...@koczewski.de] Subject: Re: AccessControlException when starting embedded Tomcat from Java Webstart Usualy when I turn on a feature in software A, I don't expect it to affect software B. You're not turning on a feature in an independent module;

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Pid
On 26/03/2012 15:46, Witoslaw Koczewski wrote: Shouldn't there be a switch in Tomcat to turn off this checks? Why? If you don't want the Security Manager, don't turn it on. I don't, WebStart does. Usualy when I turn on a feature in software A, I don't expect it to affect software B. You

RE: Tomcat 6.0.24 java emailing configuration problem

2012-03-26 Thread Huanyuan Sheng
Hi, I finally figured out what went wrong. There is a third party .jar file under application/WEB-INF/lib. That jar file also contains javax.mail class. Thanks for your help. Wayne -Original Message- From: Pid * [mailto:p...@pidster.com] Sent: Sunday, March 25, 2012 3:47 AM To:

Re: Access Log Valve invalid requests

2012-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 3/23/12 12:58 PM, André Warnier wrote: Find him and shoot him. Or just firewall him out. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 3/26/12 11:07 AM, Pid wrote: On 26/03/2012 15:46, Witoslaw Koczewski wrote: Is there perhaps a central place in the Tomcat source code where the switch is evaluated, so I can rename it or hard-code it to false? No. The access

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Witoslaw, On 3/26/12 12:25 PM, Christopher Schultz wrote: I have no idea how to do [customize the policy]. Looks like you can't: http://lopica.sourceforge.net/faq.html#policy You could try separately signing the Tomcat JAR files yourself and see

Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-26 Thread Colin Ingarfield
On Friday I tried to recreate this issue using iptables (to block all outgoing traffic to 3306) but was still unable to recreate it. After unblocking 3306 the pool would eventually recover and create new connections. So I still do not understand why it was necessary to restart Tomcat to resolve

Re: partial response from non-browser clients

2012-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Serdyn, On 3/23/12 11:26 AM, Serdyn du Toit wrote: The client code was first in Jersey (jersey.java.net), then written in plain Java, and then using Apache HttpComponents (hc.apache.org). All versions of client code hanged. Could you try using

Re: partial response from non-browser clients

2012-03-26 Thread Rob Koberg
Hi, I bet this issue has to do with the client not sending the proper Accepts header info and the rest resource does not see it as appropriate. Apparently jQuery is not doing the 'right thing'. I recently had this issue. My working example of a jQuery function for a conditional get looks like:

Re: chunked encoding

2012-03-26 Thread Rainer Jung
On 25.03.2012 23:55, Alex Samad - Yieldbroker wrote: -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, 26 March 2012 8:47 AM To: Tomcat Users List Subject: Re: chunked encoding On 25/03/2012 08:54, Alex Samad - Yieldbroker wrote: [snip] 1.

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Witoslaw Koczewski
For example, have you tried expanding *all* the JAR files that ship with Tomcat and then re-assembling them into your single kunagi.jar? This is exactly what I do. And my JNLP requires all-permissions. My application can open ports, read and delete all files - but not start the embedded Tomcat

Re: org.apache.catalina.tribes.ChannelException: Operation has timed out(3000 ms.).; Faulty members:tcp://{-64, -88, 3, 16}:4000;

2012-03-26 Thread Mark Eggers
My replies are buried in the middle. I'll surround them with = Question === /mde/ - Original Message - From: Dhaval Jaiswal dhaval.jais...@via.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Monday, March 26, 2012 3:33 AM Subject:

Re: tomcat jdbc pool

2012-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 S Ahmed, On 3/25/12 6:57 PM, S Ahmed wrote: Why would you want to use a future? Say in a web application, I can't really think of a reason why I would use the future (asych) connection retrieval pattern. The # of connections is always fixed,

What is the right way to share resources across contexts?

2012-03-26 Thread Christopher Tiwald
Apologies if this has been covered before. I did a search of google and the mailing list archives, and while I found a few threads that danced around this topic [1], none of them seemed fully applicable. Following up on Mark Thomas's advice in my duplicate bug-filing at [2], what is the right way

RE: What is the right way to share resources across contexts?

2012-03-26 Thread Caldarale, Charles R
From: Christopher Tiwald [mailto:ctiw...@salsalabs.com] Subject: What is the right way to share resources across contexts? what is the right way to share static assets across contexts and between servers running tomcat? One easy way is to place the static resources under one or more unique