Re: Advice wanted about mapping URIs to pages

2003-09-07 Thread Marco Tedone
Why don't you put all your stuff under Tomcat? With Struts 1.1, it's possible to define several contexts for your application (i.e. have several struts-config.xml files) and this seems to me the solution which possibly could address your needs. Additionally, if you have the possibility, the ideal s

Re: Servlet front page without redirect - Tomcat 4.1 with mod_rewrite and mod_jk2

2003-09-07 Thread Sam Hough
Wouldnt it be possible to write a Filter to detect requests to the "home page" and internally redirect/rewrite the request to whatever Servlet or resource required? - Original Message - From: "Bill Barker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 07, 2003 4:42

JNDI DataSource - need to synchronize?

2003-09-07 Thread john-paul delaney
Hello List... Some coding help please. Following earlier advice on this list and the TC datasource how-to, I've now got a working test servlet. Basically I declare the Context(s) and DataSource as instance variables, and initialize them in init: ===

Re: JNDI DataSource - need to synchronize?

2003-09-07 Thread Marco Tedone
Well, to be sure, put your variables inside the methods. This way, your data will be safe. One idea would be to create objects when you need them, and to close them when you've finished. Marco - Original Message - From: "john-paul delaney" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMA

404 leaks (was: PROBLEMS:> memory / cpu usage - Tomcat 3.2.1)

2003-09-07 Thread Anton Tagunov
Hello, All! SS> once the 404 is logged, the apache <-> tomcat connection does not SS> terminate. it stays running, and starts to consume cpu time Is this a known issue? What connector + Tomcat versions are vulnerable? Anton

I still don't understand the need for the connection between Apache and Tomcat

2003-09-07 Thread Anson Zeall
Dear people, I still don't understand why is there a need for a connection between Apache and Tomcat since Tomcat can work on its own. Regards, Anson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: SSL/Verisign Confusion

2003-09-07 Thread Adam Hardy
Hi Dave, how much does it cost at Verisign, and how long is it valid for? And is this 'openssl' you mentioned a free alternative? Adam On 09/06/2003 03:21 PM Dave Wood wrote: FINALLY! I still don't know what I did wrong in the first place, but after starting over with VeriSign, all is well now.

Re: SSL/Verisign Confusion

2003-09-07 Thread Christopher Williams
www.openssl.org is the website for OpenSSL. It's an open source implementation of SSL / TLS together with a tremendous amount of other stuff (such as X.509, S/MIME, every cryptographic algorithm you ever heard of). You can also use it to set up your own CA - it's not the easiest software to use as

Re: I still don't understand the need for the connection between Apache and Tomcat

2003-09-07 Thread Yann Cébron
> I still don't understand why is there a need for a connection between > Apache and Tomcat since Tomcat can work on its own. > Maybe this sheds some light on a few motivations http://jakarta.apache.org/tomcat/faq/connectors.html#integrate HTH, Yann -

Running JSP....new to Tomcat 5.0

2003-09-07 Thread Amy Cheung
Hi, How can I setup the server configuration using TOMCAT Ver5.0? I follow the same method for TOMCAT Ver3.0 but it give error as below: "SEVERE: Cannot find msg asso. with key stdContext.resourcesStart Document base does not exit or is not a readable directory" What is the correct to initi

How to turn on the 'development' mode?

2003-09-07 Thread Marco Tedone
Hi, how could I turn on the 'development' mode, so that Tomcat checks everytime if the page has been updated and already been compiled? Marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Using OpenSSL to set up your own CA

2003-09-07 Thread Christopher Williams
Tons of people seem to have wondered whether they can use OpenSSL to set up their own CA and server certificates. The answer is most certainly and for people who've never encountered it before, I'll tell you how. SETTING UP YOUR CA --- Step 1. Go to www.openssl.o

RE: Charset encoding issue

2003-09-07 Thread Francisco Vides Fernandez
I've recently have a similar problem with spanish language. What OS are you running Tomcat on? What are your LOCALE settings? > "lima" == lima <[EMAIL PROTECTED]> writes: lima> Hi, guys. How are you ? I have a jsp page with some form lima> fields. I don't know how is the right way to se

RE: I still don't understand the need for the connection between Apache and Tomcat

2003-09-07 Thread Amjad Shahrour
Tomcat can act as a web server and serve static (html) pages as well as servlets and jsps, but tomcat is not as fast as apache web server. Another reason might be that most servers already have apache installed and also might already have multible sites including PHP pages. Regards, Amjad shahro

Re[3]: Charset encoding issue

2003-09-07 Thread lima
Hi guys. I'll try to answer your questions : ((1)) I've found a message (at http://w6.metronet.com/~wjm/tomcat/2001/Mar/msg00547.html) that seems to explain this odd behaviour (but i'm not sure) : "Tomcat follows the HTML standard, which explicitly declares that MIME type "application/x-www-form

RE: I still don't understand the need for the connection between Apache and Tomcat

2003-09-07 Thread Anson Zeall
Oh thanks!.that solved my confusion =) -Original Message- From: Amjad Shahrour [mailto:[EMAIL PROTECTED] Sent: Sunday, September 07, 2003 7:26 PM To: 'Tomcat Users List' Subject: RE: I still don't understand the need for the connection between Apache and Tomcat Tomcat can act as a we

Re: I still don't understand the need for the connection between Apache and Tomcat

2003-09-07 Thread James Harman
Yann Cébron wrote: I still don't understand why is there a need for a connection between Apache and Tomcat since Tomcat can work on its own. Maybe this sheds some light on a few motivations http://jakarta.apache.org/tomcat/faq/connectors.html#integrate HTH, Yann Yann, Thanks f

Tomcate and Windows XP Question

2003-09-07 Thread Aziz
Hi there, I installed Tomcate 5.0.9 on Windows XP Home edition. It seems the Tomcate starts sucessfully, but when I browse to http://127.0.0.1:8080, I get error message saying The page cannot be displayed There is a problem with the page you are trying to reach and it cannot be dis

Re: Tomcate and Windows XP Question

2003-09-07 Thread Yann Cébron
>I installed Tomcate 5.0.9 on Windows XP Home edition. >It seems the Tomcate starts sucessfully, but when I browse to http://127.0.0.1:8080, I get error message saying > The page cannot be displayed > There is a problem with the page you are trying to reach and it cannot be displayed. >H

Re: Problem building mod_jk2 on Freebsd 4.8-RELEASE

2003-09-07 Thread Luke Vanderfluit
Hi Dean, I have the same Apache and Tomcat versions on Redhat 9. I'm not sure if setup is the same but what I did was a lot shorter and worked, no probs, first you need the jk2 connectors file jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz untar it somewhere, then cd to the jk/native2 directory

jdbc servlets and jsp

2003-09-07 Thread Luke Vanderfluit
Hi, I'm having a few probs (fun) getting jdbc to work in servlets and jsp, tomcat in other words. I've successfully got jdbc working with postgresql in a regular java class. I have tried using the same code adapted to a servlet and jsp to get a database connection happening from there, however

Re: Servlet/JSP Lifecycle and Performance

2003-09-07 Thread Lukas Bradley
> AFAIK, no such benchmarks have been made. > Once tomcat loads a servlet, it is loaded. Tomcat currently does not unload > servlets due to lack of use. Is this the case with Tomcat 5? Lukas - To unsubscribe, e-mail: [EMAIL P

Re: Bit confused: Admin Tool vs Manager Application

2003-09-07 Thread achana
THX, but where does 404 fit in. It's neither 3.3+ or 4.1+ TIA Bill Barker wrote: > > The 'admin' Context in 3.3.x is similar tothe 'manager' Context in 4.1.x. > There are big difference when you get down to the specifics (e.g. 3.3 > doesn't include Ant tasks), but in "Big Picture" terms, they do

Re[4]: Charset encoding issue

2003-09-07 Thread Anton Tagunov
Hello, Lima! lccb> I've found a message (at lccb> http://w6.metronet.com/~wjm/tomcat/2001/Mar/msg00547.html) : lccb> "Tomcat follows the HTML standard, Hmm.., to me it looks like a browser issue, not Tomcat. Hence its a bit OT here, but still we have started the discussion :-) (again, as I have

Re: Bit confused: Admin Tool vs Manager Application

2003-09-07 Thread Bill Barker
Tomcat 4.0.4 only has the 'manager' (which is similar to the 4.1.x 'manager' (but with fewer features), and the 3.3.x 'admin'). <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > THX, but where does 404 fit in. > It's neither 3.3+ or 4.1+ > TIA > > > Bill Barker wrote: > > > > The 'admi

Re: Servlet/JSP Lifecycle and Performance

2003-09-07 Thread Bill Barker
"Lukas Bradley" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > AFAIK, no such benchmarks have been made. > > Once tomcat loads a servlet, it is loaded. Tomcat currently does not > unload > > servlets due to lack of use. > > Is this the case with Tomcat 5? Currently, yes. > > Luk

Re: Bit confused: Admin Tool vs Manager Application

2003-09-07 Thread achana
Hi. Is it a simple mater of downloading some java code from jakarta.apache.org and putting it in the proper folder ? Does it require an upgrade from 404 to get the full functionalities? TIA :-) Bill Barker wrote: > > Tomcat 4.0.4 only has the 'manager' (which is similar to the 4.1.x 'manager' > (

Re: Running JSP....new to Tomcat 5.0

2003-09-07 Thread Bill Barker
Urm, there is almost nothing in common between setting up Tomcat 3.x and setting up Tomcat 5.x (except that the name of the 'server.xml' file has stayed the same ;-). Almost all of the directories have changed (with the exceptions of 'conf' and 'webapps'), the syntax of 'server.xml' is completely

RE: Tomcate and Windows XP Question

2003-09-07 Thread Dean Searle
Is Tomcat running on port 8080 or is it 8180 like in TC4.1.27. It's tough to tell because your log message is partially cut off where it tells you which ports it's listening to. If I remember correctly the [INFO] Http11Protocol line should tell you which port it is listening to. [INFO

RE: Deployment problems in tomcat 4.1.27 : jdbc and properties files

2003-09-07 Thread Shailesh Modi
Hi James, It is classes.jar and now it is being picked up when i kept it in \common\lib directory. But properties files(configuration files) for my web-app are not getting picked up. I have tried following ways one by one: 1. kept them in \WEB-INF\classes folder 2. kept them in \WEB-INF\lib 3