apache and tomcat integration error

2001-12-29 Thread Bill wu
Starting service Tomcat-Standalone Apache Tomcat/4.0.1 PARSE error at line 2 column 10 org.xml.sax.SAXParseException: Element type web-app must be declared. Starting service Tomcat-Apache Apache Tomcat/4.0.1 bill wu -- To unsubscribe: mailto:[EMAIL PROTECTED] For

tomcat/apache/linux7.1

2001-12-29 Thread Frank
I need help getting Tomcat to run with apache, I have failed on my numerous attempts. Tomcat and Apache both run fine as stand alone servers. Not together though. I downloaded mod_jk.so from the tomcat web site. I gave it the proper permissions and put it in the Apache libexec libray.

Re: tomcat/apache/linux7.1

2001-12-29 Thread David Morsberger
Frank, The default http port on tomcat is 8080. The ports 8009 and 8007 support ajp. Ajp is the protocol that apache and tomcat use to communicate. Try muaddress:8080. Are there any errors in the apache log files? What are your JKMount directives in the mod_jk.conf file? Is the workers file

RE: Problem with Tomcat 4.0.1 installer: Cannot find JDK!

2001-12-29 Thread William Tillotson
Hi. I too have experienced the same problem trying to get Tomcat 4.0.1 to install on Windows when i *do* have a valid Sun SDK (d:\jdk1.3.1_02). I have already checked the registry as I suspected that this is where the Tomcat installer is looking and the relevant entries are there - yet i am

Servlet visibility

2001-12-29 Thread Marcelo Demestri
Hi all ! I use Apache 1.3.22 and Tomcat 4.0.1 with the WARP connector mod_webapp (W2k pro and JDK 1.3.1) I have a little problem: When I request the URL http://localhost/servlet/myservlet?param1=value1param2=value2 to apache I get the 404 Page Not Found. Nevertheless, when I request

Re: problems getting warp to connect

2001-12-29 Thread John Clayton
Thanks Alessandro , this was indeed the issue. I had thought it was my web.xml file, but that was really just because I had restarted tomcat/apache in the correct order. The problem came back as soon as I started them in the wrong order ... I think/hope. John On Friday, December 28, 2001,

Re: R: startup.sh not recognized

2001-12-29 Thread Michael Burke
Vercesi Paolo wrote: I've edited all the *.sh files with joe. My version of vim opens those file in DOS-mode and so I can't remove the CR chars. I known there are some switch or configuration options that makes vim operating in a binary-like or in a unix-mode, but now I don't remember which

classloader caching resources in 4.0?

2001-12-29 Thread Richard Sand
Hi all, I have a .properties file that I use for my application configuration that I keep in WEB-INF/classes. I use getClass().getResourceAsStream(/myfile.properties) from within a bean to load the properties into a static hashtable, and I have a control servlet that can tell the bean to reload

Re: R: startup.sh not recognized

2001-12-29 Thread David Morsberger
You need to remove all carriage returns. In vi: :g/^M/s///g Where ^M is the following sequence: 'Ctrl v' followed by the 'return key' 'Ctrl v' is to insert a non-printable character and return is ^M. I am sure there are other ways to do it in vi but this works for me. Hope this helps

Re: R: startup.sh not recognized

2001-12-29 Thread David Morsberger
I wondered why the '^M' made a difference but then again I have never used the bash shell. Were you executing the script as the owner? 755 is owner executable. Execute: id ls -l startup.sh Do the id and owner match? Does 775 work? From: Michael Burke [EMAIL PROTECTED] Reply-To: Tomcat Users

Re: startup.sh : bad interpreter: Permission denied

2001-12-29 Thread James Thayer
Make sure the files in the bin directory have execute permission. On Saturday 29 December 2001 10:12 pm, you wrote: Tomcat won't start...I need some help from the experts. :-) Startup Error: bad interpreter: Permission denied and nothing in log files. Any ideas? Thanks, Tim - Redhat Linux

Help starting Tomcat 4.0 on Windows 2000

2001-12-29 Thread Simon Gottesman
Hello - I am trying to use tomcat as a standalone container for testing and learning purposes. I have installed version 4.0 on Windows 2000, but I keep getting an error on starting up Tomcat. The error is attached below. I tried changing port 8080 in server.xml. I have also set JAVA_HOME (to

How to make tomcat 4.01 work with Apache?

2001-12-29 Thread
Hello I have installed Tomcat 4.01 and Apache HTTP server on Windows 2000 and I want to make tomcat and apache work together.I have copied mod_jk.dll to the appropriate directory, and modified the configuration files, but it does not work at all. Does anyone can help me solving this