Antwort: PersistentManager with FileStore

2003-01-27 Thread Dietmar . Mueller
2nd attempt Is nobody useing this feature with tomcat and have some experience and want to give me some hint? Dietmar [EMAIL PROTECTED] am 24.01.2003 15:57:45 Bitte antworten an "Tomcat Users List" <[EMAIL PROTECTED]> An:[EMAIL PROTECTED] Kopie: Thema: PersistentManager with FileStore

{ICICICARE#002-039-186}Where does request.getServerName get name from?

2003-01-27 Thread NRI Cell
Dear Sir/Madam, We have received your e-mail and shall respond to you shortly. Regards ICICI Bank NRI Services Centre

{ICICICARE#002-039-188}Invalid TLD resource path

2003-01-27 Thread NRI Cell
Dear Sir/Madam, We have received your e-mail and shall respond to you shortly. Regards ICICI Bank NRI Services Centre

Invalid TLD resource path

2003-01-27 Thread Mike Johnson
Hello all, I'm currently trying to upgrade from working Tomcat 4.0.x installs to the latest 4.1, but I've been getting the following exception on all of my jar files for the whole 4.1 release branch during the server startup: - Root Cause - java.lang.IllegalArgumentException: Invalid TLD

Re: Where does request.getServerName get name from?

2003-01-27 Thread Bill Barker
"Craig R. McClanahan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > On Mon, 27 Jan 2003, Januski, Ken wrote: > > > Date: Mon, 27 Jan 2003 18:03:15 -0500 > > From: "Januski, Ken" <[EMAIL PROTECTED]> > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > > To

{ICICICARE#002-038-992}PHP servlet

2003-01-27 Thread NRI Cell
Dear Sir/Madam, We have received your e-mail and shall respond to you shortly. Regards ICICI Bank NRI Services Centre

RE: PHP servlet

2003-01-27 Thread Jerry Birchler
I am interested in knowing if anyone has solved this on any 4+ release of Tomcat on Red Hat Linux 7+ or 8. A howto based on a real working example would be great. -Original Message- From: Jeremy [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 5:02 PM To: [EMAIL PROTECTED] Subject

{ICICICARE#002-038-937}Incomplete read

2003-01-27 Thread NRI Cell
Dear Sir/Madam, We have received your e-mail and shall respond to you shortly. Regards ICICI Bank NRI Services Centre

Re: Incomplete read

2003-01-27 Thread jmong
Hmmm... I think what you need to do is http://192.168.0.2:8080/examples/ 8009 is the AJP port used by tomcat connectors. do the following and see if you get a response. on unix 1. telnet to the box 2. log on 3. issue which netstat 4. run 'nestat -a | grep 8080' you should see something like *

{ICICICARE#002-038-496}Doubt in Single Sign On !!!

2003-01-27 Thread NRI Cell
Dear Sir/Madam, We have received your e-mail and shall respond to you shortly. Regards ICICI Bank NRI Services Centre

Re: Doubt in Single Sign On !!!

2003-01-27 Thread shanmugampl
Yeah, I accept that SSO is for authentication purposes alone. My problem is different. Lets us consider the same two contexts A and B. I authenticate myself at context A. Once i authenticate, a JSESSIONIDSSO is created and sent as a cookie. The StandardSession object for context A will be assoc

Incomplete read

2003-01-27 Thread Andres Montiel
Setup: Apache 2.0.40 Tomcat 4.1.18 mod_jk2 RedHat 8.0 I am using a minimal setup (taken from the url listed below) but replacing localhost with 192.168.0.2 (my computer's IP address). I tried to go the examples folder via http://192.168.0.2/examples. Apache doesn't give the said subfolder. Rather,

Re: JNDI jdbc resources

2003-01-27 Thread Peng Tuck Kwok
Hmm, Paul your url(in server.xml) looks a bit weird to me. Sure it is correct ? I have mind written of the form url jdbc:sapdb://[url or ip]/[db name] instead of jdbc:sybase:Tds:PowerBookPaul:11222/multiLeague What's the Tds and don't we need the // before the machine name ? If you are

Re: Where does request.getServerName get name from?

2003-01-27 Thread Craig R. McClanahan
On Mon, 27 Jan 2003, Januski, Ken wrote: > Date: Mon, 27 Jan 2003 18:03:15 -0500 > From: "Januski, Ken" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Where does request.getServerName get name from? > > I know this is

Re: getting java.lang.NoClassDefFoundError

2003-01-27 Thread Craig R. McClanahan
On Mon, 27 Jan 2003, Davidson, Greg wrote: > Date: Mon, 27 Jan 2003 17:44:23 -0500 > From: "Davidson, Greg" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: getting java.lang.NoClassDefFoundError > > I'm getting the

Tomcat 4x Classloading

2003-01-27 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi All, It has been my observation that the system CLASSPATH classes are loaded in precedence to the web application class files. i.e if I had a web application class file in my CLASSPATH and well as my web application class repository (WEB-INF/classes) - the one in the system CLASSPATH is what

Re: Apache to JKMount everything

2003-01-27 Thread Lajos
You can do: JkMount /* ajp13 JkMount /*.jsp ajp13 where "ajp13" refers to the worker name in workers.properties. But if you are doing that, why use Apache? Regards, Lajos Richie Chauhan wrote: I'm fairly new to all of this but try 1) JkMount /*.jsp local_ajp13 2) DirectoryIndex index.jsp I

RE: Apache to JKMount everything

2003-01-27 Thread Richie Chauhan
I'm fairly new to all of this but try 1) JkMount /*.jsp local_ajp13 2) DirectoryIndex index.jsp I think this means anything that matches the url *.jsp under the / context is to be handled by jsp. The DirectoryIndex part of it just lets apache know which pages to fetch when it encounters www.adsf

Re: JSP not forwarded to Tomcat

2003-01-27 Thread Tom Holmes Jr.
This is a bug with either Tomcat or the Jk (or Jk2) connector. I also had this problem and I have reported it as a bug to the Tomcat-Developers group. In order to work around this fix ... do NOT rely upon the httpd.conf file in order to make your vhosts/web-apps work. Instead ... make sure you c

RE: getting java.lang.NoClassDefFoundError

2003-01-27 Thread Tim Moore
Where is your bean's code being loaded from? It should be in $CATALINA_HOME/common/classes or your webapp's WEB-INF/classes (or it can be in a JAR in $CATALINA_HOME/lib or your webapp's WEB-INF/lib). -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, D

Tomcat-Apache(mod_webapp)+Virtualhosts+Manager Help?

2003-01-27 Thread Thomas OMaley
I have a Tomcat-Apache server (RHat Linux), which uses the webapp connector, and is setup with multiple virtual hosts. I am failing to setup the manager app for each virtual host, and hope that someone can help show me the error of my ways. I have re-read the docs, scoured the archives, and h

Where does request.getServerName get name from?

2003-01-27 Thread Januski, Ken
I know this is a simple question but just can't find the answer. I have two instances of Tomcat running on one server. Each has a login page as the entry point and that page includes a choice of databases. I'd like the default database (i.e. one at top of select list) to be determined by request.ge

getting java.lang.NoClassDefFoundError

2003-01-27 Thread Davidson, Greg
I'm getting the following error: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest when I try to execute the following: bean code: request(request, response) { request.getParamater("inputBox"); //This line cause the error. } Why isn't this (javax/servlet/http/Htt

Re: Having problems with endorsed directories working in Tomcat 4.1.18

2003-01-27 Thread Jacob Kjome
Hello John, So, you are saying that you put your new parser in jee/lib/endorsed and expect Tomcat to pick that up like Ant did? Note that Tomcat also has an endorsed directory in CATALINA_HOME/common/endorsed. Jars in that directory will override not only the regular JDK libraries but also those

Re: using ajp without tomcat

2003-01-27 Thread James Chang
Actually I am posting for a friend. He is tracying the code to see what is going on I just thought since people already did a lot on this someone proboly has the answer right away :-) Anyway thanks for your help, I will go post on dev list instead Thanks again - Original Message -

Re: Session Timeout - Who has the final decision?

2003-01-27 Thread Craig R. McClanahan
On Mon, 27 Jan 2003, Jerry Jalenak wrote: > Date: Mon, 27 Jan 2003 13:22:47 -0600 > From: Jerry Jalenak <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: Session Timeout - Who has the final decision? > > Hi All, > > I

Re: URL alias

2003-01-27 Thread Craig R. McClanahan
On Mon, 27 Jan 2003 [EMAIL PROTECTED] wrote: > Date: Mon, 27 Jan 2003 11:23:45 -0600 (CST) > From: [EMAIL PROTECTED] > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: URL alias > > Erik suggested: > > > Why not create a filter -- map login to your filter (L

Re: Doubt in Single Sign On !!!

2003-01-27 Thread Craig R. McClanahan
On Mon, 27 Jan 2003, shanmugampl wrote: > Date: Mon, 27 Jan 2003 14:13:57 +0530 > From: shanmugampl <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Doubt in Single Sign On !!! > > Hi All, > > I am using tomc

RE: JK2 & workers2 vs. jk & workers???

2003-01-27 Thread Turner, John
It's up to you. I prefer JK right now, but lots of people are using JK2, and JK2 is where the development team is going. If you decide to use JK, my HOWTOs might help: http://www.johnturner.com, or try the ones at www.galatea.com/flashguides. I don't have HOWTOs for JK2 bookmarked, but I know

Re: JK2 & workers2 vs. jk & workers???

2003-01-27 Thread chris schild
John, Would you recommend staying with the original mod_jk since I am using Win2k or is mod_jk2 the way to go? I am going to rebuild Tomcat since I have configured & reconfigured it so much. My knowledge level, although still minimal, is much greater than it was a month ago... btw- I am still ha

Re: JK2 & workers2 vs. jk & workers???

2003-01-27 Thread Robert L Sowders
Search for JkUriSet at http://marc.theaimsgroup.com/?l=tomcat-user list <[EMAIL PROTECTED]> 01/27/2003 12:01 PM Please respond to "Tomcat Users List" To: Tomcat Users List <[EMAIL PROTECTED]> cc: Subject:Re: JK2 & workers2 vs. jk & workers??? here you f

RE: JK2 & workers2 vs. jk & workers???

2003-01-27 Thread Turner, John
Not for JK2. John > -Original Message- > From: list [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 3:02 PM > To: Tomcat Users List > Subject: Re: JK2 & workers2 vs. jk & workers??? > > > here you find everything you need: > > http://www.galatea.com/flashguides/index > >

Re: JK2 & workers2 vs. jk & workers???

2003-01-27 Thread list
here you find everything you need: http://www.galatea.com/flashguides/index chris schild wrote: Does anyone know of the location of some docs? And/Or have a sample configuration including virtual hosts. I am using: Apache 2.0.43 Tomcat 4.1.18 Windows 2000 Thanks much!!! - Original Mess

contents of common/lib

2003-01-27 Thread Derek Odegard
For the past several days, I've been trying to figure out what is causing the following error when trying to access any jsp (this is a new installation: tomcat 4.1.18, apache 2.0.44, j2sdk 1.4.1_01, win2k): org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred a

Re: JK2 & workers2 vs. jk & workers???

2003-01-27 Thread chris schild
Does anyone know of the location of some docs? And/Or have a sample configuration including virtual hosts. I am using: Apache 2.0.43 Tomcat 4.1.18 Windows 2000 Thanks much!!! - Original Message - From: "chris schild" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: M

Having problems with endorsed directories working in Tomcat 4.1.18

2003-01-27 Thread John Trollinger
I have changed the parser in the endorsed directory but tomcat does not seem to see the changes. When I compile using ant (and the endorsed directory in jre/lib/endorsed) all works as expected. Any help? Thanks, John -- To unsubscribe, e-mail: For additional comma

mod_jk2 directory mapping

2003-01-27 Thread Timo Nentwig
Hi! How can I map http://host/a/index.html to http://host/some/a/index.html ? Well, can I actually at all? Thanks! Timo -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Session Timeout - Who has the final decision?

2003-01-27 Thread Shapira, Yoav
Howdy, Consider the order in which these settings are applied: > Tomcat timeout is 30 minutes Applied on tomcat startup. > Web Appl. timeout is 45 minutes Overrides above when your context starts up. > session.setMaxInactiveInter

HTTS --> HTTP redirecting

2003-01-27 Thread luk
Hello, Is it possible to configure Tomcat (4.1.x) in such a way that a request can be redirected automatically from HTTPS to HTTP port? Let's assume that a Website has two separate (non-overlapping) sets of resources ("/non_secure_resources/* and "/secure_resources/* respectively) and web.xml

detection infinite loops and/or recoursive code

2003-01-27 Thread list
hello! i'm looking for a detection of 'hanging' or 'unable to finish' requests. e.g.: while(true) loops in a jsp. no one would program something like this but on a server with multiple applications it happens sometime that under some circumstances a infinite loop or a recoursive loop is create

HTTPS --> HTTP redirecting

2003-01-27 Thread luk
Hello, Is it possible to configure Tomcat (4.1.x) in such a way that a request can be redirected automatically from HTTPS to HTTP port? Let's assume that a Website has two separate (non-overlapping) sets of resources ("/non_secure_resources/* and "/secure_resources/* respectively) and web.xml

RE: java.sql.SQLException: DBCP could not obtain an idle connection, pool exhausted

2003-01-27 Thread Barclay A. Dunn
weirdly, changing the maxActive (maximum number of dB connections in pool) from 0 (which is supposed to be unlimited) to anything higher solved this problem. so i guess 0 is NOT unlimited in this context! which kind of sucks. but we will tweak the live server to figure out what we need. i did conf

RE: Session Timeout - Who has the final decision?

2003-01-27 Thread Jerry Jalenak
Thanks for the reply. That's kind of what I suspected, but couldn't find anything that stated so > -Original Message- > From: mech [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 1:32 PM > To: 'Tomcat Users List' > Subject: RE: Session Timeout - Who has the final decisio

RE: Session Timeout - Who has the final decision?

2003-01-27 Thread mech
IMHO: Your web app web.xml overrides Tomcat's web.xml. Your application code overrides both. > > I've checked the Tomcat-User and Struts-User archives for an > answer to this, but am still not sure of the answer. Given > that I can set a session timeout interval in Tomcat's > configuration fi

Re: Bean class not found in web application

2003-01-27 Thread Wilson Snook
Eric, As a newbie, I use just "getters" and "setters". Wilson - Original Message - From: "Erik Price" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, January 27, 2003 3:44 PM Subject: Re: Bean class not found in web application > > > Wilson Snook wrote: >

JK2 & workers2 vs. jk & workers???

2003-01-27 Thread chris schild
I have seen jk.properties & workers.properties BUT what is the difference with jk2 & workers2?Do I need jk & workers also? I guess the I am missing something here!!! I haven't found anything in the archives or docs (so far) that is helping. I'm assuming it is mod_jk2 instead of mod_jk?Would som

RE: using ajp without tomcat

2003-01-27 Thread Turner, John
Maybe posting to tomcat-dev would get you a quicker answer. John > -Original Message- > From: James Chang [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 1:14 PM > To: Tomcat Users List > Subject: Re: using ajp without tomcat > > > I have downloaded apache binary dist and

Session Timeout - Who has the final decision?

2003-01-27 Thread Jerry Jalenak
Hi All, I've checked the Tomcat-User and Struts-User archives for an answer to this, but am still not sure of the answer. Given that I can set a session timeout interval in Tomcat's configuration file (web.xml), the web application itself (web.xml), and also by setting 'session.setMaxInactiveInte

RE: java.sql.SQLException: DBCP could not obtain an idle connection, pool exhausted

2003-01-27 Thread mech
Just a guess, but maybe this occurs while filling the connection pool with connections at the very beginning. Assume your connection pool manager was set up to open at least 100 connections. In case your SQL server at work doesn't allow that much connection or some other clients are using some alre

RE: apache does not talk to tomcat via jk2(ajp13)

2003-01-27 Thread Ignacio J. Ortega
Andres, > > I too encounter the same problem. I checked the docs on > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html > . However, > it seems that it still shows wrong commands for jk2. For example, on > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html , > JkMoun

RE: apache does not talk to tomcat via jk2(ajp13)

2003-01-27 Thread Andres Montiel
I too encounter the same problem. I checked the docs on http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html. However, it seems that it still shows wrong commands for jk2. For example, on http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html , JkMount is still posted (http:/

Re: URL alias

2003-01-27 Thread Igor I. Tovstopyat-Nelip
Probably, using a filter is an overkill in this situation. If you are sending a GET request, just extend your URL: http://myhost:8080/webappname/login?event=login . If you are posting from a form, you can include a hidden parameter with name="event" and value="login". Igor TN On Mon, 27 Jan 2003,

java.sql.SQLException: DBCP could not obtain an idle connection, pool exhausted

2003-01-27 Thread Barclay A. Dunn
i have set up Tomcat 4.1(.12, i think) with DBCP native, connecting to Sql Server 2000 on a remote machine. with the same configuration at home i get connected just fine. at work, i get this error: java.sql.SQLException: DBCP could not obtain an idle connection, pool exhausted i'm getting t

Re: using ajp without tomcat

2003-01-27 Thread James Chang
I have downloaded apache binary dist and the ajp connector source, and builded the IIS redirector (It was rather strange that apr.h is in apache binary dist but not in the apache source release). What I found with debug messages is, HttpFilterProc() is called with I request http://localhost/examp

RE: Tomcat 3.2`

2003-01-27 Thread Larry Isaacs
You will need to be aware of a little bit about how classloaders behave. Tomcat will create a webapp classloader that includes WEB-INF/classes and the jars WEB-INF/lib. In Tomcat 3.2.x, a parent of this webapp classloader is the "CLASSPATH" classloader. As the parent, classes in the webapp clas

Manager App: Installed Apps do not stay installed

2003-01-27 Thread Christopher M. Zinn
This is my first ever post to a mailing list, so please forgive me if this question has been asked many times before. I have a scenario that we have run into that has been bothering me with Tomcat and I'm hoping someone might have an answer. The scenario is this: I have developed a new Web Arch

RE: apache does not talk to tomcat via jk2(ajp13)

2003-01-27 Thread Turner, John
JkMount only applies to JK (mod_jk.so), not JK2 (mod_jk2.so). Mod_jk2.so has no idea what to do with "JkMount". If you want a quick answer, switch out mod_jk2.so for mod_jk.so, and you will probably start seeing results, maybe not exactly what you want, but a lot more to go on so that you can tw

Re: Apache Tomcat - HTTP Status 503 - Servlet SendMailServlet is currently unavaila

2003-01-27 Thread chris schild
Anyone know what is missing here? I have the problem with http://localhost/servlets and http://mydomain1.com/servlets ... > I am receiving the msg: Apache Tomcat - HTTP Status 503 - Servlet > SendMailServlet is currently unavailable. > > Would anyone be able to tell me this may be happening? > No

-nonaming option

2003-01-27 Thread KDavey
In ver 4.0.6 this was the command that turned off the internal JNDI naming option. I have read in some threads that this is not true anymore with version 4.1.12. What is the correct way of turning this off in ver 4.1? kmd Phone (608)273-8933 x2084 Cell (608)358-2037

RE: apache does not talk to tomcat via jk2(ajp13)

2003-01-27 Thread Victor Lewis
Those are JK configuration directives, not JK2 configuration. See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html for how to configure JK2. -Victor > -Original Message- > From: Holger Klawitter [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 11:17 AM > To: Tomc

RMI Problem with Tomcat

2003-01-27 Thread Ashwin Desai
My servlet connects to a rmi server which is running on the same machine as Tomcat 4.1. But, I get a queer exception "NotBoundException" at Naming.lookup. I printed out the list of servers bound in the registry using Naming.list and I can see my rmi server listed. So, I am just puzzled as to why

apache does not talk to tomcat via jk2(ajp13)

2003-01-27 Thread Holger Klawitter
Hi there, I am trying to make apache 2.0.43 with tomcat 4.1.12, via jk2 (via ajp13 protocol, under linux). However I only get various errors and I cannot make any sense out of it. (They are at the very bottom of this mail.) Is there a set of demo files for this kind of connection? Or is there a

RE: Tomcat 4.1.18 - IIS - JK2 - getRemoteUser() returns Null

2003-01-27 Thread Reynir Hübner
Hi, I've seem to have resolved this problem my self. It seems like it's due to the fact I was locking a subdirectory under IIS but not the whole host. If I lock the host I get the domainname\username from getRemoteUser(). Thanx anyways. -reynir > -Original Message- > From: Reynir

RE: accessing/modifying 404 page in tomcat?

2003-01-27 Thread Prashanth Pushpagiri
Thanks a lot... --Prashanth --- Jim Krygowski <[EMAIL PROTECTED]> wrote: > Hi Prashanth- > > try: > > > 404 > > /your_custom_404_error_page_here.html > > > in your web.xml file just after the > welcome-file-list. > > > > > -Original Message- > > From: Prash

Re: URL alias

2003-01-27 Thread paul
Erik suggested: > Why not create a filter -- map login to your filter (LoginFilter) and > have the Filter intercept the request and add the parameter to the > request before it calls the doFilterChain() (which means before it > passes the request to the Controller). > > I thought about doing that

RE: accessing/modifying 404 page in tomcat?

2003-01-27 Thread Jim Krygowski
Hi Prashanth- try: 404 /your_custom_404_error_page_here.html in your web.xml file just after the welcome-file-list. > -Original Message- > From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 11:27 AM > To: Tomcat Users List

RE: accessing/modifying 404 page in tomcat?

2003-01-27 Thread Shapira, Yoav
Howdy, Read the servlet specification, v2.3, chapter 13.1, section title Error Pages. You can customize these to your heart's content. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] >Sent: Monday, January 27, 2003 11:27

RE: accessing/modifying 404 page in tomcat?

2003-01-27 Thread Turner, John
This is done in the web.xml file. John > -Original Message- > From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 11:27 AM > To: Tomcat Users List > Subject: accessing/modifying 404 page in tomcat? > > > Hi, > > I'm sure a lot of you have gone throu

accessing/modifying 404 page in tomcat?

2003-01-27 Thread Prashanth Pushpagiri
Hi, I'm sure a lot of you have gone through this before..., is there anyway I can display a different 404 error when tomcat does not find a page that was requested? I would like to customize it a little...some setting may be Thanks --Prashanth

Re: URL alias

2003-01-27 Thread Erik Price
Paul Phillips wrote: Just for convenience sake, I would like to make an alias for login purposes that looks something like: http://myhost:8080/webappname/login I can't figure out how to map that to my controller servlet AND at the same time include the parameter event=login. The servlet-map

RE: Serving files from the Apache docroot

2003-01-27 Thread Turner, John
Disable the Connector on port 8080 in server.xml. Restart Tomcat. If you're using Apache, the only Connector you need in Tomcat's server.xml is a WARP or JK/JK2 Connector. John > -Original Message- > From: Henning Heil [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 11:05

Re: Serving files from the Apache docroot

2003-01-27 Thread Henning Heil
Mike Bachrynowski wrote: [...] My IT Operations colleagues who have a more detailed knowledge of configuring Apache than I have suggest that if Tomcat is not configured as stand-alone and MIME type support on Tomcat for all except jsp, xml and xslt is removed then all should work OK. Perhaps t

RE: JSP not forwarded to Tomcat

2003-01-27 Thread Turner, John
What's your workers.properties file look like? Do you have a connector listening for JK requests from Apache? John > -Original Message- > From: Pascal Robert [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 10:57 AM > To: [EMAIL PROTECTED] > Subject: JSP not forwarded to Tom

JSP not forwarded to Tomcat

2003-01-27 Thread Pascal Robert
Hi list, First, the setup: - Mac OS X 10.2 - Tomcat/4.1.18 - Apache/1.3.27 - mod_jk-1.3.27.so (build from OS X from Jakarta's site), renamed to mod_jk.so I tried to get some Virtual Host to work with Tomcat (the webapps for each VirtualHost are outside Tomcat's directory). Instead of getting th

RE: Serving files from the Apache docroot

2003-01-27 Thread Mike Bachrynowski
A further thought is that this is because Tomcat4 is configured as both stand-alone and as JK2 connected to Apache. I only hold on Tomcat4, jsp elements and a restricted set of xml and xslt elements. I hold on Apache2 everything else. By forceing a directory change in "href" and "src" HTML attri

Re: Bean class not found in web application

2003-01-27 Thread Erik Price
Wilson Snook wrote: The long and the short of it is I would recommend avoiding the property name 'uName'. I think I would also recommend not using Komodo 1.2 to write bean classes. However, I would recommend using JBuilder 6 for the purpose, even if it is a bit of a large beast for small bean

Re: INSECURE to rely on sendRedirect (??)

2003-01-27 Thread Erik Price
Craig R. McClanahan wrote: If you're sending a redirect from a servlet (or a filter) via Java code, you must do a "return" statement afterwards to avoid sending the rest of the content that would otherwise be sent: response.sendRedirect(...); return; Thanks for your confirmation on this.

RE: Strange feature!! Can anyone help?

2003-01-27 Thread Peng Annie
Thanks!! -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: 27 January 2003 17:06 To: Tomcat Users List Subject: RE: Strange feature!! Can anyone help? No need to edit the registry. Just install JDK1.3.1 or better and use the following instructions to install your s

RE: Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Turner, John
Does your init script call catalina.sh directly? John > -Original Message- > From: Pascal Forget [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 10:17 AM > To: Tomcat Users List > Subject: Re: Starting tomcat from init scripts (HP/UX) > > > Thanks for the tip, John. I a

Tomcat 3.2`

2003-01-27 Thread Mehdi . Nejad
Hello all, We have a problem with Tomcat 3.2. We have developed an application that needs to work in 3.2 (an upgrade is not an option). The problem is that Tomcat does not seem to be picking up the jars in the WEB-INF/lib folder, and this is resulting in ClassNotFoundExceptions. To be more spec

Re: Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Tim Funk
Yeah we had wacky issues with that too. We had some incomptentant admins who tried starting up tomcat before the network was brought up. We also ran into wacky shell behavior (can't remember the specifics) that java did not like to start on boot from any run level. I think in the end we added

Re: Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Pascal Forget
Thanks for the tip, John. I already set CATALINA_HOME and JAVA_HOME near the top of catalina.sh for that very reason, so maybe it's something else in the environment. Anyway your email provided us with a good hint on what we should look for. Thanks! Pascal -- To unsubscribe, e-mail:

RE: Serving files from the Apache docroot

2003-01-27 Thread Turner, John
Neither JK or JK2 get involved with a request unless the request matches a mapping. I don't know what you mean by "send back requests". If you're using Apache, ALL requests come in on port 80, and it's up to Apache to decide if the request should go to Tomcat or be handled directly. There's no

RE: Strange feature!! Can anyone help?

2003-01-27 Thread Turner, John
I was wondering about that. I haven't had to use the -Xrs flag or edit the registry yet. Thanks for the clarification. John > -Original Message- > From: Jacob Kjome [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 10:06 AM > To: Tomcat Users List > Subject: RE: Strange feat

RE: Strange feature!! Can anyone help?

2003-01-27 Thread Jacob Kjome
No need to edit the registry. Just install JDK1.3.1 or better and use the following instructions to install your service: http://www.mattkelli.com/tech/tomcat/ntservice.htm Note that you should set up your environment variables as "System" variables not "User" variables. Jake At 09:00 AM 1

Re: Serving files from the Apache docroot

2003-01-27 Thread Henning Heil
Hi Peter, I had and have the same problem - and didn't find a solution yet. A more or less good workaround I discussed with (or better was a suggestion by) Mike Bachrynowski (who is also member on the list) could be to completely mirror the apache docroot to the tomcat docroot. This in my eyes

RE: Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Turner, John
Your init scripts do not have the same environment as your login environment. That is, whe you login, things like JAVA_HOME and CATALINA_HOME are set. When you run a script through init, they aren't. Change your init script to set the values of JAVA_HOME and CATALINA_HOME, or source the login f

Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Pascal Forget
Hi All, Tomcat starts fine if I call startup.sh manually, but not if it is called from the init scripts when the HP/UX box starts. When trying to start tomcat from the init scripts when the HP/UX box is booting, tomcat seems to start up fine but then on the last line in catalina.out it just says

John, you are great!

2003-01-27 Thread Peng Annie
It works!!! I am extremely happy!! Thanks a lot!! Cheers! Annie -Original Message- From: Lorenti, John [mailto:[EMAIL PROTECTED]] Sent: 27 January 2003 16:00 To: 'Tomcat Users List' Subject: RE: Strange feature!! Can anyone help? Annie, It sounds to me like you need to include th

RE: Tomcat 5 dist: servlet/* -> 404

2003-01-27 Thread Shapira, Yoav
Howdy, As you know, it's alpha. I wouldn't even call it a dist, more a nightly build. More to your point, do you have an invoker servlet commented in? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Timo Nentwig [mailto:[EMAIL PROTECTED]] >Sent: Saturday, January 2

RE: Property file not picked up right by servlet

2003-01-27 Thread Shapira, Yoav
Howdy, Are the environment variables for PATH and CLASSPATH (mainly the latter) different between your NT and XP systems? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Friday, January 24, 2003 5:18 PM >To: [EMAIL P

RE: Jakarta Tomcat "ready to serve"

2003-01-27 Thread Shapira, Yoav
Hi, I had a relative who used to work for Orbotech, by the way. >I do not know if this is a proper way to send a question about Jakarta >Tomcat usage, and if it is not, please accept my apologies and guide me. This is the proper forum. >I am running an application that uses the Jakarta Tomcat se

RE: [Tomcat 4.1] Caching JSP Output via Filter PLZ HELP!!

2003-01-27 Thread Jacob Hookom
I did finally get my caching filter to work by following the same logic included in the GZip filter included in Tomcat 4.1.18. It works VERY well :-) Hopefully we can resurrect the Common's Cache project that includes filters and taglibs? -Jacob | -Original Message- | From: Cox, Charlie

RE: How to know the Performence of Tomcat Server?

2003-01-27 Thread Shapira, Yoav
Howdy, Before you start testing, determine your goals. For example, how many concurrent users does the application need to handle? And at the peak user number, what should be the max response time for a page? Then start writing load/stress test scripts that simulate very few users, normal usage,

Tomcat 4.1.18 - IIS - JK2 - getRemoteUser() returns Null

2003-01-27 Thread Reynir Hübner
Hi I'm using : Tomcat 4.1.18 IIS 5.1. (running on XP) JK2 (isapi_redirector2.dll) Jdk 1.4.1_1 I tried to set request.tomcatAuthentication=false In my jk2.properties. For some reason IIS does not authenticate the user, and when I ask for the user (on the first request) in a jsp document, wi

RE: Strange feature!! Can anyone help?

2003-01-27 Thread Lorenti, John
Annie, It sounds to me like you need to include the -Xrs flag as a JVM option to both of these services, but you need to be running at least version 1.3.1 of the jre/jdk. In a nutshell, this option tells the JVM to keep running even when someone logs off (you can check the Java docs at http://jav

Strange feature!! Can anyone help?

2003-01-27 Thread Peng Annie
Hi there, I met a very strange feature of Tomcat and Apache. I have Apache2, Tomcat4, jk2 on Win2k. I need Apache and tomcat run as NT service. When I installed Apache and Tomcat, for both of them I chose "Install as NT service". When I restart the computer without any user logon the NT, the Apac

IllegalArgumentException using file://

2003-01-27 Thread Christophe Sebille
Hi, I've got an exception using Struts ImageTag. It sends a java.lang.IllegalArgumentException in org.apache.catalina.connector.HttpResponseBase. I've declared this tag : It seems Tomcat doesn't like this in the toAbsolute method. Is there a way to tell Tomcat that it can use file:

RE: [Tomcat 4.1] Caching JSP Output via Filter PLZ HELP!!

2003-01-27 Thread Cox, Charlie
see the thread titled: RE: Tomcat 4.1.18/19 - How to activate gzip support? http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg82477.html and read the associated links about a similar problem (filter works for static content, not for dynamic). Charlie > -Original Message- > F

RE: Help in URLEncoder.encode()

2003-01-27 Thread Daniel Brown
Santosh, This sounds like a character set problem. When the content is decoded, you need to make sure it's decoded using the character set used to encode it. Tomcat assumes ISO-8859-1 when decoding URL parameters. When you encode the data, use URLEncoder.encode(string, "UTF-8"), and decode it usi

  1   2   >