Re: Newbie help! - BufferedFile(new File(test.txt).getAbsolutePath())?

2003-11-06 Thread Jacob Kjome
simply replace new File(temp.txt) with... new File(context.getRealPath(temp.txt)) However, note that this may return null in the case that the webapp is being served directly from a .war file and not from a directory. A better strategy is loading the resource as an InputStream...

Re: [NEWBIE] Using LoaderInterceptor11 with tomcat 4.1.24

2003-11-04 Thread Filip Hanik
ContextInterceptor belonged to the old Tomcat 3.x You would use Valves, although, I doubt Valves will let you load additional stuff to the classloader Filip - Original Message - From: Julie christiana [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 03, 2003 8:28 PM

RE: [NEWBIE] Using LoaderInterceptor11 with tomcat 4.1.24

2003-11-04 Thread Shapira, Yoav
to do this? Yoav Shapira Millennium ChemInformatics -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 1:54 PM To: Tomcat Users List Subject: Re: [NEWBIE] Using LoaderInterceptor11 with tomcat 4.1.24 ContextInterceptor belonged to the old Tomcat

Re: [NEWBIE] Using LoaderInterceptor11 with tomcat 4.1.24

2003-11-03 Thread Bill Barker
Julie christiana [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Can anyone lend me pointers on how to use LoaderInterceptor11 with tomcat 4.1.24 ? Urm, you can't ;-). LoaderInterceptor11 is specific to Tomcat 3.3.x. Other than some stuff in the Connectors, the architecture

Re: Newbie to Tomcat server.

2003-10-20 Thread Bogdan Brzozowski
9A 18-400 Lomza POLAND phone: +48 604 52 72 50 email: [EMAIL PROTECTED] - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 17, 2003 3:03 PM Subject: RE: Newbie to Tomcat server

Re: Newbie to Tomcat server.

2003-10-20 Thread Bogdan Brzozowski
Sorry for sending unfinished email (I don't like Microsoft software - too many shortcuts...). Thank you very much, that was exactly this problem. After adding manager role for tomcat user my application is succesfully installed and running on Tomcat server. I have another dummy question: where

RE: newbie: servlet examples work, jsp not

2003-10-20 Thread Mike Curwen
Betreff: Re: newbie: servlet examples work, jsp not hello, i tried %JAVA_HOME%\bin\javac and it works properly. Any other ideas? You don't need to set your classpath. Tomcat does that for you. You should double check that your JAVA_HOME environment variable is set

AW: RE: newbie: servlet examples work, jsp not

2003-10-20 Thread Sven Busse
hello, i am using windows xp home edition. CATALINA_HOME is the same as TOMCAT_HOME: c:\tomcat thanx sven -Ursprngliche Nachricht- Von: Mike Curwen [mailto:[EMAIL PROTECTED] Gesendet: Montag, 20. Oktober 2003 18:06 An: 'Tomcat Users List'; [EMAIL PROTECTED] Betreff: RE: newbie

RE: RE: newbie: servlet examples work, jsp not

2003-10-20 Thread Mike Curwen
the best Windows OS yet (yes, I'm sure there are Linux geeks just waiting in the wings with their comments). -Original Message- From: Sven Busse [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 11:21 AM To: 'Tomcat Users List' Subject: AW: RE: newbie: servlet examples work

AW: RE: RE: newbie: servlet examples work, jsp not

2003-10-20 Thread Sven Busse
hello, well, that would be bad. I don't have the time to re-install everything now, ... hmm ... -Ursprngliche Nachricht- Von: Mike Curwen [mailto:[EMAIL PROTECTED] Gesendet: Montag, 20. Oktober 2003 18:25 An: 'Tomcat Users List'; [EMAIL PROTECTED] Betreff: RE: RE: newbie: servlet

Re: Newbie to Tomcat server.

2003-10-20 Thread Jeff Tulley
Bogdan, This recommendation is just how you want your source code. For deployment, you would need something more like: jsp_xml\ FirstPage.jsp (could still be in jsp_xml\src, see note below) docs\ WEB-INF\ web.xml classes\ lib\ Your build.xml

RE: newbie: servlet examples work, jsp not

2003-10-19 Thread Johan Kok
JAVA_HOME or Java_Home --- I'm not usre if it makes a difference on the Windows environment, but under Unix it definitely does. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 19 October 2003 12:36 To: [EMAIL PROTECTED] Subject: newbie: servlet examples

Re: newbie: servlet examples work, jsp not

2003-10-19 Thread Ben Souther
You don't need to set your classpath. Tomcat does that for you. You should double check that your JAVA_HOME environment variable is set properly. From the command line type: %JAVA_HOME%\bin\javac You should see a menu of switches for the compiler. If not, check to see where your JAVA_HOME

Re: newbie: servlet examples work, jsp not

2003-10-19 Thread busse
hello, i tried %JAVA_HOME%\bin\javac and it works properly. Any other ideas? You don't need to set your classpath. Tomcat does that for you. You should double check that your JAVA_HOME environment variable is set properly. From the command line type: %JAVA_HOME%\bin\javac You should see

Re: Newbie to Tomcat server.

2003-10-17 Thread Holger Klawitter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 1. When I try to run Tomcat administration utility and log as usewr tomcat with password tomcat I receive http status 403, that acces to requested source is denied. Tomcat-Users have nothing to do with UNIX-Users. Tomcat maintains an own

Re: Newbie to Tomcat server.

2003-10-17 Thread Bogdan Brzozowski
PROTECTED] - Original Message - From: Holger Klawitter [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 17, 2003 12:14 PM Subject: Re: Newbie to Tomcat server. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 1. When I try to run Tomcat administration utility

RE: Newbie to Tomcat server.

2003-10-17 Thread Shapira, Yoav
Howdy, Does that tomcat user in tomcat-users.xml file have a role=manager defined? Yoav Shapira Millennium ChemInformatics -Original Message- From: Bogdan Brzozowski [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 7:33 AM To: Tomcat Users List Subject: Re: Newbie to Tomcat

Re: [NewBie]Tomcat logs

2003-10-10 Thread Tim Funk
Both can be done by simple exercises in shell scripting. -Tim Julie christiana wrote: Hi, We have tomcat 4.1.24 installed. Thanks to tomcat documentation and email archives, we understood that tomcat logs will be rotated every day. Would like to know if there we can configure the following

Re: [NewBie]Tomcat logs

2003-10-10 Thread Julie christiana
Is it possible to do this configuration in webserver itself ... I mean in server.xml ? Thanks for the help, Julie Christiana Tim Funk [EMAIL PROTECTED] wrote: Both can be done by simple exercises in shell scripting. -Tim Julie christiana wrote: Hi, We have tomcat 4.1.24 installed. Thanks

Re: [NewBie]Tomcat logs

2003-10-10 Thread Tim Funk
The AccessLogValve does not have the ability to perform the deletion of old files. You can have multiple AccessLogValves at the same time. For example: one writing to a single non-rotating log file and the other rotating nightly. -Tim Julie christiana wrote: Is it possible to do this

Re: [NewBie]Tomcat logs

2003-10-10 Thread Julie christiana
Sorry to bother you all with so many questions, but could you please send me a sample server.xml which achieves the same. Any documentation for the same would also be useful. Thanks, Julie Chritiana Tim Funk [EMAIL PROTECTED] wrote: The AccessLogValve does not have the ability to perform the

Re: [NewBie]Tomcat logs

2003-10-10 Thread Tim Funk
See the javadocs for AccessLogValve (prefereably your local version since the site is a version out of date. Any setXXX(stuff) method can be set declared in the AccessLogValve decalration. For example, there is a property called rotatable as indicated by setRotatable(boolean). This can be set

Re: Newbie question

2003-10-10 Thread Jon Wingfield
Your windoze path is probably being interpreted as a url without a protocol. The drive letter C is being interpreted as a hostname. Try with something like file:///c:\path\to\war\app.war HTH, Jon Jesús Gutiérrez Ramírez wrote: Hi, I'm new using tomcat (over windows xp) and ANT, I was

Re: Newbie Question: Tomcat 3.2.3 + JDK1.3.1_09 + Win2K

2003-10-06 Thread Graham Reeds
I just took a quick look in the CVS, and it looks like you are right. I don't know why the batch file doesn't run. At least it's not me then:-) You could try: set JAVA_HOME=c:\progra~1\jdk1.3.1_09 and see if it helps. Tried that and it didn't work. Same message as before. Thanks for

Re: Newbie Question: Tomcat 3.2.3 + JDK1.3.1_09 + Win2K

2003-10-03 Thread Bill Barker
I haven't used 3.2.x in a very very long time. My first guess would be to check the batch files. From the error you are getting, it may just not be quoting the initial Java command. Of course, it is useless to submit a bug-report, since the 3.2.x line is no longer maintained. Graham Reeds

Re: Newbie Question: Tomcat 3.2.3 + JDK1.3.1_09 + Win2K

2003-10-03 Thread Graham Reeds
Bill Barker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I haven't used 3.2.x in a very very long time. My first guess would be to check the batch files. From the error you are getting, it may just not be quoting the initial Java command. They are both in quotes - I forgot to

Re: Newbie Question: Tomcat 3.2.3 + JDK1.3.1_09 + Win2K

2003-10-03 Thread Bill Barker
Graham Reeds [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Bill Barker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I haven't used 3.2.x in a very very long time. My first guess would be to check the batch files. From the error you are getting, it may just not be

Re: newbie jasperException

2003-09-22 Thread Christopher Williams
Hi, Your JSP code is wrong. The %@ page import... % directive needs to go at the top of the page. When the Jasper compiler turns it into Java, that directive gets turned into one or more Java import statements, and you wouldn't stick those in the middle of your code. Remember, all the HTML

RE: newbie jasperException

2003-09-22 Thread Biswas, Goutam_Kumar
. Regards, Goutam -Original Message- From: Christopher Williams [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 8:00 PM To: Tomcat Users List Subject: Re: newbie jasperException Hi, Your JSP code is wrong. The %@ page import... % directive needs to go at the top of the page

RE: newbie

2003-09-17 Thread Shapira, Yoav
Howdy, Very strange indeed ;) What hardware issues did you run into? What JDK are you using? I suggest you start with a clean standalone tomcat install: keep apache and mod_jk out of the picture for now, just get tomcat working fine by itself. Yoav Shapira Millennium ChemInformatics

RE: newbie

2003-09-17 Thread Dan McCullough
I will do that. Not really sure if they were hardware issues, but that is where the fingers stopped pointing when I looked at everything involved. The early issues with this install was that downloads would seem to get corrupted when being installed on the box. j2sdk I installed 23 times

Re: Newbie- Https and Jakarta-tomcat

2003-09-06 Thread Yann Cébron
Please tell me where could I find document about creating secure website (https) using jakarta-tomcat 3.2.4 as server, JSP as programming language, and Mysql as database storage? from the TC docs regarding use of SSL http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-ssl-howto.html HTH,

RE: newbie - finding class files

2003-08-27 Thread Stuart MacPherson
What's wrong with putting them in CATALINA_HOME/common/lib? -Original Message- From: P.van Kemenade [mailto:[EMAIL PROTECTED] Sent: 26 August 2003 16:49 To: Tomcat List Subject: RE: newbie - finding class files Hi I found this old thread about extending WebdavServlet, in which Andreas

Re: newbie - finding class files

2003-08-27 Thread Pike
/lib/*jar to my webapps /WEB-INF/lib ? that should work, but it sounds ugly. On Tue, 16 Jul 2002, Andreas Probst wrote: Date: Tue, 16 Jul 2002 13:59:49 +0200 From: Andreas Probst [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: newbie - finding

RE: newbie - finding class files

2003-08-27 Thread Stuart MacPherson
] Sent: 27 August 2003 00:25 To: Tomcat Users List Subject: Re: newbie - finding class files Hi thanks for your response (sorry about the repeated post - my mistake) What's wrong with putting them in CATALINA_HOME/common/lib? well, nothing. it just sounds very ugly, having the same jar files running

Re: Newbie

2003-08-27 Thread John Turner
Without more specific information, my guess is you don't have a JkMount for /examples in your SSL VirtualHost for localhost. John Tran, Khiem (NIH/CIT) wrote: Hi, I am a newbie to Apache Tomcat. I got the instruction of the following URL. http://myweb.cableone.net/kdubuisson/Install.PDF I

Re: newbie - finding class files

2003-08-26 Thread P . van Kemenade
, Andreas Probst wrote: Date: Tue, 16 Jul 2002 13:59:49 +0200 From: Andreas Probst [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: newbie - finding class files On Mon, 15 Jul 2002, Andreas Probst wrote: Hi all, does Tomcat

RE: newbie - finding class files

2003-08-26 Thread P . van Kemenade
, Andreas Probst wrote: Date: Tue, 16 Jul 2002 13:59:49 +0200 From: Andreas Probst [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: newbie - finding class files On Mon, 15 Jul 2002, Andreas Probst wrote: Hi all, does Tomcat

RE: newbie - finding class files

2003-08-26 Thread P . van Kemenade
, Andreas Probst wrote: Date: Tue, 16 Jul 2002 13:59:49 +0200 From: Andreas Probst [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: newbie - finding class files On Mon, 15 Jul 2002, Andreas Probst wrote: Hi all, does Tomcat

RE: newbie - finding class files

2003-08-26 Thread P . van Kemenade
, Andreas Probst wrote: Date: Tue, 16 Jul 2002 13:59:49 +0200 From: Andreas Probst [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: newbie - finding class files On Mon, 15 Jul 2002, Andreas Probst wrote: Hi all, does Tomcat

Re: newbie needs help - root context not working with apache

2003-08-22 Thread John Turner
It's not working for a couple reasons, not least of which there is no servlet mapping in ROOT's web.xml file, and no entry for the default Invoker. Also, you haven't told us how you changed your JK2 properties file to match the new URL, that is, if you did so (you need to). Sooo...maybe you

Re: [newbie] Executing class files

2003-07-28 Thread Kwok Peng Tuck
You don't map class files to your folder in tomcat. You should pack everything into your own webapp directory and deploy it into the $TOMCAT_HOME/webapps directory. Here's a short article that might help you out : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html For more info

Re: Newbie : Probs tomcat 4.1.24 with apache 1.3 (sunOS)

2003-07-24 Thread srevilak
From: Olivier Marie [EMAIL PROTECTED] Subject: Newbie : Probs tomcat 4.1.24 with apache 1.3 (sunOS) Tomcat works alone (port 8080) Apache works too. When i try to display a JSP page, i obtain in mod_jserv.log : (EMERGENCY) ajp12[1]: cannot scan servlet headers (500) (ERROR) an error

Re: Newbie : Probs tomcat 4.1.24 with apache 1.3 (sunOS)

2003-07-23 Thread John Turner
Hi - First, the correct connector to use with mod_jserv is org.apache.tomcat.service.connector.Ajp12ConnectionHandler, not org.apache.ajp.tomcat4.Ajp13Connector (at least, for Tomcat 3.1 which I still use). If you're using Tomcat 4.1, my advice is to switch to mod_jk or mod_jk2. In my

Re: Newbie question on Tomcat security

2003-07-15 Thread John Turner
wondering if I can set up something similar in Tomcat? By the way, I do have an index.jsp. Thanks. - Original Message - From: Reginald Oake [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, July 14, 2003 5:58 PM Subject: Re: Newbie question on Tomcat security Hi. I'm

Re: Newbie question on Tomcat security

2003-07-14 Thread Reginald Oake
Hi. I'm not certain about this but it seems to me that it would be next to impossible to keep the html source from being viewed by someone using any browser (this is not a server side issue). The source has to be uploaded to the browser and, once it is uploaded anyone can view source on the page.

Re: Newbie question on Tomcat security

2003-07-14 Thread epyonne
] Sent: Monday, July 14, 2003 5:58 PM Subject: Re: Newbie question on Tomcat security Hi. I'm not certain about this but it seems to me that it would be next to impossible to keep the html source from being viewed by someone using any browser (this is not a server side issue). The source has

Re: Newbie question on Tomcat security

2003-07-14 Thread Reginald Oake
Hi. I don't know if this will be helpful but I have heard of people putting their JSPs and other ancilliary files inside the WEB-INF directory. I'm not sure what you have to do to make this work but it may well be worth looking into. Reg

Re: newbie question on Tomcat security

2003-07-14 Thread Bill Barker
Actually, it is easier than that: They can just go the the browser's cache folder and view it from there. As such, you should consider that your .css files are public info, and leave it at that. epyonne =) [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello All, I just developed

Re: Newbie question on Tomcat security

2003-07-14 Thread Simon Pabst
. - Original Message - From: Reginald Oake [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, July 14, 2003 5:58 PM Subject: Re: Newbie question on Tomcat security Hi. I'm not certain about this but it seems to me that it would be next to impossible to keep the html

Re: newbie - program structure

2003-06-17 Thread madhombre
I guess I am confused. I set up my workers2.properties to link to /exmaples/jsp/* then when I type in the ip/port of myu web server (NOT tomcat) /examples/jsp/dates/dates.jsp for example it comes up. SO I thought hey, you don't I copy an example into my main www dir and see if that works. for

Re: newbie - program structure

2003-06-17 Thread Yoav Shapira
Howdy, If you're just starting out with servlets/JSPs/webapps, follow the app developer's guide instead of forming bad habits ;) It's here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html Don't worry about Apache front-end and JK or other connectors for now. Just develop,

Re: newbie - program structure

2003-06-17 Thread madhombre
never mind, there are two sets of examples! doh! sorry. --- [EMAIL PROTECTED] wrote: I guess I am confused. I set up my workers2.properties to link to /exmaples/jsp/* then when I type in the ip/port of myu web server (NOT tomcat) /examples/jsp/dates/dates.jsp for example it comes up.

Re: newbie - program structure

2003-06-17 Thread madhombre
I see, thanks, very enlightning. ok, so I want to create my own directory for my applications as a root and then have my apps under here. I set this up in my server.xml file first correct? then I can reference this in the workers2.properties. I notice that the workers2.properties can be changed

Re: Newbie: Apache Tomcat Configuration.

2003-06-13 Thread John Turner
: Thursday, June 12, 2003 5:10 PM To: 'Tomcat Users List' Subject: RE: Newbie: Apache Tomcat Configuration. Muhammad You actually configure apache to call tomcat when ever it needs it - i.e tomcat runs in-process This configuration is done in your jk2 config file in the tomcat/conf directory

RE: Newbie: Apache Tomcat Configuration.

2003-06-12 Thread Sohail Muhammad
, June 11, 2003 8:37 PM To: Tomcat Users List Subject: Re: Newbie: Apache Tomcat Configuration. No, AJP is a protocol. John On Wed, 11 Jun 2003 10:32:53 -0400, Phillip Qin [EMAIL PROTECTED] wrote: Is there a connector called ajp14? -Original Message- From: Michele Neylon

RE: Newbie: Apache Tomcat Configuration.

2003-06-12 Thread Kevin Passey
Users List Subject: RE: Newbie: Apache Tomcat Configuration. Hello, i have added the following lines in my conf/server.xml file: Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ when i start

RE: Newbie: Apache Tomcat Configuration.

2003-06-12 Thread Sohail Muhammad
that im on win2k platform. Regards, Muhammad Sohail Assistant Programmer Analyst SSD, UBL I.T T Division, Karachi Voice: 90332418,90332415-6 -Original Message- From: Kevin Passey [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 5:10 PM To: 'Tomcat Users List' Subject: RE: Newbie

Re: Newbie: Apache Tomcat Configuration.

2003-06-11 Thread Michele Neylon :: Blacknight Solutions
Hello All, Newbie Question: I believe these questions have been answered before but i have not been able to grasp the procedure. 1) I want to use Tomcat 4.0 with Apache 2.0.43 . How do i integrate the two? If you look in the archive some links to tutorials were posted yesterday.

Re: Newbie: Apache Tomcat Configuration.

2003-06-11 Thread John Turner
On Wed, 11 Jun 2003 14:13:46 +0500, Sohail Muhammad [EMAIL PROTECTED] wrote: I believe these questions have been answered before but i have not been able to grasp the procedure. They're answered daily. 1) I want to use Tomcat 4.0 with Apache 2.0.43 . How do i integrate the two? With a

Re: Newbie: Apache Tomcat Configuration.

2003-06-11 Thread Jason Bainbridge
On Wed, 11 Jun 2003 20:27, John Turner wrote: 3) Is it possible to adjust both Apache and Tomcat in such a way that whenever Apache is started Tomcat starts automatically and whenever Apache stops Tomcat also shutsdown? Possible, yes. Actually accomplished in production, not that I know

RE: Newbie: Apache Tomcat Configuration.

2003-06-11 Thread Phillip Qin
Is there a connector called ajp14? -Original Message- From: Michele Neylon :: Blacknight Solutions [mailto:[EMAIL PROTECTED] Sent: June 11, 2003 5:24 AM To: [EMAIL PROTECTED] Subject: Re: Newbie: Apache Tomcat Configuration. Hello All, Newbie Question: I believe these questions

Re: Newbie: Apache Tomcat Configuration.

2003-06-11 Thread John Turner
: Re: Newbie: Apache Tomcat Configuration. Hello All, Newbie Question: I believe these questions have been answered before but i have not been able to grasp the procedure. 1) I want to use Tomcat 4.0 with Apache 2.0.43 . How do i integrate the two? If you look in the archive some links

RE: Newbie Q:How to prevent Directory listing in Tomcat?

2003-06-10 Thread Phillip Qin
In Tomcat's web.xml, under defaultServlet, change listings to false. It will disable listings for all of the webapps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: June 8, 2003 7:02 PM To: [EMAIL PROTECTED] Subject: Newbie Q:How to prevent Directory listing

RE: Newbie Q:How to prevent Directory listing in Tomcat?

2003-06-09 Thread David Legg
Hi Bob, In version 4.x Tomcat look for the file TOMCAT_HOME/conf/web.xml This file sets all the default web application settings. Look for the tag sequence: - param-namelistings/param-name And change the param-value tag below it from 'true' (the default setting) to false. Hope that helps.

RE: Newbie Q:How to prevent Directory listing in Tomcat?

2003-06-09 Thread Phillip Qin
Users List' Subject: RE: Newbie Q:How to prevent Directory listing in Tomcat? Hi Bob, In version 4.x Tomcat look for the file TOMCAT_HOME/conf/web.xml This file sets all the default web application settings. Look for the tag sequence: - param-namelistings/param-name And change the param-value

Re: Newbie Q:How to prevent Directory listing in Tomcat?

2003-06-08 Thread Tim Funk
http://tomcatfaq.sourceforge.net/configure.html -Tim [EMAIL PROTECTED] wrote: How can I prevent a client from listing the contents of my web appl. directories without having to put an 'index.html' in the base of each directory? Thanks. Bob. P.s.: I can find any solution(s) in the

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread John Turner
Hi Keith - What's the URL you're accessing? Is it one of the examples servlets, or one of your own? John On Fri, 6 Jun 2003 13:39:24 -0400, Keith Adams [EMAIL PROTECTED] wrote: Hi I've laboriously followed instructions for linking Tomcat and Apache. When I try to run a servlet through

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
List Subject: Re: newbie question: mod_jk not working Win 2000 Hi Keith - What's the URL you're accessing? Is it one of the examples servlets, or one of your own? John On Fri, 6 Jun 2003 13:39:24 -0400, Keith Adams [EMAIL PROTECTED] wrote: Hi I've laboriously followed instructions

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread John Turner
: Friday, June 06, 2003 11:27 AM To: Tomcat Users List Subject: Re: newbie question: mod_jk not working Win 2000 Hi Keith - What's the URL you're accessing? Is it one of the examples servlets, or one of your own? John On Fri, 6 Jun 2003 13:39:24 -0400, Keith Adams [EMAIL PROTECTED] wrote: Hi

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
John Thanks for getting back to me. The only log msg is in mod_jk.log and it reads: [Fri Jun 06 11:35:00 2003] [jk_ajp_common.c (1198)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 61 The error msg is below. Internal Server

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread John Turner
Can you post mod_jk.conf, server.xml, and workers.properties? Sounds to me like Tomcat isn't starting up, or there is something goofy with workers.properties. John On Fri, 6 Jun 2003 14:57:03 -0400, Keith Adams [EMAIL PROTECTED] wrote: John Thanks for getting back to me. The only log msg is

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
John Tomcat seems to start fine - no error msgs. Here's mod_jk.conf * ## Auto generated on Wed Jul 31 12:53:26 EDT 2002## IfModule !mod_jk.c LoadModule jk_module modules/mod_jk.dll /IfModule JkWorkersFile

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread John Turner
I notice that the LoadModule line in mod_jk.conf and the modJk parameter in server.xml are different, mod_jk.dll vs. mod_jk-2.0.43.dll. Can you verify that the mod_jk.conf file you posted is actually the mod_jk.conf file that Apache is loading? Also verify syntax with apache.exe -t from the

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
John You're correct in the first point. I fixed that (using the correct name mod_jk-2.0.43.dll). Yes, it's loading the mod_jk.conf, because if I run apache.exe -t from the command line and deliberately introduce an error into the mod_jk.conf, Apache reports the syntax error. When I remove

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread John Turner
Sorry, I'm stumped. Things look OK to me. Anyone else? John On Fri, 6 Jun 2003 15:35:27 -0400, Keith Adams [EMAIL PROTECTED] wrote: John You're correct in the first point. I fixed that (using the correct name mod_jk-2.0.43.dll). Yes, it's loading the mod_jk.conf, because if I run

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
, there is no listener Jeff -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 1:40 PM To: Tomcat Users List Subject: Re: newbie question: mod_jk not working Win 2000 Sorry, I'm stumped. Things look OK to me. Anyone else? John On Fri, 6 Jun 2003

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
. Thanks , Keith -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 12:46 PM To: 'Tomcat Users List' Subject: RE: newbie question: mod_jk not working Win 2000 I would suggest your answer to another user a few minutes ago. Make

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread John Turner
? I'm a newbie, remember. Thanks , Keith -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 12:46 PM To: 'Tomcat Users List' Subject: RE: newbie question: mod_jk not working Win 2000 I would suggest your answer to another user a few

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
John I'm pretty sure there's no firewall. Thanks, Keith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread BAO RuiXian
Hello, Keith Adams wrote: * ## Auto generated on Wed Jul 31 12:53:26 EDT 2002## IfModule !mod_jk.c LoadModule jk_module modules/mod_jk.dll /IfModule JkWorkersFile D:\jakarta-tomcat-4.1.18\conf\jk\workers.properties Since

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
Bao Thanks. Did so, but made no diff. Keith -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 1:09 PM To: Tomcat Users List Subject: Re: newbie question: mod_jk not working Win 2000

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Jason Bainbridge
On Sat, 7 Jun 2003 03:09, Keith Adams wrote: Connector className=org.apache.coyote.tomcat4.CoyoteConnector                port=8009 minProcessors=5 maxProcessors=75                enableLookups=true redirectPort=8443                acceptCount=10 debug=0 connectionTimeout=0                

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
-- !-- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ -- -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 2:28 PM To: Tomcat Users List Subject: Re

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread BAO RuiXian
-Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
Bao No, no errors. But the weird thing is that there is no Tomcat log - only a mod_jk log. Thanks, Keith Also are there any cannot bind to port related errors in your log files when starting up, either CATALINA_HOME\logs\localhost_date.txt or APACHE_HOME\logs\stderr.log?

RE: newbie (about http serving and security)

2003-04-03 Thread Shapira, Yoav
Howdy, 1) TomCat can be installed on a server as standalone (for example at port 8080) or inside (like a plugin) apache http web server (port 80). Is there any major differences between standalone and plugin installation? Yes, major differences. You have to install the front-end, e.g. apache,

Re: Newbie here...Need help with Tomcat

2003-04-02 Thread John Turner
On Wed, 02 Apr 2003 01:59:48 -0700, Bryan Richardson [EMAIL PROTECTED] wrote: If I run a version of Tomcat as a standalone web server, can I access a database with it or will I need to set it up with Apache to access a database? Tomcat facilitates database connections just fine. Apache is not

Re: Newbie here...Need help with Tomcat

2003-04-02 Thread Bryan Richardson
] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Newbie here...Need help with Tomcat Date: Wed, 02 Apr 2003 08:29:08 -0500 On Wed, 02 Apr 2003 01:59:48 -0700, Bryan Richardson [EMAIL PROTECTED] wrote: If I run a version of Tomcat as a standalone web server, can I access a database with it or will I

Re: Newbie here...Need help with Tomcat

2003-04-02 Thread John Turner
Message Follows From: John Turner [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Newbie here...Need help with Tomcat Date: Wed, 02 Apr 2003 08:29:08 -0500 On Wed, 02 Apr 2003 01:59:48 -0700, Bryan Richardson [EMAIL PROTECTED

Re: Newbie here...Need help with Tomcat

2003-04-02 Thread John Turner
] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Newbie here...Need help with Tomcat Date: Wed, 02 Apr 2003 08:29:08 -0500 On Wed, 02 Apr 2003 01:59:48 -0700, Bryan Richardson [EMAIL PROTECTED] wrote: If I run a version of Tomcat as a standalone web server, can I access a database with it or will I

RE: Newbie - Starting servlets at startup

2003-03-10 Thread Shapira, Yoav
Hi, No. The invoker servlet has nothing to do with servlet startup or shutdown, only with request processing. Yoav Shapira Millennium ChemInformatics -Original Message- From: pcampaigne [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 1:25 PM To: Tomcat Users List Subject:

Re: Newbie: Starting problem

2003-03-07 Thread Manolis Mavrikis
John, from a quick look I think (I am not sure if there are any differences in tomcat versions) it may have to do with your mapping. How do you call the servlet from the jsp ? what url do you use ? Hi I'm new to tomcat. I can see examples etc just fine. I've read all included docs as far

RE: Newbie: Starting problem

2003-03-07 Thread Gustavo Cebrian
Are you adding any package in your servlet? Are you building a jar file. Where are you placing your class file for the servlet. Gustavo. -Original Message- From: John Plate [mailto:[EMAIL PROTECTED] Sent: 07 March 2003 13:14 To: Tomcat Users List Subject: Newbie: Starting problem Hi

Re: Newbie: Starting problem

2003-03-07 Thread Tomcat-RND
: Friday, March 07, 2003 6:51 PM Subject: RE: Newbie: Starting problem Are you adding any package in your servlet? Are you building a jar file. Where are you placing your class file for the servlet. Gustavo. -Original Message- From: John Plate [mailto:[EMAIL PROTECTED] Sent: 07 March 2003

Re: Newbie: Starting problem

2003-03-07 Thread John Plate
Hi Thank you for the rapid help. Can you first try by directly acessing http://localhost:8080/apress/chapter2.login from the browser? If still NOT Found then your web.xml need to be reviewed. I think I tried 1 zillion of different ways to access the servlet. Your one was better than mine.

Re: Newbie: Starting problem

2003-03-07 Thread Manolis Mavrikis
just in case its more convenient to you ... you don't have to use the package name as the calling patern for your servlet. It can be anything you want as define in the url-pattern tag On Fri, 7 Mar 2003, John Plate wrote: Hi Thank you for the rapid help. Can you first try by directly

RE: newbie installation problem

2003-02-12 Thread Turner, John
Looks like you are missing a root Context. I don't use the RPM, so I can't really help much beyond that. If you post your server.xml, someone else might be able to help you. John -Original Message- From: Jon Roberts [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 1:29

RE: newbie installation problem

2003-02-12 Thread Alberto A C A S Magalhães
: quarta-feira, 12 de Fevereiro de 2003 18:43 To: 'Tomcat Users List' Subject: RE: newbie installation problem Looks like you are missing a root Context. I don't use the RPM, so I can't really help much beyond that. If you post your server.xml, someone else might be able to help you. John

RE: newbie installation problem

2003-02-12 Thread Turner, John
- From: Alberto A C A S Magalhães [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 1:42 PM To: 'Tomcat Users List' Subject: RE: newbie installation problem ** Este email assim como os ficheiros que possa ter em

<    1   2   3   4   5   6   7   8   >