tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kotsiras, Alexandros" <AKotsi...@mediaondemand.com>
Subject RE: I give....
Date Fri, 28 Jul 2000 22:58:38 GMT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>RE: I give....</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Try to give full path to .dll file in the&nbsp; : </FONT>
</P>

<P><FONT SIZE=2>LoadModule jserv_module modules/ApacheModuleJServ.dll</FONT>
</P>

<P><FONT SIZE=2>In other words </FONT>
</P>

<P><FONT SIZE=2>LoadModule jserv_module &quot;c:\Program Files\Apache Group\Apache\modules\ApacheModuleJServ.dll&quot;</FONT>
</P>

<P><FONT SIZE=2>This is usually the problem when Apache does not even start (at
least according to my experience) </FONT>
</P>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Archimedes [<A HREF="mailto:Archimedes@amigafiles.com">mailto:Archimedes@amigafiles.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Friday, July 28, 2000 5:10 PM</FONT>
<BR><FONT SIZE=2>To: tomcat-user@jakarta.apache.org</FONT>
<BR><FONT SIZE=2>Subject: I give....</FONT>
</P>
<BR>

<P><FONT SIZE=2>Ok, so I'm trying to Install this TomCat stuff on apache on Windows
2000.</FONT>
<BR><FONT SIZE=2>and I start the&nbsp; Webserver without the TomCat stuff,
it works and</FONT>
<BR><FONT SIZE=2>responds... if I tell it to include the generated tomcat-apache.conf
file,</FONT>
<BR><FONT SIZE=2>and restart the server, it stops responding. And after a while
I check the</FONT>
<BR><FONT SIZE=2>Services window, it tells me Apache has stopped.. if I check
the error.log</FONT>
<BR><FONT SIZE=2>file, it gives me this every now and then:</FONT>
</P>

<P><FONT SIZE=2>[Fri Jul 28 15:32:29 2000] [error] (24)Too many open files: could
not open</FONT>
<BR><FONT SIZE=2>mime types log file d:/apache/conf/mime.types.</FONT>
</P>

<P><FONT SIZE=2>this is the tomcat-apache.conf file:</FONT>
</P>

<P><FONT SIZE=2>**************Start .conf file *******************</FONT>
<BR><FONT SIZE=2>LoadModule jserv_module modules/ApacheModuleJServ.dll</FONT>
<BR><FONT SIZE=2>ApJServManual on</FONT>
<BR><FONT SIZE=2>ApJServDefaultProtocol ajpv12</FONT>
<BR><FONT SIZE=2>ApJServSecretKey DISABLED</FONT>
<BR><FONT SIZE=2>ApJServMountCopy on</FONT>
<BR><FONT SIZE=2>ApJServLogLevel notice</FONT>
</P>

<P><FONT SIZE=2>ApJServDefaultPort 8007</FONT>
</P>

<P><FONT SIZE=2>AddType test/jsp .jsp</FONT>
<BR><FONT SIZE=2>AddHandler jserv-servlet .jsp</FONT>
<BR><FONT SIZE=2>Alias /examples D:\Apache\tomcat\webapps\examples</FONT>
<BR><FONT SIZE=2>&lt;Directory &quot;D:\Apache\tomcat\webapps\examples&quot;&gt;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; Options Indexes FollowSymLinks</FONT>
<BR><FONT SIZE=2>&lt;/Directory&gt;</FONT>
<BR><FONT SIZE=2>ApJServMount /examples/servlet /examples</FONT>
<BR><FONT SIZE=2>&lt;Location /examples/WEB-INF/ &gt;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; AllowOverride None</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; deny from all</FONT>
<BR><FONT SIZE=2>&lt;/Location&gt;</FONT>
</P>

<P><FONT SIZE=2>Alias /test D:\Apache\tomcat\webapps\test</FONT>
<BR><FONT SIZE=2>&lt;Directory &quot;D:\Apache\tomcat\webapps\test&quot;&gt;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; Options Indexes FollowSymLinks</FONT>
<BR><FONT SIZE=2>&lt;/Directory&gt;</FONT>
<BR><FONT SIZE=2>ApJServMount /test/servlet /test</FONT>
<BR><FONT SIZE=2>&lt;Location /test/WEB-INF/ &gt;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; AllowOverride None</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; deny from all</FONT>
<BR><FONT SIZE=2>&lt;/Location&gt;</FONT>
</P>

<P><FONT SIZE=2>ApJServMount /servlet /ROOT</FONT>
<BR><FONT SIZE=2>**************End .conf file *******************</FONT>
</P>

<P><FONT SIZE=2>I have the include at the very beginning of the httpd.conf file:</FONT>
</P>

<P><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># Based upon the NCSA server configuration files originally by
Rob McCool.</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># This is the main Apache server configuration file.&nbsp;
It contains the</FONT>
<BR><FONT SIZE=2>*****SNIP***********</FONT>
<BR><FONT SIZE=2># ... blah blah blah.....</FONT>
<BR><FONT SIZE=2>*****SNIP***********</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># NOTE: Where filenames are specified, you must use forward slashes</FONT>
<BR><FONT SIZE=2># instead of backslashes (e.g., &quot;c:/apache&quot;
instead of &quot;c:\apache&quot;).</FONT>
<BR><FONT SIZE=2># If a drive letter is omitted, the drive on which Apache.exe
is located</FONT>
<BR><FONT SIZE=2># will be used by default.&nbsp; It is recommended that you
always supply</FONT>
<BR><FONT SIZE=2># an explicit drive letter in absolute paths, however, to avoid</FONT>
<BR><FONT SIZE=2># confusion.</FONT>
<BR><FONT SIZE=2>#</FONT>
</P>

<P><FONT SIZE=2># ALL INCLUDES, GO HERE.</FONT>
</P>

<P><FONT SIZE=2># Include for PHP</FONT>
</P>

<P><FONT SIZE=2># Include for TomCat</FONT>
<BR><FONT SIZE=2>INCLUDE d:/Apache/tomcat/conf/tomcat-apache.conf</FONT>
<BR><FONT SIZE=2>*****SNIP***********</FONT>
</P>

<P><FONT SIZE=2>Can anybody give me clue where to look?... I new to the whole
JSP thing, and</FONT>
<BR><FONT SIZE=2>frankly I don't exactly under stand what the whole context thing
is all</FONT>
<BR><FONT SIZE=2>about either...</FONT>
</P>

<P><FONT SIZE=2>Sorry guy's &amp; gal's, I know how much you like these posts,
but I'm supposed</FONT>
<BR><FONT SIZE=2>to be learning this, and time is running out... ;)</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>Thanks...</FONT>
</P>
<BR>

<P><FONT SIZE=2>Michael L Smith</FONT>
</P>

<P><FONT SIZE=2>ALLTEL Information Services</FONT>
<BR><FONT SIZE=2>Emerging Technology Solutions</FONT>
<BR><FONT SIZE=2>(501) 220-8551</FONT>
<BR><FONT SIZE=2>Michael.L.Smith@alltel.com</FONT>
<BR><FONT SIZE=2>--</FONT>
<BR><FONT SIZE=2>The greatest programming project ever, took 6 days and 6 nights
and on the</FONT>
<BR><FONT SIZE=2>7th day the programmer rested...</FONT>
<BR><FONT SIZE=2>we've been trying to debug the bloody thing ever since</FONT>
</P>
<BR>

</BODY>
</HTML>

Mime
View raw message