Hi John,

Thanks for the script, it helped a lot. But one question. For the jar file
build you have a step "edit build.properties". I had a look around the
directories to see if there was an expalnation on what goes there but could
not find anything. The build.xml suggests that I should have a jsse1.0.2
directory off the ./ base directory, which there aint. There is however the
jmx.jar in the right place. The puretls.jar does nto seem to there either.

You missed the buildconf.sh steps for the /native directory instructions. I
skipped the steps for 1.3 that required apxs. I discovered that the Mandrake
8.2 distro leaves it out of apache 1.3.23 they install, nice of them. I
don't need support for 1.3 so assume this is OK.

Regards

David

-----Original Message-----
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: 26 September 2002 15:27
To: 'Tomcat Users List'
Subject: RE: Urgent, no website until Apache 2.0.42 works with Tomcat
4.1.12



No problem, I understand how things can get.

OK, lets see....

- for future reference, you can always put tomcat in another directory, then
just change CATALINA_HOME.  I actually use a symlink for CATALINA_HOME
(/usr/local/tomcat) then just change the symlink as needed to point to the
appropriate jakarta-tomcat directory.  For example:

drwxr-xr-x   13 root     root         4096 Aug 20 10:42 jakarta-tomcat-4.0.4
drwxr-xr-x   11 root     root         4096 Sep  6 13:25
jakarta-tomcat-4.1.10
lrwxrwxrwx    1 root     root           21 Sep  6 13:29 tomcat ->
jakarta-tomcat-4.1.10

- here is a VERY rough build HOWTO for 4.1.10 connector sources, against
both Apache 1.3 and Apache 2 on RedHat.  It's very rough, I haven't had time
to clean it up prior to posting, but it might help.  You need to run
buildconf.sh to get a configure file to show up.  There is an ant build
process, but that can be ignored, as far as I know (the AJP13 JARS are part
of tomcat-ajp.jar which is included in Tomcat 4.0.4, but I don't see it in
4.1.10...I don't have confirmation though that it is required to go through
the ant process.  Even if you do, the ant process is broken, as there is no
install object in build.properties, so 'ant install' does nothing).  Here's
the rough HOWTO, for 4.1.10.  My apologies for not having one for 4.1.12
yet, but I'm swamped and don't have the time right now to deal with the
latest versions:

ANT SIDE:
- cd connector-home/util
- cp build.properties.sample build.properties
- run ant

- edit build.properties
- create connector-home/coyote/build
- create connector-home/coyote/build/lib
- cp tomcat-coyote.jar from 4.1.10/server/lib to
connector-home/coyote/build/lib

- run ANT in connecto-home/jk
- docs say to run ANT INSTALL but there is no target named "install" in
build.xml ((FIXME))

APACHE/BINARY SIDE:

IN /usr/local/packages/jakarta-tomcat-connectors-4.1.10-src/jk/native2:

 chmod 755 buildconf.sh
 ./buildconf.sh
 ./configure --with-apxs=/usr/local/apache/bin/apxs
--with-apxs2=/usr/local/apache2/bin/apxs --with-java-home=${JAVA_HOME}
--with-tomcat41=${CATALINA_HOME}
 make
 ./libtool --finish /usr/local/apache2/modules

leaves this:
/usr/local/packages/jakarta-tomcat-connectors-4.1.10-src/jk/build/jk2/apache
2/mod_jk2.so

IN /usr/local/packages/jakarta-tomcat-connectors-4.1.10-src/jk/native:

 ./configure --with-apxs=/usr/local/apache2/bin/apxs
--with-java-home=${JAVA_HOME}
 make

leaves this:
/usr/local/packages/jakarta-tomcat-connectors-4.1.10-src/jk/native/apache-2.
0/mod_jk.so

 ./configure --with-apxs=/usr/local/apache/bin/apxs
--with-java-home=${JAVA_HOME}
 make

leaves this:
/usr/local/packages/jakarta-tomcat-connectors-4.1.10-src/jk/native/apache-1.
3/mod_jk.so

Hope this helps.

John



> -----Original Message-----
> From: David Wynter [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 26, 2002 10:20 AM
> To: Tomcat Users List
> Subject: RE: Urgent, no website until Apache 2.0.42 works with Tomcat
> 4.1.12
>
>
> Hi John,
>
> Sorry about the etiquette. You get to feeling a bit desparate when the
> documentation overwhelms you with its volume and
> ineffectiveness. I found it
> difficult to test because I only have one Linux box and the
> 4.1.12 replaces
> the 4.0.4 in the /var/tomcat4 directory. I should have zipped
> up the whole
> thing in hindsight, but for me to maintain a standard install
> I was going to
> have to endure this day of hell trying to get the thing to
> work. Gurus may
> not have  a problem but this is my second install of
> httpd+tomcat and the
> first took 5 days to get working.
>
> My install of Apache 2 is in /usr/local/apache2 I managed to build for
> jakarta-tomcat-connectors webapp. But I think I need to build
> in the jk
> directory, there is no .configure file there ( as there
> should be according
> to the aphowto )and it seems to have an ant build process.
> The documentation
> does not mention this at all. There is also no
> mod_jk.conf-auto file. so is
> it an ant build for jk now? Is there documentation on how it is done.
>
> Thanks
>
> David
>
> -----Original Message-----
> From: Turner, John [mailto:[EMAIL PROTECTED]]
> Sent: 26 September 2002 14:45
> To: 'Tomcat Users List'
> Subject: RE: Urgent, no website until Apache 2.0.42 works with Tomcat
> 4.1.12
>
>
>
> First, putting "urgent" in the subject line isn't good etiquette.
>
> Second, test first before deploying.
>
> Third, a mod_jk.so compiled for Apache 1.3 will not work with
> Apache 2.0.
>
> Fourth, apxs is always in the Apache bin directory.  On a
> *nix box it would
> be something like /usr/local/apache/bin/apxs.  If it's not there, your
> install of Apache is screwed up.
>
> John
>
> > -----Original Message-----
> > From: David Wynter [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 26, 2002 9:40 AM
> > To: 'Tomcat Users List'
> > Subject: Urgent, no website until Apache 2.0.42 works with
> > Tomcat 4.1.12
> >
> >
> > I replaced Tomcat 4.0.4 and httpd 1.3.23 becuase it had
> > IllegalStateException problems. Now my website is off line as
> > the install of
> > Apache 2.0.42 with Tomcat 4.1.12 does not work.
> >
> > I used my original workers.properties. I added "LoadModule jk_module
> > modules/mod_jk.so" to httpd.conf. The server.xml already has
> > a section for
> > the 8009 port connector. I copied my mod_jk.so from my old
> > Apache 1.3.23
> > modules directory to the new /usr/local/apache2/modules directory.
> > Separately I built the jakarta-tomcat-connectors-4.1.12 from
> > source but the
> > system could not find apxs. I looked for somewhere to
> > download apxs and
> > could not find it.
> >
> > I read an email on the list that said the mod_jk works with
> > the new coyote
> > conenctor stuff. But it does not seem to do so for me.
> >
> > Also whenever I "service stop tomcat4" I get a
> > "java.net.ConnectException:
> > Connection refused" stack trace.
> >
> > Not sure what to do next, any ideas?
> >
> > Thanks
> >
> > David Wynter
> >
> > roamware Ltd.
> > (+44) (0) 208 922 7539 B.
> > (+44) (0) 7879 605 706 M.
> > [EMAIL PROTECTED]
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[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]>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[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]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to