You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dave Smith <sa...@home.com> on 2026/02/18 03:30:46 UTC
Re: WebServer-Tomcat linking problem... was [cannot find file "mod_jk.conf-auto"]
I have successfully built mod_jk.so on both FreeBSD and Redhat 6.2, along
with Apache with and without dynamic modules, SSL, PHP, etc. It is
not a developer issue if you got a good compile -- it is almost certainly
a configuration issue and screw up on your part. Don't blame the code.
I will say in your defense, though, that the documentation and general
layout of things totally sucks on tomcat 3.2.1. The learning curve is
way too high. That shit should just work, period. I recently spent some
serious time trying to compile mod_jk on a box where there really ARE
developer issues (Mac OS X Public Beta, aka Darwin 1.2). It was
not doable, because the tomcat code base is not really portable to all
unix's. In contrast, I was able to build Caucho Resin's Apache
connector (which uses the GNU ./configure system) out of the box,
so Resin is what we'll be using. It's faster, too.
So I think the tomcat dev team needs to adopt something like GNU's
automake if they really want to get serious about portability. (Or get
serious about their code).
Regards,
Dave
----- Original Message -----
From: "Adam Fowler" <af...@cc.edu>
To: <to...@jakarta.apache.org>
Sent: Saturday, February 17, 2001 3:54 PM
Subject: WebServer-Tomcat linking problem... was [cannot find file
"mod_jk.conf-auto"]
> Ok,
>
> Any Developers out there?
>
> This makes 5 ppl this week having problems with varying versions of tomcat
> and varying platforms/web servers. This is all one problem.
>
> Everyone is using mod_jk.so on Apache/IIS but it just doesn't wanna let
> tomcat communicate with them. On all of the postings I've seent his
> week(ahem and am experiencing ahem) the general points are:-
>
> 1) Tomcat runs on port 8080 with no problems and serves scripts.
> 2) Everyone is using mod_jk.so
> 3) When running through the web server it just doesn't want to serve
> scripts.
>
> I believe this could be one of three problems:-
>
> 1) Tomcat is linked in wrong(I am using Mandrake 7.2 whilst my Professor
> uses Redhat 6.2 and his works)
> 2) Tomcat throws a Java run time error when communicating with mod_jk, but
> with no standard out available(terminal screen etc.) it doesn't display it
> and it isn't logged.
> 3) mod_jk is retarded and is not handling the communication correctly.
>
> Any possibilities anyone?
>
> Oh, and try doing a complete search of the computer for the file - use the
> filename mod_jk.conf* - that should find it if it is being generated, it
> might just be getting put in the wrong direction.
>
> Regards,
> Adam.
>
> ----
> Adam Fowler
> Second year Computer Science undergraduate
> University of Wales, Aberystwyth
> Carroll College, WI, USA(2000-2001)
> web: http://gucciboy.dyndns.org/aff9
> e-mail: adamfowler@chillin.co.uk
> "Every new beginning comes from some other beginning's end"
> ----
>
>
> -----Original Message-----
> From: Ratnakar Malla [mailto:donmalla@yahoo.co.in]
> Sent: Saturday, February 17, 2001 11:14 AM
> To: tomcat-user@jakarta.apache.org
> Subject: RE: cannot find file "mod_jk.conf-auto"
>
>
> Hi Adam,
> Thank you for replying. well i did start the tomcat
> server. i am using the latest build. Catalina (Tomcat
> 4.0) . Tomcat displays the following message
> ------------------------------------
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0-dev
> Starting service Tomcat-Apache
> Apache Tomcat/4.0-dev
> _____________________________________
> And further, Tomcat is working perfectly in standalone
> mode . I can access port 8080. Similarly, tomcat ,
> standalone is working fine.
> Thank You,
> Ratnakar
> --- Adam Fowler <af...@cc.edu> wrote: > I take it
> you have ran tomcat to generate the file,
> > yes?
> >
> > Adam.
> >
> > ----
> > Adam Fowler
> > Second year Computer Science undergraduate
> > University of Wales, Aberystwyth
> > Carroll College, WI, USA(2000-2001)
> > web: http://gucciboy.dyndns.org/aff9
> > e-mail: adamfowler@chillin.co.uk
> > "Every new beginning comes from some other
> > beginning's end"
> > ----
> >
> >
> > -----Original Message-----
> > From: Ratnakar Malla [mailto:donmalla@yahoo.co.in]
> > Sent: Friday, February 16, 2001 9:56 PM
> > To: Tomcat
> > Subject: cannot find file "mod_jk.conf-auto"
> >
> >
> > Hi All,
> > The documentation says that the file
> > "mod_jk.conf-auto"
> > the configuration file for mod_jk.dll, will be
> > automaticlly generated. however in my directory, i
> > cannot find any file by the specified name. can
> > someone please guide me, as to how i need to make
> > Apache talk with tomcat.
> > Thanx in Advance,
> > Bye,
> > Ratnakar
> >
> >
> ____________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.co.in address at
> > http://mail.yahoo.co.in
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email:
> > tomcat-user-help@jakarta.apache.org
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email:
> > tomcat-user-help@jakarta.apache.org
> >
>
>
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.in address at http://mail.yahoo.co.in
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
MOD_JK compiling error...
Posted by Marcel Landman <Ma...@DICgroep.nl>.
Hello all,
When I am trying to compile the mod_jk module
in the src/native/mod_jk/apache1.3 directory
of tomcat 3.3 milestone 1 on the Alpha Tru64 Unix ,
I get the following errors:
cc -DOSF1 -DMOD_SSL=208102 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-litec
cc: Error: ../common/jk_pool.h, line 116: Ill-formed parameter type list. (parm)
jk_pool_atom_t *buf,
------------------^
cc: Error: mod_jk.c, line 701: In this declaration, "jk_pool_atom_t" must speci)
jk_pool_atom_t buf[SMALL_POOL_SIZE];
------------^
cc: Error: mod_jk.c, line 702: In this statement, "buf" is not declared. (undec)
jk_open_pool(&private_data.p, buf, sizeof(buf));
------------------------------------------^
apxs:Break: Command failed with rc=1
I am using the following command:
/usr/sbin/apxs -o mod_jk.so \
-I${JAVA_HOME}/include/alpha \
-I${JAVA_HOME}/include \
-I../common \
-c *.c ../common/*.c
Can anyone tell me how to get rid of these errors to let
me compile a mod_jk module error free??
Thanks in advance!!
Kind regards,
Marcel Landman