RE: Classpath issue *only* when starting tomcat 6 as a service

2011-06-10 Thread Patrick Guillot - Genigraph
Hi everybody, I’m driving mad with a classpath issue : My environment : - Tomcat 6.0.29 - Windows Server 2008 R2 Standard 64 bits - JDK 1.5.0_22 My webapp is using Waffle (Windows Authentication Framework) (http://waffle.codeplex.com/) to benefit from

Re: Classpath issue *only* when starting tomcat 6 as a service

2011-06-10 Thread Pid
On 10/06/2011 09:38, Patrick Guillot - Genigraph wrote: Jvm Option[8] -Djava.class.path=D:\tomcat\bin\tomcat-juli.jar;D:\tomcat\bin\bootstrap.jar; D:\tomcat\lib\annotations-api.jar;D:\tomcat\lib\catalina-ant.jar;D:\tomcat\l

Re: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Rüdiger Herrmann
Martin, thanks for the pointers. Though, I'd rather like to start with the default solution (i.e. something that works out of the box with the Tomcat deliverable) In the meanwhile, I brought the SimpleTcpCluster to work. I will report here soon with some code. Still, I would be *very* interested

Re: Classpath issue *only* when starting tomcat 6 as a service

2011-06-10 Thread Pid
On 10/06/2011 09:38, Patrick Guillot - Genigraph wrote: Hi everybody, I’m driving mad with a classpath issue : My environment : - Tomcat 6.0.29 - Windows Server 2008 R2 Standard 64 bits - JDK 1.5.0_22 My webapp is using Waffle (Windows

RE: Classpath issue *only* when starting tomcat 6 as a service

2011-06-10 Thread Patrick Guillot - Genigraph
Hello, Right. I have used a script I made because I had several tomcat instances to set-up (2x8). Attached is the script I used. I'm using multiple catalina_base (one for each application). At first, the Java Classpath: field of the Tomcat Service GUI only contains : bootsrap.jar and

user tomcat authentication

2011-06-10 Thread Petr Hracek
Dear tomcat users, I would like to ask you how can I authenticate users to access tomcat page? My users are stored in standard /etc/passwd file or users which are stored in another database engine than Realm thank you in advance -- Best Regards / S pozdravem Petr Hracek

Question on WORK directory of tomcat container

2011-06-10 Thread Savoy, Melinda
Due to a conflict between the cached JSPs in the work directory of a tomcat container on our app's QA Windows 2003 server, does the tomcat service have to be restarted? Any help would be greatly appreciated. Thanks. Melinda Savoy Sr. Programmer Analyst, ERP Systems Innovative Technology

Re: Question on WORK directory of tomcat container

2011-06-10 Thread chris derham
Due to a conflict between the cached JSPs in the work directory of a tomcat container on our app's QA Windows 2003 server, does the tomcat service have to be restarted? Any help would be greatly appreciated. Thanks. Melinda Savoy Melinda, You seem to have sent the exact same email again

error in clustering: NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength

2011-06-10 Thread Ronald Klop
Hi, I'm running a 4 node cluster and seeing the same exception as described in this issue. https://issues.apache.org/bugzilla/show_bug.cgi?id=51306 What can I do to workaround it or what can I information can I provide to help? I'm running 6.0.32 with a securitymanager on Debian 5. Java

RE: Classpath issue *only* when starting tomcat 6 as a service

2011-06-10 Thread Martin Gainty
Just as Unix contains different configurations for each .profile and .bashrc you may have different (JVM and or CLASSPATH) configurations for each username in Windows Authentication Framework. from what i know Windows service has different capabilities depending on the authentication

RE: Classpath issue *only* when starting tomcat 6 as a service

2011-06-10 Thread Patrick Guillot - Genigraph
Hi Martin, It does start as administrator already: The tomcat service GUI used to start the service is executed via the Run as administrator contextual menu command. Unfortunately this does not solve the problem. Thanks. Regards, Patrick pguil...@genigraph.fr Téléphone : +33 (0)9 51 17

Re: Classpath issue *only* when starting tomcat 6 as a service

2011-06-10 Thread David kerber
On 6/10/2011 8:15 AM, Patrick Guillot - Genigraph wrote: Hi Martin, It does start as administrator already: The tomcat service GUI used to start the service is executed via the Run as administrator contextual menu command. That doesn't mean the service itself is using the administrator acct.

Problem regarding Hosting

2011-06-10 Thread adityagoel123
I have succesfully deployed a application through .war file on apache server. I am also able to access it through http://10.129.x.x/application on my local machine. Now, I want it to hosted to a web address like www.example.com/~application Currently, www.example.com/~application is pointing to

Re: Classpath issue *only* when starting tomcat 6 as a service

2011-06-10 Thread André Warnier
Hi. I don't really know if it is important here, I don't know Waffle, the type of error does not match, and it doesn't look below like you are using any network paths. That was the disclaimer of responsibility. One aspect that is different when you run Tomcat as a service, is (usuallly) the

Re: How to handle client disconnection in 'no timeout' async servlets?

2011-06-10 Thread Paul Cazan
Is it possible that Tomcat 7.0.14 did not implement any sort of 'onDisconnectEvent' for asynchronous servlets 3.0? I am sure tomcat DOES KNOW when a client browser is closed, since the notification arrives when using CometProcessor. Did anyone worked with asynchronous servlets as in Servlet

Re: My web application to use SSL (JSSE - RSA)

2011-06-10 Thread Charles Van Damme
OK Christopher: 1) Output tabs of NetBeans IDE 1.1) Tomcat 7.0 : Using CATALINA_BASE: C:\Program Files\ApacheSoftwFound\Apache Tomcat 7.0.11 Using CATALINA_HOME: C:\Program Files\ApacheSoftwFound\Apache Tomcat 7.0.11 Using CATALINA_TMPDIR: C:\Program Files\ApacheSoftwFound\Apache Tomcat

Re: user tomcat authentication

2011-06-10 Thread Pid
On 10/06/2011 11:26, Petr Hracek wrote: Dear tomcat users, I would like to ask you how can I authenticate users to access tomcat page? My users are stored in standard /etc/passwd file I'm not sure I'd give Tomcat access to the local user authentication. or users which are stored in

Re: Problem regarding Hosting

2011-06-10 Thread Pid
On 10/06/2011 13:33, adityagoel123 wrote: I have succesfully deployed a application through .war file on apache server. apache server usually refers to Apache HTTPD, http://httpd.apache.org. This is the mailing list for Apache Tomcat, a Java Application server, which does publish web

Re: Classpath issue *only* when starting tomcat 6 as a service

2011-06-10 Thread Pid
On 10/06/2011 10:16, Patrick Guillot - Genigraph wrote: Right. I have used a script I made because I had several tomcat instances to set-up (2x8). Attached is the script I used. I'm using multiple catalina_base (one for each application). Please uninstall all Tomcat services. Now install

Tomcat shutdown issues

2011-06-10 Thread April Easton
Good day, I've been working on closing all my threads in my applications that run on Tomcat. I recently upgraded to 7.0.14 to get better messages concerning why Tomcat wasn't shutting down properly. I have stopped all my servlets and threads, but I'm still having trouble. Below is the

Re: My web application to use SSL (JSSE - RSA)

2011-06-10 Thread Pid
On 10/06/2011 14:25, Charles Van Damme wrote: java.security.NoSuchAlgorithmException: RSA SSLContext not available It seems pretty clear that RSA isn't accepted by Java as a valid algorithm. p signature.asc Description: OpenPGP digital signature

Re: Tomcat shutdown issues

2011-06-10 Thread Pid
On 10/06/2011 15:36, April Easton wrote: Good day, I've been working on closing all my threads in my applications that run on Tomcat. I recently upgraded to 7.0.14 to get better messages concerning why Tomcat wasn't shutting down properly. I have stopped all my servlets and threads,

RE: Tomcat shutdown issues

2011-06-10 Thread Caldarale, Charles R
From: April Easton [mailto:aeas...@shawneecourt.org] Subject: Tomcat shutdown issues I don't see any of my threads in there Look harder: Worker-JM prio=3D10 tid=3D0x5d7a1800 nid=3D0x521f in Object.wait() at

Concurrent Low Pause GC - Eden Space Size (Apache Tomcat/5.5.27)

2011-06-10 Thread Smith, Mitchell
Hi, Tomcat Version 5.5.27 OS: Linux Red Hat Linux 5.3 Enterprise 64bit I have a tomcat server setup, with the following configuration added:     -XX:+UseLargePages     -Xms14336m     -Xmx14336m     -XX:NewRatio=4     -XX:MaxPermSize=256m     -XX:+UseConcMarkSweepGC     

Re: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Martin Grotzke
Hi Rüdiger, On 06/10/2011 10:42 AM, Rüdiger Herrmann wrote: Still, I would be *very* interested in knowing how to use the PersistentManager to realize session failover - if it is inteded to serve that purpose at all. I remember there were people posting on this list that they're trying to

Re: My web application to use SSL (JSSE - RSA)

2011-06-10 Thread Charles Van Damme
Dear Pid, Yes, RSA fails, and I'm wondering why. Meantime, in 'server.xml' (see my previous email sending, I changed RSA by TLS. Only that. Output tabs : 1.1) Tomcat 7.0 : Using CATALINA_BASE: C:\Program Files\ApacheSoftwFound\Apache Tomcat 7.0.11 Using CATALINA_HOME: C:\Program

RE: Classpath issue *only* when starting tomcat 6 as a service

2011-06-10 Thread Patrick Guillot - Genigraph
Hi all, Thanks for your inputs. I tried starting Tomcat via local administrator account, but it does not start at all (no log file produce for tomcat and got error 1069), neither via the GUI nor via command line. I have asked my customer to set-up a new virtual machine to do what you suggest pid

Re: Classpath issue *only* when starting tomcat 6 as a service

2011-06-10 Thread André Warnier
Patrick Guillot - Genigraph wrote: Hi all, Thanks for your inputs. I tried starting Tomcat via local administrator account, but it does not start at all (no log file produce for tomcat and got error 1069), neither via the GUI nor via command line. Probably because now it does not have the

Re: Concurrent Low Pause GC - Eden Space Size (Apache Tomcat/5.5.27)

2011-06-10 Thread Martin Grotzke
Hi, On 06/10/2011 05:05 PM, Smith, Mitchell wrote: Hi, Tomcat Version 5.5.27 OS: Linux Red Hat Linux 5.3 Enterprise 64bit I have a tomcat server setup, with the following configuration added: -XX:+UseLargePages -Xms14336m -Xmx14336m -XX:NewRatio=4

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-10 Thread Sriram Narayanan
On Fri, Jun 10, 2011 at 11:18 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Caldarale, Charles R Subject: RE: Optimal Settings to use Tomcat as a HTTP File Server We plan to use tomcat to let users download static content ( media, executables etc.. ). As much as I like

Re: My web application to use SSL (JSSE - RSA)

2011-06-10 Thread Sriram Narayanan
Charles, you are facing multiple problems here. One is with the RSA, and the other is with starting Tomcat instances. On Fri, Jun 10, 2011 at 8:48 PM, Charles Van Damme chava...@gmail.com wrote: snip/ At which moment does NetBeans start the Tomcat server ? If I operate a shutdown.bat and a

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 6/9/2011 9:40 PM, Caldarale, Charles R wrote: From: Anand HS [mailto:anan...@gmail.com] Subject: Optimal Settings to use Tomcat as a HTTP File Server We plan to use tomcat to let users download static content ( media, executables

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sriram, On 6/10/2011 1:49 PM, Sriram Narayanan wrote: Having one application serve static content, and having other applications serve other content (accept http requests, perform some processing, and send back responses, for e.g.), is actually a

Re: My web application to use SSL (JSSE - RSA)

2011-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charles, On 6/10/2011 9:25 AM, Charles Van Damme wrote: 10-jun-2011 15:14:11 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not

RE: Tomcat shutdown issues

2011-06-10 Thread April Easton
I just installed a plug-in to try and get YourKit going to find the leaks. I didn't realize that I had started Tomcat from inside Eclipse. I'll take out what I did. Thanks, April - To unsubscribe, e-mail:

Re: Concurrent Low Pause GC - Eden Space Size (Apache Tomcat/5.5.27)

2011-06-10 Thread Pid
On 10/06/2011 17:10, Martin Grotzke wrote: Hi, On 06/10/2011 05:05 PM, Smith, Mitchell wrote: Hi, Tomcat Version 5.5.27 OS: Linux Red Hat Linux 5.3 Enterprise 64bit I have a tomcat server setup, with the following configuration added: -XX:+UseLargePages -Xms14336m

Re: My web application to use SSL (JSSE - RSA)

2011-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 6/10/2011 3:59 PM, Christopher Schultz wrote: It's best to find out what your JVM supports and use that. I wrote a short bit of code a while back to determine the supported algorithms and the default cipher suite for an SSLSocketFactory.

Re: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Rüdiger Herrmann
In case someone is interested, the code to programmatically set up a clustered Tomcat instance is attached. - Rüdiger On Fri, Jun 10, 2011 at 10:42, Rüdiger Herrmann rherrm...@eclipsesource.com wrote: Martin, thanks for the pointers. Though, I'd rather like to start with the default solution

Re: My web application to use SSL (JSSE - RSA)

2011-06-10 Thread Patrick Flaherty
Hi, Is APR/native Connector dramatically faster then Java Nio Blocking Connector or is it marginal ? I'd love faster SSL but all my keys and certs are java based (keytool). Will APR ever support Java SSL ? I find Java keytool to be reasonably easy to use. Is OpenSSL as easy to use ?

Re: [OT] Context Definition Doesn't Work

2011-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 6/10/2011 12:33 AM, Caldarale, Charles R wrote: $CATALINA_HOME/webapps/mbp#filePort FWIW, path names containing a # symbol can wreak havoc on certain APIs that use URLs to locate resources. Case in point: Apache Cocoon uses file: URLs to

Re: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Pid
On 10/06/2011 21:23, Rüdiger Herrmann wrote: In case someone is interested, the code to programmatically set up a clustered Tomcat instance is attached.p The list strips attachments unfortunately. Try Pastebin/GitHub etc p signature.asc Description: OpenPGP digital signature

Re: My web application to use SSL (JSSE - RSA)

2011-06-10 Thread Pid
On 10/06/2011 21:29, Patrick Flaherty wrote: Hi, Is APR/native Connector dramatically faster then Java Nio Blocking Connector or is it marginal ? APR+SSL is a little faster, if I remember correctly, Chris? I'd love faster SSL but all my keys and certs are java based (keytool). Will APR

Re: pauses on simple .html pages

2011-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 6/9/2011 4:25 PM, tom...@r322.com wrote: I have a script setup does a wget hit to docs/config/valve.html every 1 second. If the wget call takes longer than 1 second it grabs a bunch of stats -- iostat, vmstat, top,

Re: My web application to use SSL (JSSE - RSA)

2011-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 6/10/2011 4:37 PM, Pid wrote: On 10/06/2011 21:29, Patrick Flaherty wrote: Hi, Is APR/native Connector dramatically faster then Java Nio Blocking Connector or is it marginal ? APR+SSL is a little faster, if I remember correctly,

RE: My web application to use SSL (JSSE - RSA)

2011-06-10 Thread Adamus, Steven J.
We switched from JSSE to the APR and OpenSSL about 6 months. We converted all existing keys and certs to the format required by OpenSSL. It was not hard. Some people say it can't be done, but they're wrong. After 6 months with openSSL, I say it's easier to use than JSSE. We use not only

Re: [OT] Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, (Resurrecting a thread from the long past that I hadn't noticed until just now). On 3/15/2011 7:56 PM, Brian Braun wrote: I don't know yet which project are you talking about, but why haven't you decided to migrate to JSF 2.0 or Spring MVC,

RE: Tomcat shutdown issues

2011-06-10 Thread April Easton
Taking out what I did for the YourKit plug-in didn't help. Next, I shutdown my Eclipse and then started and stopped Tomcat on the server. The org.eclipse threads were still listed in the thread dump. I recently upgraded B.I.R.T. to version 2.2 on Tomcat and it uses osgi jar files. I'll look

Re: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Rüdiger Herrmann
thanks for the hint. Here goes the link to the file: http://pastebin.com/6K4Ns4Tz - Rüdiger On Fri, Jun 10, 2011 at 22:35, Pid p...@pidster.com wrote: On 10/06/2011 21:23, Rüdiger Herrmann wrote: In case someone is interested, the code to programmatically set up a clustered Tomcat instance

RE: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Caldarale, Charles R
From: Rüdiger Herrmann [mailto:rherrm...@eclipsesource.com] Subject: Re: How to cluster two embedded tomcat 7 instances thanks for the hint. Here goes the link to the file: http://pastebin.com/6K4Ns4Tz Please consider adding this to the Tomcat Wiki as well. - Chuck THIS COMMUNICATION

Question on work directory

2011-06-10 Thread Melinda Savoy
Due to a conflict between the cached JSPs in the work directory of a tomcat container on our app¹s QA Windows 2003 server, does the tomcat service have to be restarted?   Any help would be greatly appreciated.  Thanks.