tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Troy Simpson <troy_simp...@ncsu.edu>
Subject Re: Is jk2.properties even used?
Date Wed, 17 Nov 2004 23:01:10 GMT
Sorry, my workers.properties file is this instead of what I send earlier:

# workers2.properties

# Shared memory handling. Needs to be set.
[shm]
info=Scoreboard. Required for reconfiguration and status with 
multiprocess servers
file=/global/lunadg/d01/app/apache2/2.0.52/logs/shm.file
size=1048576
debug=0
disabled=0
version=0

# TCP socket
[channel.socket:localhost:45009]
info=Ajp13 forwarding over socket
tomcatId=localhost:45009
debug=0

# Announce a "status" worker
[status:status]
info=Status worker. Displays runtime information.

[uri:/jkstatus/*]
group=status:status

# Uri mapping
[uri:/MediaManager/*]
info=Map to Luna Insight Media Manager.

# Uri mapping
[uri:/BrowserInsight/*]
info=Map to Luna Insight BrowserInsight.

Troy Simpson wrote:

>
> In this example, I'm using:
> Tomcat 5.0.19
> Apache 2.0.52
> Sun Solaris 8
> jk2 2.0.4 (i think)
>
> My jk2.properties contains only this one line:
> request.registerRequests=false
>
> And apache and tomcat appears to be working just fine without a 
> problem. So I was wondering, is jk2.properties even used for setting 
> channelSocket.port, etc?
>
> Here are what the other configuration files look like:
> --------------------------------------------------
> server.xml:
> <Server port="48005" shutdown="SHUTDOWN" debug="0">
>
>  <GlobalNamingResources>
>    <!-- Used by Manager webapp -->
>    <Resource name="UserDatabase" auth="Container"
>      type="org.apache.catalina.UserDatabase"
>      description="User database that can be updated and saved">
>    </Resource>
>    <ResourceParams name="UserDatabase">
>      <parameter>
>        <name>factory</name>
>        <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
>      </parameter>
>      <parameter>
>        <name>pathname</name>
>        <value>conf/tomcat-users.xml</value>
>      </parameter>
>    </ResourceParams>
>  </GlobalNamingResources>
>
>  <Service name="Catalina">
>    <!-- HTTP CoyoteConnector -->
>    <Connector address="152.1.79.90" port="8081" />
>
>    <!-- This is here for compatibility only, not required -->
>    <Connector address="127.0.0.1" port="7999" protocol="AJP/1.3" />
>
>    <Engine name="Catalina" defaultHost="localhost">
>      <Logger className="org.apache.catalina.logger.FileLogger" />
>
>      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
>             resourceName="UserDatabase" />
>
>      <Host name="localhost" appBase="webapps" />
>    </Engine>
>  </Service>
>
> </Server>
> ---------------------------------------------------
> # workers2.properties
>
> # Shared memory handling. Needs to be set.
> [shm]
> info=Scoreboard. Required for reconfiguration and status with 
> multiprocess servers
> file=/global/lunadg/d01/app/apache2/2.0.52/logs/shm.file
> size=1048576
> debug=0
> disabled=0
> version=0
>
> # TCP socket
> [channel.socket:localhost:7999]
> info=Ajp13 forwarding over socket
> tomcatId=localhost:7999
> debug=0
>
> # Announce a "status" worker
> [status:status]
> info=Status worker. Displays runtime information.
>
> [uri:/jkstatus/*]
> group=status:status
>
> # Uri mapping
> [uri:/MediaManager/*]
> info=Map to Luna Insight Media Manager.
>
> # Uri mapping
> [uri:/BrowserInsight/*]
> info=Map to Luna Insight BrowserInsight.
> ------------------------------------------------------
>
> Thanks,
> Troy
>

-- 
Troy Simpson
  Applications Analyst/Programmer, OCPDBA, MCSE, SCSA
North Carolina State University Libraries
Campus Box 7111 | Raleigh | North Carolina
ph.919.515.3855 | fax.919.513.3330
E-mail: Troy_Simpson@ncsu.edu



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


Mime
View raw message