Re: Is session id guaranteed to be unique?

2002-12-28 Thread Glenn Olander
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 could have serious security consequences, so we'd like to ensure it never happens. Craig, if you're around, I'm guessing the check

Re: Where can I find a complete mod_jk2 howto?

2002-12-28 Thread Bill Barker
"Turner, John" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > For what platform? Environment? > > AFAIK, "native" and "native2" mean Apache version, not JK/JK2, but I could > be wrong...its been awhile since I built any of the connectors. Close. The "nativ

Re: Building jakarta-tomcat-connectors-jk-1.2.2-src

2002-12-28 Thread Bill Barker
Your actual error isn't due to anything about Apache/httpd. It is caused by having an older version of jakarta-ant. You need to upgrade to at least V1.5. "Hans Deragon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Greetings. > > > I get the following erro

RE: How I got mod_jk running (Was: Re: Yes!!! It works!!!)

2002-12-28 Thread Noel J. Bergman
> I was asking because the 4.x ApacheConfig is my baby (even if it won't have > a long life :). I take an interest in bugs related to it. Why not update it for mod_jk2? Is there a reason for it to be temporary? --- Noel -- To unsubscribe, e-mail: For addit

Re: How I got mod_jk running (Was: Re: Yes!!! It works!!!)

2002-12-28 Thread Bill Barker
"Jerry" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Bill Barker wrote: > > >I'm as mystified as John on why ApacheConfig doesn't work (unless it's a > >timing problem between Tomcat and Apache starting up). > > > > I suppose. But...it works, so no harm no f

RE: Where can I find a complete mod_jk2 howto?

2002-12-28 Thread Turner, John
For what platform? Environment? AFAIK, "native" and "native2" mean Apache version, not JK/JK2, but I could be wrong...its been awhile since I built any of the connectors. Have you looked for a binary for your platform? That will be a lot easier. John -Original Message- From: Dave T

RE: Question - Form Validation

2002-12-28 Thread Turner, John
Hi - I was researching this very topic as an extension to using regular expressions for form validation, and I found this on sourceforge. It might be worth a look: http://formproc.sourceforge.net/ I've never used it, but I plan to give it a look later. John -Original Message- From:

Re: Newbie: Java Mail Problem

2002-12-28 Thread Shawn Furgason
David, A troubleshooting idea. I'd isolate this problem by ensuring you can communicate directly via javamail. Try a simple test such as this (in a JSP will work fine)... String host = "smtp.verizon.net"; String from = "[EMAIL PROTECTED]"; String to = "[EMAIL PROTECTED]"; // Get system properti

RE: Is session id guaranteed to be unique?

2002-12-28 Thread Turner, John
I guess that depends on your definition of "guaranteed". I happened to be researching this very question earlier today, and I ended up at this URL: http://w6.metronet.com/~wjm/tomcat/2001/Sep/msg00544.html According to that (though it is over a year old), Tomcat 4 uses java.security.SecureRand

Where can I find a complete mod_jk2 howto?

2002-12-28 Thread Dave
Hi list, Most of the information is about mod_jk. Does anyone can point me to a complete mod_jk2 howto. Should I use "/jk/native" or "/jk/native2" to make mod_jk2? Thanks Dave -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: ¤@­Ó

2002-12-28 Thread Philippe Muller
I am not sure I know who you are __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail:

Is session id guaranteed to be unique?

2002-12-28 Thread Glenn O
I'm tracking down a problem which only occurs rarely, but has the symptom that when I attach data to one session, it appears to mistakenly become attached to another session. It is almost as if tomcat is generating two sessions which have the same session id. I'm looking at the tomcat source fo

Re: Tomcat stability problem

2002-12-28 Thread Julian Löffelhardt
Hi, I'm using jdk 1.4.1 on redHat Linux, and -Xincgc didn't do that well. I was experimenting with java gc settings and -Xincgc dropped my overall performance about 75%. Maybe it works better with other JVM/OS combinations but it seems that when using linux one is best of with the -client VM and

RE: Question - Form Validation

2002-12-28 Thread Noel J. Bergman
Denise, Sounds as if you are in a huge hurry. Do you mind embedding some simple scriptlets in your JSP page, or are you going to hold out of purity? If you want to contact me off-line, I can give you a telephone number and walk you through some of it. I am not in the office, but I might be able

RE: Question - Form Validation

2002-12-28 Thread Jason Pyeron
your general concept here: validate page parameters is valid -> redirect to processing page display form display default values for fields display form hints for invalid data if you don't have time to learn/implement this you might want to consider outsourcing your problem. typically one wo

RE: New HOWTO - Windows XP

2002-12-28 Thread Noel J. Bergman
Tony, If you would care to post information (sample config, how-to, whatever), I am sure that others would appreciate it. --- Noel -Original Message- From: Anthony Marlowe [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 28, 2002 4:06 To: Tomcat Users List Subject: Re: New HOW

RE: Question - Form Validation

2002-12-28 Thread Denise Mangano
Any web site references? I'm pressed for time so can't wait for item to be shipped and no local bookstores have it in stock... Also, if I am to have my JSP form post back to itself to validate, I would need to employ Java Beans for this - is that correct? Sorry - I'm a newbie :) Thanks! -O

RE: Hey Jeffrey

2002-12-28 Thread Gman
I tried it both ways. And it did not work. George Flatman -Original Message- From: Rasputin [mailto:[EMAIL PROTECTED]] On Behalf Of Rasputin Sent: Saturday, December 28, 2002 4:46 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Hey Jeffrey * Gman <[EMAIL PROTECTED]> [1221 00:2

Re: Hey Jeffrey

2002-12-28 Thread Rasputin
* Gman <[EMAIL PROTECTED]> [1221 00:21]: > Syntax Error on line 985 of C:/Apache/conf/httpd.conf: > Invalid command 'JkWorkersFile' Perhaps it is mis-spelled or defined by > a module not included in the server configuration. > Obvisouly the worker file is not where it is supposed to be hehehe. N

Re: Newbie: Java Mail Problem

2002-12-28 Thread David Diskin
yes, I stopped and restarted the Tomcat service. Denis Haskin wrote: From the error, looks like it's still trying to connect to an smtp server at localhost. Did you restart Tomcat after changing mail.smtp.host? dwh David Diskin wrote: I've just set up Tomcat 4.1.18 on my Windows XP Home

Re: Newbie: Java Mail Problem

2002-12-28 Thread Denis Haskin
From the error, looks like it's still trying to connect to an smtp server at localhost. Did you restart Tomcat after changing mail.smtp.host? dwh David Diskin wrote: I've just set up Tomcat 4.1.18 on my Windows XP Home PC. I installed it as a service. I have no problem connecting to the

Re: Newbie: Java Mail Problem

2002-12-28 Thread Paul Campbell
In/localhost:8080/examples/jsp/mail/sendmail.txt it notes that the assumption is that no user authentication is required. Is it reasonable to assume that verizon.net will expect user authentication? -- Example Mail Sending Form

Re: Newbie: Java Mail Problem

2002-12-28 Thread Steve R Burrus
David, u might call or label yourself a "Newbie", but you got me beat on being able to connect Tomcat to the Apache Server!! How the hell do you do it?!! Incidentally, I have the version 4.1.16 of tomcat, and the version 2.04* of the Apache HTTP server FYI! ___

Newbie: Java Mail Problem

2002-12-28 Thread David Diskin
I've just set up Tomcat 4.1.18 on my Windows XP Home PC. I installed it as a service. I have no problem connecting to the Tomcat main web page. I reconfigured conf/server.xml and changed to value of mail.smtp.host to "smtp.verizon.net", my isp mail server. However, when I go to run the

RE: Question - Form Validation

2002-12-28 Thread Paul Campbell
Advanced Java Server Pages by Geary (Prentice Hall 2001) At 03:30 PM 12/28/2002 -0500, you wrote: >It seems to me that Struts is more for large scale enterprise webapps. >Eventually once my webapp is up and running in a production environment, if >our project seems to be more popular than expected

RE: Question - Form Validation

2002-12-28 Thread Denise Mangano
It seems to me that Struts is more for large scale enterprise webapps. Eventually once my webapp is up and running in a production environment, if our project seems to be more popular than expected, then updates will be necessary and alternative approaches will be considered. In the meantime, our

Apache2 and Tomcat4.1.18 with mod_jk2

2002-12-28 Thread law
Hi all, I use the minimium configuration in the jk document. The page http://localhost/examples show HTTP500 internal server error. And the error_log is as follow: [Sun Dec 29 02:24:56 2002] [error] lb.getWorker() reenable ajp13:localhost:8009 [Sun Dec 29 02:24:56 2002] [error] workerEnv.i

¤@­Ó

2002-12-28 Thread LULU
by mta119.mail.tpe.yahoo.com with SMTP; 07 Nov 2002 05: 05:42 +0800 (CST) Wed, 6 Nov 2002 19: 51:43 +0800 Subject: =?big5?B?PLyvpPGmbrFks/g+NTCkuHYucy6k4r73q8Km063oISGr3b73rsm2oaRbpFukWyE=?= Date: Wed, 6 Nov 2002 19:49:58 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; X-MimeOLE: Produ

RE: Tomcat stability problem

2002-12-28 Thread Ben Glorie
GC delay certainly sounds plausible, I'll try to set the -Xinccg option as suggested by Bill. We're running Linux 7.3 and Java 1.4.1_01. Is this combination also sensitive to SMP problems? If that would be the problem, what would I have to do? Thanks to you all for the suggestions so far, which h

Re: How I got mod_jk running (Was: Re: Yes!!! It works!!!)

2002-12-28 Thread Jerry
Bill Barker wrote: I'm as mystified as John on why ApacheConfig doesn't work (unless it's a timing problem between Tomcat and Apache starting up). I suppose. But...it works, so no harm no foul, right? Or is there a functional reason other than convenience and reduction of clutter in httpd.

Apache2 to access Jboss content

2002-12-28 Thread cvrajasekhar murthy
Hi, I Have sucessfully installed Jboss Tomcat Apache 2.0.43 mod_jk2(ajp13 running fine ,tomcat embedded with Jboss) on windows 98.. Apache on PORT:8000 Problem: I have deployed a CMP bean in Jboss and tested it alone with tomcat on 8080, successfullly running. Jboss- tomcat url: http://loca

Tomcat 4.1.18 - Error 500

2002-12-28 Thread Suman Ghosh
Sir/Madam, I have installed Tomcat 4.1.18 under Windows2000 Professional version. I made a normal setup (didn't select the NT service in Tomcat installer). The installation was clean but http://localhost:8080/ is also giving the error 500. Can you pls help me in fixing the error. Also do I have

Re: How to "really" seal/secure directories or files with Tomcat?

2002-12-28 Thread Craig R. McClanahan
On Sat, 28 Dec 2002, mech wrote: > Date: Sat, 28 Dec 2002 14:04:50 +0100 > From: mech <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: How to "really" seal/secure directories or files with Tomcat? > > Hi, > > I was

SSL hangs on Tomcat 4.1.18

2002-12-28 Thread Carl Zetterberg
I´m running Tomcat 4.1.18 om Win2000 and j2sdk1.4.1_01. After a couple of days usage the HTTPS connector hangs. The following is witten to stdout: 2002-dec-28 07:40:11 org.apache.tomcat.util.log.CommonLogHandler log INFO: All threads are busy, waiting. Please increase maxThreads or check the serv

RE: New HOWTO - Windows XP

2002-12-28 Thread Turner, John
Sounds pretty sweet. I'm interested, but what does that mean, exactly? If you have a HOWTO, I will gladly host it for free with attribution to you. John -Original Message- From: Anthony Marlowe [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 28, 2002 4:06 AM To: Tomcat Users List

RE: New HOWTO - Windows XP

2002-12-28 Thread Turner, John
Thanks for the kind words. After all the years using open source software, I want to do what I can to give something back. I'd write code if I was a better developer, but I'm not, so HOWTOs it is. :) John -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: Friday, D

How to "really" seal/secure directories or files with Tomcat?

2002-12-28 Thread mech
Hi, I was wondering about a behaviour of Tomcat that allows to include content that is in a directory I have set an for. Finally I had to understand that this weird thing is even servlet spec 2.3/2.4 conform: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4374 So actually "declarative securit

Servlet/Session/Attribute Listeners not very useful ?

2002-12-28 Thread Jon Eaves
Hi all, Can anybody tell me what possible use these particular interfaces are ? After thinking that they would be a good idea to use for web app session management enhancements (session timeout etc) it turns out that the invocations of valueUnbound(), sessionDestroyed(), attributeRemoved() all oc

RE: Security constraint problem with v4.1.18

2002-12-28 Thread mech
Hi Peter, I think we need more info to help. Your web.xml update looks okay to me. Double check with \tomcat\webapps\examples\WEB-INF\web.xml as it also uses a protected area. What authorization scheme do you use: form-based, basic auth ? If form-based send the corresponding parts of your web.xm

Re: Tomcat stability problem

2002-12-28 Thread Bill Barker
As much as I respect Remy's opinions, this looks very much like a typical GC delay. You might want to experiment with the 'incremental-gc' option on your JVM (the actual syntax varies by vendor: try 'java -help' to see which option to use). "Remy Maucherat" <[EMAIL PROTECTED]> wrote in message [E

Re: How I got mod_jk running (Was: Re: Yes!!! It works!!!)

2002-12-28 Thread Bill Barker
I'm as mystified as John on why ApacheConfig doesn't work (unless it's a timing problem between Tomcat and Apache starting up). To answer one of the points in your link below: At the moment you can freely mix-and-match the native Jk(2) code and the Java Connectors. By default, Tomcat 4.1.x enabl

Re: New HOWTO - Windows XP

2002-12-28 Thread Anthony Marlowe
Hi John, If you are interested, I have apache 2.0.43, Tomcat 4.1.18, mod_jk2 (jni auto start) with php 4.2.4 running on Mac OS X 10.2.3 with the NDA version of Java 1.4.1D8 running on a dual G4 (previous 1.4.1 versions will not work, the jvm crashes, 1.3.1 is no problem). I am in the processin

Re: disabling the directory listing in tomcat

2002-12-28 Thread Bill Barker
"Rahul Torvi" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello > > I have a requirement that the tomcat server should not show > the directory listing when anybody writes URL which ends in > a folder name. Well, one answer would be RTFM :-). I'm going to