Re: Issues When Restarting Tomcat

2005-11-25 Thread Bill Barker
This version has a known memory leak in the AJP/1.3 Connector. The work-around is to set: request.registerRequests=false in your $CATALINA_HOME/conf/jk2.properties file. "Carroll, Simon, CND" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I have the following problem and I w

Expanding WAR file in "home" directory

2005-11-25 Thread Jeff Brewer
This is probably too basic a question to ask here, and it is definitely a long question because I feel it needs a lot of explaination so I beg your forgiveness in advance and advise you to please just skip it if you have no tolerance for new users with stupid questions. I have spent most of my f

Re: Expanding WAR file in "home" directory

2005-11-25 Thread Wendy Smoak
On 11/25/05, Jeff Brewer <[EMAIL PROTECTED]> wrote: > When I create a WAR file containing my index.html page (and my test JSF > "project" pages and classes and xml files) then upload that WAR file to my > server and wait for a few minutes my WAR file is expanded into a new > sub-directory with t

tld files inside jars are not auto discovered

2005-11-25 Thread Aaron Loucks
I can't get TLD auto discovery to work for any custom taglibs i write when I package them as jars. It works fine for the standard taglibs (core, fmt, etc..). The tld file is packaged inside the jar as '/meta-inf/breadcrumbs_1_0.tld', and breadcrumbs-1.0.jar is located in /WEB-INF/lib. If i put

Re: Tomcat 5 error during startup - 2nd connector doesn't work

2005-11-25 Thread Peter Rossbach
Download MX4j 3.0.1 and cp mx4j.jar to bin/jmx.jar at your tomcat release. Regards Peter Oded Arbel schrieb: Hi people. I'm using tomcat5 to host a commercial web site, and due to some integration issues we are using a single service with two CoyoteConnectors - one on port 8080 and one on po

RE: enable log4j

2005-11-25 Thread Nehal Sangoi
Hi Dhaval, We never start our Tomcat-Base. We only run Tomcat Instances. So, i need log4j be enabled individually. I have gone thru the docs and did same as its suggested there. But no luck. Is there any way, for tomcat instance to know abt the properties file added into classes -Original

IncompatibleClassChangeError handling

2005-11-25 Thread Paul Singleton
If I update a jar file within a JSP web app while Tomcat (5.5.9) is stopped, I may get an IncompatibleClassChangeError at the first request after restart. I fix this by stopping, deleting the work stuff, and restarting. Is it possible in principle for Tomcat to automatically regard the compiled

ThreadPool logFull, Tomcat not responding anymore

2005-11-25 Thread Konrath Thomas
Hi .. We have a problem on our product server with our web application (which is too complicated to go into the details of here). Every day at least once our web application is mysteriously hanging. The application don't seem to crash or emit error messages, it just stop responding. In the c

Help embedding apache tomcat and axis within java app

2005-11-25 Thread Piers Finlayson
Hi there, I'm fairly new to tomcat, and I'm trying to deploy axis within apache tomcat, with tomcat embedded within my own java application. I've followed the instructions to run tomcat embedded within another application, and tomcat is now running. However, I can't figure out how to actually ge

SSL certificate usage

2005-11-25 Thread Michael Pahle
When I import a ca-issued certificate the following occurs error when starting up tomcat: javax.net.ssl.SSLException: No available certificate corresponds to the SSL cipher suites which are enabled. Importing was done as described in the docs. Obviously, a certain cipher suite that correspon

Filters

2005-11-25 Thread Carl Olivier
Greetings. I have a questions regarding Filter servlets. If a request is made for a non-existent/non *.jsp or servlet URI - will the Filter be instantiated? Reason I ask is because I want to interect old bookmarked requests for an old site - which has been migrated to a new tomcat based JSP site

Re: Filters

2005-11-25 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, Sure, you can map your filter on to /* or something like that. That way you can intercept any URL you like and either rewrite, or redirect. It doesn't matter if your URL reads /something/something/default.asp or not, if you know how to handle that

Re: Filters

2005-11-25 Thread ALEX HYDE
Carl, I'm quite new to this but I'd guess that the Filter is instantiated at start-up by Tomcat. You might direct your new requests, plus the old requests for the asp pages, to Tomcat, using say Apache. Using a filter you could intercept *.asp and then forward/redirect to the new resource. --- Ca

RE: Filters

2005-11-25 Thread Carl Olivier
AH. Damn, my aplogies - the mapping! Of course - *slaps forhead* :) Thanks a stack! Rgds, Carl -Original Message- From: Reynir Hubner [mailto:[EMAIL PROTECTED] Sent: 25 November 2005 14:23 To: Tomcat Users List Subject: Re: Filters -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi,

BASEDIR problem with Tomcat 5.5 + compat

2005-11-25 Thread Anthony Rabaa
Hello, I've been fiddling with Tomcat 5.5, looking to get it setup on a laptop running Sun's 1.4 SDK. I'm having an issue with the BASEDIR variable: The BASEDIR environment variable is not defined correctly This environment variable is needed to run this program $CATALINA_HOME=/home/foo/bin/ap

SSL certificate usage

2005-11-25 Thread Michael Pahle
Solved the problem myself: the certificate based on a key that was produced "outside" of keytool. In that way proceed as described in: http://www.jguru.com/faq/view.jsp?EID=532461 Michael - To unsubscribe, e-mail: [EMAIL PROTECT

RE: BASEDIR problem with Tomcat 5.5 + compat

2005-11-25 Thread Caldarale, Charles R
> From: Anthony Rabaa [mailto:[EMAIL PROTECTED] > Subject: BASEDIR problem with Tomcat 5.5 + compat > > The BASEDIR environment variable is not defined correctly > This environment variable is needed to run this program > > $CATALINA_HOME=/home/foo/bin/apache-tomcat-5.5.12 > $JAVA_HOME=/opt/sun-

Re: Server push

2005-11-25 Thread Dhaval Patel
Hi, I dont know about your environment. But I know few things about push that I would like to share. I researched "push" a while ago. Basically I was looking for server push. HTTP is not push enabled protocol. So the answer is you can not push from server to client using HTTP. Client has to

Re: BASEDIR problem with Tomcat 5.5 + compat

2005-11-25 Thread Anthony Rabaa
On November 25, 2005 10:13 am, Caldarale, Charles R wrote: > > From: Anthony Rabaa [mailto:[EMAIL PROTECTED] > > Subject: BASEDIR problem with Tomcat 5.5 + compat > > > > The BASEDIR environment variable is not defined correctly > > This environment variable is needed to run this program > > > > $C

Re: Server push

2005-11-25 Thread Hassan Schroeder
Andrew.du wrote: > Can somebody tell me server push? C'mon, the *first* hit from googling "server push" is this classic (and definitive) page: -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1

Re: Servlets (total beginner)

2005-11-25 Thread Mark
Check out the Web Tools Platform, as part of the Eclipse project. It does a great job of getting a new servlet developer up and running. On 11/22/05, Suresh Nair <[EMAIL PROTECTED]> wrote: > > You must have send this to me by mistake. > > Please delete me from your message list. > > Thank you. >

Re: Displaying PDF's within a servlet

2005-11-25 Thread Mark
Check out either PDFBox, it allows you to convert PDF pages into JPG. On 11/23/05, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: Khawaja Shams [mailto:[EMAIL PROTECTED] > > Subject: Displaying PDF's within a servlet > > > > However, starting Acrobat for this purpose > > everytime co

How to capture Status 503

2005-11-25 Thread Thomas Strauß
Hi, I would like to setup a "maintenance in progress" page. I want to cover the following situations: 1 - Removing an application -> tomcat throws 404 2 - Stopping an application -> tomcat throws 503 3 - Restarting Tomcat -> tomcat does not answer (1) is already solved using a

ssl deployment recommendations

2005-11-25 Thread Chris Pat
Hello I am setting up a cc processing component of my application. Can anyone recommend how to deploy the ssl layer? Do I do it from Tomcat w/Struts ssl? I assume that would require me to config Tomcat to send out over 443. Do I configure ssl at the Apache layer and use mod jk? This will leave

Re: ssl deployment recommendations

2005-11-25 Thread Hassan Schroeder
Chris Pat wrote: > I am setting up a cc processing component of my > application. Can anyone recommend how to deploy the > ssl layer? I'm not sure what your question is; are you talking about setting up Tomcat to use SSL for inbound connections, or doing encrypted *outbound* requests from your

OT: Java database schema managers?

2005-11-25 Thread Joe Reger, Jr.
A bit off-topic but I haven't found a good answer elsewhere. Problem: Single Tomcat/Java/MySql app deployed to many companies/users. As users upgrade the app we need to change their database schema (update tables, add columns, delete columns, etc). Current solution: We have a homegrown infrastr

Re: ThreadPool logFull, Tomcat not responding anymore

2005-11-25 Thread Bill Barker
"Konrath Thomas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi .. > > > We have a problem on our product server with our web application (which > is too complicated to go into the details of here). > Every day at least once our web application is mysteriously hanging. The > app