Re: Problem when clicking on either /manager or /host-manager from: http://localhost:8080/manager/html

2007-10-19 Thread Bill Barker
The 404 error is because /manager doesn't have a welcome-page, and directory listings are off by default. The error for roles is because TC can't find the UserDatabase defined by default in server.xml. Your log files should have more information about why it failed. <[EMAIL PROTECTED]> wrote

Re: Debugging session replication in 5.5.23

2007-10-19 Thread Stephen More
The problem was not with a config of tomcats server.xml it was a problem with the war. session data is now getting replicated. If you ask why, you can look at: http://jcifs.samba.org/src/docs/ntlmhttpauth.html So the only question that remains is "Will JCIFS NTLM HTTP Authentication work in

Re: tomcat/java process strangeness

2007-10-19 Thread thebugslayer
Mark, thank you for the detail explanation. I am learning :) On 10/19/07, Mark H. Wood <[EMAIL PROTECTED]> wrote: > On Wed, Oct 17, 2007 at 10:11:36AM -0400, Christopher Schultz wrote: > > > Second strange case: > > > When I start tomcat using /opt/tomcat/bin/catalina.sh start, I get 21 > > > proc

Re: help required for writing custom Authenticator

2007-10-19 Thread Bill Barker
This is why it is rare to write a custom Authenticator. More often you write a custom Realm to do this sort of thing. You only need an Authenticator if you have some non-standard way of extracting the user credentials from the Request. The problem with the code below is that it doesn't call

Re: Can Tomcat load a class on startup?

2007-10-19 Thread David Kerber
Hassan Schroeder wrote: On 10/18/07, Beth Hechanova <[EMAIL PROTECTED]> wrote: Can Tomcat load a class on startup? Yes. See `ServletContextListener` in the Servlet spec. Yep. Works fine. I use this to start several timers which generate reports and do other things at specific i

Re: Problem installing application context as ROOT

2007-10-19 Thread Ken Bowen
Mark Thomas wrote: Ken Bowen wrote: The Host spec from server.xml: It looks like you have a third-party packaged version of Tomcat. It might not be the cause but you might be better off with a standard version downloaded from Apache or one of its mirriors. Indeed. I do

Re: Debugging session replication in 5.5.23

2007-10-19 Thread Stephen More
I thought I would try this on a off the shelf apache-tomcat-6.0.14: Results in logs of: WARNING: Manager [ [EMAIL PROTECTED] does not implement ClusterManager, addition to cluster has been aborted. The docs say "The default value is the org.apache.catalina.ha.session.DeltaManager" and DeltaM

Re: Hiding :8080 port in URL [attention mod_jk devs]

2007-10-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dale, BuildSmart wrote: > Yes, for the purpose of my project I then added a native debug interface > and significant amount of debugging features so that I could walk an > entire transaction from start to finish and see what's going on and to > change

Debugging session replication in 5.5.23

2007-10-19 Thread Stephen More
I am trying to setup a tomcat cluster on 1 box with mod_jk, my web.xml has session data is NOT getting replicated. My logs are showing: DEBUG TP-Processor1 org.apache.catalina.cluster.tcp.ReplicationValve - Context /tomcatTest: Found session 73F82C596FCE430AB6B7208B03E58BB4.worker6 but i

Re: Hiding :8080 port in URL

2007-10-19 Thread BuildSmart
On Oct 19, 2007, at 15:10:10, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BS, BuildSmart wrote: Use mod_jk to resolve this, also, if you want to try a module that is specific to ajp13, I created the following mod_ajp13 (http://amavis-stats.com/downloads/mod_ajp13

Re: Hiding :8080 port in URL

2007-10-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BS, BuildSmart wrote: > Use mod_jk to resolve this, also, if you want to try a module that is > specific to ajp13, I created the following > mod_ajp13 (http://amavis-stats.com/downloads/mod_ajp13.tar.gz - with > load balance support), it's basically a

Problem when clicking on either /manager or /host-manager from: http://localhost:8080/manager/html

2007-10-19 Thread Daniel . Toma
I'm ok when I click on /docs or /examples, but when I click on either /manager or /host-manager from http://localhost:8080/manager/html, I get an 'HTTP Status 404' error, where the description is: The requested resource (/{manager or host-manager}/) is not available. Meanwhile, the only modific

Re: Hiding :8080 port in URL

2007-10-19 Thread BuildSmart
On Oct 18, 2007, at 13:36:35, Patrick Coleman wrote: Hi, I'm using liferay with Tomcat. I don't want the :8080 port to show up in the URL. I can prevent this using apache ProxyPass & ProxyPassReverse The problem is that once inside Liferay all the tab reference the : 8080 again and so i

Tomcat 4.1.27 SSL Question

2007-10-19 Thread Velurethu, Abi J
Hello, I have SSL setup on tomcat port 8443, the ssl connection works for a while and then times out (not able to connection). However, the connection on port 80 is still active and I can connect with out any issues. Anyone seen this before. Any ideas. Thanks, Abi --

Re: Monitoring Apache Tomcat

2007-10-19 Thread Juha Laiho
Tony Fountain wrote: > Apache Tomcat/5.5.23 (runs as windows service using > C:\Apache\Tomcat\bin\tomcat5.exe //RS//Tomcat5) > JVM 1.5.0_12-b04 > Windows 2003 Standard (x86) > > We are experiencing an issue where every night our Apache Tomcat > crashes. I've reviewed all the logs and can not fin

Re: Tomcat error, with Scalix

2007-10-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, Neil Wilson wrote: >>> [Wed Oct 10 08:52:43 2007] [error] jk_child_init::mod_jk.c (2312): >>> Attachning shm:/srv/www/logs/jk-runtime-status errno=2 > > Unfortunately the error above isn't a typo, I've found a longer > version in my logs after l

help required for writing custom Authenticator

2007-10-19 Thread Mehmood, Qaiser
Hi, I need help to write my own custom Authenticator. I wrote my own Authenticator and it's very simple and following is the code: public class SampleAuthenticator extends AuthenticatorBase { public boolean authenticate(Request request,Response response,LoginConfig confi

Re: Too Many Open Files error

2007-10-19 Thread Nix Hanwei
Hi Dan, You can try sysctrl.conf file. Add in the ulimit -n for open files. - Original Message From: Daniel M Garland <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Friday, 19 October 2007 9:43:00 Subject: Re: Too Many Open Files error Thanks Jim, It was previously set to 1024, and

Re: Tomcat error, with Scalix

2007-10-19 Thread Neil Wilson
Thanks for your reply Chris. Christopher Schultz wrote: Tomcat is unlikely to be killing your Apache httpd, but mod_jk could be having a problem. This probably /is/ the right place to ask this question. Cool! glad to hear, thanks. [Wed Oct 10 08:52:43 2007] [error] jk_child_init::mod_jk.c (2

Re: tomcat/java process strangeness

2007-10-19 Thread Mark H. Wood
On Wed, Oct 17, 2007 at 10:11:36AM -0400, Christopher Schultz wrote: > > Second strange case: > > When I start tomcat using /opt/tomcat/bin/catalina.sh start, I get 21 > > processes that running the same command(different PIDs). And my tomcat > > instance seems to run fine without problem. When I k

Re: Tomcat error, with Scalix

2007-10-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, Neil Wilson wrote: > I'm running Scalix on a server, and I think the Tomcat part of Scalix is > killing my Apache. Tomcat is unlikely to be killing your Apache httpd, but mod_jk could be having a problem. This probably /is/ the right place to a

Re: Too Many Open Files error

2007-10-19 Thread Jim Cox
On 10/19/07, Daniel M Garland <[EMAIL PROTECTED]> wrote: > Thanks Jim, > > It was previously set to 1024, and I quadrupled it. When you say ulimit > is persistent will it persist across a reboot? > > I don't seem to have the command lsof, I'll try and apt-get it. > > Cheers > Dan The settings shou

Re: Too Many Open Files error

2007-10-19 Thread Daniel M Garland
Thanks Jim, It was previously set to 1024, and I quadrupled it. When you say ulimit is persistent will it persist across a reboot? I don't seem to have the command lsof, I'll try and apt-get it. Cheers Dan Jim Cox wrote: On 10/19/07, Daniel M Garland <[EMAIL PROTECTED]> wrote: Should I the

Re: Too Many Open Files error

2007-10-19 Thread Jim Cox
On 10/19/07, Daniel M Garland <[EMAIL PROTECTED]> wrote: > Should I then place ulimit -n in the catalina startup scripts? Setting a limit with ulimit is "sticky" (i.e. persistent), so there's no need to stick it in the startup script. However, you didn't answer the previous two questions abo

Re: please unsubscribe me

2007-10-19 Thread Martyn Hiemstra
Amnon Lahav schreef: i've mailed unsubscribe email and no effect - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] If you send a

Re: Too Many Open Files error

2007-10-19 Thread Daniel M Garland
Should I then place ulimit -n in the catalina startup scripts? Jim Cox wrote: On 10/18/07, Daniel M Garland <[EMAIL PROTECTED]> wrote: Hi all I'm seeing a problem on a Tomcat instance: 18-Oct-2007 12:41:47 org.apache.tomcat.util.net.AprEndpoint$Acceptor run SEVERE: Socket accept failed o

Re: FindClass org/apache/catalina/startup/Bootstrap failed

2007-10-19 Thread Marlin Pierce
I asked the network admins to look at the server, and there appears to be hardware issues. They get a blue screen when creating or modifying the VM image. Sorry about bothering this user list with a hardware issue. All I knew was I started Tomcat, and it would not start. Marlin W. Pierce Sof

Re: All threads are currently busy

2007-10-19 Thread David Smith
You'd do something like req.getRequestDispatcher("/contextRel/path/to/logoutUrl").forward( req, resp ). All of the request parameters available to the current servlet would be passed on to the logout servlet. --David Peter Bauer wrote: Am Donnerstag 18 Oktober 2007 schrieb Christopher Schul

Tomcat error, with Scalix

2007-10-19 Thread Neil Wilson
Hi guys, I'm not 100% sure if this is the place I should be asking for help, but seems as though I've heard nothing from anywhere else yet, this is really my last resort. I'm running Scalix on a server, and I think the Tomcat part of Scalix is killing my Apache. I'm getting the following e

Re: All threads are currently busy

2007-10-19 Thread Peter Bauer
Am Donnerstag 18 Oktober 2007 schrieb Christopher Schultz: > Peter, > > > This next method call is the problem. I am sending a POST request from > > one servlet instance to another one. But in situations with high load, > > all 20 instances are busy, so the ActiveRoleRemoval.sendLogoutMessages > >