Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Inspect tomcat log file to make sure it's working.

Running tomcat at boot up

append the line to /etc/rc.d/rc.local

Code Block

tomcat5 start

tomcat logging

TODO - logging should say when it is using tcnative or not.

...

Code Block
1 <?xml version="1.0" encoding="UTF-8"?> 
2 <Server port="8005" shutdown="SHUTDOWN">

3   <GlobalNamingResources> 
4   </GlobalNamingResources> 
5   <Service name="Catalina">

6     <Connector port="8080" maxThreads="100" address="in" />

7     <Connector port="8080" maxThreads="100" address="localhost" />

8     <Connector port="8009" protocol="AJP/1.3" address="in" />

9     <Engine name="Catalina" defaultHost="localhost"> 
10       <Host name="localhost" appBase="webapps"> 
11       </Host>

12     </Engine>

13   </Service>

14 </Server>

To make this happen we must add a new line in /appliance/appliance.sh bettwen 171 and 172.

Code Block
171 config[$index]="    <Connector port=\"${_tomcat_port}\" maxThreads=\"${_max_connections}\" address=\"in\" />" && ((index++))
     config[$index]="    <Connector port=\"${_tomcat_port}\" maxThreads=\"${_max_connections}\" address=\"localhost\" />" && ((index++))

172 config[$index]='    <Connector port="8009" protocol="AJP/1.3" address="in" />' && ((index++)) 

geoserver introduction

install

...