authentication problem deploying app to tomcat via ant

2006-06-09 Thread Anne Wilson
Hi, I am trying to manage my tomcat webapp via ant, that is, start it, stop it, list apps, etc. But I keep bumping up against an authentication problem. I have read this: http://tomcat.apache.org/tomcat-5.0-doc/manager-howto.html#Configuring%20Manager%20Application%20Access and several oth

Re: how to install php on tomcat?

2006-06-09 Thread Hassan Schroeder
On 6/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: A better idea would be to put Apache in from of Tomcat and compile PHP into that. And an even better idea, if you *must* have PHP, would be to run Apache *alongside* Tomcat on a separate IP, and not add pointless complication to your opera

Re: how to install php on tomcat?

2006-06-09 Thread Gregg Leichtman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The most common and apparently more stable approach appears to use Apache to run PHP apps with Tomcat connected through mod_jk to run Java/JSP/etc. apps. -=> Gregg <=- Hassan Schroeder wrote: > On 6/9/0

RE: how to install php on tomcat?

2006-06-09 Thread ScottAnders
A better idea would be to put Apache in from of Tomcat and compile PHP into that. There are instructions on the PHP site on how to do that: http://www.php.net/manual/en/install.php -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 3:16 PM To:

Re: how to install php on tomcat?

2006-06-09 Thread Hassan Schroeder
On 6/9/06, Nikita Tovstoles <[EMAIL PROTECTED]> wrote: I know nothing about php, so this may be a dumb question, but how do I add php support to tomcat? A PHP servlet can be built from source in PHP4; last time I looked that feature wasn't in PHP5. But I haven't looked in quite a while :-) The

how to install php on tomcat?

2006-06-09 Thread Nikita Tovstoles
I know nothing about php, so this may be a dumb question, but how do I add php support to tomcat? thanks -nikita - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

How to pass advanced GC options to tomcat 5.5.16 on windows XP running with IIS

2006-06-09 Thread davecat
Tomcat 5.5.16 Java 1.5.0_06 IIS I'm trying to pass some advanced GC options to tomcat. I've tried putting GC options such as -verbose:gc and -XX:MaxHeapFreeRatio=40 into the registry HKEY_LOCAL_MACHINE >> SOFTWARE >> Apache Software Foundation >> Procrun 2.0 >> MyWebApp >> Parame

Database Persistance And Session Replication

2006-06-09 Thread David Ron
Hey everybody, I would like to configure Tomcat for both session replication across > 3 servers and database session persistence. The database persistence lags several seconds which is why I don't think that I can simply replicate sessions over many servers using the database. I can get the

Re: Apache mod_jk JBoss Loadbalancing issue

2006-06-09 Thread Wiley Snyder
I think you need to define 2 workers, 1 for each instance of jboss. not 1 worker for 2 instances of jboss At 10:39 AM 6/9/2006, you wrote: Hi, We are facing a problem with respect to load balancing using mod_jk. I surfed through various mailing lists and otehr websites for a couple of

What triggers jspDestroy?

2006-06-09 Thread Bob Damato
I have a page that renders a very large report using the apache jstl tags. When the page has finished running, my memory usage jumps up 70MB. Even if I force a full garbage collection (verified in my garbage collector log), memory usage does not decrease. There is no data being cached or stored in

Apache mod_jk JBoss Loadbalancing issue

2006-06-09 Thread Sanjeev Kumar Bhat, Noida
Hi, We are facing a problem with respect to load balancing using mod_jk. I surfed through various mailing lists and otehr websites for a couple of days but could find nothing that could help me resolve the issue. I got your mail id from one of these archives and that is why I am sending you t

Tomcat service stops

2006-06-09 Thread Marr, Richard \(HRW-ATX\)
Hi, I've looked all over to try to find out what's going on with this particular server. I have a Javascript and Flash based program that uses Tomcat as an application server, Apache as the Web Server and MySQL as the database server. Occasionally, the following error pops up in the event log

Re: few "fat" contexts of many "lean" contexts?

2006-06-09 Thread Tim Funk
Duplicate libraries wasting some extra memory is a tiny penalty compared to being trapped, unable to upgrade web service when another service relies on the same library(and is incompatible with newer versions). (Or replace service with webapp) -Tim Javier Gonzalez wrote: Actually, I don't

Re: few "fat" contexts of many "lean" contexts?

2006-06-09 Thread Javier Gonzalez
Actually, I don't - this server provides web services only and *very small* set of reports pages, so going through the hassle of setting up Apache in front of tomcat wasn't deemed to be worth it. It doesn't have any impact on performance? I would have thought that multiple contexts would eventual

Re: JSPs will not load with virtual domain

2006-06-09 Thread Mladen Adamovic
Dave Kennell wrote: I have a rather intresting but probably simple problem, as I am basically new to tomcat. Currently I am running Tomcat 5.5.17 on a Windows 2000 server. I installed the admin tool and setup a connector for port 80 and then a host of www.btdt.com (which I handle locally on my

Re: mod_jk - querystring

2006-06-09 Thread Seak, Teng-Fong
Arnar Gestsson wrote: Hi, I have a setup of Apache2.0.54, mod_jk1.2.15 and tomcat 4.1.31 and I'm requesting page with a long querystring, as soon as it becomes longer than 3200chars the application seems to break. I've somewhere seen that querystring can be upto 8K Actually, there's no l

RE: Tomcat 5.5.17 - undeploy fails for app containing log4j.properties

2006-06-09 Thread Hawkes, Rycharde \(HP Labs\)
Yes, that's fixed it. Thanks! > -Original Message- > From: Jim Freeby [mailto:[EMAIL PROTECTED] > Sent: 09 June 2006 16:03 > To: Tomcat Users List > Subject: RE: Tomcat 5.5.17 - undeploy fails for app > containing log4j.properties > > This is related to Windows and your Context setup.

Re: mod_jk - querystring

2006-06-09 Thread Marc Farrow
In my experience in the past, 3200 chars was a more than I could ever get a successful get method. It would always truncate the query string. How are are you submitting the data? Can you change it to use a form/post submission? On 6/9/06, Arnar Gestsson <[EMAIL PROTECTED]> wrote: Hi, I have

mod_jk - querystring

2006-06-09 Thread Arnar Gestsson
Hi, I have a setup of Apache2.0.54, mod_jk1.2.15 and tomcat 4.1.31 and I'm requesting page with a long querystring, as soon as it becomes longer than 3200chars the application seems to break. I've somewhere seen that querystring can be upto 8K So I'm wondering if mod_jk has further limits.

RE: Tomcat 5.5.17 - undeploy fails for app containing log4j.properties

2006-06-09 Thread Jim Freeby
This is related to Windows and your Context setup. For some reason Windows locks some jars (don't know why), so when you undeploy, the exploded war directory cannot be deleted. Try setting up your context with the following settings. reloadable="true" antiResourceLocking="true" Let me know i

RE: Servlet on FileTypes

2006-06-09 Thread Tim Lucia
That's what I thought. There is a solution then (for the OP's problem), but it does involve writing a dispatcher and mapping *.page to the dispatcher, and having it parse the context path the way struts does. *.jsp is the same exact case, actually. -Original Message- From: Tim Funk [mai

Re: Servlet on FileTypes

2006-06-09 Thread Tim Funk
*.do goes to struts. Then struts does the appropriate re-mapping to the correct action. -Tim Tim Lucia wrote: Are you sure? How would Struts handle modules with a generic action servlet mapping for *.do? I.e., I can have module actions like /mod1/action1.do, /mod1/action2.do, /mod2/action1.

RE: Tomcat 5.5.17 - undeploy fails for app containing log4j.properties

2006-06-09 Thread Tim Lucia
Do you have a LogFactory.release() in your ServletContextListener? i.e., mine says: public void contextDestroyed(ServletContextEvent sce) { logger.info("Application context destroyed."); LogFactory.release(Thread.currentThread().getContextClassLoader()); } Tim -

RE: Servlet on FileTypes

2006-06-09 Thread Tim Lucia
Are you sure? How would Struts handle modules with a generic action servlet mapping for *.do? I.e., I can have module actions like /mod1/action1.do, /mod1/action2.do, /mod2/action1.do, etc., all stemming from the single *.do mapping to the action servlet. Tim -Original Message- From: Ke

RE: Tomcat 5.5.17 - undeploy fails for app containing log4j.properties

2006-06-09 Thread Hawkes, Rycharde \(HP Labs\)
Windows XP SP2. The log4j.properties file is in a .jar file. All the other jar files are removed OK. They are all created in the same way during the build process so I don't think permissions are related to this. It seems that Tomcat's internal logging system is picking up the log4j.properties

Re: Tomcat 5.5.17 - undeploy fails for app containing log4j.properties

2006-06-09 Thread Marc Farrow
What platform are you on? I do know that the manager app will say it "undeployed" the application even if it does not have permission to delete all the files. Then when you try to deploy/undeploy again it will fail. If the log4j file is the only file not being deleted, then start with permissio

Tomcat 5.5.17 - undeploy fails for app containing log4j.properties

2006-06-09 Thread Hawkes, Rycharde \(HP Labs\)
I have a web-app that uses log4j-1.2.13. I specify my own log4j.properties file which is contained in a jar file in WEB-INF/lib. Deployment is fine. When I try to undeploy everything seems to work, and the manager confirms this, however one file remains - the jar file containing the log4j.prope

RE: How to redirect HTTP request to HTTPS on Tomcat

2006-06-09 Thread Peter Crowther
> From: Siddesh Prabhu [mailto:[EMAIL PROTECTED] > I am using Tomcat 5.0.28, I have configured SSL. Now i want > to know whether it is possible to redirect http request to > https using server.xml file, meaning if i give > http://localhost:8080 it should go to https://localhost:8443, > I go

Re: Servlet on FileTypes

2006-06-09 Thread Kenneth Østby
On 6/9/06, Parsons Technical Services <[EMAIL PROTECTED]> wrote: Try just using *.page only. That will only work on /*.page, not in every subdir. - Original Message - From: "Kenneth Østby" <[EMAIL PROTECTED]> To: Sent: Friday, June 09, 2006 8:39 AM Subject: Servlet on FileType

Re: Servlet on FileTypes

2006-06-09 Thread Tim Funk
You can do prefix or suffix matching. Not both. (Darn servlet spec) -Tim Kenneth Østby wrote: Hey.. I'm trying to map **/*.page to a spesific servlet, and I can't find any documentation about. Is there a way that I can use url-mapper to eat /**/*.page ? Kenneth --

How to redirect HTTP request to HTTPS on Tomcat

2006-06-09 Thread Siddesh Prabhu
Hi Gurus, I am using Tomcat 5.0.28, I have configured SSL. Now i want to know whether it is possible to redirect http request to https using server.xml file, meaning if i give http://localhost:8080 it should go to https://localhost:8443, I googled a lot but did not get a firm solution on

Re: Servlet on FileTypes

2006-06-09 Thread Parsons Technical Services
Try just using *.page only. - Original Message - From: "Kenneth Østby" <[EMAIL PROTECTED]> To: Sent: Friday, June 09, 2006 8:39 AM Subject: Servlet on FileTypes Hey.. I'm trying to map **/*.page to a spesific servlet, and I can't find any documentation about. Is there a way that

Servlet on FileTypes

2006-06-09 Thread Kenneth Østby
Hey.. I'm trying to map **/*.page to a spesific servlet, and I can't find any documentation about. Is there a way that I can use url-mapper to eat /**/*.page ? Kenneth

Re: SSL Setup

2006-06-09 Thread Roch
Thanks for the info. Finally figured out the problem.the certs were wrong in the keystore. Thanks for all your help though! -- View this message in context: http://www.nabble.com/SSL-Setup-t1710991.html#a4791758 Sent from the Tomcat - User forum at Nabble.com.

Re: Tomcat 5.5.17 protected pages JSP examples with valid user and invalid role results in msg 403.

2006-06-09 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > Hi, > > I am having problem with Tomcat 5.5.17 jsp example of accessing > protected pages > (example: http://localhost:8080/jsp-examples/security/protected/) > > Logging with valid user and role: > user/password/role="tomcat/tomcat/tomcat" works fine. > Logging with a

Re: Only a Ip's set in application TOMCAT

2006-06-09 Thread Tim Funk
http://tomcat.apache.org/faq/security.html#restrict -Tim Julio Rios wrote: Hello, I have a Tomcat with these releases: Versión de Tomcat: Apache Tomcat/5.5.17 Versión JVM: 1.4.2_01-b06 Nombre de SO: Windows XP I have two applications and one web services (axis) I like to do the tomcat filter

RE: Content-Disposition and Filename Attribute Not Working In Some Apache 2 Versions

2006-06-09 Thread Rob Baily
In case anyone cares it turns out this is related to compression. A fix in mod_setenvif for 2.0.49 and above caused compression to be turned on for IE. IE apparently doesn't handle the file name correctly when compression is involved. Firefox does though. Changing Apache to use compression only

Antwort: Re: Error re-starting war application

2006-06-09 Thread ingo . bischofs
Hi as described before i am using Eclipse WTP 1.x for development of a web application and use it's 'Export' function for creating the .war file. Installing that application on Tomcat 5.5.17 works fine. Stopping and re-starting the application fails every time with a NullPointerException. So

Only a Ip's set in application TOMCAT

2006-06-09 Thread Julio Rios
Hello, I have a Tomcat with these releases: Versión de Tomcat: Apache Tomcat/5.5.17 Versión JVM: 1.4.2_01-b06 Nombre de SO: Windows XP I have two applications and one web services (axis) I like to do the tomcat filter by Ip in my applications and my web service. For example: App1 only can acc