Re: Problem with AJP connector

2008-09-25 Thread Rainer Jung
Woytasik Joe wrote: We are running IIS6 and Tomcat 6, with the AJP connector forwarding traffic from IIS to Tomcat. Everything has been working well until we started running some load tests. When we ramp up our testing we start to see the following errors in the connector log. [Wed Sep 24

Re: Weird AccessControlException -mod_jk related?

2008-09-25 Thread Mark Thomas
Piller Sébastien wrote: Hello guys, I've a project that runs fine on almost every config (Tomcat5.5, 6, windows, linux, ...). But since I've installed mod_jk, I receive this quite weird exception: snip/ /var/lib/tomcat5.5/webapps/testservlet/WEB-INF/classes/logging.properties read)

Re: Weird AccessControlException -mod_jk related?

2008-09-25 Thread Piller Sébastien
Thanks ;) Fixed with disabling tomcat security. As it's a test server, no problem. ;) Mark Thomas a écrit : Piller Sébastien wrote: Hello guys, I've a project that runs fine on almost every config (Tomcat5.5, 6, windows, linux, ...). But since I've installed mod_jk, I receive this quite

context.xml not read

2008-09-25 Thread Dean Pehrsson-Chapman
We are trying to do a JNDI lookup to an ActiveMQ queue in tomcat. We have specified the resource in META-INF/context.xml Context Resource name=jms/esbConnectionFactory type=org.apache.activemq.ActiveMQConnectionFactory description=Esb JMS Connection Factory

Re: context.xml not read

2008-09-25 Thread Mark Thomas
Dean Pehrsson-Chapman wrote: This is working in a local windows dev tomcat 5.5.26, but when moving to our staging environment (Suse tomcat 5.5.26), this file is not being picked up (this is confirmed by making it invalid xml, with no exception thrown). Placing resources in

RE: context.xml not read

2008-09-25 Thread Dean Pehrsson-Chapman
No, there isn't. Thanks. Dean Pehrsson-Chapman Senior Java Developer +44 (0)20 7468 6650 |  optimad +44 (0)20 7468 6647 |  direct +44 (0)7971 680 007 |  mobile www.imdplc.com -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: 25 September 2008 12:25 To:

Tomcat Master for PHP Hosting?

2008-09-25 Thread Johnny Kewl
Does anyone know if there is anything like this already... What I need (want to do) is turn TC into a Virtual PHP hosting system... This is the idea... one can layout a html/PHP site in tomcat... Then point that at distributed servers out there, and use the remote links in JSP, servlets etc.

[Fwd: Application Period Opens for Travel Assistance to ApacheCon US 2008]

2008-09-25 Thread Mark Thomas
The Travel Assistance Committee is taking in applications for those wanting to attend ApacheCon US 2008 between the 3rd and 7th November 2008 in New Orleans. The Travel Assistance Committee is looking for people who would like to be able to attend ApacheCon US 2008 who need some financial support

[TOMCAT] Internal Tomcat Server error (HTTP Status 500): NoClassDefFound

2008-09-25 Thread Jon Haitz Legarreta Gorroño
Hi all, since a couple of days ago I've been experiencing problems with a Web application of mine that worked fine until then: when I deployed the application (built with Java and JSP) under my Tomcat 5.0.28 I got the following error stack (sorry for the length): HTTP Status 500 The server

Re: [TOMCAT] Internal Tomcat Server error (HTTP Status 500): NoClassDefFound

2008-09-25 Thread David Smith
oracle.adf.controller.v2.struts.lifecycle.StrutsPageLifecycleFactory.getDefaultInstance(StrutsPageLifecycleFactory.java:68) ... so what class is referenced at line 68 of StrutsPageLifecycleFactory.java? It's weird that it didn't include the class name it couldn't find in the stack trace.

Re: [TOMCAT] Internal Tomcat Server error (HTTP Status 500): NoClassDefFound

2008-09-25 Thread Jon Haitz Legarreta Gorroño
Hi again, thanks for your interest, David. Well, found that line 68 in StrutsPageLifecycleFactory.java is empty !! The method menetioned is the following, and line 68 is the one above the return statement: private static StrutsPageLifecycleFactory getDefaultInstance() { if

How to access JNDI resources on Tomcat level

2008-09-25 Thread Mikolaj Rydzewski
Hi all, I'm using Tomcat 5.5 with JNDI DataSources. It works with no problem. Now, I want to setup Josso single sign on system (www.josso.org) and force it to use JNDI DataSources as well. With no luck. Problem lies (I suppose), that josso system is not only a webapp, but also a Tomcat's

Re: How to access JNDI resources on Tomcat level

2008-09-25 Thread Mark Thomas
Mikolaj Rydzewski wrote: So - is there any 'special' way to obtain reference to JNDI resources from within a Realm? Make sure your data source is global (i.e. defined in server.xml) and then take a look at how the JNDI realm uses global data sources. Mark

Re: [TOMCAT] Internal Tomcat Server error (HTTP Status 500): NoClassDefFound

2008-09-25 Thread David Smith
Hmmm... and I take it you are sure the version being used when the stack trace is produced is the same version you are looking at. In that case my next thought is to check for a classloader issue. Do StrutsPageLifecycleFactory and DefaultStrutsPageLifecycleFactory only exist once in tomcat

Tomcat with LDAP - admin part authentication

2008-09-25 Thread yann bizouerne
Hi, I have installed tomcat 6 on our Lunix server. I have configure it in order to use LDAP authentication for our application and it is working fine. My concern is about the admin part of the tomcat server. Now the tomcat-users.xml seems not used anymore for the admin,manager part. I have tried

RE: Stripping down the JSP engine from Tomcat

2008-09-25 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Stripping down the JSP engine from Tomcat I have tried removing the jasper jars but that fails tomcat from starting What happens if you also remove the JSP servlet declaration from conf/web.xml? - Chuck THIS COMMUNICATION MAY

RE: Tomcat with LDAP - admin part authentication

2008-09-25 Thread Caldarale, Charles R
From: yann bizouerne [mailto:[EMAIL PROTECTED] Subject: Tomcat with LDAP - admin part authentication Now the tomcat-users.xml seems not used anymore for the admin,manager part. Since you changed the Realm, the tomcat-users.xml file is not used for anything. I have tried my LDAP

Re: Stripping down the JSP engine from Tomcat

2008-09-25 Thread Mark Thomas
Caldarale, Charles R wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Stripping down the JSP engine from Tomcat I have tried removing the jasper jars but that fails tomcat from starting What happens if you also remove the JSP servlet declaration from conf/web.xml? And the

Re: Tomcat Master for PHP Hosting?

2008-09-25 Thread Alan Chaney
Its called a 'web service'. Make your tomcat application a web service. Use a php application to invoke it. Distribute the php applications to the php servers. The php application has a user interface and generates the invocation request (probably as an xml file). Your 'MASTER' does the

Re: Stripping down the JSP engine from Tomcat

2008-09-25 Thread Johnny Kewl
- Original Message - From: [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, September 25, 2008 6:39 PM Subject: Stripping down the JSP engine from Tomcat Hi, Is there anyways we can strip down the JSP engine from the Tomcat? I have to develop an application which would

Re: Tomcat Master for PHP Hosting?

2008-09-25 Thread Johnny Kewl
- Original Message - From: Alan Chaney [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, September 25, 2008 8:58 PM Subject: Re: Tomcat Master for PHP Hosting? Its called a 'web service'. Make your tomcat application a web service. Use a php

Re: Problem with mod_jk installation

2008-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Gainty wrote: this is a known bug in Apache 2.2.4+ distro modules https://issues.apache.org/bugzilla/show_bug.cgi?id=43095 can you work around the error by either rollback to 2.2.0 or roll forward to 2.4 It is not a bug in Apache

Re: Some Prilim questions

2008-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Smith wrote: I have no idea where you are going with this ... it makes no sense to the original question. Aah... there's your problem. Martin's not good with these things. On the other hand, /one/ part of his statement does make

Re: j_security_check requires session

2008-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, [EMAIL PROTECTED] wrote: It seems that tomcat expects that I already have a session established before posting the username and password. If I don't already have a JSESSIONID cookie, j_security_check returns a 408. This behavior adheres to

RE: Some Prilim questions

2008-09-25 Thread Martin Gainty
no no no.. he was NOT talking about LDAP but a DB connection the statement stands even with a 'local TC reference' you STILL have to contact the server ! there exists a company which sells server services for this very reason (if the op desires to know i will pass this on) dont you have

Re: Tomcat unable to find jars when deployed from Eclipse

2008-09-25 Thread Bai Shen
Am I doing something wrong, or am I stuck with the only solution being to put them in the WebContent\WEB-INF\lib dir? The alternative is to go to the Java EE Module Dependencies page of the project's properties. You should see your build time jars listed there. Check them to include

Tomcat manager 'list' command - why does it return html markup

2008-09-25 Thread sk1ds
Hi all probably a silly question from a newbie but... According to the doco http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Introduction HERE I says I should be able to use the Manager web application using A minimal version using HTTP requests only which is suitable for use by

tomcat won't download large files -- out of memory error

2008-09-25 Thread DIGLLOYD INC
I have some large zip files I want to make available for download. When I try to download a 70MB file, tomcat is trying to cache these huge files (it seems). The result is that downloading them always fails. I *want* caching for most everything eg jpegs, html, etc and I've set tomcat to

Re: tomcat won't download large files -- out of memory error

2008-09-25 Thread DIGLLOYD INC
I came across the following: -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true at this page: http://hillert.blogspot.com/2008/05/if-tomcat-is-running-out-of-memory.html I haven't tried it yet, and I don't know what it does (limits something apparently). Anyone know? Lloyd