tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Montoro <epi4...@yahoo.co.uk>
Subject Re: Env var serverRoot or JkSet config.file
Date Sat, 26 Jul 2003 20:34:47 GMT
Sorry again, actually the path is a little more
obfuscated since our install policy is realy
non-user-friendly. But yes, paths are coordinated
between httpd.conf, workers2.properties and
jk2.properties...

serverRoot is set in a wrapper I've made for Tomcat's
startup.sh. Modifing a little catalina.sh I see
everything is correctly exported...

 --- Simon Pabst <simon.pabst@web.de> wrote: > Where
did you set "export serverRoot=/opt/apache2" ?
> (without trailing 
> slash, though that shouldn't matter since most
> unixes tolerate double 
> slashes in a path)
> It needs to be set in tomcat/bin/catalina.sh.
> 
> Besides now you say your config.file is
> /opt/httpd/conf/workers2.properties ?
> Then serverRoot should be /opt/httpd , not
> /opt/apache2
> 
> 
> At 19:17 24.07.2003 +0100, you wrote:
> >Thanks Eric, I forgot to mention is just set after
> >mod_jk2 LoadModule with full path, and file exists
> >
> >LoadModule jk2_module modules/mod_jk2.so
> >JkSet config.file
> /opt/httpd/conf/workers2.properties
> >
> >
> >  --- "Eric J. Pinnell" <eric@iCky.org> wrote: >
> Hi,
> > >
> > > I use:
> > >
> > > JkSet config.file
> > > /usr/local/apache/conf/workers2.properties
> > >
> > > you have to have the full system path in there. 
> You
> > > can't shortcut it
> > > like you can in a LoadModule statement.  (i.e.
> > > modules/mod_jk2.so)
> > >
> > > -e
> > >
> > > On Thu, 24 Jul 2003, [iso-8859-1] Ivan Montoro
> > > wrote:
> > >
> > > > Nicolas, Simon, many thanks for the previous
> > > response.
> > > > To everybody else, hi again!
> > > >
> > > > I'm a bit lost about configuration files with
> > > Apache
> > > > 2.0+Tomcat 4.1+mod_jk2... I was trying to
> lower
> > > > workers2.properties logger level to ERROR
> instead
> > > of
> > > > INFO/DEBUG, but at startup Tomcat told me:
> > > >
> > > > (error ) [jk_config_file.c (279)]
> > > config.update():
> > > > Can't find config file
> > > > ${serverRoot}/conf/workers2.properties
> > > > ( info ) [jk_config.c (251)]
> > > config.setAttribute()
> > > > Error setting config: file
> > > > ${serverRoot}/conf/workers2.properties
> > > >
> > > > I was using "JkSet config.file" at httpd.conf
> just
> > > > after "LoadModule mod_jk2". Following
> instructions
> > > > from Nicolas' documents I did a export
> > > > serverRoot=/opt/apache2/ and everything worked
> > > fine.
> > > > Did Tomcat/Apache ignored my order or I was
> doing
> > > > something wrong? I would rather prefer to have
> a
> > > > config line rather than another line in my
> mega
> > > shell
> > > > script...
> > > >
> > > > Thanks everybody
> > > >
> > > > Ivan
> > > >
> > > >
> > >
>
>________________________________________________________________________
> > > > Want to chat instantly with your online
> friends?
> > > Get the FREE Yahoo!
> > > > Messenger http://uk.messenger.yahoo.com/
> > > >
> > > >
> > >
>
>---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > tomcat-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> > > tomcat-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > >
>
>---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > > tomcat-user-help@jakarta.apache.org
> > >
> >
>
>________________________________________________________________________
> >Want to chat instantly with your online friends? 
> Get the FREE Yahoo!
> >Messenger http://uk.messenger.yahoo.com/
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
>  

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message