kranthi_543 0 Newbie Poster

Hi All,

I am very bew to Linux and I have been given a task to integrate Apache and Tomcat.

I got a document and integrated but the output I am getting is It works.
I want to get my home page with my IP. but If I give Ip followed by 7080(full URL) I am able to see the home page.

I used jakarta-tomcat-connectors-jk2-2.0.4-src.tar.tar and
libtool-1.5.8.tar.tar.


jk2.properties:

channelSocket.port=8009
channelSocket.address=127.0.0.1
channelSocket.maxThreads=300

httpd.conf
I have added these lines..

LoadModule jk2_module libexec/mod_jk2.so

<Location "/AjaxSample">
JkUriSet worker ajp13:127.0.0.1:8009
</Location>
<Location "/AjaxSample/*">
JkUriSet worker ajp13:127.0.0.1:8009
</Location>

workers2.properties

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

# socket channel
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

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

server.xml

<Host name="192.168.139.202:7080">
	<Context path="/AjaxSample" 
	docBase=" /home/oracle/apache-tomcat-5.5.20/webapps/AjaxSample " debug="0" reloadable="true" crossContext="true"/>
	</Host>

Is there any configuration I missed, please help me out.

Regards,
Kranthi Kiran

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.