Hi Shanmugampl. Thanks for your answer. I've had some progress since my last mail. I can now compile the part of the mod_jk connector that ANT is responsible for, i.e. the jar files. The problem was that servlet.jar was missing in the CLASSPATH. But now I have a new problem, according to the documentation I've found, after building the jar files with ant, I should run "ant install". The problem is that ant then complains "Target 'install' does not exist in this projekt". Any idea why this is the case?
Kind regards, Ola > -----Original Message----- > From: shanmugampl [mailto:[EMAIL PROTECTED]] > Sent: den 24 juli 2002 06:10 > To: Tomcat Users List > Subject: Re: Problm. building tomcat 4.0.4 jk connector for > use with Apache 2.0.39. JDK 1.4.x? > > > I have integrated Apache2.0.39 and Tomcat4.0.4 using mod_jk. > I followed > these steps for generating mod_jk.so > > 1. Took the source available at > > http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4 > .0.4/src/jakarta-tomcat-connectors-4.0.4-src.tar.gz > > 2. Move to the <Install Dir>/jk/native directory and run the > buildconf.sh. This will create the configure file > 3. Run this file by specifying the -with-apxs option. Point > this to your > apache 2.0.39 apxs. > 4. execute the commands make and make install. > 5. You will find the mod_jk.so file created in the <Install > Dir>/jk/native/apache-2.0 directory. > > Hope this helps. > > Thanks > Shanmugam.PL > > eric wrote: > > >Ola, > > > >I get the same result only it's mod_jk.c not compatable with this > >version of > >Apache. > > > >I'm trying to get Apache 2.0.39 and Tomcat 4.0.4 to work. > > > >If you get it to work please post how you did it here. > > > >Good luck! > > > >Eric > > > > > >On Monday 22 July 2002 23:16, Ola Theander wrote: > > > > > >>Dear subscribers. > >> > >>I have a problem building the 4.0.4 JK connector so I can > integrate my > >>Tomcat installation with Apache 2. I've tested the webapp connector > >>with Apache 2.0.36 but since I upgraded to 2.0.39 I get the now > >>infamous message "mod_dev.c not compatible with...". > Therefore I like > >>to switch to the JK connector and I also hope that the JK connector > >>will work with Apache 2.0.39. There are also other reasons > why I will > >>change to the jk connector. I've learned to understand that > it's much > >>more mature and the webapp connector doesn't have any real > advantages. > >> > >>The problem is that the build process chokes since it not > able to find > >>the javax.servlets.* packages. I don't know if this is > because I use > >>JDK 1.4.0 or some kind of configuration error. I've started with > >>changing the build.properties file in the jk library. But > after trying > >>to build with Ant I figured that some helper files was > needed before > >>the build could succeed. It complained about not finding some > >>tomcat-coyote.jar file to copy, so I started the build from the > >>connector's source root folder and then it stopped when it > failed to > >>find the javax.servlets.* packages mentioned above. Am I totally on > >>the wrong track here? There where also a few messages after the > >>"Package javax.servlets does not exist" complaining about > deprecated > >>methods in the javax.servlets package but that might perhaps be an > >>inherited problem? > >> > >>Any help on this matter would be greatly appreciated. > >> > >>Kind regards, Ola Theander > >> > >> > > > > > >-- > >To unsubscribe, e-mail: > <mailto:tomcat-user-> [EMAIL PROTECTED]> > >For > additional commands, > e-mail: > ><mailto:[EMAIL PROTECTED]> > > > > > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
