Re: BLOCKED reaper thread (and all other BLOCKED threads) waiting on one thread that is BLOCKED waiting on that reaper thread

2014-10-29 Thread David Bullock
Seems like BMC have a lock-ordering problem leading to deadlock. What's it got to do with Tomcat? *David BullockMachaira Enterprises Pty Ltd* PO Box 31 Canowindra NSW 2804 02 6344 1100 http://machaira.com.au/ On 30 October 2014 11:39, vbck wrote: > "MidTier-ServerReaper-name.domain.com" -

BLOCKED reaper thread (and all other BLOCKED threads) waiting on one thread that is BLOCKED waiting on that reaper thread

2014-10-29 Thread vbck
"MidTier-ServerReaper-name.domain.com" - Thread t@749 java.lang.Thread.State: BLOCKED at com..permissions.Group.getAllInstances(Unknown Source) - waiting to lock <54cfdee6> (a java.lang.String) owned by "Thread-678" t@751 [ ] "Thread-678" - Thread t@751 java.lang.Thread.State

RE: NameNotFoundException: Name [jdbc/weblogin01b] is not bound in this Context. Unable to find [jdbc]

2014-10-29 Thread vince.webb
Dan Thank you. Jconsole mbeans pointed me in the right direction. It made me doubt that Tomcat was reading the same server.xml that I was editing. Sure enough when I found that I was not able to change the description of the Resource "UserDatabase" then I knew I was editing the wrong copy of ser

Re: Tomcat Start script not starting from init.d or rc.local

2014-10-29 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/29/2014 10:33 AM, Anthony Bungeroth wrote: > > I basically need a script to run automatically when I reboot the > server. I have tried the various ways to get it to work in init.d > and it's not working. When I go into init.d and run it manu

RE: Trying to do LDAPS with Tomcat 7 on windows

2014-10-29 Thread Nutter, Ronald
I have found where keytool is on the server where java has been installed. What I think I am supposed to do is export a cert from the server running ldap. As I understand the documentation I have found, I should export the certificate with private keys. I have tried windows certmgr and certsrv a

Re: Tomcat Start script not starting from init.d or rc.local

2014-10-29 Thread Jason Ricles
You can use upstart if you have that, with a .conf file. However unless you source the profile.d or wherever your environment variables are held do not use them in an init task! On Wed, Oct 29, 2014 at 1:55 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MES

Re: How to access Sessions outside of class

2014-10-29 Thread Jason Ricles
Yes Chris RMI is a pain in the ass and I have been trying to make a websocket client endpoint now. It however keeps closing and I am not to sure as of why right after the connection is open. http://stackoverflow.com/questions/26636452/tomcat-clientendpoint-websocket-keeps-closing has the code, aske

Re: HTTPS / URLs with no port number / Tomcat only

2014-10-29 Thread Terence M. Bandoian
On 10/28/2014 5:59 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Terence, On 10/28/14 5:49 PM, Terence M. Bandoian wrote: On 10/28/2014 8:55 AM, Léa Massiot wrote: Christopher Schultz-2 wrote A bit of warning: when modifying iptables, you need to be very care

Re: Tomcat Start script not starting from init.d or rc.local

2014-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anthony, On 10/29/14 1:33 PM, Anthony Bungeroth wrote: > I basically need a script to run automatically when I reboot the > server. > > I have tried the various ways to get it to work in init.d and it's > not working. When I go into init.d and r

Re: How to access Sessions outside of class

2014-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jason, On 10/29/14 8:28 AM, Jason Ricles wrote: > foo is not a webapp, it is a separate program running on the > computer as a daemon. I understand that. I'm only suggesting that, since you have to communicate with Websocket-speaking web applicati

Tomcat Start script not starting from init.d or rc.local

2014-10-29 Thread Anthony Bungeroth
I basically need a script to run automatically when I reboot the server. I have tried the various ways to get it to work in init.d and it's not working. When I go into init.d and run it manually it works though. I think it has something to do with the fact that to run the script manually I am

Re: INFO: TLD skipped Messages in logs

2014-10-29 Thread Kiran Badi
Thanks Mark On Tuesday, October 28, 2014, Mark Thomas wrote: > On 28/10/2014 00:59, Kiran Badi wrote: > > Hi > > > > Can someone reply to this query please. > > On 10/2/2014 8:10 PM, Kiran Badi wrote: > >> Hi, > >> > >> I am getting below messages in the logs, > >> > >> Oct 26, 2014 4:05:46 PM o

Re: NameNotFoundException: Name [jdbc/weblogin01b] is not bound in this Context. Unable to find [jdbc]

2014-10-29 Thread Daniel Mikusa
On Wed, Oct 29, 2014 at 12:45 PM, wrote: > Hello > I'm having difficulty getting a JDBC DataSource using Tomcat 8. > > I want to define the JDBC details in server.xml so the database identified > depends on the server and not the application. It will be beneficial for me > if the applications onl

Tomcat7 cluster don't replicates session

2014-10-29 Thread Nilson Uehara
I have a Ubuntu with 2 Tomcat7 with a cluster configurations. The balancer is Apache MOD_JK. *SERVER.XML:*

Fwd:

2014-10-29 Thread Nilson Uehara
I have a Ubuntu with 2 Tomcat7 with a cluster configurations. The balancer is Apache MOD_JK. *SERVER.XML:*

NameNotFoundException: Name [jdbc/weblogin01b] is not bound in this Context. Unable to find [jdbc]

2014-10-29 Thread vince.webb
Hello I'm having difficulty getting a JDBC DataSource using Tomcat 8. I want to define the JDBC details in server.xml so the database identified depends on the server and not the application. It will be beneficial for me if the applications only need to know the JDBC name and not password detail

Trying to do LDAPS with Tomcat 7 on windows

2014-10-29 Thread Nutter, Ronald
I am trying to implement an application from a vendor who has deployed it using Tomcat. Due to a client requirement, I need to use LDAPS to talk to their AD Directory service. I have it working on LDAP, so I know the config is correct at that point. Where I am having a problem is figuring out h

Re: tomcat websocket communication with external java program

2014-10-29 Thread Igor Kolomiets
All you need to do is to have your "external java" use a websocket client (like Jetty's http://www.eclipse.org/jetty/documentation/current/jetty-websocket-client-api.html) to connect to your server's websocket endpoint. -- Igor Kolomiets On Sat, Oct 25, 2014 at 3:41 PM, Jason Ricles wrote: > I h

Re: How to access Sessions outside of class

2014-10-29 Thread Tim Watts
On Wed, 2014-10-29 at 08:28 -0400, Jason Ricles wrote: > foo is not a webapp, it is a separate program running on the computer as a > daemon. It has to do this stuff for it needed to be ran like this. bar is > basically the gui to the daemon, providing what is happening on the machine > to someone

Re: APR with PKCS11 support

2014-10-29 Thread Sanaullah
I again started working on SSLEngine with safenet and i need some help, how to enable the debugging? I configure the engine as "LunaCA3". Here is error log after starting the server. Oct 29, 2014 1:40:21 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat

Re: How to access Sessions outside of class

2014-10-29 Thread Martin Grigorov
Hi, On Wed, Oct 29, 2014 at 2:28 PM, Jason Ricles wrote: > foo is not a webapp, it is a separate program running on the computer as a > daemon. It has to do this stuff for it needed to be ran like this. bar is > basically the gui to the daemon, providing what is happening on the machine > to som

Re: How to access Sessions outside of class

2014-10-29 Thread Jason Ricles
foo is not a webapp, it is a separate program running on the computer as a daemon. It has to do this stuff for it needed to be ran like this. bar is basically the gui to the daemon, providing what is happening on the machine to someone at another computer, since the machine is headless these progra

Re: [ANN] Apache Tomcat Native 1.1.32 released

2014-10-29 Thread Mark Thomas
On 28/10/2014 21:28, Mark Thomas wrote: > The Apache Tomcat team announces the immediate availability of Apache > Tomcat Native 1.1.32 stable. > > The key features of this release are: > - Add support for TLSv1.1 and TLSv1.2 > - Link Windows binaries with OpenSSL 1.0.1i and APR 1.5.1 Correction.