It's not a secret anymore!*
The moose likes JForum and the fly likes HELP. Apache 2 more the Tomcat 5.0... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "HELP. Apache 2 more the Tomcat 5.0..." Watch "HELP. Apache 2 more the Tomcat 5.0..." New topic
Author

HELP. Apache 2 more the Tomcat 5.0...

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi all.
Please me.
I am trying to make to function the Jforum in my site.
I am not having success.
I am using the Apache 2 more the Tomcat 5.0 (Virtual host in my apache web server).
I am using Linux Fedora Core 3.
Use in Apache the jakarta-tomcat-connectors-jk2-2.0.4(mod_jk2.so)
My configuration in Apache workers2.properties:

[uri:/*.jsp]

info=Mapear as extens̵es .JSP

[uri:www.javanoroeste.com.br/*]

info=JSP examples, map requests for all JSP pages to Tomcat.

[uri:/*.page]

info=Mapear arquivos .page

My configuration in Tomcat:

<Host name="www.javanoroeste.com.br" >



path="" docBase="��?
<Logger className="org.apache.catalina.logger.FileLogger" <br /> directory="logs" prefix="javanoroeste_log." suffix=".txt" <br /> timestamp="true"/>

</Host>

Help me.

[originally posted on jforum.net by carlosfgo]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Do you have it working in Tomcat alone? I'd start with that.

Then in apache all I have for my tomcat integration is

JkMount /* prodworker1

Hope that helps,

William (aka wpietri)
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi William.
My configuration in httpd.conf of the Apache 2.0:

loadModule jk2_module modules/mod_jk2.so
...
...
<VirtualHost *:80>
DocumentRoot /home/www/javanoroeste
ServerName www.javanoroeste.com.br

</VirtualHost>

My configuration in server.conf of the TOMCAT :
<Host name="www.javanoroeste.com.br" >



path="" docBase=""
<Logger className="org.apache.catalina.logger.FileLogger" <br /> directory="logs" prefix="javanoroeste_log." suffix=".txt" <br /> timestamp="true"/>

</Host>

It helps me please
William.

Carlos FG

[originally posted on jforum.net by carlosfgo]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi! William here again. I actually had more in my Apache config than I thought. Here's what mine says:



and my jk_workers.properties looks like this:



My tomcat configuration is completely unchanged from the release version except for changing the port numbers.

I hope that's useful to you.
[originally posted on jforum.net by Anonymous]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HELP. Apache 2 more the Tomcat 5.0...
 
Similar Threads
Apache web server and Tomcat 5.0
Tomcat 5, mod_jk2 - link for manager and admin dont work
Multi Instance in Tomcat!
Tomcat + Apache first time
Invoking Servlet Tomcat 5.5.4