You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thomas Gagné <tg...@wideopenwest.com> on 2003/07/02 20:44:06 UTC

How to compile mod_jk2.c

I downloaded the connector stuff and it anted fine, but I can't locate 
the instructions on how to include mod_jk2.c into Apache 2's compile. 
 Where is that hidden?


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tiomcat 4.1.24 HTTP Status 404 - The requested resource (servlet) is not available

Posted by bernd pier <nc...@netcologne.de>.
hi,
could it be, that the folder coffemy is not integrate into the server.xml. 
cause when tomcat couldn`t find all the servlets that are in this folder, 
this could be the reason.
hope that will help you a little
     bernd

At 20:10 02.07.2003 +0100, you wrote:

>I have Tomcat 4.02 working using servlets and JSP and have now installed
>Tomcat 4.1.24 as a service.
>
>When I run the web site all is fine until a servlet is called and I get
>  The requested resource (/coffeemy/servlet/ControlServlet) is not available
>
>this happens with all the servlets I use.
>
>Any suggestions please.
>
>John
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>---
>Eingehende Mail ist zertifiziert virenfrei.
>Überprüft durch AVG Antivirus System (http://www.grisoft.com/de).
>Version: 6.0.490 / Virendatenbank: 289 - Erstellungsdatum: 16.06.2003


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: HELP, HOW TO BUILD MOD_JK FROM SOURCE

Posted by John Turner <to...@johnturner.com>.
- download source

- run buildconf.sh

- ./configure --with-apxs=/path/to/your/apxs

- make

- make install

I think with RH's 2.0.40 you also need to point to APR (--with- 
apr=/some/path/to/apr I think), but I'm not sure because I don't use RH's 
2.0.40.

John

On Wed, 2 Jul 2003 21:42:57 -0400 (EDT), Dumisani Nlebgwa 
<dn...@ic.sunysb.edu> wrote:

>
> Hi guys, this is kind of stupid but does anyone know or have any good
> documentation of how I can build mod_jk from source?
> I am using redhat 9 and i use the apache2.0.40 that came with it
> and tomcat 4.1
>
> --Dumi
>
>
>
>
>
>
>
>
> 			*---------------------------------------*
> 			*	Dumisani Nlebgwa		*
> 			*	631 216 1622			*
> 			*	You can't pronounce my name?	*
> 			*	-but its so phonetic!		*
> 			*---------------------------------------*
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


HELP, HOW TO BUILD MOD_JK FROM SOURCE

Posted by Dumisani Nlebgwa <dn...@ic.sunysb.edu>.
Hi guys, this is kind of stupid but does anyone know or have any good
documentation of how I can build mod_jk from source?
I am using redhat 9 and i use the apache2.0.40 that came with it
and tomcat 4.1

--Dumi








			*---------------------------------------*
			*	Dumisani Nlebgwa		*
			*	631 216 1622			*
			*	You can't pronounce my name?	*
			*	- but its so phonetic!		*
			*---------------------------------------*


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: How to compile mod_jk2.c

Posted by Thomas Gagné <tg...@wideopenwest.com>.
Is "ant" supposed to compile it or is there a "configure" or "make" that 
creates the little beastie?

Well, inside jakarta-tomcat-connectors-4.1.24-src/jk/native2 there's a 
buildconf.sh.  After running it I had a "configure" file, which helped 
me feel at home.

. configure --with-apxs2=/usr/local/apache2/bin/apxs 
--with-tomcat41=/var/tomcat4

created the makefiles, and before I knew it, I had a mod_jk2.so.

Now, I need to find out what to do with it.

Eric J. Pinnell wrote:

>Hi,
>
>Mine was in:
>jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/jk2/apache2/mod_jk2.so
>
>-e
>
>On Wed, 2 Jul 2003, [ISO-8859-1] Thomas Gagn? wrote:
>
>  
>
>>I guess that's what I would have thought, but alas:
>>
>>find . -name 'mod_jk*'
>>./jk/native/apache-1.3/mod_jk.c
>>./jk/native/apache-1.3/mod_jk.dsp
>>./jk/native/apache-1.3/mod_jk.exp
>>./jk/native/apache-2.0/mod_jk.dsp
>>./jk/native/apache-2.0/mod_jk.c
>>./jk/native2/server/apache2/mod_jk2.dsp
>>./jk/native2/server/apache2/mod_jk2.c
>>./jk/native2/server/apache13/mod_jk2.c
>>./jk/native2/server/apache13/mod_jk2.dsp
>>./jk/xdocs/images/mod_jk.jpg
>>
>>no mod_jk2.so
>>
>>Eric J. Pinnell wrote:
>>
>>    
>>
>>>Hi,
>>>
>>>If you dl'd the source and built it sucessfully you will have the finished
>>>product, mod_jk2.so, in the build directory.  It's a DSO.  So you would
>>>copy that to the apache modules directory and load it in the httpd.conf
>>>file.
>>>
>>>-e
>>>
>>>On Wed, 2 Jul 2003, [ISO-8859-1] Thomas Gagn? wrote:
>>>
>>>
>>>
>>>      
>>>
>>>>I downloaded the connector stuff and it anted fine, but I can't locate
>>>>the instructions on how to include mod_jk2.c into Apache 2's compile.
>>>>Where is that hidden?
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>
>>>      
>>>
>>--
>>.tom
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>

-- 
.tom




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: How to compile mod_jk2.c

Posted by "Eric J. Pinnell" <er...@iCky.org>.
Hi,

Mine was in:
jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/jk2/apache2/mod_jk2.so

-e

On Wed, 2 Jul 2003, [ISO-8859-1] Thomas Gagn� wrote:

> I guess that's what I would have thought, but alas:
>
> find . -name 'mod_jk*'
> ./jk/native/apache-1.3/mod_jk.c
> ./jk/native/apache-1.3/mod_jk.dsp
> ./jk/native/apache-1.3/mod_jk.exp
> ./jk/native/apache-2.0/mod_jk.dsp
> ./jk/native/apache-2.0/mod_jk.c
> ./jk/native2/server/apache2/mod_jk2.dsp
> ./jk/native2/server/apache2/mod_jk2.c
> ./jk/native2/server/apache13/mod_jk2.c
> ./jk/native2/server/apache13/mod_jk2.dsp
> ./jk/xdocs/images/mod_jk.jpg
>
> no mod_jk2.so
>
> Eric J. Pinnell wrote:
>
> >Hi,
> >
> >If you dl'd the source and built it sucessfully you will have the finished
> >product, mod_jk2.so, in the build directory.  It's a DSO.  So you would
> >copy that to the apache modules directory and load it in the httpd.conf
> >file.
> >
> >-e
> >
> >On Wed, 2 Jul 2003, [ISO-8859-1] Thomas Gagn? wrote:
> >
> >
> >
> >>I downloaded the connector stuff and it anted fine, but I can't locate
> >>the instructions on how to include mod_jk2.c into Apache 2's compile.
> >> Where is that hidden?
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> >
> >
>
> --
> .tom
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: How to compile mod_jk2.c

Posted by Thomas Gagné <tg...@wideopenwest.com>.
I guess that's what I would have thought, but alas:

find . -name 'mod_jk*'
./jk/native/apache-1.3/mod_jk.c
./jk/native/apache-1.3/mod_jk.dsp
./jk/native/apache-1.3/mod_jk.exp
./jk/native/apache-2.0/mod_jk.dsp
./jk/native/apache-2.0/mod_jk.c
./jk/native2/server/apache2/mod_jk2.dsp
./jk/native2/server/apache2/mod_jk2.c
./jk/native2/server/apache13/mod_jk2.c
./jk/native2/server/apache13/mod_jk2.dsp
./jk/xdocs/images/mod_jk.jpg

no mod_jk2.so

Eric J. Pinnell wrote:

>Hi,
>
>If you dl'd the source and built it sucessfully you will have the finished
>product, mod_jk2.so, in the build directory.  It's a DSO.  So you would
>copy that to the apache modules directory and load it in the httpd.conf
>file.
>
>-e
>
>On Wed, 2 Jul 2003, [ISO-8859-1] Thomas Gagn? wrote:
>
>  
>
>>I downloaded the connector stuff and it anted fine, but I can't locate
>>the instructions on how to include mod_jk2.c into Apache 2's compile.
>> Where is that hidden?
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>

-- 
.tom




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: How to compile mod_jk2.c

Posted by "Eric J. Pinnell" <er...@iCky.org>.
Hi,

If you dl'd the source and built it sucessfully you will have the finished
product, mod_jk2.so, in the build directory.  It's a DSO.  So you would
copy that to the apache modules directory and load it in the httpd.conf
file.

-e

On Wed, 2 Jul 2003, [ISO-8859-1] Thomas Gagn� wrote:

> I downloaded the connector stuff and it anted fine, but I can't locate
> the instructions on how to include mod_jk2.c into Apache 2's compile.
>  Where is that hidden?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tiomcat 4.1.24 HTTP Status 404 - The requested resource (servlet) is not available

Posted by John Turner <to...@johnturner.com>.
FAQ

http://jakarta.apache.org/tomcat/faq/misc.html#invoker

John

On Wed, 2 Jul 2003 20:10:06 +0100, John Bell <jb...@btclick.com> wrote:

> I have Tomcat 4.02 working using servlets and JSP and have now installed
> Tomcat 4.1.24 as a service.
>
> When I run the web site all is fine until a servlet is called and I get
> The requested resource (/coffeemy/servlet/ControlServlet) is not 
> available
>
> this happens with all the servlets I use.
>
> Any suggestions please.
>
> John
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tiomcat 4.1.24 HTTP Status 404 - The requested resource (servlet) is not available

Posted by "Eric J. Pinnell" <er...@iCky.org>.
Hi,

Around Tomcat 4.1.12 the servlet invoker was disabled by default expect
for the examples.  In previous versions in was enabled.

You need to enable it for your application.

-e

On Wed, 2 Jul 2003, John Bell wrote:

> I have Tomcat 4.02 working using servlets and JSP and have now installed
> Tomcat 4.1.24 as a service.
>
> When I run the web site all is fine until a servlet is called and I get
>  The requested resource (/coffeemy/servlet/ControlServlet) is not available
>
> this happens with all the servlets I use.
>
> Any suggestions please.
>
> John
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Tiomcat 4.1.24 HTTP Status 404 - The requested resource (servlet) is not available

Posted by John Bell <jb...@btclick.com>.
I have Tomcat 4.02 working using servlets and JSP and have now installed
Tomcat 4.1.24 as a service.

When I run the web site all is fine until a servlet is called and I get
 The requested resource (/coffeemy/servlet/ControlServlet) is not available

this happens with all the servlets I use.

Any suggestions please.

John


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org