Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

HELP. Apache 2 more the Tomcat 5.0...

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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]
 
reply
    Bookmark Topic Watch Topic
  • New Topic