RE: Exception running precompiled JSP

2011-01-21 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Exception running precompiled JSP > Basically, the error is this: > java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspSourceDependent > I checked, and that class can be found in CATALINA_BASE/lib/jasper.jar.

Exception running precompiled JSP

2011-01-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I'm playing around with the JSP precompiler in TC 7 and I'm having trouble running the compiled JSP. The JSP itself is trivial: <%@page pageEncoding="UTF-8" %> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %> Example Pr

Re: Setting Environment Variable for Tomcat 6 Servlet

2011-01-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alyssa, On 1/21/2011 4:29 PM, Alyssa Kwan wrote: > I'm using Ubuntu's default installation of Tomcat 6. I'm deploying a > ROOT.war, and trying to set an environment variable specific to it, i.e. > accessible from System.getenv() in the Servlet.init(co

Setting Environment Variable for Tomcat 6 Servlet

2011-01-21 Thread Alyssa Kwan
Hi All, I'm using Ubuntu's default installation of Tomcat 6. I'm deploying a ROOT.war, and trying to set an environment variable specific to it, i.e. accessible from System.getenv() in the Servlet.init(config). According to the docs (http://tomcat.apache.org/tomcat-6.0-doc/config/context.html)

Re: Setup Advice Needed: dev vs. test vs. production

2011-01-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Susan, On 1/21/2011 2:28 PM, Susan G. Conger wrote: > I can't. This is running on an AS400. And the clients are very > particular on what you can install. You don't have to install anything else. Read RUNNING.txt, specifically the "Advanced" secti

RE: logging in tomcat 6.0.x

2011-01-21 Thread Caldarale, Charles R
> From: Tarun Gupta [mailto:tarun.gu...@digitalmountain.com] > Subject: logging in tomcat 6.0.x > I've got a tomcat 6.0.29 installation with a web app deployed. > But, all the logging is going to the console. How should I > redirect the logging to go to a file. A) Fix your webapp not to do its

logging in tomcat 6.0.x

2011-01-21 Thread Tarun Gupta
Hi , I've got a tomcat 6.0.29 installation with a web app deployed. But, all the logging is going to the console. How should I redirect the logging to go to a file. Thanks, Tarun

RE: Security question about Multiple instances of Tomcat running as non-admin users on a single box

2011-01-21 Thread Jeffrey Janner
Guy - Why switch to Windows when you can still get OSX Server for Mac Pros or Minis? That out of the way, Tomcat works basically the same on Windows as on Mac, except where running as a service is concerned. Yes, Tomcat will respect Windows permission settings, etc., just like any other Window

RE: Setup Advice Needed: dev vs. test vs. production

2011-01-21 Thread Susan G. Conger
You are preaching to the choir here about the multiple installs. But I can't. This is running on an AS400. And the clients are very particular on what you can install. So I am stuck. FYI: The dev, test, and production is for my software not Tomcat. So I have 3 or more versions of the softwar

RE: Setup Advice Needed: dev vs. test vs. production

2011-01-21 Thread Jeffrey Janner
Chuck's reply about reading RINNIGN.txt is what I was talking about here. He also makes several good points on why separate installs is desirable. > -Original Message- > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Sent: Friday, January 21, 2011 1:15 PM > To: 'Tomcat Users L

RE: Setup Advice Needed: dev vs. test vs. production

2011-01-21 Thread Jeffrey Janner
Susan, Are you wanting to only perform one (1) install of the Tomcat software? What is the customer environment (O/S, etc.) that is imposing this requirement? I am going to guess that it is possibly Windows, and not Linux. But whichever, what you probably want is multiple instances of Tomcat runnin

RE: Setup Advice Needed: dev vs. test vs. production

2011-01-21 Thread Caldarale, Charles R
> From: Susan G. Conger [mailto:cong...@yoeric.com] > Subject: RE: Setup Advice Needed: dev vs. test vs. production > But in our environment it just isn't feasible to install > three different tomcats on the customer's system. Why not? > So I was trying to come up with a way to do this without

RE: Setup Advice Needed: dev vs. test vs. production

2011-01-21 Thread Jason Pyeron
> -Original Message- > From: Susan G. Conger > Sent: Friday, January 21, 2011 13:30 > To: 'Tomcat Users List' > Subject: RE: Setup Advice Needed: dev vs. test vs. production > > I hear you. But in our environment it just isn't feasible to > install three different tomcats on the custome

Re: Possible race condition with mod_jk + multiple workers in recovery mode

2011-01-21 Thread Andy Wang
On 01/17/2011 04:53 AM, Rainer Jung wrote: > On 13.01.2011 00:36, Andy Wang wrote: >> Aahh, having the maintenance thread do a periodic probe would be >> awesome. >> >> I see what you mean about parallel probing delaying request handling, >> but what would you think about modifying the loop so that

RE: Setup Advice Needed: dev vs. test vs. production

2011-01-21 Thread Susan G. Conger
I hear you. But in our environment it just isn't feasible to install three different tomcats on the customer's system. So I was trying to come up with a way to do this without having to rename a bunch of stuff. If it was running on a different virtual host for each environment or different ports

Re: maxHttpHeaderSize: InternalNioInputBuffer vs InternalNioOutputBuffer

2011-01-21 Thread Yuesong Wang
Done: https://issues.apache.org/bugzilla/show_bug.cgi?id=50631 Thanks, Yuesong On Jan 21, 2011, at 9:33 AM, Mark Thomas wrote: > On 21/01/2011 13:55, Yuesong Wang wrote: >> Just to confirm, it is a bug in the InputBuffer, not OutputBuffer? > > InputBuffer, yes. > > OutputBuffer not so sure.

RE: Setup Advice Needed: dev vs. test vs. production

2011-01-21 Thread Caldarale, Charles R
> From: Susan G. Conger [mailto:cong...@yoeric.com] > Subject: Setup Advice Needed: dev vs. test vs. production > I don't want to install 3 instances of tomcat on the > customers machine for running the different environments. I strongly suggest you rethink that, and use at least three separa

Security question about Multiple instances of Tomcat running as non-admin users on a single box

2011-01-21 Thread Guy Pontecorvo
We currently run multiple instances of tomcat Version 6.0.20, each in its own non-admin user account under Mac OSX 10.5. This has been a great way to host multiple web applications (student information systems) on a single box. Each app is secure in its own user account space and can't read or wri

Setup Advice Needed: dev vs. test vs. production

2011-01-21 Thread Susan G. Conger
I have some web services running on tomcat and I am trying to figure out the best way to have 1 tomcat instance running all 3 environments. So the tomcat would run dev, test, and production on one tomcat instance. I don't want to install 3 instances of tomcat on the customers machine for running

RE: how to configue tomcat ldap 2008

2011-01-21 Thread Felix Schumacher
On Thu, 20 Jan 2011 13:10:06 -0600, Jill Han wrote: Still no luck after trying adCompat="true". That option was added in 6.0.21, it is not present in any 5.5.x. I didn't see your version when I first replyd, sorry. So you might try to update to a recent tomcat, which is always a good idea.

Re: Exception when starting tomcat 7.0.6

2011-01-21 Thread Konstantin Kolinko
2011/1/21 thomas Ritter : > So I added in the startup.bat the two options that were present in my > previous version of tomcat : -Dvalidationlist.dir="%mekWorkPath%" > -Duser.dir="%mekWorkPath%" Create bin/setenv.bat and put them there: set CATALINA_OPTS=-Dvalidationlist.dir="%mekWorkPath%" -Duser

Re: Trouble with programatically-added servlet and @MultipartConfig [solved]

2011-01-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, When working with multipart/form-data, remember to follow all the rules: * Request's Content-Length should include all the content (I had that) * Boundary is required as part of the Content-Type (I had that, too) * Boundary separates each of the

Re: maxHttpHeaderSize: InternalNioInputBuffer vs InternalNioOutputBuffer

2011-01-21 Thread Yuesong Wang
So the bug is InternalNioInputBuffer not honoring maxHttpHeaderSize? Yuesong On Jan 21, 2011, at 9:33 AM, Mark Thomas wrote: > On 21/01/2011 13:55, Yuesong Wang wrote: >> Just to confirm, it is a bug in the InputBuffer, not OutputBuffer? > > InputBuffer, yes. > > OutputBuffer not so sure. As a

Re: Trouble with programatically-added servlet and @MultipartConfig

2011-01-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 1/21/2011 5:55 AM, Mark Thomas wrote: > On 20/01/2011 23:43, Christopher Schultz wrote: >> A'ight. It may be ignoring non-file parts. I'll look into that. > > o.a.catalina.connector.Request.getParts() Yeah, I was already poking around in th

RE: Please help - Question on Tomcat Startup

2011-01-21 Thread Savoy, Melinda
Sorry for the email below. I got my problem fixed. For some reason, some files from my LIB directory were deleted. The only thing I had done in eclipse was to add a web service project and why my files in tomcat would be deleted in beyond me. If anyone has seen this before any help/response

Re: maxHttpHeaderSize: InternalNioInputBuffer vs InternalNioOutputBuffer

2011-01-21 Thread Mark Thomas
On 21/01/2011 13:55, Yuesong Wang wrote: > Just to confirm, it is a bug in the InputBuffer, not OutputBuffer? InputBuffer, yes. OutputBuffer not so sure. As a minimum, it should be consistent with the other connectors. I haven't checked how they behave. Mark > > Yuesong > > On Jan 21, 2011, a

RE: how to configue tomcat ldap 2008

2011-01-21 Thread Jill Han
Hi Jeff, It is what our window administrator said, *** I checked and LDAP was open on the server (port 389 UDP and TCP), but I turned the firewall completely off on the server for testing. The log file still generates the same message. Any other things that need

Re: maxHttpHeaderSize: InternalNioInputBuffer vs InternalNioOutputBuffer

2011-01-21 Thread Yuesong Wang
Just to confirm, it is a bug in the InputBuffer, not OutputBuffer? Yuesong On Jan 21, 2011, at 6:12 AM, Mark Thomas wrote: > On 21/01/2011 00:53, Yuesong Wang wrote: >> Hi, >> >> Is there a reason why InternalNioInputBuffer automatically grows its buffer, >> effectively ignoring the maxHttpHea

Exception when starting tomcat 7.0.6

2011-01-21 Thread thomas Ritter
Good afternoon, I am migrating a web application from tomcat 5 to tomcat 7.0.6. First of all, I installed tomcat and validate it works fine : that's validated. Now I need to add some java system properties in the tomcat startup in order to use some specific tools to my application. So I ad

Re: JSP ClassNotFoundException on Tomcat 6.0.29/30 Eclipse Helios WTP

2011-01-21 Thread Mark Thomas
On 21/01/2011 11:04, Mark Thomas wrote: > On 21/01/2011 06:58, Son KwonNam wrote: >> I told when a jsp file is edited on Eclipse WTP, and published, the >> tomcat work directory is removed and regenerated. >> >> I checked more and more and finally found out that this happens only >> when the projec

Please help - Question on Tomcat Startup

2011-01-21 Thread Savoy, Melinda
I have what I think is a weird situation. I have two workspaces in 2 different versions of Eclipse that reside in 2 different directories and whereby I have 2 different versions of the tomcat server that reside in 2 different directories on my Windows XP box. In one my workspaces, which is a te

Re: Make the bindThread/unbindThread method proected ?

2011-01-21 Thread Ivan
Thanks, an entry in bugzilla is created, https://issues.apache.org/bugzilla/show_bug.cgi?id=50629 2011/1/21 Mark Thomas > On 21/01/2011 01:37, Ivan wrote: > > Hi, > > In the latest Tomcat codes, I saw that a new thread is created for > listener > > start, filter start and loadOnStartup. But the

Re: IPR issues

2011-01-21 Thread Peter Crowther
On 21 January 2011 11:54, apache tomcat wrote: > I'd like to know if there is any patent infringement tied to the product. > > So would everybody! There's language in the license about patents, but there's nothing to stop a patent troll popping up and claiming that Tomcat infringes one of their

RE: IPR issues

2011-01-21 Thread apache tomcat
Hi Mark thanks for your prompt answer. More in detail I'd like to know if there is any patent infringement tied to the product. BR > Date: Fri, 21 Jan 2011 11:07:29 + > From: ma...@apache.org > To: users@tomcat.apache.org > Subject: Re: IPR issues > > On 21/01/2011 10:52, apache t

Re: maxHttpHeaderSize: InternalNioInputBuffer vs InternalNioOutputBuffer

2011-01-21 Thread Mark Thomas
On 21/01/2011 00:53, Yuesong Wang wrote: > Hi, > > Is there a reason why InternalNioInputBuffer automatically grows its buffer, > effectively ignoring the maxHttpHeaderSize setting, while > InternalNioOutputBuffer doesn't? I was playing around with the setting, and > set it to a rather small va

Re: IPR issues

2011-01-21 Thread Mark Thomas
On 21/01/2011 10:52, apache tomcat wrote: > > Hi all, > I'd like to know if there is any IPR issue tied to Tomcat 7.x You need to state your question more clearly. Tomcat 7 is distributed under the Apache License version 2 [1]. The NOTICE file for Tomcat 7 is included with every release. The lat

Re: JSP ClassNotFoundException on Tomcat 6.0.29/30 Eclipse Helios WTP

2011-01-21 Thread Mark Thomas
On 21/01/2011 06:58, Son KwonNam wrote: > I told when a jsp file is edited on Eclipse WTP, and published, the > tomcat work directory is removed and regenerated. > > I checked more and more and finally found out that this happens only > when the project web context root is "/" in Eclipse Project p

Re: Make the bindThread/unbindThread method proected ?

2011-01-21 Thread Mark Thomas
On 21/01/2011 01:37, Ivan wrote: > Hi, > In the latest Tomcat codes, I saw that a new thread is created for listener > start, filter start and loadOnStartup. But the two methods bindThread and > unbindThread is marked as private, how about making those methods protected > ? So that other containers

Re: Trouble with programatically-added servlet and @MultipartConfig

2011-01-21 Thread Mark Thomas
On 20/01/2011 23:43, Christopher Schultz wrote: > Mark, > > On 1/20/2011 6:27 PM, Mark Thomas wrote: >> On 20/01/2011 23:23, Christopher Schultz wrote: >>> I happen, for the sake of simplicity, to be using a non-file multipart >>> part. Could that be confusing things? > >> It may well be. The par

IPR issues

2011-01-21 Thread apache tomcat
Hi all, I'd like to know if there is any IPR issue tied to Tomcat 7.x Thanks in advance for your help /Tom