You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kevin Struckhoff <ke...@yahoo.com> on 2004/04/07 01:22:26 UTC

JK2 connector built and installed but is there something wrong?

After downloading the source and building it, I
finally have mod_jk2 at least loaded into Apache Web
Server 2.0.48.

However, in the docs, it says to add these 2
directives to workers2.properties:

[uri:/examples/*]
worker=ajp13:localhost:8009

When I send the browser to http://localhost/examples/,
I get a -404 error (not found).

What am I missing? Apache starts up just fine.

TIA.

=====
Thanks.

Kevin

-- Enjoy Life, Drink and Code Java!

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: JK2 connector built and installed but is there something wrong?

Posted by Nikola Milutinovic <Ni...@ev.co.yu>.
kwilding wrote:

> Hi,
>    This is a minimalistic workers2.properties. Remember to change #### to
> your ip address. It works for me on SuSE.
> Kevan
> 
> # comment these lines out in production
> [logger.apache2]
> level=DEBUG
> 
> 
> [shm]
> file=/usr/local/apache2/logs/shm.file
> size=1048576

Is this neccessary?

> # Example socket channel, override port and host.
> [channel.socket:localhost:8009]
> port=8009
> host=127.0.0.1
> 
> # define the worker
> [ajp13:localhost:8009]
> channel=channel.socket:localhost:8009
> 
> # Uri mapping
> # Add your ip address instead of ####
> [uri:####/*.jsp]
> worker=ajp13:localhost:8009
> 
> 
> # Define the communication channel 
> [channel.socket:localhost:8009]
> info=Ajp13 forwarding over socket
> tomcatId=localhost:8009
> host=127.0.0.1

Why the double definition of comm socket? Or is it appended together? Anyway, it 
should be in one section, IMHO.

> #This maps to a context test
> # in the webapps folder
> [uri:/test/*]
> worker=ajp13:localhost:8009
> info=Map the test system



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: JK2 connector built and installed but is there something wrong?

Posted by kwilding <kw...@essex.ac.uk>.
Hi,
   This is a minimalistic workers2.properties. Remember to change #### to
your ip address. It works for me on SuSE.
Kevan

# comment these lines out in production
[logger.apache2]
level=DEBUG


[shm]
file=/usr/local/apache2/logs/shm.file
size=1048576

# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# Uri mapping
# Add your ip address instead of ####
[uri:####/*.jsp]
worker=ajp13:localhost:8009


# Define the communication channel 
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
host=127.0.0.1



#This maps to a context test
# in the webapps folder
[uri:/test/*]
worker=ajp13:localhost:8009
info=Map the test system


-----Original Message-----
From: Kevin Struckhoff [mailto:kevinstruckhoff@yahoo.com] 
Sent: 07 April 2004 00:22
To: tomcat-user@jakarta.apache.org
Subject: JK2 connector built and installed but is there something wrong?


After downloading the source and building it, I
finally have mod_jk2 at least loaded into Apache Web
Server 2.0.48.

However, in the docs, it says to add these 2
directives to workers2.properties:

[uri:/examples/*]
worker=ajp13:localhost:8009

When I send the browser to http://localhost/examples/,
I get a -404 error (not found).

What am I missing? Apache starts up just fine.

TIA.

=====
Thanks.

Kevin

-- Enjoy Life, Drink and Code Java!

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org