[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Jboss, Apache2 and mod_jk2



Hi,

I had exactly the same problem and it works now with method described
below (Thx Stefan). If I restart apache now, i get the following lines
(I've cutted in every line the date out):

atpdeblap:~# /etc/init.d/apache2 start
Starting web server: Apache2[Thu Jul 29 17:38:06 2004] [notice]
config.update(): done logger
[notice] config.update(): done config:
[notice] config.update(): done uriMap:
[notice] config.update(): done shm:
[notice] config.update(): done workerEnv:
[notice] config.update(): done lb:lb
[notice] config.update(): done lb:lb_1
[notice] config.update(): done channel.socket:localhost:8009
[notice] config.update(): done channel.socket:localhost:8019
[notice] config.update(): done channel.un:/opt/33/work/jk2.socket
[error] env.createBean2(): Factory error creating channel.jni:jni (
channel.jni, jni)
[error] config.update(): Can't create channel.jni:jni
[notice] config.update(): done status:
[error] env.createBean2(): Factory error creating vm: ( vm, )
[error] config.update(): Can't create vm:
[error] env.createBean2(): Factory error creating worker.jni:onStartup (
worker.jni, onStartup)
[error] config.update(): Can't create worker.jni:onStartup
[error] env.createBean2(): Factory error creating worker.jni:onShutdown
( worker.jni, onShutdown)
[error] config.update(): Can't create worker.jni:onShutdown
[notice] config.update(): done uri:/jkstatus/*
[notice] config.update(): done uri:127.0.0.1:8003
[notice] config.update(): done uri:127.0.0.1:8003/ex
[notice] config.update(): done uri:/examples
[notice] config.update(): done uri:/examples1/*
[notice] config.update(): done uri:/examples/servlet/*
[notice] config.update(): done uri:/examples/*.jsp
[notice] config.update(): done uri:/examples/*

What does those errors mean?

Thanks
Amir


> Oh, yes, It's ok now. Thank you.
>
> --- Stefan Gybas <sgybas@debian.org> µÄÕýÎÄ£º>
wymlist-dev@yahoo.com.cn wrote:
> 
>  > Restarting web server: Apache2Syntax error on
> line 5
>  > of /etc/apache2/conf.d/work ers2.properties:
>  > Invalid command '[logger]', perhaps mis-spelled
> or
>  > defined by a module not inclu ded in the server
>  > configuration
> 
> workers2.properties is not a configuration file
> snippet for Apache 2. It 
> should be placed in /etc/apache2 and referenced by
> e.g. 
> /etc/apache2/conf.d/jk.conf with this content:
> 
> JkSet config.file /etc/apache2/workers2.properties
> 
> Stefan



Reply to: