tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Hartner <>
Subject Re: Tomcat 4.0.3 Apache 1.3.x and Mod_WebApp on MacOSX
Date Thu, 06 Jun 2002 18:25:43 GMT
Apologies. I have added the following to httpd.conf

#Adding Web application in Tomcat 4.0.3
WebAppConnection conn      warp  localhost:8008
WebAppDeploy     ROOT  conn  /tomcat
WebAppDeploy     examples  conn  /tomcat/examples
WebAppDeploy     manager  conn  /tomcat/manager
WebAppDeploy     webdav  conn  /tomcat/webdav
WebAppDeploy     tomcat-docs  conn  /tomcat/tomcat-docs
WebAppDeploy     XyloWeb conn /XyloWeb
WebAppInfo /webapp-info

as well as

LoadModule webapp_module libexec/httpd/

my server.xml file is : (I made my modifications bold)

<Server port="8005" shutdown="SHUTDOWN" debug="0">

   <Service name="Tomcat-Standalone">

                port="8080" minProcessors="5" maxProcessors="75"
                enableLookups="true" redirectPort="8443"
                acceptCount="10" debug="0" connectionTimeout="60000"/>

     <Engine name="Standalone" defaultHost="localhost" debug="0">

       <Logger className="org.apache.catalina.logger.FileLogger"
               prefix="catalina_log." suffix=".txt"

       <Realm className="org.apache.catalina.realm.MemoryRealm" />

       <Host name="localhost" debug="0" appBase="webapps" 

         <Valve className="org.apache.catalina.valves.AccessLogValve"
                  directory="logs"  prefix="localhost_access_log." 

         <Logger className="org.apache.catalina.logger.FileLogger"
                  directory="logs"  prefix="localhost_log." suffix=".txt"

         <Context path="/" docBase="ROOT" debug="0" reloadable="true"/>

         <Context path="/XyloWeb" docBase="XyloWeb.war" debug="0" 

         <Context path="/manager" docBase="manager"
          debug="0" privileged="true"/>

         <Context path="/examples" docBase="examples" debug="0"
           <Logger className="org.apache.catalina.logger.FileLogger"
                      prefix="localhost_examples_log." suffix=".txt"
           <Ejb   name="ejb/EmplRecord" type="Entity"
       <Environment name="maxExemptions" type="java.lang.Integer"
           <Parameter name="" 
           <Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
           <ResourceParams name="jdbc/EmployeeAppDb">
           <Resource name="mail/Session" auth="Container"
           <ResourceParams name="mail/Session">



   <Service name="Tomcat-Apache">

      port="8008" minProcessors="5" maxProcessors="75"
      acceptCount="10" debug="0"/>

     <Engine className="org.apache.catalina.connector.warp.WarpEngine"
      name="Apache" debug="0" appBase="webapps">

       <Logger className="org.apache.catalina.logger.FileLogger"
               prefix="apache_log." suffix=".txt"

       <Realm className="org.apache.catalina.realm.MemoryRealm" />




Again, sorry for not sending all information.


On Wednesday, June 5, 2002, at 09:54 PM, Pier Fumagalli wrote:

> Should I "guess" your configuration files? (Ok, a SEGV is not good, but 
> at
> least include all relevant data).
>     Pier
> "Alexander Hartner" <> wrote:
>> I am having such problems running tomcat 4.0.3 on my ibook. I can get
>> tomcat started, and I can access it via port 8080. I can also deploy my
>> war files by copying them to the webapps directory, but updates are not
>> reflected until I have restarted Tomcat. I found some advise to add
>> unpackWAR=false in my server.xml file which now allows my to reload my
>> application via the manager app (great), but now the mod_web_app
>> complains that is cannot deploy my application. In the apache_log file
>> in tomcat's log directory the error reported indicates that it cannot
>> find the directory of my webapp, which no longer exist since the war
>> file does not get extracted.
>> Before I added the unpackWAR=false I had to restart tomcat all the 
>> time,
>> which resulted in a whole list of problems by itself. I keep on getting
>> the error that my web app is not deployed, even though that my
>> application is deployed and accessible directly via port 8080.
>> I also tried to build the latest, which I succeeded
>> doing, but it did not work either. I then got error :
>> 2002-05-19 23:26:29 WarpEngine[Apache]: Mapping request
>> 2002-05-19 23:26:29 WarpHost[butterfly]: Mapping request for Host
>> 2002-05-19 23:26:30 [org.apache.catalina.connector.warp.WarpConnection]
>> Exception on socket
>> Premature packet header end
>>       at
>> org.apache.catalina.connector.warp.WarpConnection.recv(
>> 237)
>>       at
>> org.apache.catalina.connector.warp.WarpRequestHandler.handle
>> (
>>       at
>> 194)
>>       at
>> in apache_log.2002-05-19.txt and error :
>> [Sun May 19 23:26:30 2002] [notice] child pid 23875 exit signal Bus
>> error (10)
>> in /private/var/log/httpd/error_log.
>> Is anybody else having these problem, or is anybody else even using
>> tomcat on macosx ?
>> Thanks
>> Alex
> --
> [Perl] combines all the worst aspects of C and Lisp:  a billion of 
> different
> sublanguages in  one monolithic executable.  It combines the power of C 
> with
> the readability of PostScript. [Jamie Zawinski - DNA Lounge - San 
> Francisco]
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-
> For additional commands, e-mail: <mailto:tomcat-user-

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message