RE: Question - Form Validation

2002-12-29 Thread Jacob Hookom
Why not browse the Jakarta Validator libs? They are integrated into Struts. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 28, 2002 11:59 PM To: ''Tomcat Users List ' ' Subject: RE: Question - Form Validation Hi - I was researching this

Re: Where can I find a complete mod_jk2 howto?

2002-12-29 Thread Dave
On Sun, 29 Dec 2002 01:01:54 -0500, you wroth: I was, but just download mod_jk2 was not the end of the story, there are a lot of .jar files I don't know where to download, there is why I start to compile it by myself. I find there is a target named compile.tomcat5 in /coyote/build.xml, Does

mod_jk or mod_jk2 for a production site?

2002-12-29 Thread Dave
Hi List, Is mod_jk2 stable enough for a production site? Dave -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: How to config mod_jk2 jni with JVM ?

2002-12-29 Thread Gery Kahn
Anthony Marlowe wrote: Hi Gery, How is your workers2.properties and jk2.properties setup? Here is a excerpt from my Apache2 error_log: [Fri Dec 27 13:47:31 2002] [notice] workerEnv.init() ok /Library/Apache2/conf/workers2.properties [Fri Dec 27 13:47:31 2002] [error] mod_jk child init 1 -2

RE: mod_jk or mod_jk2 for a production site?

2002-12-29 Thread Mladen Turk
From: Dave Hi List, Is mod_jk2 stable enough for a production site? It's running ArcIMS on a live site (WIN2K + IIS) using inprocess JNI with average 10K hits per day, for more then a month without reboot. MT. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: SSL hangs on Tomcat 4.1.18

2002-12-29 Thread mech
I was just trying around with minProcessors=1 and maxProcessors=2 Although I get this warnings quite easily (just 2 or 3 browser windows are enough), after one request (really slow) is completed the next request is processed. So obviously the threads must have been reused. If I set acceptCount=1

Configure jk with jni under apachw 1.3.27

2002-12-29 Thread Gery Kahn
Well. I have this error about not finding JNIEndpoint class [Sun Dec 29 14:40:08 2002] [jk_jni_worker.c (796)]: Into load_jvm_dll, load /usr/java/j2sdk1.4.1_01/jre/lib/i386/client/libjvm.so [Sun Dec 29 14:40:08 2002] [jk_jni_worker.c (812)]: In load_jvm_dll, symbols resolved, done [Sun Dec 29

Tomcat log entries

2002-12-29 Thread Laszlo Nadai
I am fairly new to Tomcat, scripts, etc. I found the following and similar entries in my access log file: 64.160.45.159 - - [28/Dec/2002:15:00:17 -0800] GET /scripts/root.exe?/c+dir HTTP/1.0 404 624 64.160.45.159 - - [28/Dec/2002:15:00:17 -0800] GET /MSADC/root.exe?/c+dir HTTP/1.0 404 618

RE: Question - Form Validation

2002-12-29 Thread Turner, John
Thanks for the tip...didn't know anything about them. I found that FormProc package while investigating Jakarta Regexp. As an aside, is there a need for Regexp or ORO now that J2SE 1.4 has java.util.regex? I'm no regexp guru by any means, I'm just curious. My development skills are bad

RE: apache and tomcat

2002-12-29 Thread Jianping Zhu
How can i set up the environment varible JAVA_HOME for apache tomcat in redhat linux 7.1 with bash shell? thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Where can I find a complete mod_jk2 howto?

2002-12-29 Thread Dave
On Sun, 29 Dec 2002 08:55:57 -0500, you wroth: I think I know what you means, building from source isn't a good idea for tomcat. Thanks Dave Let's take a step back. You don't need to build any JAR files to use JK2 (or JK). Support for both is included in Tomcat 4 via the default

Re: SSL hangs on Tomcat 4.1.18

2002-12-29 Thread Remy Maucherat
mech wrote: I was just trying around with minProcessors=1 and maxProcessors=2 Although I get this warnings quite easily (just 2 or 3 browser windows are enough), after one request (really slow) is completed the next request is processed. So obviously the threads must have been reused. If I set

RE: SSL hangs on Tomcat 4.1.18

2002-12-29 Thread mech
That's my Tomcat 4.1.18 server.xml used for testing. Running on Win98, JDK 1.4.1b21 Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8443 minProcessors=1 maxProcessors=2 enableLookups=true acceptCount=10 debug=0 scheme=https

Re: Is session id guaranteed to be unique?

2002-12-29 Thread Tim Funk
See this thread for more information: http://marc.theaimsgroup.com/?l=tomcat-devm=104072138429223w=2 Glenn Olander wrote: Yes, it should be rare. We observed it once under heavy system load, but haven't been able to reproduce it. For our app however (or any security-sensitive app), this

Special character in file name

2002-12-29 Thread Arcadius A.
Hello! I'm having a strange problem. In my JSP, I have the following code : img src=mar+tial.gif My trouble is that the image doesn't show in tomcat (see http://ahouans.sh.cvut.cz:8080/test/test.jsp ) ... but the image is on the server (see http://ahouans.sh.cvut.cz/test/test.jsp ) I

Re: Re: Is session id guaranteed to be unique?

2002-12-29 Thread Glenn Olander
Thanks. I installed my own Manager with a fix similar to yours and it seems to solve the problem (I used a contrived Random class to generate duplicate session id's). This certainly sounds like a serious bug to me. If there's a mechanism in place to warn tomcat users about security problems,

Re: Is session id guaranteed to be unique?

2002-12-29 Thread Glenn Olander
Glenn Olander wrote: to applying the patch. Speaking of which, I may be wrong, but I don't think your patch is quite right. You'll need to append the jvmRoute _before_ doing the Never mind, I see you moved the appending into generateSessionId(). - Glenn -- To unsubscribe, e-mail:

RE: apache and tomcat

2002-12-29 Thread Turner, John
At a command prompt: JAVA_HOME=/some/path/to/JDK; export JAVA_HOME Test it at a command prompt: echo $JAVA_HOME That will be valid for that login session only. If you need it for every login session, you'll want to put it in your login scripts. If you want it available for everyone, all

Help: logging fails under mod_jk

2002-12-29 Thread Rob Cartier
I have a very simple peice of code that is in my jsp % System.out.println(JSP== + request.getRemoteUser() + | + request.getRequestURI() + | + request.getRemoteAddr() + | + new java.util.Date().toString() + | + request.getHeader(User-Agent) ); % This worked fine under mod_webapp but no

Tomcat Ant custom taks

2002-12-29 Thread Gee Jee
Hi, I've been sort of using the Tomcat library for Ant custom tasks. I got some of it to work by using the information on the Tomcat website. However, I did not find a consise overview of this library. Is this available somewhere? It seems very useful as a part of my build scripts. Gerard

Please Help me

2002-12-29 Thread Manoj Tyagi
Hi, I am new to this mailing list and Posting for the first time. I have a prob. using Tomcat 4.0 on Win ME system with Apache My Apache is configured on port 80 properly and working fine. I am Developing Sites in PHP and Its working fine with Apache. Now I Installed Tomcat 4.0 on my system for

Problems starting up...

2002-12-29 Thread mia isabelle
Hi, I can't get the Tomcat server to start. I used the startup.bat, setclasspath.bat, catalina.bat with the following configuration: Using CATALINA_BASE: d:\tomcat41 Using CATALINA_HOME: d:\tomcat41 Using CATALINA_TMPDIR: d:\tomcat41\temp Using JAVA_HOME: D:\jdk1.3 When it executes the

Tomcat 5.0 alpha where are you?

2002-12-29 Thread grenoml
I wanted to test out Tomcat 5.0 alpha but I can't find any links on the Jakarta Tomcat website anywhere where I can download a 5.0 build. Is this a secret or what? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

RE: Tomcat 5.0 alpha where are you?

2002-12-29 Thread Rafael Fernandez
Look for it here: http://jakarta.apache.org/builds/jakarta-tomcat/release/v5.0.0-alpha/bin / -Original Message- From: grenoml [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 29, 2002 6:31 PM To: [EMAIL PROTECTED] Subject: Tomcat 5.0 alpha where are you? I wanted to test out Tomcat

Re: Tomcat log entries

2002-12-29 Thread Bill Barker
This is simply some Windows server that is infected with the Nimbda Worm looking for a new place to crawl to. It only infects non-patched IIS servers, so for Tomcat stand-alone or Apache, you can safely ignore it. Laszlo Nadai [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: Please Help me

2002-12-29 Thread Bill Barker
JServ is deprecated, and AFAIK, not supported at all for Tomcat 4.x. Since you are running under Windows, mod_webapp isn't an option. You'll need to get the mod_jk connector from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2 /. Manoj Tyagi [EMAIL PROTECTED] wrote

Re: Problems starting up...

2002-12-29 Thread Bill Barker
mia isabelle [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I can't get the Tomcat server to start. I used the startup.bat, setclasspath.bat, catalina.bat with the following configuration: Using CATALINA_BASE: d:\tomcat41 Using CATALINA_HOME:

[ANNOUNCE] BasicPortal 0.7k available on SourceForge

2002-12-29 Thread John Menke
The BasicPortal Project has released version 0.7k. BasicPortal is a Struts based application that can help your developers get a head start on their Portal development. Setup the database and deploy the .war and you are ready to go! Version 0.7k contains: - ability to add content to comments -

Re: Where can I find a complete mod_jk2 howto?

2002-12-29 Thread Bill Barker
Building from source really isn't that bad. Granted, I haven't managed to get the Ant build to work for Jk2, but if you're GNU tools are sufficiently up-to-date (e.g. Make, AutoConfig, LibTool), then using 'buildconf.sh' and 'configure' is reasonably painless to build the mod_jk2 native code.

Re: Is session id guaranteed to be unique?

2002-12-29 Thread Bill Barker
Jason Pyeron [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... should the source not be patched? IMHO, the source should be patched. As a result, Tim's patch will be in the 4.1.19 release. how inefficient would collision detection be? best case it would be a

application context loaded twice

2002-12-29 Thread Mohan Radhakrishnan
Hi, Why would Context path= docBase=x debug=0 load my application context twice? My listener is called twice while the following line Context path=name docBase=x debug=0 loads it only once. What am I missing ? Appreciate help. Mohan -- To unsubscribe,

RE: Where can I find a complete mod_jk2 howto?

2002-12-29 Thread Turner, John
Well, I hope you're around next week when I get back to my desk. ;) I tried building JK from the 1.2.2 source before I left for the holidays and had zero result. Everything ran beautifully, no error messages that I could see either on the screen or in the configure log, yet after running

RE: Struts - XML/XSL

2002-12-29 Thread Schnitzer, Jeff
Take a look at the Maverick MVC framework (http://mav.sourceforge.net). It is Struts-like in concept, but you can run any model through an arbitrary pipeline of XSLT (and several other) transformations in Cocoon-like fashion. The pipeline will be efficiently connected with SAX events if

RE: Servlet/Session/Attribute Listeners not very useful ?

2002-12-29 Thread Jason Jonas - ATTBI
Jon, I've used the SessionListener interface once to write usage stats to a database when a user logs out explicitly or implicitly when the session times out. Haven't used it since and not too sure if I would again. However, the mechanism worked well enough to satisfy our requirement. If you're

can not find any file

2002-12-29 Thread Wyman Chan
Hi all, I can not find any file to download in http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0. 2/bin/linux/, anyone have idea about it? Thanks in advance! Regards, Wyman. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: Servlet/Session/Attribute Listeners not very useful ?

2002-12-29 Thread Jon Eaves
Jason Jonas - ATTBI wrote: Jon, Hi Jason, I've used the SessionListener interface once to write usage stats to a database when a user logs out explicitly or implicitly when the session times out. Haven't used it since and not too sure if I would again. However, the mechanism worked well

RE: Tomcat 5.0 alpha where are you?

2002-12-29 Thread grenoml
Thanks Rafael! --- Rafael Fernandez [EMAIL PROTECTED] wrote: Look for it here: http://jakarta.apache.org/builds/jakarta-tomcat/release/v5.0.0-alpha/bin / -Original Message- From: grenoml [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 29, 2002 6:31 PM To: [EMAIL PROTECTED]

Re: Is session id guaranteed to be unique?

2002-12-29 Thread Jason Pyeron
Where can we find Tim's patch (post the patch to the list please). two reasons for this: to implement it and to peer review it. -jp -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron

Mysql driver problem...

2002-12-29 Thread Keith Pemberton
Ok, first off sorry if this is a little vague and I can write more details later. Anyway, I am new at this stuff with setting up the mysql driver to work with tomcat by setting a JNDI Datasource. I followed the directions under that heading in the documentation from the Tomcat website for the

Re: Is session id guaranteed to be unique?

2002-12-29 Thread Bill Barker
http://nagoya.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED] e.orgmsgNo=53858 Jason Pyeron [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Where can we find Tim's patch (post the patch to the list please). two reasons for this: to implement it and to peer

session id's really unique?

2002-12-29 Thread shawn
If I use RequestDispatcher.forward(request, response) to another context am I running the risk of session id conflicts? I mean if a session Id is given in one context, another context is restarted and the java.security.SecureRandom is re-initialized for that webapp, then it would seem possible