Ooops. My server.xml file is really this instead of what was in my
first post:
<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="45009" 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>
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: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]