RE: tomcat deployment...

2005-10-30 Thread rahul
This might be happening if there is a deployed application already exists. Add update="true" attribute in your command, even if this not works then try to manually delete webapps/ as well as /work// directory and try again -RahulJoshi > -Original Message- > From: lamont [mailto:[EM

Re: How to share resources across two applications

2005-10-30 Thread Nihita Goel
Thanks this worked. Also copying the required files in WEB-INF gave me the sdesired security also. Regards Nihita Archana Mathur wrote: In order to access resource of other applications, you have to set parameter crossContext = "true" in context.xml file of application w1. Example - getSer

RE: Tomcat not starting

2005-10-30 Thread Nehal Sangoi
Hi, I am using : jakarta-tomcat-5.5.9 jdk1.5.0 Solaris10 Please do help -- my Tomcat environment has crashed. -Original Message- From: Bob Hall [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 12:14 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Tomcat not starting

Re: Tomcat not starting

2005-10-30 Thread Bob Hall
Nehal, Please supply versions of Java and Tomcat that you are using. - Bob --- Nehal Sangoi <[EMAIL PROTECTED]> wrote: > Infact, i am unable to start all tomcat instances > and result is follwoing > error > Pls help!! > > > Hi, > > I am unable to start one of my tomcat instances. But > i

Tomcat not starting

2005-10-30 Thread Nehal Sangoi
Hi, I am unable to start one of my tomcat instances. But its getting crashed before it starts. Follwoing are the errors found. Oct 31, 2005 12:09:47 AM org.apache.tomcat.util.digester.Digester startElement SEVERE: Begin event threw error java.lang.NoClassDefFoundError: org/apache/naming/Transact

Tomcat-Apache slow PDF response

2005-10-30 Thread Guy Knights
We're having some difficulties with PDFs being served by our intranet. The Intranet is served by Tomcat (5.5.9), via Apache (2.0.54), using mod_jk 1.2.4. This server was set up in the fairly recent past as a replacement for a much older server running apache 1.3.x, tomcat 4.1 and an older versi

Re: Loading Properties File at start-up or in Application Scope

2005-10-30 Thread Wendy Smoak
From: "Rahul Joshi" <[EMAIL PROTECTED]> I can load the properties file in the class file but I want to load it as the Tomcat starts so that the properties file is not loaded again and again. Something like storing this in the application scope. How can I do this? Use a ServletContextListener: h

Loading Properties File at start-up or in Application Scope

2005-10-30 Thread Rahul Joshi
Hi, I have a simple JSP page which has a text box and a submit button. I have a properties file which I want to use in my Java class which is used by the JSP page. I can load the properties file in the class file but I want to load it as the Tomcat starts so that the properties file is not loade

Can't figure out the problem with Apache+js_mod and TomCat

2005-10-30 Thread jane
Hi I do have problems with my Apache-tomcat configuration, the system can't serve JSP still yet, only source code is showed when I tray to open any JSP file over my browser, take a look: http://backup.backupdienst.com/Browser.jsp I get the same when I shutdown tomcat (when apache is up only),

Re: Apache front-end: mod_jk vs. ProxyPass/ProxyPassReverse?

2005-10-30 Thread Bas A. Schulte
On Oct 31, 2005, at 1:29 AM, Pau Garcia i Quiles wrote: If you need to generate almost every page you serve because they pages are customized for each visitor, go with mod_jk. It is quite dynamic however this doesn't really answer the question: what are the advantages of using mod_jk in t

RE: TC 5.5 practical limit on number of webapps it can support

2005-10-30 Thread George Sexton
This is the same application deployed to 65 virtual hosts. I was using a P3 600 w/ 1GB of RAM running under SuSE Linux 9.2. The only performance issue was startup time was about 5 minutes. CPU Utilization was between 3 and 15% during the day. I'm now running on a P4 3.2GHz w/ 2GB of RAM under SuS

Blank servlet pages

2005-10-30 Thread Artur Rataj
Hello! I have written a servlet application (no JSPs), and it has the following problem: occasionally, rarely, a blank page appears instead of what the servlet returns, and doGet() in the servlet is not executed at all, even that it should. Reloading once or more the page in the browser corrects t

tomcat deployment...

2005-10-30 Thread lamont
I'm running tomcat 5.5.9 on Linux. I'm trying to get ant to deploy a simple webapp I have in a development directory. I have the following in my build.xml file: Whenever I type 'ant install' on the command line I get the following error message: [deploy] FAIL - Failed to deploy applic

Re: TC 5.5 practical limit on number of webapps it can support

2005-10-30 Thread David Wall
Tom Burke wrote: George Is this the same application 65 times over, one per virtual host? Or 65 different applications? Tom Burke This is a good question, if it matters architecturally within TC. In our scenario, we will have a single host (perhaps more, but the initial idea is to use

Using CORBA objects

2005-10-30 Thread Pawel Niewiadomski
Hello, I would like to use a CORBA object from servlet running under Tomcat 5. Following code is used to resolve object throught JNDI: protected Context getNamingContext() throws NamingException { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); if( orb != null ) {

Re: Apache front-end: mod_jk vs. ProxyPass/ProxyPassReverse?

2005-10-30 Thread Pau Garcia i Quiles
Quoting "Bas A. Schulte" <[EMAIL PROTECTED]>: If your site serves mostly semi-static content, your best bet is mod_proxy + mod_cache + mod_disk_cache. If you need to generate almost every page you serve because they pages are customized for each visitor, go with mod_jk. I am using the mod_proxy

Re: TC 5.5 practical limit on number of webapps it can support

2005-10-30 Thread Tom Burke
George Is this the same application 65 times over, one per virtual host? Or 65 different applications? Tom Burke - Original Message - From: "George Sexton" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" Sent: Saturday, October 29, 2005 9:51 PM Subject: RE: TC 5.5 practical limit on

Apache front-end: mod_jk vs. ProxyPass/ProxyPassReverse?

2005-10-30 Thread Bas A. Schulte
Hi, we've got 2 tiers running, first one runs plain Apache, on the 2nd tier we run Tomcat. Now we need to run a webapp containing some servlets on the tomcat box. The app is really a tier 1 application (some forms etc.). Someone at work suggested we use mod_jk in the tier 1 Apache to get