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

Re: Valves being converted to Filters?

2009-10-20 Thread Eric B.
"Mark Thomas" 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 filters, >>

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 con

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

2009-10-03 Thread Eric B.
"Caldarale, Charles R" 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 where I have dependencie

Re: SEVERE: Parse error in default web.xml

2009-10-03 Thread Eric B.
"andre" 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 follows : > > > > >

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

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

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

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

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 setMaxInactiveInterval()

Re: NIO vs APR vs JIO connectors?

2009-09-08 Thread Eric B.
Thanks Filip - "Filip Hanik - Dev Lists" 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 Edition" by Jaso

Re: swallowOutput not working properly?

2009-08-16 Thread Eric B.
"Filip Hanik - Dev Lists" 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 swallowed, whe

Re: swallowOutput not working properly?

2009-08-14 Thread Eric B.
"Mark Thomas" 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.j

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.

Re: swallowOutput not working properly?

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

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

Re: swallowOutput not working properly?

2009-08-13 Thread Eric B.
"Filip Hanik - Dev Lists" 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 stdout from my web

Re: swallowOutput not working properly?

2009-08-13 Thread Eric B.
"Eric B." wrote in message news:h61n91$r1...@ger.gmane.org... > I tried using the swallowOutput in my 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 l

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 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: Log4j vs JULI configuration discrepancy

2009-08-13 Thread Eric B.
"Eric B." wrote in message news:h5um4f$jh...@ger.gmane.org... > "Mark Thomas" 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 &g

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 b

Re: Precompiled binaries for APR?

2009-08-12 Thread Eric B.
"Filip Hanik - Dev Lists" 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

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 parti

Re: Log4j vs JULI configuration discrepancy

2009-08-12 Thread Eric B.
"Mark Thomas" 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:

Re: Log4j vs JULI configuration discrepancy

2009-08-12 Thread Eric B.
"Caldarale, Charles R" 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 behaviour isn't repl

Re: Log4j vs JULI configuration discrepancy

2009-08-11 Thread Eric B.
"Christopher Schultz" 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 switch to log4j, this

Re: Log4j vs JULI configuration discrepancy

2009-08-11 Thread Eric B.
"Mark Thomas" 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 pl

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

2009-08-11 Thread Eric B.
> "Martin Gainty" wrote in message > news:blu142-w7c108f09ee2529b84ca6eae...@phx.gbl... > > server.xml should contain this JNDIRealm specification defined globally > > > connectionURL="ldap://dc1.domain.local:389"; > > connectionName="tom...@

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: Re: Trouble configuring LDAP authentication

2009-08-11 Thread Eric B.
> "Geofrey Rainey" 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 started working, I think

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 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 co

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" 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. > Any is for T

Re: Log4j vs JULI configuration discrepancy

2009-08-07 Thread Eric B.
"Mark Thomas" 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.

Re: How to enable containerLog for one particular class only?

2009-08-07 Thread Eric B.
"Mark Thomas" wrote in message news:4a7caf38.7060...@apache.org... > Eric B. wrote: >> 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 wri

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 signfici

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 display

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 glob

Re: How to authenticate JNDIRealm against linux LDAP users?

2009-08-07 Thread Eric B.
"Mark Thomas" 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 passwords

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: Trouble configuring LDAP authentication

2009-08-06 Thread Eric B.
> "Geofrey Rainey" 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 resides within an Engi

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: dbcp pool evictor deadlock?

2009-06-22 Thread Eric B.
> > "Caldarale, Charles R" 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

Re: dbcp pool evictor deadlock?

2009-06-22 Thread Eric B.
> > I ran into the most troublesome deadlock over the weekend > > on my server > > Always start by telling us what version of Tomcat (and therefore which > commons-dbcp) you're using. It's likely commons-dbcp 1.2.2 since that's > been out for a while, but the exact version may be critical. Sor

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: Re: Trouble with cluster and JMX

2009-02-12 Thread Eric B.
"Jorge Medina" 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 other than the initi

Re: Trouble with cluster and JMX

2009-02-12 Thread Eric B.
>>> did you mark your webapp >>> >> >> 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 element got session replication >> working, even if it isn't marked as .

Re: Trouble with cluster and JMX

2009-02-11 Thread Eric B.
"Filip Hanik - Dev Lists" 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 entries >

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 p

Re: Trouble with cluster and JMX

2009-02-11 Thread Eric B.
"Filip Hanik - Dev Lists" 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 doesn't work, wo

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" 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 >> s

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
"Philippe Martinou" 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 exhaustion. > To bette

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
> "Caldarale, Charles R" 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 b

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
> "Caldarale, Charles R" 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

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
"Philippe Martinou" 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 exhaustion. > To bett

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 org.apache.tomcat.dbcp.pool.impl.GenericObjectPool.borr

Re: AJP vs HTTP connectors?

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

Re: AJP vs HTTP connectors?

2009-02-03 Thread Eric B.
"Filip Hanik - Dev Lists" 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 dude on

Re: AJP vs HTTP connectors?

2009-02-03 Thread Eric B.
"Mark Thomas" 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 either may

Re: AJP vs HTTP connectors?

2009-02-02 Thread Eric B.
"Gregor Schneider" 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 why I'm wonderi

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 Tom

Re: "class file has wrong version"

2008-04-09 Thread Eric B
the Server, 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

"class file has wrong version"

2008-04-08 Thread Eric B
something wrong with my Tomcat setup, or am I just completely clueless with Ant? Thanks for the help! 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
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

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

2008-04-08 Thread Eric B
ame 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 Wi

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

2008-04-08 Thread Eric B
plans to update all of this stuff to much newer versions of both 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: 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 c

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 (

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 application/cont

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

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 > discovere

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 > functi

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 overrid

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. This

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 th

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 t

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 t

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 webap

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 >> autod

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 n

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

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: >> http://www.domain.com/

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 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

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 >othe

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.

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 som

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 >> communic

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 have

Tomcat 4.1.3 on Win2k Server: Log generated pages?

2007-07-16 Thread Eric B
option 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
haven't made any changes; all of the modification time stamps 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

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 i

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 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 ser