Tomcat 6.0.26 startup scripts changed from 6.0.18

2010-04-08 Thread Eric B.
Hi, I am trying to upgrade to 6.0.26 and noticed that the startup scripts have changed slightly. One of the issues that I am having is that the new catalina.sh startup script now checks for the existance of the CATALINA_PID file prior to starting up, and if it exists, it aborts. My problem

Valves being converted to Filters?

2009-10-20 Thread Eric B.
Hi, I was looking at Bug 47330 (https://issues.apache.org/bugzilla/show_bug.cgi?id=47330) which is a filter / valve implementation of a Httpd's mod_remoteip module. What concerned me is a comment by the submitter at the very bottom of the report: ... As Tomcat valves are currently being

Re: Valves being converted to Filters?

2009-10-20 Thread Eric B.
Mark Thomas ma...@apache.org wrote in message news:200910202047470...@265006334... Although I love filters, I find that valves have a very specific need within the container as well; it allows you to configure the container independently of the application. If everything is moving to

Re: HttpSession.setMaxInactiveInterval() sets for all sessions?

2009-10-03 Thread Eric B.
Eric B. ebe...@hotmail.com wrote in message news:ha4rqk$dc...@ger.gmane.org... Hassan Schroeder hassan.schroe...@gmail.com wrote in message news:4eedb92a0910012200v3ee194eay9fea204be71e4...@mail.gmail.com... On Thu, Oct 1, 2009 at 6:38 PM, Eric B. ebe...@hotmail.com wrote: I'm running

Re: SEVERE: Parse error in default web.xml

2009-10-03 Thread Eric B.
andre andrewarn...@gmail.com wrote in message news:003c01ca43b9$0ef57ae0$2ce070...@com... hi all : I have install tomcat5.5 the create a new test page in /var/lib/tomcat/webapps/test/hello.jsp, But I can't see the page (http://localhost:8180/test/hello.jsp) , it's show the msg as

Re: Loading Jar files in a particular order on Tomcat 6

2009-10-03 Thread Eric B.
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message news:99c8b2929b39c24493377ac7a121e21f84054c1...@usea-exch8.na.uis.unisys.com... From: Rasmus Larsen [mailto:kolibria...@gmail.com] Subject: Loading Jar files in a particular order on Tomcat 6 I'm working on a web application

Re: HttpSession.setMaxInactiveInterval() sets for all sessions?

2009-10-02 Thread Eric B.
Hassan Schroeder hassan.schroe...@gmail.com wrote in message news:4eedb92a0910012200v3ee194eay9fea204be71e4...@mail.gmail.com... On Thu, Oct 1, 2009 at 6:38 PM, Eric B. ebe...@hotmail.com wrote: I'm running Tomcat 6.0.18 and seeing something very bizarre. If I use

HttpSession.setMaxInactiveInterval() sets for all sessions?

2009-10-01 Thread Eric B.
Hi, I'm running Tomcat 6.0.18 and seeing something very bizarre. If I use HttpSession.setMaxInactiveInterval() in one session, and then in a different session, use HttpSession.getMaxInactiveInterval(), I get the value that I just set in the first session. Almost as if

Re: NIO vs APR vs JIO connectors?

2009-09-08 Thread Eric B.
Thanks Filip - Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:4a849eab.4070...@hanik.com... That being said, I was leaning towards using the NIO connector for my installation. However, I was pretty surprised and shocked when reading Tomcat - The Definitive Guide 2nd

Re: swallowOutput not working properly?

2009-08-16 Thread Eric B.
Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:4a8639f7.50...@hanik.com... I ran some additional tests this afternoon to try to discover some pattern, and noticed the following. Using a very basic app, I noticed that upon startup, a listener does not have its output

Re: [somewhat OT] Clearing the catalina.out file

2009-08-14 Thread Eric B.
I have some suggestions to those who are concerned about catalina.out: 1. Just don't write to stdout. Tomcat produces very little output to stdout. Your web application can avoid doing it. Finally, Tomcat provides a swallowOutput option for webapps so that System.out and System.err end

Re: swallowOutput not working properly?

2009-08-14 Thread Eric B.
Mark Thomas ma...@apache.org wrote in message news:4a85f872.7040...@apache.org... Eric B. wrote: Based on that configuration (and swallowOutput documentation) I would expect that all logging from my root context would therefor go through 6root.org.apache.juli.FileHandler log file. However

NIO vs APR vs JIO connectors?

2009-08-13 Thread Eric B.
Hi, I've been trying to read all the threads relating to which connector is best to use HTTP (no SSL). I am planning to use Pound as an HTTP load balancer in front of Tomcat as I have no need for all the bells and whistles that Apache provides and Pound is fast and light. From what I've

Re: Log4j vs JULI configuration discrepancy

2009-08-13 Thread Eric B.
Eric B. ebe...@hotmail.com wrote in message news:h5um4f$jh...@ger.gmane.org... Mark Thomas ma...@apache.org wrote in message news:4a7c9110.50...@apache.org... Eric B. wrote: Is there a workaround for this, or just one of those things that you have to learn to live

swallowOutput not working properly?

2009-08-13 Thread Eric B.
Hi, I'm trying to get Tomcat to log the output each context individually in its own log file. I tried using the swallowOutput in my context object definition, but am getting some really weird results from it. My webapp uses log4j to do its logging with its own log4j.xml file within the webapp,

Re: swallowOutput not working properly?

2009-08-13 Thread Eric B.
Eric B. ebe...@hotmail.com wrote in message news:h61n91$r1...@ger.gmane.org... I tried using the swallowOutput in my context object definition, but am getting some really weird results from it. My webapp uses log4j to do its logging with its own log4j.xml file within the webapp, and all

Re: swallowOutput not working properly?

2009-08-13 Thread Eric B.
Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:4a84706e.2040...@hanik.com... Tomcat doesn't use log4j in v6 in its standard distribution. You have to build an adapter for that I don't understand at all. Can you please clarify? All I am trying to accomplish is have the

Re: swallowOutput not working properly?

2009-08-13 Thread Eric B.
Hi Martin, 3 main items for Log4J are##CONSOLE# A1 uses PatternLayout.log4j.appender.A1.layout=org.apache.log4j.PatternLayoutlog4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n# A1 is set to be a Appender.log4j.appender.A1=org.apache.log4j.ConsoleAppender# Set root

Re: swallowOutput not working properly?

2009-08-13 Thread Eric B.
Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:4a849e55.1030...@hanik.com... On 08/13/2009 02:09 PM, Eric B. wrote: Filip Hanik - Dev Listsdevli...@hanik.com wrote in message news:4a84706e.2040...@hanik.com... Tomcat doesn't use log4j in v6 in its standard distribution

Re: Log4j vs JULI configuration discrepancy

2009-08-12 Thread Eric B.
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message news:0aae5ab84b013e45a7b61cb66943c17229b6492...@usea-exch7.na.uis.unisys.com... I don't understand why when using Juli anything that webapp's log4j logs to Stdout gets logged to a file, however, when using log4j with tomcat this

Re: Log4j vs JULI configuration discrepancy

2009-08-12 Thread Eric B.
Mark Thomas ma...@apache.org wrote in message news:4a7c9110.50...@apache.org... Eric B. wrote: Is there a workaround for this, or just one of those things that you have to learn to live with? In catalina.properties, modify the following entry as shown: common.loader=${catalina.base}/lib

Precompiled binaries for APR?

2009-08-12 Thread Eric B.
Hi, Is there any reason why there aren't any precompiled binaries available for APR for Linux/Tomcat? I have the apr package installed (that provides the libapr), but it seems as though I need to manually compile libtcnative library. Does that lib exist precompiled anywhere? Is there a

Re: Precompiled binaries for APR?

2009-08-12 Thread Eric B.
Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:4a831a14.6040...@hanik.com... On 08/12/2009 10:05 AM, Eric B. wrote: Hi, Is there any reason why there aren't any precompiled binaries available for APR for Linux/Tomcat? I have the apr package installed (that provides

Re: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-11 Thread Eric B.
You can also use a Context element in conf/Catalina/[host]/[appName].xml, which will override the one in the webapp's META-INF/context.xml file. This allows a site administrator to control the container-supplied resources - including the realm - that the webapp will use. Good point. Hadn't

Re: Re: Trouble configuring LDAP authentication

2009-08-11 Thread Eric B.
Geofrey Rainey geofrey.rai...@tvnz.co.nz wrote in message news:fcff2ec7a020964fbc98b17f17a88ac4018ba...@akvxch01.tvnzad.tvnz.co.nz... I remember the big issue I faced regarding the JNDIRealm auth were the parameters in my Realm definition, there was one line that once added Everything

Re: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-11 Thread Eric B.
Pooling Resources: you might want to try other AppServers such as GF and Weblogic for either pooling and/or persistence provider support (as specified by J2EE Connector Architecture) https://glassfish.dev.java.net/javaee5/integration-tech/glassfish_connpooling.html Identity and

Re: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-11 Thread Eric B.
Martin Gainty mgai...@hotmail.com wrote in message news:blu142-w7c108f09ee2529b84ca6eae...@phx.gbl... server.xml should contain this JNDIRealm specification defined globally Realm className=org.apache.catalina.realm.JNDIRealm !-- The LDAP Address of your DC --

Re: Log4j vs JULI configuration discrepancy

2009-08-11 Thread Eric B.
Mark Thomas ma...@apache.org wrote in message news:4a7c9110.50...@apache.org... Eric B. wrote: Hi, In catalina.properties, modify the following entry as shown: common.loader=${catalina.base}/lib,${catalina.home}/lib,${catalina.home}/lib/*.jar then you can place log4j.properties

Re: Log4j vs JULI configuration discrepancy

2009-08-11 Thread Eric B.
Christopher Schultz ch...@christopherschultz.net wrote in message news:4a8223c7.1030...@christopherschultz.net... My webapp uses log4j to log data to stdout. When using Juli (in the default configuration), everything that is displayed in stdout is logged to catalina.out. However, when I

How to authenticate JNDIRealm against linux LDAP users?

2009-08-07 Thread Eric B.
Hi, I've been struggling with getting Tomcat to authenticate against my LDAP server for a couple of days now. I think I am finally starting to make some headway. I am able to sucessfully authenticate users if I use cleartext passwords in the directory. So now, the next thing is if I want to

Re: How to authenticate JNDIRealm against linux LDAP users?

2009-08-07 Thread Eric B.
Mark Thomas ma...@apache.org wrote in message news:4a7c7353.5090...@apache.org... My question therefore is the following: is there another class that I can use instead of JNDIRealm to authenticate against Linux passwords, or does anyone know if there is another way to configure Linux to store

How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-07 Thread Eric B.
Hi, I would have thought this to be straightforward. I finally got my LDAP authentication working properly with my JNDIRealm configured within my container (I tried both engine and context). In order to secure and clean things up a little, I would like to move my JNDIRealm definition to a

How to enable containerLog for one particular class only?

2009-08-07 Thread Eric B.
Hi, I'm trying to understand how to enable some logging for a particular class. In org.apache.catalina.realm.JNDIRealm, there are log messages written using containerLog.trace(). While I understand this means that if the trace level is selected for the containerLog, the message will be

Log4j vs JULI configuration discrepancy

2009-08-07 Thread Eric B.
Hi, I'm not sure if there is anything that can be done about this, but I just tried switching from Tomcat's standard JULI logging to Log4j implementation following the docs at http://tomcat.apache.org/tomcat-6.0-doc/logging.html. Overall, everything works as expected, although I found one

Re: Log4j vs JULI configuration discrepancy

2009-08-07 Thread Eric B.
Mark Thomas ma...@apache.org wrote in message news:4a7c9110.50...@apache.org... Eric B. wrote: Hi, In JULI, the logging.properties file can be place in ${catalina.base}/conf/logging.properties, whereas Log4j expects it in ${catalina.home}/lib/log4j.properties. I am assuming

Re: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-07 Thread Eric B.
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message In order to secure and clean things up a little, I would like to move my JNDIRealm definition to a global resource and use it within my context Sounds like you're confusing two separate and distinct facilities of Tomcat.

Trouble configuring LDAP authentication

2009-08-06 Thread Eric B.
Hi, I'm trying to get the JNDIRealms working using my LDAP server in Tomcat 6.0.18 for the manager and admin applications and am having difficulty getting them to work. I tried following instructions in the tomcat doc site, and think I have things fairly well set up. I have enabled full logs on

Re: Trouble configuring LDAP authentication

2009-08-06 Thread Eric B.
Geofrey Rainey geofrey.rai...@tvnz.co.nz wrote in message I had this same issue, both with JNDIRealm, and logging. Firstly the JNDIRealm; I was authenticating to an AD server and couldn't get the parameters right in my Realm definition. This is how I resolved it - this realm definition

dbcp pool evictor deadlock?

2009-06-22 Thread Eric B.
Hi, I appologize in advance for the cross-post, but I'm really not sure if this is a problem with the dbcp code or my configuration. I ran into the most troublesome deadlock over the weekend on my server, and cannot figure out how/or why this deadlock occured. Via jconsole, I was able to get

Re: dbcp pool evictor deadlock?

2009-06-22 Thread Eric B.
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message news:0aae5ab84b013e45a7b61cb66943c172294795f...@usea-exch7.na.uis.unisys.com... From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Subject: dbcp pool evictor deadlock? THREAD 1: Name: Timer-1 State: BLOCKED

Re: Trouble with cluster and JMX

2009-02-12 Thread Eric B.
did you mark your webapp distributable/ Crap. Now that you mention it, I think I forgot to do that. Will have to check up on that tomorrow. However, after a bunch of fiddling around, putting the Manager within the context element got session replication working, even if it isn't

Re: Re: Trouble with cluster and JMX

2009-02-12 Thread Eric B.
Jorge Medina jmed...@e-dialog.com wrote in message news:9dd36c99332ab7438f8d73c048d8c62c02096...@sneezy.ad.e-dialog.com... I did not manage to get more logging from the tribes package. Did you? I am using the default tomcat-juli configuration, I didn't get any ouput about sessions replicating

Re: Trouble with cluster and JMX

2009-02-11 Thread Eric B.
Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:499242de.2090...@hanik.com... log looks good, the warning could be that you are using an old configuration option take a look at http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html also, what could mean that it

Cluster doesn't replicate

2009-02-11 Thread Eric B.
also, what could mean that it doesn't work, would be that multicast is not working for you, and you need to enable multicast. I've ensured that multicast is enabled. I've added the multicast route to the routing tables. I've even checked my multicast route between 2 machines by pinging

Re: Trouble with cluster and JMX

2009-02-11 Thread Eric B.
Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:49937f4b.9050...@hanik.com... sure turn on org.apache.catalina.ha.level = FINE org.apache.catalina.tribes.level = FINE in logging.properties however, regular membership discovery over multicast show up even without these

Trouble with cluster and JMX

2009-02-10 Thread Eric B.
Hi, I'm brand new to clustering and read through the docs at http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html to get a better understanding of how it works. I tried the settings I would have expected to work, and on startup, I can see both tomcat's communicate and join the cluster (via

Re: dbcp pool freezing

2009-02-04 Thread Eric B.
Christopher Schultz ch...@christopherschultz.net wrote in message news:4989df6b.3030...@christopherschultz.net... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, Eric B. wrote: I'm happy to test out an validate that theory, but based on what I've seen so far, this isn't the case

Re: AJP vs HTTP connectors?

2009-02-03 Thread Eric B.
Mark Thomas ma...@apache.org wrote in message news:4987ccc4.3080...@apache.org... The (very) short version is: mod_proxy_ajp is not as stable as mod_jk. mod_jk and mod_proxy_http are prety much neck and neck. mod_proxy_http has a very slight edge on average but on a case by case basis

Re: AJP vs HTTP connectors?

2009-02-03 Thread Eric B.
Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:49876e0d.4020...@hanik.com... first and foremost, always apply ol' grandpa's logic The famous quote is if it ain't broke, don't fix it So if you are using something that is working, don't even consider switching just cause some

Re: AJP vs HTTP connectors?

2009-02-03 Thread Eric B.
Hassan Schroeder hassan.schroe...@gmail.com wrote in message news:4eedb92a0902030808n399c1107x90207c3edb9d9...@mail.gmail.com... On Tue, Feb 3, 2009 at 7:38 AM, Eric B. ebe...@hotmail.com wrote: Is there any documentation / howtos available for securely setting up mod_proxy_http

dbcp pool freezing

2009-02-03 Thread Eric B.
Hi, I'm having some trouble with my dbcp pool freezing up when running a load, and am having trouble figuring out why. I have enabled JMX on the server and connected via jConsole, and see that all my threads are in the WAITING state from

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
Philippe Martinou philippe.marti...@sparkom.com wrote in message news:49887d2f.3000...@sparkom.com... Hi, The first thing to be checked is probably your application. If some method does not properly close an SQL connection, you will have a leak that will ultimately lead to this

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
Philippe Martinou philippe.marti...@sparkom.com wrote in message news:49887d2f.3000...@sparkom.com... Hi, The first thing to be checked is probably your application. If some method does not properly close an SQL connection, you will have a leak that will ultimately lead to this resource

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message news:0aae5ab84b013e45a7b61cb66943c17215b600c...@usea-exch7.na.uis.unisys.com... From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Subject: dbcp pool freezing and see that all my threads are in the WAITING state

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message news:0aae5ab84b013e45a7b61cb66943c17215b604a...@usea-exch7.na.uis.unisys.com... From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Subject: Re: dbcp pool freezing Then the question becomes why aren't they being

AJP vs HTTP connectors?

2009-02-02 Thread Eric B.
Hi, I was listening to a webinar on spring source by Filip Hanik Mark Thomas regarding tuning Tomcat for production in which they indicate that the Http connector is recommended vs an AJP connector (http://www.springsource.com/node/555). My question, then becomes, if someone wants to use

Re: AJP vs HTTP connectors?

2009-02-02 Thread Eric B.
Gregor Schneider rc4...@googlemail.com wrote in message news:a2d59f0d0902021308v6f80a37btca0380933436c...@mail.gmail.com... hm, since I'd like to avoid to browse through the whole webinar: what are the benefits / advantages / disadvantages? actually we've been quite happy with mod_jk, that's

Re: class file has wrong version

2008-04-09 Thread Eric B
, and modified my build.xml on my development machine with target and source set equal to 1.4. Now it's running like a dream. It feels like my fix should not have worked, but I'm not going to complain too loudly about a functioning system. :-) Regards, Eric B On Tue, Apr 8, 2008 at 7:22 PM, Len Popp

Tomcat 4.1.30 on Win2k: New Java SDK/JDK breaks Tomcat running as a Service?

2008-04-08 Thread Eric B
the OS and the Java components, but right now, I can only update Java; I have to stick with the current version of Tomcat. Thank you for the assistance! Eric B

Re: Tomcat 4.1.30 on Win2k: New Java SDK/JDK breaks Tomcat running as a Service?

2008-04-08 Thread Eric B
with a third party utility whose documentation has long since vanished into the ether. Thanks for the help! Eric B On Tue, Apr 8, 2008 at 12:55 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Eric B [mailto:[EMAIL PROTECTED] Subject: Tomcat 4.1.30 on Win2k: New Java SDK/JDK breaks Tomcat

Re: Tomcat 4.1.30 on Win2k: New Java SDK/JDK breaks Tomcat running as a Service?

2008-04-08 Thread Eric B
up. Thanks for all of the speedy assistance! Regards, Eric B On Tue, Apr 8, 2008 at 2:26 PM, Howard Watson [EMAIL PROTECTED] wrote: Hi Eric. What do you see when you right-click My Computer, choose Properties/Advanced tab/Environment Variables button. It used to be part of the java install

class file has wrong version

2008-04-08 Thread Eric B
completely clueless with Ant? Thanks for the help! Eric B

Custom 404 for non-existant contexts?

2008-02-06 Thread Eric B.
Is there a way to create a custom 404 error page for Tomcat for non-existant context paths? I know how to create a custom 404 error page within my application, but am running into an issue while I am redeploying my application. The users are able to access Tomcat, but since my

Re: Custom 404 for non-existant contexts?

2008-02-06 Thread Eric B.
Caldarale, Charles R [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Subject: Custom 404 for non-existant contexts? Is there a way to create a custom 404 error page for Tomcat for non-existant context paths? What happens if you declare a custom error page for the ROOT (default)

Re: Custom 404 for non-existant contexts?

2008-02-06 Thread Eric B.
| | Is there a way to create a custom 404 error page for Tomcat | for non-existant context paths? | | What happens if you declare a custom error page for the ROOT (default) | webapp? | | Yeah - that's pretty much the only thing I managed to figure out. I updated | the conf/web.xml file

Re: How to set ContentType from within Filter?

2008-01-22 Thread Eric B.
Christopher Schultz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, Eric B. wrote: | Multiple reasons, one main one primary one being that we have styles defined | on a per-user basis, stored in a database. So rather than

Re: How to set ContentType from within Filter?

2008-01-21 Thread Eric B.
Christopher Schultz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Eric B. wrote: | After further debugging, I noticed that my compiled JSP class file has a | response.setContentType( text/html ) as pretty much the first functional | line in the _jspService() method. I checked

Re: How to set ContentType from within Filter?

2008-01-21 Thread Eric B.
Christopher Schultz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, Eric B. wrote: | Ahhh yes - my mistake for not being clear enough. I had already discovered | that. Or another option is to put % response.setContentType

Re: How to set ContentType from within Filter?

2008-01-19 Thread Eric B.
Eric B. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have a simple filter whose goal is to set the content type for a page. However, when I check the actual headers that are returned by the server, I see that they have been overridden by something in Tomcat; I'm just

How to set ContentType from within Filter?

2008-01-18 Thread Eric B.
Hi, I have a simple filter whose goal is to set the content type for a page. However, when I check the actual headers that are returned by the server, I see that they have been overridden by something in Tomcat; I'm just not sure what / where this is happening. I am using tomcat 6.0.14.

Re: How to Deploy WAR using a sub-context path?

2007-12-04 Thread Eric B.
Mark Thomas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] From a cursory inspection, it looks like the # naming convention wasn't thoroughly tested out for these types of scenarios in Tomcat's autodeployer. The # convention is currently only for webapps hosted outside the

Re: How to Deploy WAR using a sub-context path?

2007-12-04 Thread Eric B.
Mark Thomas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Eric B. wrote: Mark Thomas [EMAIL PROTECTED] wrote in message Great. If you need a pointer or two - just ask. Ok - have looked through the code, and actually, turns out to be quite a simplistic patch for the autodeployer

Re: How to Deploy WAR using a sub-context path?

2007-12-04 Thread Eric B.
Mark Thomas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Eric B. wrote: Mark Thomas [EMAIL PROTECTED] wrote in message Great. If you need a pointer or two - just ask. Ok - have looked through the code, and actually, turns out to be quite a simplistic patch for the autodeployer

Re: How to Deploy WAR using a sub-context path?

2007-12-04 Thread Eric B.
Caldarale, Charles R [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] From: news [mailto:[EMAIL PROTECTED] On Behalf Of Eric B. Subject: Re: How to Deploy WAR using a sub-context path? I see that there is a lock on it by the Tomcat process. You need to set the antiJARLocking

Re: How to Deploy WAR using a sub-context path?

2007-11-20 Thread Eric B.
Mark Thomas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Eric B. wrote: From a cursory inspection, it looks like the # naming convention wasn't thoroughly tested out for these types of scenarios in Tomcat's autodeployer. Either that, or I am missing something somewhere obvious

How to Deploy WAR using a sub-context path?

2007-11-19 Thread Eric B.
Hi, I have a Tomcat 6 server that is mapped to my httpd server using jkmounts. Under normal conditions, everything is working fine. I am able to deploy my wars as webapps using Tomcat's maanger autodeployer without any issues. However, I now have a need to deploy my WAR under a context path

Re: How to Deploy WAR using a sub-context path?

2007-11-19 Thread Eric B.
Caldarale, Charles R [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] However, I now have a need to deploy my WAR under a context path that is not at the root level of my tomcat server. For example, I need to deploy my application.war under:

Re: How to Deploy WAR using a sub-context path?

2007-11-19 Thread Eric B.
Eric B. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Caldarale, Charles R [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] However, I now have a need to deploy my WAR under a context path that is not at the root level of my tomcat server. For example, I need to deploy

Re: How to Deploy WAR using a sub-context path?

2007-11-19 Thread Eric B.
Caldarale, Charles R [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] From: news [mailto:[EMAIL PROTECTED] On Behalf Of Eric B. Subject: Re: How to Deploy WAR using a sub-context path? Is it really with a # in the file name?? Yup. Is there anyway to instruct tomcat to rename

Re: How to manage Apache error msgs when Tomcat is down?

2007-09-12 Thread Eric B.
Our tomcat apps are self-contained (non-exploded) wars, and mapping each individual extension beomces a challenge (ie: .jsp, .jspa, jsps, .jpg, .js, .), so we found it easier just to map the entire context. In that case, why are you using httpd at all? Is it needed for some other reason?

Re: How to manage Apache error msgs when Tomcat is down?

2007-09-12 Thread Eric B.
Thanks for the input. I didn't build my own for 2 reasons: 1) don't have any cc / gcc on my RHEL linux server - it is used purely for production and only have proven stable things on it from the RHEL updates. Leaving gcc off your production service is a good idea, but I don't buy your

Re: How to manage Apache error msgs when Tomcat is down?

2007-09-11 Thread Eric B.
I couldn't find any binaries for 1.2.25 compiled for http 2.0.52 - running CentOS4 and the latest httpd is 2.0.52-32 - would any binaries later than 1.2.19 work on that build? Dude, just build your own. Here are the steps to installing a binary: $ wget http://../bin/mod_jk-1.2.25.so $ cp

Re: How to manage Apache error msgs when Tomcat is down?

2007-09-10 Thread Eric B.
Sorry - I guess I wasn't specific enough. The HTTP status code that I got from Apache was 200 hence the OK. I assumed that it was probably 200 since I was actually able to communicate with Apache itself, even though its request to tomcat was unavailable. Or unless I am missing something

How to manage Apache error msgs when Tomcat is down?

2007-09-07 Thread Eric B.
Hi, I don't know if this is the right forum to ask this, and if it isn't I appologize; would you be able to direct me to the right place to ask this? I've currently got an apache/tomcat installation using mod_jk to communicate between the two. Everything works perfectly. The only issue I

Re: How to manage Apache error msgs when Tomcat is down?

2007-09-07 Thread Eric B.
Christopher Schultz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, Eric B. wrote: I've currently got an apache/tomcat installation using mod_jk to communicate between the two. Everything works perfectly. The only issue I

Tomcat 4.1.3 on Win2k Server: Log generated pages?

2007-07-16 Thread Eric B
for Tomcat that would allow me to see the output of incoming HTTP requests? Thanks! Eric B

Problem with uriworkermap.properties

2007-07-11 Thread Eric B.
Hi, I'm running IIS with tomcat 5.5 and have the latest isapi_redirect.dll (1.2.23) installed and running. The basic functionality is working well, but I am having trouble with getting exclusion rules to work properly. I have the following in uriworkermap.properties: /*=worker !/*.htm=worker

Tomcat 4.1.3 on Win2k Server: Context reloading itself, but no changes were made; why?

2007-07-05 Thread Eric B
on the files I've found are dated from several months or weeks ago. This leads to my second question: 2. How does Tomcat interpret that a change has happened? Is it a file compare? Date check? Thank you very much for the assistance! Regards, Eric B

Custom Error page when Tomcat is down?

2006-07-24 Thread Eric B.
Hi, I've been scouring the docs newsgroups for the last hour or so, and have been unable to find a solution to my problem. Currently, I have tomcat being access through the Apache httpd server, configured via the jk_mod connector/module. My problem is I have to sometimes stop the tomcat

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Eric B.
Hassan Schroeder [EMAIL PROTECTED] wrote in message Is there any way I can customize that error page to say/show something different? See the Apache doc for ErrorDocument Thanks for the pointer, but the problem that I see is that Apache is returning the status code 200 to the browser.

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Eric B.
Hassan Schroeder [EMAIL PROTECTED] wrote in message On 7/24/06, Eric B. [EMAIL PROTECTED] wrote: Thanks for the pointer, but the problem that I see is that Apache is returning the status code 200 to the browser. If Apache is generating an internal server error as you indicated, it should