You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Craig R. McClanahan" <cr...@apache.org> on 2001/08/22 18:44:25 UTC

Re: From tomcat 3.2 to tomcat 4


On Wed, 22 Aug 2001, hatim wrote:

> Hi All
> i was using Tomcat 3.2 with apache , to configure tomcat i used  in httpd.conf
> include /app/jakarta-tomcat/conf/mod_jk.conf-auto
> I tried to do the same thing with tomcat 4 , but :) it doesn t work ,
> so how can i do that ?
> tomcat 4 is it very different from the 3.2 ?
>

Although it is possible to use mod_jk with Tomcat 4, you might also
investigate using mod_webapp instead.  With that, you can totally dispense
with auto-generated files, because deploying individual web applications
comes down to adding a single line to httpd.conf.  All the rest of the
configuration information is read from the web.xml file, and automatically
used to configure Apache.

Precompiled versions of mod_webapp are available for several platforms in
the same directory where you downloaded Tomcat 4.0-beta-7 from:

  http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0-b7/

Sources are available as well, if you need to build it for your platform.

> thank you !
>
> Hatim
>

Craig



Re: mod_webapp and make !!!

Posted by Pier Fumagalli <pi...@betaversion.org>.
"Bekkali Hatim - Soamaï" <hb...@soamai.com> wrote:

> Le Vendredi 24 Août 2001 13:40, vous avez écrit :
>> Quoting hatim <ha...@free.fr>:
> 
>> 
>> You downloaded the wrong version of the binary... There's one for GLIBC
>> 2.2 and one for GLIBC 2.1
>> 
> 
> Where can i find the version for Glibc 2.1 ? i didn't find it ine the
> download section .

Here:

http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0-b7/bin/

>> Your system has a broken APXS support.
> 
> how can i correct the problem ?
> i read many messages in the archive list which talk about this problem , i
> contacted many people who had this problem , and all didn t found solution
> and leaved the instal of the webapp module

What version of Apache are you using? Did you compile it on your own or you
used a pre-packaged RPM??? I believe there's something wrong with a major
Apache distribution out there...

    Pier


Re: mod_webapp and make !!!

Posted by Bekkali Hatim - Soamaï <hb...@soamai.com>.
Le Vendredi 24 Août 2001 13:40, vous avez écrit :
> Quoting hatim <ha...@free.fr>:

>
> You downloaded the wrong version of the binary... There's one for GLIBC
> 2.2 and one for GLIBC 2.1
>

Where can i find the version for Glibc 2.1 ? i didn't find it ine the 
download section .


> > make[1]: *** [mod_webapp.so] Error 127
> > make[1]: Leaving directory `/app/webapp-module-1.0-tc40b7/apache-
>
> 1.3'
>
> > make: *** [local-all] Error 2
> >
> > any idea ? any help ?
>
> Your system has a broken APXS support.

how can i correct the problem ?
i read many messages in the archive list which talk about this problem , i 
contacted many people who had this problem , and all didn t found solution 
and leaved the instal of the webapp module 

thank you for your help

Hatim


Re: mod_webapp and make !!!

Posted by Pier Fumagalli <pi...@betaversion.org>.
Quoting hatim <ha...@free.fr>:

> Hi
> 
> i have redhat 6.2 with kernel 2.2.18 ( Va linux) , apache 1.3.20 
> i tried to use the mod-webapp.so comming from 
> webapp-module-1.0-tc40b7-linux.tar.gz
> but apache didnt start because of error 
> Cannot load /usr/local/apache/libexec/mod_webapp.so into server: 
> /lib/libc.so.6: version `GLIBC_2.2' not found (required by 
> /usr/local/apache/libexec/mod_webapp.so , my glibc is 
> glibc-2.1.3-22.1
> glibc-devel-2.1.3-22.1
> and for resean dependances i can't upgrade to glibc-2.2....

You downloaded the wrong version of the binary... There's one for GLIBC 
2.2 and one for GLIBC 2.1


> then i tried ( today) to install the source of webapp to compile it ,
> from 
> CVS , i read the README.TXT , and i follow exactelly the explication :
> i can configure , but when  i type make i have this error 
> Compiling sources in /app/webapp-module-1.0-tc40b7/apache-1.3...
> make[1]: Entering directory `/app/webapp-module-1.0-tc40b7/apache-
1.3'
> Linking Apache 1.3 WebApp Module
> /app/webapp-module-1.0-tc40b7/apr/libtool: mod_webapp.lo: 
command not
> found
> make[1]: *** [mod_webapp.so] Error 127
> make[1]: Leaving directory `/app/webapp-module-1.0-tc40b7/apache-
1.3'
> make: *** [local-all] Error 2
> 
> any idea ? any help ?

Your system has a broken APXS support.

    Pier

Re: mod_webapp and make !!!

Posted by Pier Fumagalli <pi...@betaversion.org>.
"jean-frederic clere" <jf...@fujitsu-siemens.com> wrote:
> 
> Would it make sense to test this in configure and use ld/cc when apxs is
> broken?

Yes... Definitely so...

    Pier


Re: mod_webapp and make !!!

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Pier Fumagalli wrote:
> 
> "hatim" <ha...@free.fr> wrote:
> 
> > Hi
> >
> > i have redhat 6.2 with kernel 2.2.18 ( Va linux) , apache 1.3.20
> > i tried to use the mod-webapp.so comming from
> > webapp-module-1.0-tc40b7-linux.tar.gz
> > but apache didnt start because of error
> > Cannot load /usr/local/apache/libexec/mod_webapp.so into server:
> > /lib/libc.so.6: version `GLIBC_2.2' not found (required by
> > /usr/local/apache/libexec/mod_webapp.so , my glibc is
> > glibc-2.1.3-22.1
> > glibc-devel-2.1.3-22.1
> > and for resean dependances i can't upgrade to glibc-2.2....
> 
> There is a GLIBC-2.1 version available for download too...
> 
> > then i tried ( today) to install the source of webapp to compile it , from
> > CVS , i read the README.TXT , and i follow exactelly the explication :
> > i can configure , but when  i type make i have this error
> > Compiling sources in /app/webapp-module-1.0-tc40b7/apache-1.3...
> > make[1]: Entering directory `/app/webapp-module-1.0-tc40b7/apache-1.3'
> > Linking Apache 1.3 WebApp Module
> > /app/webapp-module-1.0-tc40b7/apr/libtool: mod_webapp.lo: command not found
> > make[1]: *** [mod_webapp.so] Error 127
> > make[1]: Leaving directory `/app/webapp-module-1.0-tc40b7/apache-1.3'
> > make: *** [local-all] Error 2
> >
> > any idea ? any help ?
> 
> Ah, yes.. Your APXS is screwed. For some reason (that I don't understand)
> some systems don't come with a correctly configured APXS.
> If you try to do:
>    apxs -q CC
> and
>    apxs -q LD_SHLIB
> you won't see any output, while on my system they come out correctly as "cc"
> and "ld"...

Would it make sense to test this in configure and use ld/cc when apxs is broken?

> 
>     Pier

Re: mod_webapp and make !!!

Posted by Pier Fumagalli <pi...@betaversion.org>.
"hatim" <ha...@free.fr> wrote:

> Hi
> 
> i have redhat 6.2 with kernel 2.2.18 ( Va linux) , apache 1.3.20
> i tried to use the mod-webapp.so comming from
> webapp-module-1.0-tc40b7-linux.tar.gz
> but apache didnt start because of error
> Cannot load /usr/local/apache/libexec/mod_webapp.so into server:
> /lib/libc.so.6: version `GLIBC_2.2' not found (required by
> /usr/local/apache/libexec/mod_webapp.so , my glibc is
> glibc-2.1.3-22.1
> glibc-devel-2.1.3-22.1
> and for resean dependances i can't upgrade to glibc-2.2....

There is a GLIBC-2.1 version available for download too...

> then i tried ( today) to install the source of webapp to compile it , from
> CVS , i read the README.TXT , and i follow exactelly the explication :
> i can configure , but when  i type make i have this error
> Compiling sources in /app/webapp-module-1.0-tc40b7/apache-1.3...
> make[1]: Entering directory `/app/webapp-module-1.0-tc40b7/apache-1.3'
> Linking Apache 1.3 WebApp Module
> /app/webapp-module-1.0-tc40b7/apr/libtool: mod_webapp.lo: command not found
> make[1]: *** [mod_webapp.so] Error 127
> make[1]: Leaving directory `/app/webapp-module-1.0-tc40b7/apache-1.3'
> make: *** [local-all] Error 2
> 
> any idea ? any help ?

Ah, yes.. Your APXS is screwed. For some reason (that I don't understand)
some systems don't come with a correctly configured APXS.
If you try to do:
   apxs -q CC
and 
   apxs -q LD_SHLIB
you won't see any output, while on my system they come out correctly as "cc"
and "ld"...

    Pier


mod_webapp and make !!!

Posted by hatim <ha...@free.fr>.
Hi

i have redhat 6.2 with kernel 2.2.18 ( Va linux) , apache 1.3.20 
i tried to use the mod-webapp.so comming from 
webapp-module-1.0-tc40b7-linux.tar.gz
but apache didnt start because of error 
Cannot load /usr/local/apache/libexec/mod_webapp.so into server: 
/lib/libc.so.6: version `GLIBC_2.2' not found (required by 
/usr/local/apache/libexec/mod_webapp.so , my glibc is 
glibc-2.1.3-22.1
glibc-devel-2.1.3-22.1
and for resean dependances i can't upgrade to glibc-2.2....


then i tried ( today) to install the source of webapp to compile it , from 
CVS , i read the README.TXT , and i follow exactelly the explication :
i can configure , but when  i type make i have this error 
Compiling sources in /app/webapp-module-1.0-tc40b7/apache-1.3...
make[1]: Entering directory `/app/webapp-module-1.0-tc40b7/apache-1.3'
Linking Apache 1.3 WebApp Module
/app/webapp-module-1.0-tc40b7/apr/libtool: mod_webapp.lo: command not found
make[1]: *** [mod_webapp.so] Error 127
make[1]: Leaving directory `/app/webapp-module-1.0-tc40b7/apache-1.3'
make: *** [local-all] Error 2

any idea ? any help ?

thanks you a lot

Hatim .