clusterListener + globalNamingResource

2014-01-29 Thread Jürgen Jakobitsch
hi, in my server.xml i have defined a Resource in the GlobalNamingResources section. in the same server.xml i have defined a Cluster along with my own ClusterListener now in the Constructor of my ClusterListener i would like to access the Resource defined in the GlobalNamingResources section.

Re: Tomcat v6.0.20 - Cannot Remove Date From JULI Log File Names

2014-01-29 Thread Mark H. Wood
On Tue, Jan 28, 2014 at 12:32:22PM -0500, Daniel Mikusa wrote: On Jan 28, 2014, at 12:05 PM, Vye v...@vye.me wrote: I have been unsuccessfully trying to remove the date from catalina’s log file name. My ultimate goal is to logrotate the file, which is best done when the file name is static.

Re: class from jar in tomcat/lib not found

2014-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jakub, On 1/28/14, 6:17 PM, Ja kub wrote: Problem dissapeared when I added ha-jdbc-2.0.16 dependencies into tomcat/lib ! You would have seen the missing dependency if you had read further along in the stack trace. Could not initialize class

Re: using log4j in a webapp using embedded tomcat

2014-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 1/28/14, 8:38 PM, John Cartwright - NOAA Federal wrote: Thanks for your reply Chris. On Mon, Jan 27, 2014 at 12:40 PM, Christopher Schultz ch...@christopherschultz.net wrote: Are you running one and only one webapp in your Tomcat

Re: request.getAttribute(javax.servlet.request.X509Certificate) returns NULL for AJP connector (possible Bon Code issue?)

2014-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 1/28/14, 9:39 PM, John Palmer wrote: Chris: Thanks for the response. I think we can end this discussion - you have pretty much nailed it, I think. The great thing about having to pull together all the information I've gathered over

Re: Clustering without Apache in the front

2014-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neven, On 1/28/14, 8:59 PM, Neven Cvetkovic wrote: Ultimately, session stickiness works great to handle load balancing (workload management), but it is not enough for session failover. Correct: session stickiness just avoids the problem of

Re: Tomcat v6.0.20 - Cannot Remove Date From JULI Log File Names

2014-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/29/14, 9:49 AM, Mark H. Wood wrote: On Tue, Jan 28, 2014 at 12:32:22PM -0500, Daniel Mikusa wrote: On Jan 28, 2014, at 12:05 PM, Vye v...@vye.me wrote: I have been unsuccessfully trying to remove the date from catalina’s log file

Re: Tomcat v6.0.20 - Cannot Remove Date From JULI Log File Names

2014-01-29 Thread André Warnier
Mark H. Wood wrote: On Tue, Jan 28, 2014 at 12:32:22PM -0500, Daniel Mikusa wrote: On Jan 28, 2014, at 12:05 PM, Vye v...@vye.me wrote: I have been unsuccessfully trying to remove the date from catalina’s log file name. My ultimate goal is to logrotate the file, which is best done when the

Issue running Websockets JSR356 with Tomcat 7.0.50 Embedded

2014-01-29 Thread Jacopo Cappellato
Hello all, I am trying to deploy and use Websockets using the Tomcat 7.0.50 *Embedded* distribution [*]. Some more details on my environment: * I have the following jars in my classpath: ** tomcat-7.0.50-tomcat-embed-core.jar ** tomcat-7.0.50-tomcat-embed-jasper.jar **

Re: Issue running Websockets JSR356 with Tomcat 7.0.50 Embedded

2014-01-29 Thread Mark Thomas
On 29/01/2014 15:42, Jacopo Cappellato wrote: Hello all, I am trying to deploy and use Websockets using the Tomcat 7.0.50 *Embedded* distribution [*]. Java version? Some more details on my environment: * I have the following jars in my classpath: ** tomcat-7.0.50-tomcat-embed-core.jar

Re: Tomcat v6.0.20 - Cannot Remove Date From JULI Log File Names

2014-01-29 Thread Vye
On Wed, Jan 29, 2014 at 7:39 AM, André Warnier a...@ice-sa.com wrote: Mark H. Wood wrote: On Tue, Jan 28, 2014 at 12:32:22PM -0500, Daniel Mikusa wrote: On Jan 28, 2014, at 12:05 PM, Vye v...@vye.me wrote: I have been unsuccessfully trying to remove the date from catalina’s log file name.

Re: Issue running Websockets JSR356 with Tomcat 7.0.50 Embedded

2014-01-29 Thread Jacopo Cappellato
Thank you Mark! Please see inline: On Jan 29, 2014, at 4:50 PM, Mark Thomas ma...@apache.org wrote: On 29/01/2014 15:42, Jacopo Cappellato wrote: Hello all, I am trying to deploy and use Websockets using the Tomcat 7.0.50 *Embedded* distribution [*]. Java version? 1.7.0_40 Some

Re: Tomcat v6.0.20 - Cannot Remove Date From JULI Log File Names

2014-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/29/14, 10:39 AM, André Warnier wrote: Mark H. Wood wrote: On Tue, Jan 28, 2014 at 12:32:22PM -0500, Daniel Mikusa wrote: On Jan 28, 2014, at 12:05 PM, Vye v...@vye.me wrote: I have been unsuccessfully trying to remove the date from

Re: request.getAttribute(javax.servlet.request.X509Certificate) returns NULL for AJP connector (possible Bon Code issue?)

2014-01-29 Thread Konstantin Kolinko
2014-01-29 Christopher Schultz ch...@christopherschultz.net: On 1/28/14, 9:39 PM, John Palmer wrote: Chris: Thanks for the response. I think we can end this discussion - you have pretty much nailed it, I think. The great thing about having to pull together all the information I've gathered

Re: class from jar in tomcat/lib not found

2014-01-29 Thread Ja kub
Caused by: java.lang. NoClassDefFoundError: Could not initialize class net.sf.hajdbc.sql.Driver at java.lang.Class.forName0(Native Method) ~[na:1.6.0_37] at java.lang.Class.forName(Class.java:169) ~[na:1.6.0_37] at

ssl keystore from windows certficate manager not from file

2014-01-29 Thread Ja kub
Is it possible under windows to use define keystore in windows certificate manager instead of filesystem file, eg: instead of usual keystore=conf/cert/tomcat.p12 I would like to use certificate stored in windows vault: keystore=certmgr:tomcat.p12 is it possible, or I have to export certificate

SEVERE: Servlet.service() for servlet [action] in context with path [/portal] threw exception

2014-01-29 Thread Randeep
Hi, I'm getting the following exception. I'm running it in Netbeans IDE. With tomcat 7.50.0 Am I missing some libraries here? Jar files? Developers says its not their code problem its server problem. But i'm not able to get it. Struts core jar is present and in web.xml i have following lines.

Re: SEVERE: Servlet.service() for servlet [action] in context with path [/portal] threw exception

2014-01-29 Thread Cédric Couralet
Hi, 2014/1/30 Randeep randeep...@gmail.com: Hi, I'm getting the following exception. I'm running it in Netbeans IDE. With tomcat 7.50.0 Am I missing some libraries here? Jar files? Developers says its not their code problem its server problem. But i'm not able to get it. Struts core jar