Re: Ignore URL Prefix

2003-01-18 Thread Bill Barker
Which Apache version are you using? For Apache 1.3.x+mod_rewrite I could probably trick it into doing what you want (but I havn't actually tried it :). For Apache 2.x, I'm not so sure (without a lot of C code hacking :). Sordid hacks like what I'm suggesting are almost always not the way to go

Re: MissingResourceException on ResourceBundle.getBundle(.)

2003-01-18 Thread Bill Barker
You haven't specified enough information (and you should really know better :). The three argument getBundle should work fine (i.e. ResourceBundle.getBundle(..., Local.US, Thread.currentThread().getContextClassLoader())). If that doesn't work, I'd suggest patching the code until it does :).

How do I take care of the Tomcat security realm

2003-01-18 Thread Preethi S
Hi, When tomcat starts up, it displays all the information initially itself specific to a web application (all the tables information) Here is the context path I have given in server.xml Context path=/ormap cookies=true docBase=D:\Tomcat\webapps\ormap reloadable=true crossContext=true Realm

catalina ant deploy task problem...

2003-01-18 Thread Jacob Kjome
I have always used the install task, so I haven't run into this issue until now. I have a .war file which I want to deploy to Tomcat. The path is correct because I've tried the same file:/// URL to do an install from the manager web GUI and that was successful. I also use the same path,

Re: Tool for HTTP Request Stress Test

2003-01-18 Thread Manavendra Gupta
1. Apache JMeter (http://jakarta.apache.org/jmeter) 2. http://grinder.sourceforge.net 3. LoadRunner (www.merc-int.com/products/loadrunner/) 4. openSTA (http://www.opensta.org/) ~Manav. - Original Message - From: randie ursal [EMAIL PROTECTED] To: A mailing list about TOMCAT [EMAIL

Re: Tomcat Won't start on NT

2003-01-18 Thread Manavendra Gupta
This problem of running tomcat 4.1 and above, with JDK 1.4 and above has been documented (and quite well too) at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html (scroll down to the section XML Parsers and JDK 1.4). In essence, the conflict is caused by the built-in JAXP

Common problems faced with tomcat configuration

2003-01-18 Thread Manavendra Gupta
Hi, In the past several months that I have been in the list, I have seen the following problems faced commonly by the users (new or old): 1. Configuring DataSource with tomcat 2. Configuring tomcat to run with apache (using AJP or JK2) I would like to know if there is anything being done to

Filter shows blank page in 4.1.18

2003-01-18 Thread Affan Qureshi
I had filters configured for my webapp which worked in Tomcat 4.1.12 but now when I have installed 4.1.18 I get a blank page for *some* of my pages which do *not* contain images. The ones that contain images look fine and the filter works on them too. Strange problem. What must I be doing wrong?

Mail Configuration

2003-01-18 Thread Madhu V
Hi , I am new to Tomcat, I want do mail configaration for small application in jakarta-tomcat-4.0.6. I tried configuring below, but it is not working. I will give the configuration in details Modified file %TOMCAT_HOME%\conf\server.xml by changing Resource name=mail/Session auth=Container

Tomcat 4 - SSL - Client Authentication

2003-01-18 Thread Shiva.Devaguptapu
Hi, I am using Tomcat 4 on a linux system. I am trying to enable SSL with client authentication enabled. I want the client to be the Internet Explorer, running on Win2K, my desktop. I found the following steps on the net and tried. * Create keys on the server * Create the

Strange error when importing class in JSP under TC4.1.18

2003-01-18 Thread Charles So
Dear all, I am tearing my hair out trying to solve this problem... it seems to be a problem with TC. Here is the exception from TC: org.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:248) at

Re: Filters - get content-type of a response?

2003-01-18 Thread David Orriss Jr
On Fri, Jan 17, 2003 at 06:38:30PM -0800, Craig R. McClanahan wrote: There is indeed a way to do this ... the following example hasn't been tested, but should give you a starting point. Craig, Exactly what I needed. Thanks for the insights... Have a good weekend.. -- David Orriss Jr.

ping

2003-01-18 Thread Garrett Smith
= http://dhtmlkitchen.com/ JSP | Servlets | DHTML Garrett Needs A Job __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Connection Pooling: Communication link failure: java.io.IOException

2003-01-18 Thread Garrett Smith
- Root Cause - java.sql.SQLException: Communication link failure: java.io.IOException at org.gjt.mm.mysql.MysqlIO.clearAllReceive(Unknown Source) at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(Unknown Source) at org.gjt.mm.mysql.Connection.execSQL(Unknown Source)

Re: Filter shows blank page in 4.1.18

2003-01-18 Thread Craig R. McClanahan
On Sat, 18 Jan 2003, Affan Qureshi wrote: Date: Sat, 18 Jan 2003 16:35:19 +0500 From: Affan Qureshi [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: tomcat-user [EMAIL PROTECTED] Subject: Filter shows blank page in 4.1.18 I had filters configured for my webapp which

Re: Strange error when importing class in JSP under TC4.1.18

2003-01-18 Thread Craig R. McClanahan
On Sat, 18 Jan 2003, Charles So wrote: Date: Sat, 18 Jan 2003 20:50:21 +0800 From: Charles So [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Strange error when importing class in JSP under TC4.1.18 Dear all, I am tearing my hair out

Re: Common problems faced with tomcat configuration

2003-01-18 Thread pcampaigne
I am trying to get my apache 2.0.40 running with jk. I tried jk 2.0.43 but get error: mod_jk.c is not compatible with this version. However, I cannot locate mod_jk.c on my system, only mod_jk.so. The documentation for jk 2.0 says it can only be used with Apache 2.0.42. Any suggestions?

RE: Can you set a webapp as Tomcat's default page?

2003-01-18 Thread Bill
I think you'd specify a path that maps to the servlet. I'm sorry I dont follow. But I don't think this is really what you want, either. Specifying it as welcome page means that it will only be served as the default page for the directory. You said all requests. But you can't really

Running standard CGI perl scripts under Apache

2003-01-18 Thread Red Hat
Is it possible to run standard cgi perl scripts under tomcat 4.x? Thx, CC Chuck Carson Sr. Systems Engineer Syrrx, Inc. 10410 Science Center Drive San Diego, CA 92121 Work: 858.731.3540 Cell: 858.442.1791 -- This message contains confidential information and is intended only

Re: Running standard CGI perl scripts under Apache

2003-01-18 Thread Jeanfrancois Arcand
Yes, you can. See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi-howto.html -- Jeanfrancois Red Hat wrote: Is it possible to run standard cgi perl scripts under tomcat 4.x? Thx, CC Chuck Carson Sr. Systems Engineer Syrrx, Inc. 10410 Science Center Drive San Diego, CA 92121 Work:

RE: Running standard CGI perl scripts under Apache

2003-01-18 Thread Red Hat
Thanks, CC -Original Message- From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 18, 2003 11:55 AM To: Tomcat Users List Subject: Re: Running standard CGI perl scripts under Apache Yes, you can. See

Game server - two player board game

2003-01-18 Thread Mark
Hi, I'm using Tomcat 4.1 to set up a game server for the two player board game, Tanbo (similar to Go). Basically, I will be providing one board and a waiting list, and a chat. I need advice on how to set up the object architecture. I'm considering using an int array to represent the board. And

RE: Mod_JK - JkMount Invalid Command

2003-01-18 Thread Turner, John
Great! Glad I was able to help. The Linux configuration is identical, except for pathnames. The other thing I should mention is that I typically avoid RPMs (personal preference, there's nothing inherently wrong with RPMs), so if you are using RPMs on Linux my HOWTO will look a little

RE: Common problems faced with tomcat configuration

2003-01-18 Thread Turner, John
Mod_jk.c IS mod_jk.so. You compile the C source code (mod_jk.c) to get mod_jk.so (the binary loadable module that Apache uses). You will need to get a .40 version of mod_jk. You can either build from source or upgrade to .43. There are various fixes between .40 and .43, including security

RE: Common problems faced with tomcat configuration

2003-01-18 Thread Turner, John
ARCHIVES Many people have written and posted HOWTOs, the URLs of which are readily available in the archives. John -Original Message- From: Manavendra Gupta [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 18, 2003 7:47 PM To: Tomcat Users List Subject: Common problems faced with

RE: Mod_JK.c not compatiable with version of Apache

2003-01-18 Thread Turner, John
You need Apache 2.0.43. .42 might work, but .41 and .40 won't. Or, you can build your own. John -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 6:50 PM To: Tomcat Users List Subject: RE: Mod_JK.c not compatiable with version of Apache Does

Re: troubleshooting web.xml

2003-01-18 Thread Steve R Burrus
Hi Erik, I need some help w. the very same problem which you have seemed to encounter, that is my utter ability to see/view successfully a servlet in my web browser!!! Now, you say that u edit the various servlet tags in the web.xml file!! How do you go about editing the servlet name and servlet

Re: Can't find servlet

2003-01-18 Thread Steve R Burrus
David, how do you do that servlet mapping thing anyway???! I STILL haven't seen one servlet using Tomcat to view it with, sad to say!! And, while you are hopefully answering me, tell me just how exactly I edit the web.xml file for the servlet name and class tags please.

RE: Game server - two player board game

2003-01-18 Thread Jacob Hookom
Usually, when speed is at stake, you would want to represent the board as a 2D array. For example you can write tic-tac-toe w/ AI in only a page of code. If you are talking about applet-servlet communication or pseudo object RMI, then you might want to pick up Java Developers Guide to Servlets

Re: Tomcat 4.18 and jikes 1.18 - JSP compilation fails

2003-01-18 Thread Jan Ploski
Replying to self and for the archive: My original post was about org.apache.jasper.JasperException: Unable to compile class for JSP and class files not being generated by Jikes for no apparent reason. It turned out to be an non-trivial issue, caused by an outdated glibc version (2.1.x from Red

Having multiple cgi-bin locations

2003-01-18 Thread Red Hat
I want to control CGI usage at the webapp level, that is, I want a cgi-bin for some applications but not others. I do not want one central cgi-bin location. Can the CGI servlet context be placed in the WEB-INF/web.xml section of specific web applications, thus only enabling it for that

Re: Game server - two player board game [OT]

2003-01-18 Thread Jason Pyeron
Mark, This is really off topic, but here it goes. You have two tasks at hand: 1: specify / create backend [business] logic 2: specify / create frontend UI If you design the backend in a bean architecture, the threading/persistance issues should be non-existant or obvious at least. as far as

Re: Game server - two player board game

2003-01-18 Thread Steven J. Owens
On Sat, Jan 18, 2003 at 12:48:20PM -0800, Mark wrote: Hi, I'm using Tomcat 4.1 to set up a game server for the two player board game, Tanbo (similar to Go). Basically, I will be providing one board and a waiting list, and a chat. I need advice on how to set up the object architecture. I'm

Re: Filters - get content-type of a response?

2003-01-18 Thread Joe Tomcat
On Fri, 2003-01-17 at 18:38, Craig R. McClanahan wrote: The key problem is that there's no method like getContentType() on the HttpServletResponse interface, right (at least not until you get to Servlet 2.4, where it was added)? OK, no problem ... let's add one. We can't change the servlet

JSTL quickie [ot]

2003-01-18 Thread Jason Pyeron
tdprec:out value=${indx.exceptiontxt}//pre is giving a [B@19c4091, thats a byte array, how do I burp this out as text? -jason -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason

Re: JSTL quickie [ot]

2003-01-18 Thread Jason Pyeron
tdprec:forEach var=c items=${indx.exceptiontxt}c:out value=${c}//c:forEach/pre yields tdpre1069711897461089711010... ...1041141019710046106971189758535154411310/pre On Sat, 18 Jan 2003, Jason Pyeron wrote: tdprec:out value=${indx.exceptiontxt}//pre is

Re: JSTL quickie [ot]

2003-01-18 Thread Kris Schneider
Don't think that's gonna happen with JSTL. Something like the following expression element should work: td pre %= new String(((ClassOfIndx)pageContext.findAttribute(indx)).getExceptiontxt()) % /pre Jason Pyeron wrote: tdprec:forEach var=c items=${indx.exceptiontxt}c:out

Re: JSTL quickie [ot]

2003-01-18 Thread Jason Pyeron
thanks, i was having mental blocks on this one: its a page to list the exceptions thrown by tomcat for a web app. We never display an exception to a user, instead we give them a message like : We are sorry that you are having trouble with this application. If you require assistance with this

Abnormal TomCat Shutdown

2003-01-18 Thread Mr. King
Dear Friends, I am having Tomcat 4.0 on windows 2000 server Operating System running Java Servlets, JSP and Oracle9i database. When I try to access web pages hosted on Tomcat, then after a few quick clicks Tomcat stops automatically without any information in logs (or may be i could not find it

Re: Abnormal TomCat Shutdown

2003-01-18 Thread Jason Pyeron
could you post the tail of your stderr and stdout logs? can you reproduce this problem consistantly? On Sat, 18 Jan 2003, Mr. King wrote: Dear Friends, I am having Tomcat 4.0 on windows 2000 server Operating System running Java Servlets, JSP and Oracle9i database. When I try to access web

Re: Abnormal TomCat Shutdown

2003-01-18 Thread Mr. King
The problem is being reproduced when i access pages 4-5 times, doing database queries. I will be able to mail the trail of stderr and stdout logs tomorrow as i go to my work place. I have been reading previous archives of Tomcat mailing lists and I found similar problem earlier discussed in this