Let me clear a little :

I used tomcat 3.2.3 with mod_jk, and automatic configuration

I'm upgrading to tomcat 5

I got mod_jk to work nicely

The problem is the automatic generation of mod_jk.conf

- It generates the tag regarding to virtualhost, so apache is unable to read the jkMount directives.

- I tried to use my host as the tag host of name property in server xml and defaultHost of engine, but it didn't work either.

- The only way to make it work is stripping the VIrtualHost tag. The problem is that it is regenerated, unless I use it to create the initical configuration.


SO I'd tried jk2 too, using unix sockets. I'm getting the message (error?):


[Fri Apr 23 18:07:35 2004] [debug] mod_so.c(290): loaded module jk2_module
[Fri Apr 23 18:07:35 2004] [debug] ../../server/apache2/mod_jk2.c(426): mod_jk2 Create config for default server (null)


thanks for boring you... :)

Emerson


Daniel Gibby wrote:
Emerson,

I don't think many of us are understanding what it is you are asking... What are you trying to accomplish or what errors or obstacles are you trying to overcome?

Daniel Gibby

Emerson Cargnin wrote:

I'm using tomcat 5.0.19, apache 2.0.47, mod_jk...


Tomcat generates a mod_jk.conf file with the following clause before the jkmount clauses:

<VirtualHost localhost>
    ServerName localhost


With this clause, apache does not create any mapping...


This is my configuration of the listener...

Is there any other property of this configuration? The virtualhost
clause has to match with some apache configuration???


<Listener className="org.apache.jk.config.ApacheConfig" append="true"
forwardAll="false" modJk="/usr/lib/apache2/mod_jk.so"
jkworkersConfig="/home/echo/download/jakarta-tomcat-5.0.19/worker.properties"


/>






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to