RE:JNDI property roleSearchAsUser not working as expected

2013-03-13 Thread Eugène Adell
Hello there is an LDAP listening but I did not give the credentials here for security reasons (I could start one LDAP server with public credentials for you if needed). The LDAP log for this Tomcat startup failure is : 51416e66 conn=1004 fd=14 ACCEPT from IP=46.218.139.243:48297 (IP=:X

Running a binary program from a JSP

2013-03-13 Thread Tim Gross
Hi, I want to know if it is possible to execute a binary program (written in C) from within a JSP. I would like to do this on the server side, not the browser, in Tomcat6. If it is possible, can somebody provide an example. Sorry if I am using the wrong mailing list. Feel free to redirect me if

Re: Can Tomcat 8 snapshots be published to Maven?

2013-03-13 Thread Konstantin Kolinko
2013/3/14 Nick Williams : > > On Mar 13, 2013, at 7:44 PM, Mark Thomas wrote: > (...) >> >> https://repository.apache.org/content/repositories/snapshots/org/apache/tomcat/ >> >> Mark > > Sweet! Thanks! So will I need to add https://repository.apache.org/ as a > custom repository in my POM, or will

Tomcat 8 + Tomcat Maven Plugin 2.2 + Tomcat8 Maven Plugin?

2013-03-13 Thread Nick Williams
https://repository.apache.org/content/repositories/snapshots/org/apache/tomcat/maven/ In snapshots there is only tomcat6-maven-plugin and tomcat7-maven-plugin. So, even though my Maven dependencies are on Tomcat 8.0-SNAPSHOT, any "executable war" I build with the plugin has Tomcat 7 classes in i

Re: Can Tomcat 8 snapshots be published to Maven?

2013-03-13 Thread Nick Williams
On Mar 13, 2013, at 7:44 PM, Mark Thomas wrote: > On 12/03/2013 22:08, Nick Williams wrote: >> >> On Mar 12, 2013, at 12:39 PM, Mark Thomas wrote: >> >>> On 12/03/2013 17:38, Mark Thomas wrote: On 12/03/2013 17:27, Nick Williams wrote: > I'm experimenting with using Tomcat embedded. I

Re: Can Tomcat 8 snapshots be published to Maven?

2013-03-13 Thread Mark Thomas
On 12/03/2013 22:08, Nick Williams wrote: > > On Mar 12, 2013, at 12:39 PM, Mark Thomas wrote: > >> On 12/03/2013 17:38, Mark Thomas wrote: >>> On 12/03/2013 17:27, Nick Williams wrote: I'm experimenting with using Tomcat embedded. I need Tomcat 8.0, because I need Servlet 3.1 and WebSo

JNDI property roleSearchAsUser not working as expected

2013-03-13 Thread Eugène Adell
Hello I am running the following : java version "1.6.0_25" Java(TM) SE Runtime Environment (build 1.6.0_25-b06) Java HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing) Tomcat 7.0.37 CentOS release 6.3 with this REALM configuration in server.xml : ldap:/

Re: AW: AW: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-13 Thread André Warnier
David Kumar wrote: BTW... after a while CLOSE_WAIT changes to "can't identify protocol" Huh ? Which command are you using to see the connections in CLOSE_WAIT state ? (and maybe paste a sample here) - To unsubscribe, e-mail:

Re: No validationQueryTimeout in Tomcat7 tomcat-jdbc

2013-03-13 Thread Daniel Mikusa
On Mar 13, 2013, at 1:50 PM, Daniel Mikusa wrote: > On Mar 13, 2013, at 1:14 PM, Christopher Schultz wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Dan, >> >> On 3/13/13 10:12 AM, Daniel Mikusa wrote: >>> On Mar 13, 2013, at 3:49 AM, Dunn, Rob wrote: >>> Commons-dbcp

AW: AW: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-13 Thread David Kumar
BTW... after a while CLOSE_WAIT changes to "can't identify protocol" Mit freundlichen Grüßen David Kumar Softwareentwickler, B. Sc. Abteilung Infotech - Interaktiv TELESTAR-DIGITAL GmbH Am Weiher 14 D-56766 Ulmen Tel.: + 49 (0) 6592 / 712 -2826 Tel.: + 49 (0) 2676 / 9520 -183 Fax: + 49 (0) 6

AW: AW: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-13 Thread David Kumar
Hey, right no we're having our Problem. I tried gc through jconsole --> no changes and still a lot CLOSE_WAIT. So it is not a GC Problem and disablereuse doesn't work either.. Any other ideas? What do you guy think about proxy_ajp instead of jk? What are the advantages of proxy_ajp? Thanks a l

Re: tomcat 6.0.35 in production maintaince

2013-03-13 Thread fachhoch
I did not any change the default setting for session timeout so it shoule be 30 minutes. I do have some jsp very few but these are used by external application to check if my app is alive they call this jsp every 10 minutes or frequent intervals, also I have a jquery time out plugin which ca

Re: Embedded Tomcat JavaDoc Not Complete

2013-03-13 Thread Nicholas Williams
On Wed, Mar 13, 2013 at 12:10 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Nick, > > On 3/12/13 11:50 PM, Nick Williams wrote: >> >> On Mar 12, 2013, at 10:47 PM, Nick Williams wrote: >> >>> The JavaDoc for o.a.c.startup.Tomcat [1] is not complete. >>> Imp

Re: No validationQueryTimeout in Tomcat7 tomcat-jdbc

2013-03-13 Thread Daniel Mikusa
On Mar 13, 2013, at 1:14 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Dan, > > On 3/13/13 10:12 AM, Daniel Mikusa wrote: >> On Mar 13, 2013, at 3:49 AM, Dunn, Rob wrote: >> >>> Commons-dbcp 1.4 supports a validationQueryTimeout property. The >>> tomcat

Re: Tomcat7 EL(proprietary evaluate) error

2013-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Praveen, On 3/9/13 11:20 AM, Praveen Boppana wrote: > Hi, > > I'm very new to tomcat7 environment, we are migrating from oc4j to > tomcat7. We have an issue with EL in jsp pages throwing error "The > method proprietaryEvaluate(String, Class, PageCo

Re: tomcat 6.0.35 in production maintaince

2013-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Fachhoch, On 3/13/13 11:55 AM, fachhoch wrote: >> Hard to say exactly. Perhaps your session expiration time is >> large and sessions are not being removed as quickly as you would >> expect. > > how can I figure this out ?, I am did not make any s

Re: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ?

2013-03-13 Thread Ognjen Blagojevic
Chris, On 6.3.2013 7:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- It seems that Tomcat 6.0.32 (and probably other 6.0.xx versions) use undocumented attribute for HTTPS connector "protocols". So in Tomcat 7 you might use: sslProtocol="TLSv1.1" sslEnabledProtocols="TLSv1.1"

Re: No validationQueryTimeout in Tomcat7 tomcat-jdbc

2013-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dan, On 3/13/13 10:12 AM, Daniel Mikusa wrote: > On Mar 13, 2013, at 3:49 AM, Dunn, Rob wrote: > >> Commons-dbcp 1.4 supports a validationQueryTimeout property. The >> tomcat7 tomcat-jdbc connection pool >> (https://urldefense.proofpoint.com/v1/u

Re: Embedded Tomcat JavaDoc Not Complete

2013-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 3/12/13 11:50 PM, Nick Williams wrote: > > On Mar 12, 2013, at 10:47 PM, Nick Williams wrote: > >> The JavaDoc for o.a.c.startup.Tomcat [1] is not complete. >> Importantly, it is lacking complete information about all three >> addWebapp

RE: tomcat 6.0.35 in production maintaince

2013-03-13 Thread Caldarale, Charles R
> From: fachhoch [mailto:fachh...@gmail.com] > Subject: Re: tomcat 6.0.35 in production maintaince > how can I figure this out ? Use the manager app, as suggested. > are there any suggested ways to use threadlocal when deployed in tomcat ? Using ThreadLocal when the threads belong to a pool i

Re: tomcat 6.0.35 in production maintaince

2013-03-13 Thread fachhoch
Hard to say exactly. Perhaps your session expiration time is large and sessions are not being removed as quickly as you would expect. how can I figure this out ?, I am did not make any setting for session timeout ,except for browser activity where to check session expiration configration? a

Re: tomcat 6.0.35 in production maintaince

2013-03-13 Thread Daniel Mikusa
On Mar 13, 2013, at 11:30 AM, fachhoch wrote: > Will connecting jconsole to my prod env will it cause any performance issues > ? Connecting with jconsole shouldn't cause any problems. > I connected jconsole to my server running in training env. Not many user > were using my app are when I co

Re: tomcat 6.0.35 in production maintaince

2013-03-13 Thread fachhoch
Will connecting jconsole to my prod env will it cause any performance issues ? I connected jconsole to my server running in training env. Not many user were using my app are when I connected. I looked at activeSession whihc is in Manager/myapp/localhost/attributes/activeSession The valu

Re: No validationQueryTimeout in Tomcat7 tomcat-jdbc

2013-03-13 Thread Daniel Mikusa
On Mar 13, 2013, at 3:49 AM, Dunn, Rob wrote: > Commons-dbcp 1.4 supports a validationQueryTimeout property. > The tomcat7 tomcat-jdbc connection pool > (https://urldefense.proofpoint.com/v1/url?u=http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=8LKtd%2

AW: AW: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-13 Thread David Kumar
Hey, I'm really not sure if that tool does anything, because there is no feedback.. Funny: Just a few minutes ago a colleague showed ma a tool called something like VM monitor on his mac. It look a kind of similar to jconsole.exe. Next time I will try to make GC with this tool. Meanwhile I red

Re: AW: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-13 Thread André Warnier
David Kumar wrote: Hey, we just had that problem again. I did that GC trick, it didn't work out well. I used: set hosts [list] lappend hosts {localhost:7008} lappend hosts {localhost:9008} # ...add as many as you want... foreach {host} $hosts { set parts [split $host ":"] set hostname [l

AW: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-13 Thread David Kumar
Hey, we just had that problem again. I did that GC trick, it didn't work out well. I used: set hosts [list] lappend hosts {localhost:7008} lappend hosts {localhost:9008} # ...add as many as you want... foreach {host} $hosts { set parts [split $host ":"] set hostname [lindex $parts 0] set

No validationQueryTimeout in Tomcat7 tomcat-jdbc

2013-03-13 Thread Dunn, Rob
Commons-dbcp 1.4 supports a validationQueryTimeout property. The tomcat7 tomcat-jdbc connection pool (http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html) does not support this. Has anyone found a way to configure a validation query timeout or achieve similar functionality to commons-dbcp-1.4

Re: Tomcat jdbc pool connection failover

2013-03-13 Thread André Warnier
Rainer Frey wrote: On 12.03.2013, at 17:14, Christopher Schultz wrote: On 3/12/13 7:54 AM, amit shah wrote: I am using Oracle. Oracle JDBC Driver provides the Oracle Universal Connection Pool (UCP) which includes this featureo