Installation from scratch, retry2 PLS HELP!

2001-12-08 Thread louie miranda
Hi, this is my 2nd time to retry the tomcat+apache installation. 1st time, i failed =( I now compiled apache1.3.22 to support DSO. i both src and binary of tomcat, now im clueless where to start configuring it to work with apache. pls help, whats next? i would like my apache to run tomcat with i

RE: : newbie tomcat 4.0.1installation on NT

2001-12-08 Thread Brian Adams
your right I have not seen anyone with this problem. If you hava a package in your classpath that has org.apache.naming it may get confused and not see the one in your bootstrap.jar. that is why I asked what your classpath looks like. I am not sure what to do at this point :( -Origina

Re: Installing the MM MySQL driver

2001-12-08 Thread Paul DuBois
>Hi,nk > >I am using Tomcat 4.0. I want to install the MM MySQL driver from >mmmysql.sf.net. > >Firstly, in which directory should I put the file mm.mysql.jar? I >was thinking of either the lib or the classes directory but wasn't >sure. webapps/application-directory/WEB-INF/lib if you want j

Re: : newbie tomcat 4.0.1installation on NT

2001-12-08 Thread Sriram Narayanan
Hi John, I just tested my Tomcat 4 setup on my WinNT 4.0 system, and the whole thing worked just fine. Here's my config. -> JDK 1.3 -> Nothing in the JAVA_HOME\jre\lib\ext folder. -> PATH environment variable points to d:\jdk1.3.1\bin I run Tomcat 4 via the startup.bat batch file. Here's what

RE: tomcat 4.0.1 & shortname(non-8.3) CATALINA_HOME (subj docs)

2001-12-08 Thread Sriram Narayanan
Hi, Right click the "C:/Program Files/Apache Group/Apache/" folder in Windows Explorer and choose to view the properties. Among many listed is one called "MSDOS Name". This is the one that you need. Now use this where ever you need to mention folder names etc. Sriram 09/12/2001 12:03:20 PM, M

Re: Installing the MM MySQL driver

2001-12-08 Thread Sriram Narayanan
>Hi,nk I am using Tomcat 4.0. I want to install the MM MySQL driver from >mmmysql.sf.net. Firstly, in which directory should I put the file mm.mysql.jar? I >was thinking of either the >lib or the classes directory but wasn't sure. Secondly, how should I change my >classpath to include this d

Re: Installing the MM MySQL driver

2001-12-08 Thread Matt Egyhazy
lib directory of your web application or one of the auto loaded directories within the tomcat install...im not sure which is which with tomcat4 though. hth matt - Original Message - From: "Saqib Shaikh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 09, 2001 1:50 AM S

: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread John Kilbourne
While waiting for the download, I unzipped the tomcat I downloaded earlier today, and had the same results, which is what happened with the newly installled version. I un-jarred the bootstrap.jar just to be sure the Naming/jndiPermissions class was in there (it was). If the class is in the jar

secret KEY on tomcat.properties

2001-12-08 Thread louie miranda
[09/12/2001 06:52:04:738] (ERROR) wrapper: file /usr/chikkajava/conf/tomcat.properties (line 34) security.secretKey specified twice [09/12/2001 06:52:04:738] (ERROR) an error returned initializing protocol "wrapper" [09/12/2001 06:52:04:738] (ERROR) in init all protocols "wrapper" returned an erro

Installing the MM MySQL driver

2001-12-08 Thread Saqib Shaikh
Hi,nk I am using Tomcat 4.0. I want to install the MM MySQL driver from mmmysql.sf.net. Firstly, in which directory should I put the file mm.mysql.jar? I was thinking of either the lib or the classes directory but wasn't sure. Secondly, how should I change my classpath to include this driver

RE: tomcat 4.0.1 & shortname(non-8.3) CATALINA_HOME (subj docs)

2001-12-08 Thread Mike Kelley
I think I'm experiencing some of the problems you are talking about, I let the defaults decide where and how my apache and Tomcat were installed, so I've got things like C:/Program Files/Apache Group/Apache/* C:/Program Files/Apache Tomcat 4.0/* I wanted to use the short names in my conf files b

RE: RE: RE: RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread Brian Adams
BTW, Don't add anything new to the new install just unzip it and run the catalina.bat run command. classpath is used generally for .jar files it allows you to "INCLUDE" other libraries that you may need in order to compile your program. Everytime you use import at the top of your code the compi

Re: RE: RE: RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread John Kilbourne
Yes they are all System environment variables. While I've been unclear on the precise difference between the environment variable PATH and the java classpath (and the command line use of % and ; in setting the classpath), I've been using java for about 8 months without too much trouble. ---

RE: RE: RE: RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread Brian Adams
okay no choice but this now. download the ZIP file (link below) and install it in a new directory (C:\tomcat) go into that bin and try catalina.bat run. If that doesn't work throw your computer out the window!!! :) http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/jakar ta-t

Re: RE: RE: RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread John Kilbourne
I've set my classpath, no spaces: C:\>set CLASSPATH=C:\jdk1.3\src.jar;C:\jdk1.3\lib\tools.jar;. in a separate window, I once again get: C:\tomcat4\bin>catalina.bat run Using CATALINA_BASE: C:\tomcat4 Using CATALINA_HOME: C:\tomcat4 Using CLASSPATH: C:\tomcat4\bin\bootstrap.jar;C:\jdk1.3 \lib

RE: RE: RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread Brian Adams
are these System variables? right click My Computer then properties then the advanced tab then environment variables and in the System one? -Original Message- From: John Kilbourne [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 08, 2001 11:43 PM To: Tomcat Users List Subject: Re: RE:

RE: RE: RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread Brian Adams
did you make your CLASSPATH variable look like this: C:\jdk1.3\src.jar;C:\jdk1.3\lib\tools.jar;. -Original Message- From: John Kilbourne [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 08, 2001 11:43 PM To: Tomcat Users List Subject: Re: RE: RE: newbie tomcat 4.0.1installation on NT

Re: RE: RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread John Kilbourne
on resetting the path: C:\>path PATH=C:\office97 \Office;D:\Perl\bin\;D:\orant\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\ syste m32\nls\ENGLISH;C:\WINNT\system32\nls;C:\jdk1.3\bin;C:\My Documents\perl\perl.exe;C:\jdk1.3 \lib\tools.jar;C:\Dev-C++\bin\;C:\tomcat4\bin\bootstrap.jar;C:\tomcat4 \bin\;

RE: RE: RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread Brian Adams
You have PATH stuff in our classpath I am not sure why you have: C:\My Documents\perl\perl.exe D:\Perl\bin\;D:\orant\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32 \nls\ENGLISH;C:\WINNT\system32\nls C:\Dev-C++\bin\ All of these should only be in your PATH variable not CLASSPATH remove them and m

Re: RE: RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread John Kilbourne
Here's my environment variable PATH. I generally don't invoke the classpath on the command line: D:\Perl\bin\;D:\orant\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32 \nls\ENGLISH;C:\WINNT\system32\nls;C:\jdk1.3\bin;C:\My Documents\perl\perl.exe;C:\jdk1.3\lib\tools.jar;C:\Dev-C++\bin\; I copie

Re: Problems connecting to mysql

2001-12-08 Thread Paul DuBois
>At 4:07 PM +1100 12/9/01, Tim Trainor wrote: >>Dear all, >> >>I've been tearing my hair out trying to get this thing to work for >>the last couple of days and I fear there is no alternative other >>than to bug you list gurus for some help: Here goes >> >>I have Tomcat 4.0.1 installed and i

Re: Problems connecting to mysql

2001-12-08 Thread Paul DuBois
At 4:07 PM +1100 12/9/01, Tim Trainor wrote: >Dear all, > >I've been tearing my hair out trying to get this thing to work for >the last couple of days and I fear there is no alternative other >than to bug you list gurus for some help: Here goes > >I have Tomcat 4.0.1 installed and it's exam

RE: RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread Brian Adams
okay now! what does your classpath look like? The class not found is org.apache.naming.JndiPermission this is in the bootstrap.jar file which means that it is not seeing this. does your clasapath have a ";." which would include the present directory? I see that it says it is using it nut it does

Problems connecting to mysql

2001-12-08 Thread Tim Trainor
Dear all, I've been tearing my hair out trying to get this thing to work for the last couple of days and I fear there is no alternative other than to bug you list gurus for some help: Here goes I have Tomcat 4.0.1 installed and it's examples run. I have mysql 3.23.46 installed and it is r

Re: RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread John Kilbourne
Brian: I have been using either command line "startup" and "shutdown" from the tomcat\bin directory, or double-clicking on the respective .bat files. When I followed your suggestion, i got a slew of command line errors: C:\tomcat4\bin>catalina.bat run Using CATALINA_BASE: C:\tomcat4 Using CATA

RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread Brian Adams
John, this is strange. How do you start tomcat? Are you at a command prompt? Who are you logged in as? Administrator? What are the permissions on the folders? Anything to constrained for the user? Erase all the log files in the log directory. >From the command line go into tomcat bin and type "ca

newbie tomcat 4.0.1installation on NT

2001-12-08 Thread John Kilbourne
There were no java processes going that I could determine. I changed the server.xml file as you suggested, but the log file was no more revealing, and there were no exception messages or warnings at the command line. I'm sure I have no previous (from last week) tomcat sessions running because

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Micael Padraig Og mac Grene
At 06:10 PM 12/8/01 -0800, you wrote: >I agree that there are workarounds -- there are always workarounds -- but >Tomcat is the RI, so this is the place where we're supposed to figure this >stuff out. > >I guess my argument is that Tomcat is being more restrictive than the spec >requires it to be.

RE: RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread Brian Adams
john make sure there are no java processes running. check to see if there are any and if so kill them then try to start Tomcat. -Original Message- From: John Kilbourne [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 08, 2001 8:27 PM To: Tomcat Users List Subject: Re: RE: newbie tom

RE: RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread Brian Adams
I can't see anything here can you change your debugs to = 1 You may want to change all debug=0 to debug=1 in the file. These Lines : To these lines: Try and start it and see if it gives more information. Do you have an old tomcat process running from a week ago? Let me know if the

Re: RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread John Kilbourne
I changed my path to C:\tomcat4, but no luck on restart. -- To unsubscribe: For additional commands: Troubles with the list:

Re: RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread John Kilbourne
My server.xml is unchanged since I re-installed tomcat. Here are it and netstat. (Thank you for helping): C:\>netstat -a Active Connections Proto Local Address Foreign AddressState TCPnt02740:1350.0.0.0:0 LISTENING TCPnt02740:135

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Jeff Kilbride
I agree that there are workarounds -- there are always workarounds -- but Tomcat is the RI, so this is the place where we're supposed to figure this stuff out. I guess my argument is that Tomcat is being more restrictive than the spec requires it to be. Whether that's acceptable or not is ultimat

RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread Brian Adams
if you want send us a copy of the output from the command netstat -a and send us your server.xml file. B -Original Message- From: John Kilbourne [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 08, 2001 6:01 PM To: [EMAIL PROTECTED] Subject: newbie tomcat 4.0.1installation on NT I re

RE: newbie tomcat 4.0.1installation on NT

2001-12-08 Thread Brian Adams
Hi John, It really looks as if something already has that port number or one of the ports that are defined in your server.xml netstat -a will give you a full print out of all the ports in use. A few posts ago (earlier today ) someone wrote in and said that paths to CATALINA with anything greater t

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Jeff Kilbride
Ok, but what happens if you don't have control of the included file? Your database or other source produces dynamic reports for you and you need to include them into your JSPs. My question is this: if nearly every webserver on the planet can use a default MIME type of text/html, why can't this? T

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Micael Padraig Og mac Grene
At 03:53 PM 12/8/01 -0800, you wrote: >If it does use PrintWriter to write the output, then it makes sense for >it to only output text. See this from the PrintWriter javadoc: > >Print formatted representations of objects to a text-output stream. >This class implements all of the print methods foun

newbie tomcat 4.0.1installation on NT

2001-12-08 Thread John Kilbourne
I recently installed tomcat, and ran the example servlets. A week later, I receive "This page cannot be displayed" on attempts to run the examples or load http://localhost:8080. I ultimately re- downloaded the binaries and reset my PATH variables CATALINA_HOME, JAVA_HOME, and TOMCAT_HOME. I cha

Re: Unable to include *.sum files (Again)

2001-12-08 Thread August Detlefsen
If it does use PrintWriter to write the output, then it makes sense for it to only output text. See this from the PrintWriter javadoc: Print formatted representations of objects to a text-output stream. This class implements all of the print methods found in PrintStream. It does not contain meth

RE: Filter ResponseWrapper not being called by DefaultServlet

2001-12-08 Thread Luke Studley
Also if I use a named dispatcher to call the DefaultServlet it does not use the HttpServletResponse object I send it. Surely this is wrong?! Anybody else find this behaviour? Anybody else successfully place response filters on static resources? Regards Luke -Original Message- From: L

Re: problems configuring JNDIRealm

2001-12-08 Thread Dmitry Beransky
On Sat, 8 Dec 2001, Craig R. McClanahan wrote: > There will not be any LDAP activity until you actually *submit* the login > screen. That's what I meant. I'm sorry, I should've been more explicit. I do submit the credentials and get another 401 back. Meanwhile, there is no activity on t

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Micael Padraig Og mac Grene
At 02:51 PM 12/8/01 -0800, you wrote: >I don't think the spec is that detailed -- I mean, it doesn't come out and >say the "page" attribute of jsp:include has to follow the requirements of >the JspWriter. So, I don't know the answer to that. > >Remember though, we're talking about included files -

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Jeff Kilbride
I don't think the spec is that detailed -- I mean, it doesn't come out and say the "page" attribute of jsp:include has to follow the requirements of the JspWriter. So, I don't know the answer to that. Remember though, we're talking about included files -- by their very nature, they don't necessar

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Micael Padraig Og mac Grene
At 01:27 PM 12/8/01 -0800, you wrote: >I'm not so sure. The JSP spec doesn't say anything about having to register >the MIME type of a file before using it in a jsp:include directive. Consider >how difficult that would be if you were generating dynamic filenames with >extensions like ".001", ".002

Filter ResponseWrapper not being called by DefaultServlet

2001-12-08 Thread Luke Studley
Hi I'm attempting to wrap HttpServletResponse in my filter to capture output for XSLT styling. This used to work when I generated the XML out of my own Servlet but now I want to pick it up from a file served by the Default servlet - and my response wrapper is not getting called. I have tried wr

RE: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems

2001-12-08 Thread Brian Adams
cool. I don't think it has anything to do with cygwin. If I double click the install.exe I get the error. The install some how is looking/or not looking for some other determining fact that jdk is installed. :( Glad your up and working though I'll keep an eye on the list and see what others

RE: HELP ON TOMCAT WITH APACHE

2001-12-08 Thread Brian Adams
did you add LoadModule and AddModule lines in the httpd.conf file? are they correct? (.so) I put my WebAppConnection conn warp localhost:8008 and WebAppDeploy examples conn /examples at the very end of "standard" httpd.conf file and it worked fine except for loading gif files. I am certain there i

tomcat 4.0.1 & shortname(non-8.3) CATALINA_HOME

2001-12-08 Thread David C. Hochrein
Hello All, I'm seeing some odd behavior with Tomcat 4.0.1 on NT/2k and installation directories containing anything greater than 8.3 naming. I'd like to know if anyone else has seen this or if perhaps this is a known issue. I originally noticed this problem because the examples & manager webapp

RE: ONE More Time! why does Tomcat 4 work this way

2001-12-08 Thread Brian Adams
Since then I have left all my WebApp module information in my config files but I then installed good old mod_jk and it works fine with mod_jk. I left all the webapp stuff so I could replace the module and warp jar at a later date when it is configured correctly. -Original Message- From

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Jeff Kilbride
I'm not so sure. The JSP spec doesn't say anything about having to register the MIME type of a file before using it in a jsp:include directive. Consider how difficult that would be if you were generating dynamic filenames with extensions like ".001", ".002", ".003", etc... You could potentially ha

RE: HELP ON TOMCAT WITH APACHE

2001-12-08 Thread William Tansill
I think you need to include your WebApp lines either prior to, or within your Virtual Hosts section. -Original Message- From: Ravi Reddy [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 9:21 AM To: [EMAIL PROTECTED] Subject: RE: HELP ON TOMCAT WITH APACHE Thanks for the

RE: ONE More Time! why does Tomcat 4 work this way

2001-12-08 Thread William Tansill
Yes, I'm getting the same "reset by peer" errors, as well as socket exceptions. I have no explanation. I'm new to the community as well, so I don't have a lot of experience in this area. My setup: Apache 1.3.22 Tomcat 4.01 mod_webapp.so (and the .dll file required by Windows) in the directory

Re: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems

2001-12-08 Thread David McLure
I've confirmed that using the tomcat 4.1.0 zip file seems to work fine (so far anyway) on XP Home with Cygwin. It might be interesting to know whether anyone is able to run the tomcat 4.0.1 exe on XP without Cygwin installed. Brian Adams wrote: > I just tried the executable that I did not delet

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Micael Padraig Og mac Grene
At 08:22 PM 12/7/01 -0800, you wrote: >Yeah, see my last post. Since JSP output is written with a PrintWriter, the >Catalina code is restricting it to only being able to output known text/* >MIME types. This just doesn't "feel" right to me. > >Thanks, >--jeff Well, jeff, then it is not a "bug".

Tomcat on Mac OS X

2001-12-08 Thread Paul DuBois
Apple has posted an article on running Tomcat under Mac OS X: http://developer.apple.com/internet/macosx/tomcat1.html It even discusses how to accomplish Apache/Tomcat integration. :-) -- To unsubscribe: For additional commands: Troubles w

Passing extra credentials

2001-12-08 Thread Luke Studley
I have a login mechanism which requires multiple pieces of information from the user - not just user password. Is it possible (in an easy fashion) to pass multiple request parameters to a configured Form Login page authenticator? I.e. in addition to just the j_username and j_password parameters?

Re: problems configuring JNDIRealm

2001-12-08 Thread Craig R. McClanahan
There will not be any LDAP activity until you actually *submit* the login screen. That's when JNDIRealm is called to check the submitted username and password. The logic that decides you need to be authenticated, and then displays the login page, is in the Authenticator, not the Realm. Craig

RE: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems

2001-12-08 Thread Brian Adams
I just tried the executable that I did not delete and it gave me the error. so I must have installed that zipped version. THIS MUST BE A BUG WITH THE INSTALL.exe ANYONE ELSE HAVING PROBLEMS?? Brian -Original Message- From: David McLure [mailto:[EMAIL PROTECTED]] Sent: Saturday, Dec

Re: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems

2001-12-08 Thread David McLure
Yes, I meant to mention that I also tried setting the JAVA_HOME variable using the NT-style Advanced Control Panel GUI (instead of slamming it into the autoexec.bat). I also downloaded the zip and I assume that will work just fine, but I thought it might be interesting to the developers that the

RE: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems

2001-12-08 Thread Brian Adams
David, I really can not remember how I fixed it. Did you right click on myComputer and select properties and then select advanced and select the environment variables botton? if not add it there under system variables. sorry if you've done this just being specific. I also remember donw loading j

Re: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems

2001-12-08 Thread David McLure
Thanks Brian, I think you are probably right that it is something to do with my java_home environment variable, but I can't seem to find a typo. I am getting the following error in a pop-up window when trying to run the tomcat install executable program (jakarta-tomcat-4.0.1.exe) : "Couldn't fin

Applets with TOMCAT

2001-12-08 Thread longinus
Hi, You helped with applets some weeks ago. Now I have another problem, and would be nice if you could help me. Do you know how to configure tomcat so that it would send an applet when it is requested by the browser? I checked that applet on apache, and everything works, but when I get it from

problems configuring JNDIRealm

2001-12-08 Thread Dmitry Beransky
Hi, I'm trying to configure use the JNDIRealm for authentication with Tomcat 4.0. I've added the JNDI realm to the local host server of the Calalina engine in server.xml file, as per the HOW-TO: ldap://prod.domain.com:389"; roleBase="dc=roles,dc=roles,d

tomcat 4.0.1 with iis5 in win2k

2001-12-08 Thread Ronaldim
My tomcat is working in 8080 and in the iis5 the isapi filter is ok (it's green). But the jsp and servlets is not filtering by the iis. I want to test the examples. I must to copy the examples directory or there is a way that iis read the directory of the tomcat? I used the following guide http:

Again: configuring a DB connection pooling for Oracle on Tomcat4

2001-12-08 Thread Amine AMAR
Hi all, I have this issue open for a while but no clue :( I'm just resending it in case someone did not already read it. I need to use a database connection pooling for Oracle 817 with tomcat 4. I made all the configuration described in the documentation, but it still does not work. I went thr

Re: Unable to start tomcat 4

2001-12-08 Thread Amine AMAR
hi, the error you're having is caused by the absence of the JNDI package in JDK1.2 (you can though download it from java's website (java.dun.com)). since JDK1.3, the package is included in standard in JSDK and need not be added. - Original Message - From: "Emil Diego" <[EMAIL PROTECTED

RE: IIS Ajp13 error

2001-12-08 Thread Reynir Hübner
my understanding of this system.out is that it´s ok, it´s only a debug. in the most recent version of tomcat, and the redirector this has been fixed and it does not print this line out. but you dont need to worrie about this... You can search the message archive, Henry Gomez has explained this p