• Post Reply Bookmark Topic Watch Topic
  • New Topic

Build the mod_jk connector

 
varun kanaujia
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using j2sdk_1.4.1_04,apache1.3.28,jakarta-tomcat-4.1.31 and mod_jk_1.2.7 connector.I want to run jsp application on port 192.168.0.1:80
.I have configure apache and tomcat successfully and checked it.
We have a problem in the building of mod_jk connector .We have run successfully the command ./configure but when we execute command "make" there is a problem

gcc: cannot specify -o with -c or -S and multiple compilations
make[1]: ***[jk_ajp12_worker.lo] Error 1
make[1]: ***[all-recursive] Error 1
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I couldn't get it working either. I cheated and used ProxyPass instead.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We added this to the Apache httpd.conf:

Where:
XXX.XXX.XXX.XXX is the machine IP, we had Apache and Tomcat running on the same box, therefore the same IP
/context is the name of the Tomcat context and the apache mapping. They can be different, we had them the same
8001 is the tomcat port.

Dave
[ December 23, 2004: Message edited by: David O'Meara ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!