Apache e Tomcat

1 resposta
L

Pessoal,

To tentando integrar o apache com o Tomcat em plataforma windows.

Separados eles funcionam sem problemas. O Tomcat processa os servlets ok.

Quando tento acessar via http://localhost/examples/servlets por exemplo, ele retorna Internal Server Error.

Este é o error log:

[Sat Aug 09 18:45:01 2003] [notice] Parent: Received restart signal -- Restarting the server.
[Sat Aug 09 18:45:01 2003] [notice] Child 2392: Exit event signaled. Child process is ending.
[Sat Aug 09 18:45:01 2003] [error] env.createBean2(): Error getting factory for [channel.socket.localhost] 8009
[Sat Aug 09 18:45:01 2003] [error] config.update(): Can't create channel.socket.localhost:8009
[Sat Aug 09 18:45:01 2003] [notice] Parent: Created child process 1248
[Sat Aug 09 18:45:01 2003] [error] env.createBean2(): Error getting factory for [channel.socket.localhost] 8009
[Sat Aug 09 18:45:01 2003] [error] config.update(): Can't create channel.socket.localhost:8009
[Sat Aug 09 18:45:01 2003] [notice] Child 1248: Child process is running
[Sat Aug 09 18:45:01 2003] [error] mod_jk child init 1 0
[Sat Aug 09 18:45:01 2003] [error] mod_jk child workerEnv in error state 2
[Sat Aug 09 18:45:02 2003] [notice] Child 1248: Acquired the start mutex.
[Sat Aug 09 18:45:02 2003] [notice] Child 2392: Released the start mutex
[Sat Aug 09 18:45:02 2003] [notice] Child 1248: Starting 250 worker threads.
[Sat Aug 09 18:45:03 2003] [notice] Child 2392: Waiting for 250 worker threads to exit.
[Sat Aug 09 18:45:03 2003] [notice] Child 2392: All worker threads have exited.
[Sat Aug 09 18:45:03 2003] [notice] Child 2392: Child process is exiting
[Sat Aug 09 18:45:51 2003] [error] lb_worker.service() all workers in error or disabled state
[Sat Aug 09 18:45:51 2003] [error] mod_jk.handler() Error connecting to tomcat 120000
[Sat Aug 09 18:51:33 2003] [error] lb_worker.service() all workers in error or disabled state
[Sat Aug 09 18:51:33 2003] [error] mod_jk.handler() Error connecting to tomcat 120000
[Sat Aug 09 18:52:58 2003] [error] lb_worker.service() all workers in error or disabled state
[Sat Aug 09 18:52:58 2003] [error] mod_jk.handler() Error connecting to tomcat 120000

Este é meu workers2.properties:

[shm]

file=C:/Apache2/logs/shm.file
size=1048576

#Exemplo de canal de socket que utiliza uma porta diferente da 8009 padrão.

[channel.socket.localhost:8009]
info=Ajp13 redirecionamento sobre socket
tomcatId=localhost:8009

[uri:/examples/*]
info=mapear o contexto /examples do Tomcat
[uri:/*.jsp]
info= Mapear arquivos .JSP

to usando o mod_jk2-2.0.43.dll

Alguém sabe o que pode resolver o problema?

1 Resposta

landir

Voce deve ter o mesmo problema que eu, aqui eu o examples do webaapp roda pelo tomcat e quando eu coloco para rodar pelo apache com o mod_jk ele da internal server error, mas ainda nao consegui arrumar isso, estou vendo a pagina do jakarta sobre o mod_jk e tentando descobrir o erro
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/installhowto.html
mas ainda nao consegui

Criado 9 de agosto de 2003
Ultima resposta 9 de ago. de 2003
Respostas 1
Participantes 2