Information

2004-10-04 Thread craig . mcclanahan
-- Virus Warning Message (on uusnwa0p) Found virus WORM_NETSKY.Z in file Data.txt .exe (in Data.zip) The file is deleted.

RE: Tomcat Question - HELP

2004-10-04 Thread Pawson, David
-Original Message- From: Shapira, Yoav Personally, I'd take this support list over any commercial support organization, hands down. +1 Try asking questions like (almost any on this list) to Redmond and see what the response is :-) regards DaveP *** snip here ***

RE: Using XInclude in tomcat's config files

2004-10-04 Thread Pawson, David
-Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Shankar Unni Sent: 01 October 2004 21:44 Alas, that didn't help. I tried setting both org.xml.sax.parser and org.apache.xerces.xni.parser.XMLParserConfiguration (the latter one being

RE:logging, configuration.

2004-10-04 Thread Pawson, David
-Original Message- From: Jacob Kjome Is it the commons-logging that produces catalina_log.date.txt? Is there a config file as per log4j? Even when testing, this file becomes quite significant. It would be nice to reduce/minimise its output.

5.0.28 stack overflow?

2004-10-04 Thread Cott Lang
Anyone ever seen one like this? :) ApplicationDispatcher[] Servlet.service() for servlet action threw exception java.lang.StackOverflowError at org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:208) at

Access the org.apache.catalina.authenticator.REQUEST note (get the requested page before the authentication form)

2004-10-04 Thread Giovanni Formenti
Hi!! I use Tomcat 4.1 within JBoss 3.2.3 and JAAS. I need to know the page requested before the authentication take the control of the view. I find that information in the StandardSession's note org.apache.catalina.authenticator.REQUEST. How can i read it?! request.getSession() is a

Re: Multiple arguments in a GET URL

2004-10-04 Thread Ronald Klop
You should escape the value of mainFrame, so the webserver will not parse it in index.jsp. Ronald. On Fri Oct 01 19:34:04 CEST 2004 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am attempting to redirect to a URL that is similar to the following

RE: Multiple arguments in a GET URL

2004-10-04 Thread Ronald Klop
You better escape the value than replacing one character. This doesn't solve your issue on the long run. See java.net.URLEncoder. String args = mainFrame= + URLEncoder(url, UTF-8); Ronald. On Mon Oct 04 04:34:05 CEST 2004 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Eric: Thanks for your help. Now

where can i get jkjni.dll for windows.

2004-10-04 Thread Sato
hi, where can i get jkjni.dll for win32 to run apache with tomcat as inmemory process(mod_jk2)? regards, 0xcafebabe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: 5.0.28 stack overflow?

2004-10-04 Thread Tim Funk
I'm guessing your using an HttpServletRequestWrapper. My guess might be the way your implementation overrode getRequest() might be doing wacky things. ApplicationHttpRequest extends HttpServletRequestWrapper -Tim Cott Lang wrote: Anyone ever seen one like this? :) ApplicationDispatcher[]

Re: Windows Environment Variables

2004-10-04 Thread Dov Rosenberg
The web.xml file is located in the /WEB-INF. Inside the web-app element you can add multiple context-param elements. Each context parameter has a name/value element nested inside. Like : web-app ... context-param param-nameDomainName/param-name param-valuedemo/param-value

Re: Tomcat Compiling Error - Form Based Authentication

2004-10-04 Thread Omar Adobati
I have to give u a bad news. What i said yesterday night was wrong. I have the same error also putting tools.jar (the JDK 1.5 ones)... so I'm in trouble again! Omar - Original Message - From: John Najarian [EMAIL PROTECTED] To: 'Omar Adobati' [EMAIL PROTECTED] Sent: Sunday, October 03,

Deployer package ANT task error

2004-10-04 Thread Christian Ruediger
I am just about to try the first webapp tutorial of Tomcat. My environment is: Win 2k Tomcat 5.0.28 eclipse 3.0 ANT 1.6.2 The catalina-ant.jar is added to the ant path. When running the deploy task i get the following error Buildfile: C:\Documents and Settings\cruediger\Mes

error-page exception-type

2004-10-04 Thread François Richard
Hi, I'm blocked since this morning with an annoying problem on Tomcat (5.27 and 5.28). Impossible to redirect users with the error-page tag on jsp and html files. I'm using that on the web.xml : error-page exception-typecom.sofice.commun.securite.DroitsException/exception-type

RE: Tomcat Compiling Error - Form Based Authentication

2004-10-04 Thread Dale, Matt
I'd suggest rebuilding your appliation against java 5, and also running your tomcat with the java 5 JDK as well. Make sure that everything is happy at that level. Ta Matt -Original Message- From: Omar Adobati [mailto:[EMAIL PROTECTED] Sent: 04 October 2004 13:44 To: John Najarian;

RE: 5.0.28 stack overflow?

2004-10-04 Thread Shapira, Yoav
Hi, 99.9% of the time, it's your fault, with a large majority of these cases being infinite recursion. How does the CPU behave when leading up to this error? Yoav Shapira Millennium Research Informatics -Original Message- From: Cott Lang [mailto:[EMAIL PROTECTED] Sent: Monday, October

RE: logging, configuration.

2004-10-04 Thread Shapira, Yoav
Hi, Comment out the RequestDumperValve (in $CATALINA_HOME/conf/server.xml) altogether: it's output is not errors, as you noted. However, it's also not a Logger per-se and so the Logger congifuration doesn't apply to it. It's commented out by default, so go back to the default ;) Yoav Shapira

RE: Search engine friendly URLs

2004-10-04 Thread Shapira, Yoav
Hi, You can also do this with one (or more, if you want, depending on the exact requirements) Filters. That prevents the need for a separate servlet and any associated session overhead, so the performance argument is even more moot. Yoav Shapira Millennium Research Informatics -Original

RE: tomcat 5.x windows installer

2004-10-04 Thread Shapira, Yoav
Hi, My reason for preferring the installer over the zip is that - when it works - I can do a faily painless upgrade by uninstalling leaving the webapps etc alone and reinstalling an upgrade version to the same directory. This is not so easy using the zip distribution. Any help would be

RE: type in twice for basic authentication???

2004-10-04 Thread Shapira, Yoav
Hi, Does 4.1.30 behave better? Or 5.0.27? (5.0.28 has http://issues.apache.org/bugzilla/show_bug.cgi?id=31372 which might affect this use-case) Yoav Shapira Millennium Research Informatics -Original Message- From: Stephen Charles Huey [mailto:[EMAIL PROTECTED] Sent: Monday, October

Howto read files

2004-10-04 Thread dmu2201
Hi ML I'm having a problem with tomcat because I would like to read a certain XML file in a 'data' dir. The problem is that the relative path does not work: new File(data/questionnaires.xml/); does not give the file since Tomcat is started from its bin dir and not from my /webapps/PROJECT

Apache tuning question

2004-10-04 Thread Randy Paries
Hello, I thought there was an apache mailing list, but the mailing list page points to this one(as well as php and some others.) So hopefully I will not get flamed for this question. I have a rh9 box with apache 2 and tomcat 5 The apache server gets about 1.2M hits a day on average i have

RE: Howto read files

2004-10-04 Thread Shapira, Yoav
Hi, Use ServletContext#getResource(AsStream) or Class#getResource(AsStream), as described in the Tomcat FAQ. Yoav Shapira Millennium Research Informatics -Original Message- From: dmu2201 [mailto:[EMAIL PROTECTED] Sent: Monday, October 04, 2004 9:34 AM To: [EMAIL PROTECTED] Subject:

RE: Apache tuning question

2004-10-04 Thread Shapira, Yoav
Hi, There IS an Apache mailing list: httpd-user, as described on http://httpd.apache.org/userslist.html. Since your question has more to do with the httpd component and not as much with Tomcat or the connectors, I'd ask there first if I were you ;) Yoav Shapira Millennium Research Informatics

RE: logging, configuration.

2004-10-04 Thread Pawson, David
-Original Message- From: Shapira, Yoav Comment out the RequestDumperValve (in $CATALINA_HOME/conf/server.xml) altogether: it's output is not errors, as you noted. However, it's also not a Logger per-se and so the Logger congifuration doesn't apply to it.

Re: Tomcat becoming almost completely non-responsive

2004-10-04 Thread Kaleb Pederson
On Friday 01 October 2004 4:29 pm, Kumar, Sunitha wrote: What command did you use to generate the thread dump? I'm in Linux, so I used kill -QUIT pid where pid was the process ID. --Kaleb -sunitha -Original Message- From: Kaleb Pederson [mailto:[EMAIL PROTECTED] Sent: Friday,

realms: authentication against a web service?

2004-10-04 Thread Olve Hansen
Is this possible? I have to investigate the possibility of integrating two systems, where users authenticate themselves against our webapp, and the webapp checks their credentials against a web service in the background.. Do I have to make my own JAAS realm, which in turn authenticates against

servlet deployed, but Tomcat provides .war file for download only

2004-10-04 Thread Christian Ruediger
Hi folks, i have deployed a .war file, but Tomcat doesen't execute the servlet. Instead he provides the deployed war file for download. I have tried the deployment procedure by ANT task, by startup with war file. I also tried the manager web frontend. The manager shows me the option to start the

RE: servlet deployed, but Tomcat provides .war file for download only

2004-10-04 Thread Shapira, Yoav
Hi, How about starting with the simplest approach: forget the manager, forget Ant. Do a clean Tomcat installation. Copy your webapp into the webapps folder (not as a WAR file, just the unpacked directory structure). Start the server. That's it. Your web.xml looks fine. It's always a good

Re: servlet deployed, but Tomcat provides .war file for download only

2004-10-04 Thread QM
On Mon, Oct 04, 2004 at 04:54:40PM +0200, Christian Ruediger wrote: : i have deployed a .war file, but Tomcat doesen't execute the servlet. : Instead he provides the deployed war file for download. Where, specifically, is the WAR file? If Tomcat's offering the file for download, then you likely

Re: Tomcat becoming almost completely non-responsive

2004-10-04 Thread Kaleb Pederson
John, Thanks for the feedback. My code is actually quite simple and I have everything factored out to single function that handles the DB code. I'll paste it below for you, and others to look at. *Please let me know* if there is an exit path that I somehow missed. I already have tomcat

Re: servlet deployed, but Tomcat provides .war file for download only

2004-10-04 Thread Christian Ruediger
OK, i did as you said. I deinstalled my tomcat, installed a new into a new folder (just to be sure). After that I copied the extracted app into the webapp folder: in my case the class file goes here (Just to document the path): C:\Program Files\Tomcat

RE: Tomcat Question - HELP

2004-10-04 Thread Daniel_Salud
go back to formula... Daniel Salud (310)665-6583 John Najarian [EMAIL PROTECTED] 10/01/2004 05:05 PM Please respond to Tomcat Users List To: 'Tomcat Users List' [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Can all you people take this

RE: Tomcat Question - HELP

2004-10-04 Thread Daniel_Salud
That goes to you too... Daniel Salud (310)665-6583 [EMAIL PROTECTED] 10/01/2004 04:37 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Let me summarise this thread: 1. You hate all

RE: Tomcat Question - HELP

2004-10-04 Thread Daniel_Salud
Michael, its better if you just keep your comments to your self. You are so pathetic. Daniel Salud (310)665-6583 [EMAIL PROTECTED] 10/01/2004 04:37 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat

RE: Tomcat becoming almost completely non-responsive

2004-10-04 Thread Phillip Qin
Post your datasource resource definition. You may miss something like parameter nametestOnBorrow/name valuetrue/value /parameter parameter nametestOnReturn/name valuetrue/value /parameter

Re: Tomcat Question - HELP

2004-10-04 Thread Mike Fowler
Daniel, I think the same goes for you. You are attacking the generosity and kindness of the people on this list, and I think I speak for most of the list when I say that you have crossed a line. Please make your future posts constructive and refrain from flaming us. -Mike Fowler I could be a

[OT] Re: Tomcat Question - HELP

2004-10-04 Thread Ben Souther
This needs to stop but if it's to continue, would everyone not mind putting [OT] at the beginnning of the subject line? -Thanks On Mon, 2004-10-04 at 12:04, Mike Fowler wrote: Daniel, I think the same goes for you. You are attacking the generosity and kindness of the people on this

Re: Reducing network traffic for rollover images

2004-10-04 Thread Robert Hunt
Well, thanks to all the advice (and advisors), there are two workable solutions. For me, I'm liking the ease of display/maintenance for now. (Just wrap an A around the text and voila! You have a cool hightlighting link.) However, an arsenal of buttons (and the software to manage it) may be

RE: servlet deployed, but Tomcat provides .war file for download only

2004-10-04 Thread Shapira, Yoav
Hi, Actually i used the launcher, 'cause the .bat script has some errors while calling javac (I haven't tried to fix this yet). Address those before going further. You should be able to launch Tomcat using startup.bat on Windows out of the box. If not, something serious is wrong. There is,

Re: servlet deployed, but Tomcat provides .war file for download only

2004-10-04 Thread Christian Ruediger
Thank you so far, in case i find that the examples dont work on my system, whom could I anounce the prevent others from serching to long: Perhaps with a little comment in the Readme. Or should I see it as it is: a special case. Bye Christian On Mon, 4 Oct 2004 12:19:54 -0400, Shapira, Yoav

RE: servlet deployed, but Tomcat provides .war file for download only

2004-10-04 Thread Shapira, Yoav
Hi, Oh, it's very definitely a special case ;) If the examples didn't work for 99.9% of Tomcat users, we'd have heard about it loudly and clearly by now. That's based on actual experience, not just hypothesis ;) Yoav Shapira Millennium Research Informatics -Original Message- From:

Re: Tomcat becoming almost completely non-responsive

2004-10-04 Thread Kaleb Pederson
My datasource definition is pretty basic and is as follows: !-- the db object for the mapping database -- Resource name=jdbc/MappingDB auth=Container type=javax.sql.DataSource / ResourceParams name=jdbc/MappingDB parameter nameremoveAbandoned/name valuetrue/value

help-me

2004-10-04 Thread Levi Oliveira da Silva
Hi, My system is Red Hat version 9, and has installed Apache 2.0.40, Tomcat 4.1.27 and the J2SDK 4.2_04, I do not obtain to compile jakarta-tomcat-connectors-jk-1.2.6-src returns error in the compilation; I installed mod_jk2-2.0.4-6.rpm and I do not obtain to make the connection between

RE: help-me

2004-10-04 Thread Shapira, Yoav
Hi, One question that's good to ask if whether you need Apache, or whether Tomcat by itself can meet your requirements. Tomcat can serve static content such as HTML and images. So on this list, we frequently suggest that new Tomcat users first try Tomcat by itself. You can always add Apache

RES: help-me

2004-10-04 Thread Levi Oliveira da Silva
Yes, I need the Apache due security SSL, and the Tomcat as serving of applications Java Server Pages. Separate the Tomcat functions, the problem is in the connection with the Apache. Levi -Mensagem original- De: Shapira, Yoav [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 4 de

jk isapi_redirector2.dll @ http://jakarta.apache.org/~mturk/

2004-10-04 Thread Woodchuck
hihi all, does anyone have more information about this web page: http://jakarta.apache.org/~mturk/ and the isapi_redirector2.dll found there? i upgraded from jk 2.0.4's dll to this one and it fixed the uploading files problem (with commons-fileupload.jar), but we have other web apps that are

inmemory tomcat container is not getting created on Apache[Apache/2.0.48 (Win32) mod_jk2/2.0.4] Server

2004-10-04 Thread Sato
i started apache Apache/2.0.48 (Win32) mod_jk2/2.0.4 Server, Can anyone suggest me to solve this issue? THe following error appears: [Thu Oct 21 14:04:52 2004] [notice] shm.create() Created head 830008 size 8192 [Thu Oct 21 14:04:52 2004] [notice] Child 480: Child process is running [Thu Oct 21

basic authentication

2004-10-04 Thread Stephen Charles Huey
Anybody have a clue as to why my basic authentication box would keep coming back at me 2-6 times before letting me in, even though I'm typing the correct username and password every single time? This is Tomcat 4.1.27 - To

Re: Tomcat becoming almost completely non-responsive

2004-10-04 Thread David Smith
I think I see the problem. Don't use com.mysql.jdbc.jdbc2.optional.MysqlDataSource in your config. Instead, use com.mysql.jdbc.Driver. I tried using the same one you did at first and it never worked with DBCP for me. --David Kaleb Pederson wrote: My datasource definition is pretty basic and

Re: RES: help-me

2004-10-04 Thread Ben Souther
And you're aware that Tomcat can handle SSL too, right? http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html On Mon, 2004-10-04 at 12:53, Levi Oliveira da Silva wrote: Yes, I need the Apache due security SSL, and the Tomcat as serving of applications Java Server Pages. Separate

Re: Reducing network traffic for rollover images

2004-10-04 Thread Cott Lang
You might want to play with mod_expires to set expiration headers on images. On Fri, 2004-10-01 at 10:44, Robert Hunt wrote: Is there a way (as in, response header or other HTTPServletResponse setting) that can persuade a browser to use a cached version of an GIF/JPG that's used for a

Re: tomcat 5.x windows installer

2004-10-04 Thread Christopher Watson
Shapira, Yoav wrote: Hi, My reason for preferring the installer over the zip is that - when it works - I can do a faily painless upgrade by uninstalling leaving the webapps etc alone and reinstalling an upgrade version to the same directory. This is not so easy using the zip distribution. Any

RE: How to make Apache direct Servlet to Tomcat

2004-10-04 Thread Daxin Zuo
Bellow is my Apache2/conf/wrokers2.property. I also wonder if I need to add an listner like Listener className=org.apache.ajp.tomcat5.config.ApacheConfig / in the httpd.conf file wrokers2.property: [shm] info=Scoreboard. Requried for reconfiguration and status with multiprocess servers. file=anon

Re: Tomcat becoming almost completely non-responsive

2004-10-04 Thread Kaleb Pederson
Has anybody else had success or failures with the com.mysql.jdbc.jdbc2.optional.MysqlDataSource driver and DBCP? Does the ...DBCP driver correctly integrate with the com.mysql.Driver class so that connection pooling is still valid? What I seem to remember from my initial research in setting

RE: type in twice for basic authentication???

2004-10-04 Thread Mark Thomas
You should definitely try 4.1.30 (or 5.0.27). There were a bunch of fixes between 4.1.29 and 4.1.30 to the JDBC realm. There is a good chance that the behaviour you see is related to bug 11929. Mark -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday,

RE: Tomcat becoming almost completely non-responsive

2004-10-04 Thread Phillip Qin
Can you add the stuff from my email? -Original Message- From: Kaleb Pederson [mailto:[EMAIL PROTECTED] Sent: October 4, 2004 12:40 PM To: Tomcat Users List Subject: Re: Tomcat becoming almost completely non-responsive My datasource definition is pretty basic and is as follows: !--

Re: 5.0.28 stack overflow?

2004-10-04 Thread Cott Lang
Good guess, but no... not using anything of the sort. :) Yoav, I agree, 99.9% of the time, it's my fault. As you can see in the stack trace, it's being called directly from Struts. I don't really see how my code could cause this. It sure looks like ApplicationHttpRequest.getRequest() returned

Problems with jakarta-tomcat-connectors-jk2-2.0.[24]-src/jk/native2/configure and HP-UX 11.0

2004-10-04 Thread HORSTMAN, MARK A \(SBCSI\)
I cannot get the jk/native2/configure script that comes with jakarta-tomcat-connectors-jk2-2.0.4-src (or jakarta-tomcat-connectors-jk2-2.0.2-src) to work without errors under HP-UX 11.0. The problems occur when the script does something like: if ${TEST} ${apxs_support} = false ; then

Re: Tomcat becoming almost completely non-responsive

2004-10-04 Thread Kaleb Pederson
On Monday 04 October 2004 1:08 pm, Phillip Qin wrote: Can you add the stuff from my email? I added them to the file and will restart the server when it will cause the least trouble (or next time it goes down). What extra information do you believe this provide that I should be looking for?

Re: Using XInclude in tomcat's config files

2004-10-04 Thread Shankar Unni
Pawson, David wrote: Try an entity instead of xinclude? Not many parsers are good for xinclude as yet (a mainly uninformed statement). Entity resolution is easier if the parser is setup correctly. Oh, that's what we are doing now, but entity resolution doesn't have a concept of relative paths.

Directories under webapps showing up

2004-10-04 Thread Jeff Faath
Hello, I have finally figured out how to install my web application as the default app for Tomcat (thereby forgoing the standard page under the ROOT directory). So, to get to welcome page of my app, all you need to do is access this URL: http://localhost:8080/ However, what bugs me is the

Re: Directories under webapps showing up

2004-10-04 Thread QM
On Mon, Oct 04, 2004 at 02:46:39PM -0700, Jeff Faath wrote: : However, what bugs me is the subdirectories under the : webapps directory can still be accessed even though : I can't find the configuration information for them. Perhaps they're being automatically deployed on startup? Please post

Cluster Pure Tomcat with Hardware Load Balancer

2004-10-04 Thread MITCHELL TEIXEIRA
Hello to the group - I am desperately searching for information about clustering Tomcat 5 in a pure environment without Apache in front of it. I have a hardware load balancer in front of two Tomcat servers that I want to join in a cluster in order to avoid/reduce broken shopping cart sessions

IIS and Tomcat 4.1 errors

2004-10-04 Thread Terry Milller
I am running IIS 5.0 on Windows 2000 Server against a Tomcat 4.1 application using JK 1.2. I have been getting errors in the Event Log from day one but the application seems to be running very well until today. The messages I am getting are Error: [jk_worker_ajp13.c (416)]: ajp13.service()

Re: Search engine friendly URLs

2004-10-04 Thread Ben
Thanks everyone. I guess I would have to use the Url Rewrite Filter by Paul Tuckey. I thought there was a better way of doing this. Cheers, Ben On Mon, 4 Oct 2004 09:04:37 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, You can also do this with one (or more, if you want, depending on the

Re: Cluster Pure Tomcat with Hardware Load Balancer

2004-10-04 Thread Justin Ruthenbeck
Mitchell, Pur Tomcat clustering is most robustly supported in the 5.x branch (a backport to 4.1.x was done, but you'll have a harder time getting help with that). Info can be found off of the 5.0.x docs page: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html justin At 03:09 PM

Re: Cluster Pure Tomcat with Hardware Load Balancer

2004-10-04 Thread Ben Souther
I take it you've read this: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/balancer-howto.html Also... It's been posted on this list recently that the source to the balancer app is pretty straight forward and easy to read. On Mon, 2004-10-04 at 18:09, MITCHELL TEIXEIRA wrote: Hello to the

Re: JK2 2.0.4

2004-10-04 Thread Joseph Shraibman
No, this is a known bug and will not work. See http://issues.apache.org/bugzilla/show_bug.cgi?id=28758 Cox, Charlie wrote: To avoid all confusion, I would remove your [uri: mappings from the workers2.properties and then specify the mappings in your httpd.conf: VirtualHost 1.1.1.1:80

Classes are reloaded automatically even when reloadable is not set

2004-10-04 Thread Kent Tong
Hi, I'm using Tomcat 5.0.28 on Win98. I've created a very simple web app consists of just two java files: public class HelloServlet extends HttpServlet { protected void doGet( HttpServletRequest request, HttpServletResponse response) throws