You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Noone Anil Kumar <an...@india.hp.com> on 2001/04/10 02:04:42 UTC

Need Help on Tomcat V4.0b

Hi ,

I am trying to configure Tomcat V4.0b3 on Win NT 4.0 with Apache 1.3.12
but found it is different form Tomcat V3.2.1 in configuration part. As
in Tomcat V 3.2.1
there is "tomcat/conf/tomcat.conf"  file to include in apache
"apache/conf/httpd.conf"  but i have n't find the same in Tomcat V4.0.

Any help in configuring Tomcat V4.0 is appreciated...

Thanks,
Anil


Re: Need Help on Tomcat V4.0b

Posted by Noone Anil Kumar <an...@india.hp.com>.
Hello ,

Thanks for your prompt reply. I have done the same but i was able to see apache
server up because when i run "/bin/startup.bat" file tomcat console is comingUp
and going down  like a flash

The configuration part what i did was

1.  /tomcat/conf/server.xml
     -- added my servlet context

  <Context path="/servlets"
                 docBase="c:/snm/hpstmgmt/webroot/servlets"
                 debug="9"
                 reloadable="true" >
   <Logger className="org.apache.catalina.logger.FileLogger"
                     prefix="CV_log." suffix=".txt"
           timestamp="true"/>
        </Context>


2.  added a file  "tomact.conf" under "/tomcat/conf/" dir
     --- using by Apache httpd.conf

3.  Set CATALINA_HOME system variable to c:\tomcatV4.0

Did i missed out any other part...

Thanks in advance,
Anil



,
"Felix A. Milovanov" wrote:

> >
> > Hi ,
> >
> > I am trying to configure Tomcat V4.0b3 on Win NT 4.0 with Apache 1.3.12
> > but found it is different form Tomcat V3.2.1 in configuration part. As
> > in Tomcat V 3.2.1
> > there is "tomcat/conf/tomcat.conf"  file to include in apache
> > "apache/conf/httpd.conf"  but i have n't find the same in Tomcat V4.0.
> >
> > Any help in configuring Tomcat V4.0 is appreciated...
> >
> > Thanks,
> > Anil
> >
>   Hello,
>
>   but what's the problem? I think the better way is to read tomcat.conf file,
> understand what each line means and write your very own lines to httpd.conf.
>
>   I used the following lines :
>
> LoadModule      jk_module       libexec/mod_jk.so
> AddModule       mod_jk.c
> JkWorkersFile   /usr/tomcat/conf/workers.properties
> JkLogFile       /usr/tomcat/logs/mod_jk.log
> JkLogLevel      warn
>
> JkMount /*.jsp ajp13
> JkMount /servlet/* ajp13
>
>   And I understand each line in this - so if I'll need to make some config,
> I can do it very easy cause I understand what to do and how to do :)))
>
>   Sincerely,
>                                                         Felix.


Re: Need Help on Tomcat V4.0b

Posted by "Felix A. Milovanov" <fe...@terasystems.com>.
> 
> Hi ,
> 
> I am trying to configure Tomcat V4.0b3 on Win NT 4.0 with Apache 1.3.12
> but found it is different form Tomcat V3.2.1 in configuration part. As
> in Tomcat V 3.2.1
> there is "tomcat/conf/tomcat.conf"  file to include in apache
> "apache/conf/httpd.conf"  but i have n't find the same in Tomcat V4.0.
> 
> Any help in configuring Tomcat V4.0 is appreciated...
> 
> Thanks,
> Anil
>
  Hello,

  but what's the problem? I think the better way is to read tomcat.conf file,
understand what each line means and write your very own lines to httpd.conf.

  I used the following lines :

LoadModule      jk_module       libexec/mod_jk.so
AddModule       mod_jk.c
JkWorkersFile   /usr/tomcat/conf/workers.properties
JkLogFile       /usr/tomcat/logs/mod_jk.log
JkLogLevel      warn

JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

  And I understand each line in this - so if I'll need to make some config,
I can do it very easy cause I understand what to do and how to do :)))

  Sincerely,
							Felix.