Re: How can I compile Mod_jdk2 ?

2003-12-19 Thread William Marques
Hi, Chris!

Well, I made it!
Now I have my mod_jsk2.so. Then I copy to $APACHE_HOME/modules, and put
a line in the end of my httpd.conf, just the same way I sought in the
Apache-Tomcat HOWTO.


>> Include $TOMCAT_HOME/conf/jk/mod_jk.conf-auto

Then I'll have to start Tomcat before Apache 'cause this is a temp file.
Right?

->Wrong!
When I start the Tomcat 5.0.16, I dont have no mod_jk.conf-auto
self-created, I start Apache, but the connectors doesn't work.
 
Can you help me?




Em Sex, 2003-12-19 às 05:13, Christopher Schultz escreveu:
> William,
> 
> > I use the jakarta-tomcat-connectors-jk2-2.0.2-src and try this:
> > ./configure --with-apxs2=/usr/local/apache2/bin/apxs \
> > --with-apache2=/usr/local/apache2\
> > --with-apach2-include=/usr/local/apache2/include\
> > --with-apache2-lib=/usr/local/apache2/lib \
> > 
> > then in the end of configure process, I received a message:
> > no apxs given
> > building connector for "apche-2.0" 
> > configure: error: can't locate /usr/local/apache2
> 
> Hmmm... do you really need all those options? I would think that:
> 
> ./configure --with-apxs2=/usr/local/apache2/bin/apxs
> 
> would be sufficient. Let's see...
> 
> $ tar xzf jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz
> $ cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2
> $ ./configure --with-apxs2=/usr/local/apache2/bin/apxs
> 
> [completed successfully]
> 
> $ make
> 
> [completed successfully]
> 
> $ ls ../build/jk2/apache2/*.so
> ../build/jk2/apache2/jkjni.so
> ../build/jk2/apache2/mod_jk2.so
> $
> 
> Looks good to me. I also built my Apache 2.0.48 from source. The code, 
> etc, is in /usr/local/httpd-2.0.48, and not in /usr/local/apache.
> 
> It's funny that the build instructions in the "jk" directory say "Just 
> type ant!", and it fails miserably. Too bad. I like the whole 
> configure/make/make install. It tends to work well.
> 
> Let me know if you are still having problems compiling...
> 
> -chris
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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



Re: How can I compile Mod_jdk2 ?

2003-12-19 Thread Christopher Schultz
William,

I use the jakarta-tomcat-connectors-jk2-2.0.2-src and try this:
./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-apache2=/usr/local/apache2\
--with-apach2-include=/usr/local/apache2/include\
--with-apache2-lib=/usr/local/apache2/lib \
then in the end of configure process, I received a message:
no apxs given
building connector for "apche-2.0" 
configure: error: can't locate /usr/local/apache2
Hmmm... do you really need all those options? I would think that:

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

would be sufficient. Let's see...

$ tar xzf jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz
$ cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2
$ ./configure --with-apxs2=/usr/local/apache2/bin/apxs
[completed successfully]

$ make

[completed successfully]

$ ls ../build/jk2/apache2/*.so
../build/jk2/apache2/jkjni.so
../build/jk2/apache2/mod_jk2.so
$
Looks good to me. I also built my Apache 2.0.48 from source. The code, 
etc, is in /usr/local/httpd-2.0.48, and not in /usr/local/apache.

It's funny that the build instructions in the "jk" directory say "Just 
type ant!", and it fails miserably. Too bad. I like the whole 
configure/make/make install. It tends to work well.

Let me know if you are still having problems compiling...

-chris

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


RE: How can I compile Mod_jdk2 ?

2003-12-18 Thread Greg . Cope
I know that ;-)

Just wondered if it might make a difference to your shell.

Does apxs work on its own and is it there?

Greg

> -Original Message-
> From: William Marques [mailto:[EMAIL PROTECTED]
> Sent: 18 December 2003 17:35
> To: Tomcat Users List
> Subject: RE: How can I compile Mod_jdk2 ?
> 
> 
> the "\" it's to indicate that all comands is in the same line with one
> space between the arguments, but thank's at all...
> 
> 
> Em Qui, 2003-12-18 Ãs 14:48, [EMAIL PROTECTED] escreveu:
> > I'd stick a space between the apache2 and the '\'
> > 
> > Does live there and work?
> > 
> > Greg
> > 
> > > -Original Message-
> > > From: William Marques [mailto:[EMAIL PROTECTED]
> > > Sent: 18 December 2003 16:43
> > > To: Tomcat Users List
> > > Subject: Re: How can I compile Mod_jdk2 ?
> > > 
> > > 
> > > Ok, IÄl try to give some more details...
> > > 
> > > I use the jakarta-tomcat-connectors-jk2-2.0.2-src and try this:
> > > ./configure --with-apxs2=/usr/local/apache2/bin/apxs \
> > > --with-apache2=/usr/local/apache2\
> > > --with-apach2-include=/usr/local/apache2/include\
> > > --with-apache2-lib=/usr/local/apache2/lib \
> > > 
> > > then in the end of configure process, I received a message:
> > > no apxs given
> > > building connector for "apche-2.0" 
> > > configure: error: can't locate /usr/local/apache2
> > > 
> > > I try to put the slash in the end of the path, but the same error
> > > ocourred and try just ./configure too, but then I receive a 
> > > message: no
> > > Webserver Found 
> > > I forgot to say thatI compiled apache2 from the source
> > > 
> > > Thank's for the help, anyway...
> > > 
> > > Em Qui, 2003-12-18 Ãs 13:56, Christopher Schultz escreveu:
> > > > William,
> > > > 
> > > > > I trying to compile the mod_jdk from the source version
> > > > > jakarta-tomcat-connectors-jk2-2.0.2 but everytime an 
> > > error happens.
> > > > 
> > > > Please provide more information. The error message 
> itself, perhaps.
> > > > 
> > > > > Does anybody know a place where I can get a binary for 
> > > linux, to connect
> > > > > my apache 2.0.48 and Tomcat 5.0.16 ?
> > > > 
> > > > This does not exist. Binary versions are not available from 
> > > Jakarta for 
> > > > Linux. It's because you need to compile it against your 
> own apache 
> > > > version and libc version. Sure, you *can* get one from 
> > > someone else, but 
> > > > it shouldn't be a big deal to compile it.
> > > > 
> > > > > Or maybe send-me the module by e-mail
> > > > 
> > > > That's a dangerous request. Someone could send you a trojan...
> > > > 
> > > > > I using Fedora Core box and J2sdk 1.4.2
> > > > > 
> > > > > If this is impossible, maybe someone just has passed 
> for the same
> > > > > troubles ?I have now, and help me with something.
> > > > 
> > > > Check the archives for your specific error message. We've 
> > > beat this to 
> > > > death like a million times on this list. If your error 
> > > mesage is not 
> > > > found, just followup your own post with the error and we'll 
> > > see what we 
> > > > can do.
> > > > 
> > > > Since you're using Fedora, it's very possible that you are 
> > > missing some 
> > > > required library. Fedora isn't exactly ready for prime time. :)
> > > > 
> > > > -chris
> > > > 
> > > > 
> > > > 
> > > 
> -
> > > > To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > > > 
> > > > 
> > > 
> > > 
> > > 
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



RE: How can I compile Mod_jdk2 ?

2003-12-18 Thread William Marques
the "\" it's to indicate that all comands is in the same line with one
space between the arguments, but thank's at all...


Em Qui, 2003-12-18 Ãs 14:48, [EMAIL PROTECTED] escreveu:
> I'd stick a space between the apache2 and the '\'
> 
> Does live there and work?
> 
> Greg
> 
> > -Original Message-
> > From: William Marques [mailto:[EMAIL PROTECTED]
> > Sent: 18 December 2003 16:43
> > To: Tomcat Users List
> > Subject: Re: How can I compile Mod_jdk2 ?
> > 
> > 
> > Ok, IÄl try to give some more details...
> > 
> > I use the jakarta-tomcat-connectors-jk2-2.0.2-src and try this:
> > ./configure --with-apxs2=/usr/local/apache2/bin/apxs \
> > --with-apache2=/usr/local/apache2\
> > --with-apach2-include=/usr/local/apache2/include\
> > --with-apache2-lib=/usr/local/apache2/lib \
> > 
> > then in the end of configure process, I received a message:
> > no apxs given
> > building connector for "apche-2.0" 
> > configure: error: can't locate /usr/local/apache2
> > 
> > I try to put the slash in the end of the path, but the same error
> > ocourred and try just ./configure too, but then I receive a 
> > message: no
> > Webserver Found 
> > I forgot to say thatI compiled apache2 from the source
> > 
> > Thank's for the help, anyway...
> > 
> > Em Qui, 2003-12-18 Ãs 13:56, Christopher Schultz escreveu:
> > > William,
> > > 
> > > > I trying to compile the mod_jdk from the source version
> > > > jakarta-tomcat-connectors-jk2-2.0.2 but everytime an 
> > error happens.
> > > 
> > > Please provide more information. The error message itself, perhaps.
> > > 
> > > > Does anybody know a place where I can get a binary for 
> > linux, to connect
> > > > my apache 2.0.48 and Tomcat 5.0.16 ?
> > > 
> > > This does not exist. Binary versions are not available from 
> > Jakarta for 
> > > Linux. It's because you need to compile it against your own apache 
> > > version and libc version. Sure, you *can* get one from 
> > someone else, but 
> > > it shouldn't be a big deal to compile it.
> > > 
> > > > Or maybe send-me the module by e-mail
> > > 
> > > That's a dangerous request. Someone could send you a trojan...
> > > 
> > > > I using Fedora Core box and J2sdk 1.4.2
> > > > 
> > > > If this is impossible, maybe someone just has passed for the same
> > > > troubles ?I have now, and help me with something.
> > > 
> > > Check the archives for your specific error message. We've 
> > beat this to 
> > > death like a million times on this list. If your error 
> > mesage is not 
> > > found, just followup your own post with the error and we'll 
> > see what we 
> > > can do.
> > > 
> > > Since you're using Fedora, it's very possible that you are 
> > missing some 
> > > required library. Fedora isn't exactly ready for prime time. :)
> > > 
> > > -chris
> > > 
> > > 
> > > 
> > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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



RE: How can I compile Mod_jdk2 ?

2003-12-18 Thread Greg . Cope
I'd stick a space between the apache2 and the '\'

Does live there and work?

Greg

> -Original Message-
> From: William Marques [mailto:[EMAIL PROTECTED]
> Sent: 18 December 2003 16:43
> To: Tomcat Users List
> Subject: Re: How can I compile Mod_jdk2 ?
> 
> 
> Ok, IÄl try to give some more details...
> 
> I use the jakarta-tomcat-connectors-jk2-2.0.2-src and try this:
> ./configure --with-apxs2=/usr/local/apache2/bin/apxs \
> --with-apache2=/usr/local/apache2\
> --with-apach2-include=/usr/local/apache2/include\
> --with-apache2-lib=/usr/local/apache2/lib \
> 
> then in the end of configure process, I received a message:
> no apxs given
> building connector for "apche-2.0" 
> configure: error: can't locate /usr/local/apache2
> 
> I try to put the slash in the end of the path, but the same error
> ocourred and try just ./configure too, but then I receive a 
> message: no
> Webserver Found 
> I forgot to say thatI compiled apache2 from the source
> 
> Thank's for the help, anyway...
> 
> Em Qui, 2003-12-18 Ãs 13:56, Christopher Schultz escreveu:
> > William,
> > 
> > > I trying to compile the mod_jdk from the source version
> > > jakarta-tomcat-connectors-jk2-2.0.2 but everytime an 
> error happens.
> > 
> > Please provide more information. The error message itself, perhaps.
> > 
> > > Does anybody know a place where I can get a binary for 
> linux, to connect
> > > my apache 2.0.48 and Tomcat 5.0.16 ?
> > 
> > This does not exist. Binary versions are not available from 
> Jakarta for 
> > Linux. It's because you need to compile it against your own apache 
> > version and libc version. Sure, you *can* get one from 
> someone else, but 
> > it shouldn't be a big deal to compile it.
> > 
> > > Or maybe send-me the module by e-mail
> > 
> > That's a dangerous request. Someone could send you a trojan...
> > 
> > > I using Fedora Core box and J2sdk 1.4.2
> > > 
> > > If this is impossible, maybe someone just has passed for the same
> > > troubles ?I have now, and help me with something.
> > 
> > Check the archives for your specific error message. We've 
> beat this to 
> > death like a million times on this list. If your error 
> mesage is not 
> > found, just followup your own post with the error and we'll 
> see what we 
> > can do.
> > 
> > Since you're using Fedora, it's very possible that you are 
> missing some 
> > required library. Fedora isn't exactly ready for prime time. :)
> > 
> > -chris
> > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



Re: How can I compile Mod_jdk2 ?

2003-12-18 Thread William Marques
Ok, IÄl try to give some more details...

I use the jakarta-tomcat-connectors-jk2-2.0.2-src and try this:
./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-apache2=/usr/local/apache2\
--with-apach2-include=/usr/local/apache2/include\
--with-apache2-lib=/usr/local/apache2/lib \

then in the end of configure process, I received a message:
no apxs given
building connector for "apche-2.0" 
configure: error: can't locate /usr/local/apache2

I try to put the slash in the end of the path, but the same error
ocourred and try just ./configure too, but then I receive a message: no
Webserver Found 
I forgot to say thatI compiled apache2 from the source

Thank's for the help, anyway...

Em Qui, 2003-12-18 Ãs 13:56, Christopher Schultz escreveu:
> William,
> 
> > I trying to compile the mod_jdk from the source version
> > jakarta-tomcat-connectors-jk2-2.0.2 but everytime an error happens.
> 
> Please provide more information. The error message itself, perhaps.
> 
> > Does anybody know a place where I can get a binary for linux, to connect
> > my apache 2.0.48 and Tomcat 5.0.16 ?
> 
> This does not exist. Binary versions are not available from Jakarta for 
> Linux. It's because you need to compile it against your own apache 
> version and libc version. Sure, you *can* get one from someone else, but 
> it shouldn't be a big deal to compile it.
> 
> > Or maybe send-me the module by e-mail
> 
> That's a dangerous request. Someone could send you a trojan...
> 
> > I using Fedora Core box and J2sdk 1.4.2
> > 
> > If this is impossible, maybe someone just has passed for the same
> > troubles ?I have now, and help me with something.
> 
> Check the archives for your specific error message. We've beat this to 
> death like a million times on this list. If your error mesage is not 
> found, just followup your own post with the error and we'll see what we 
> can do.
> 
> Since you're using Fedora, it's very possible that you are missing some 
> required library. Fedora isn't exactly ready for prime time. :)
> 
> -chris
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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



Re: How can I compile Mod_jdk2 ?

2003-12-18 Thread Christopher Schultz
William,

I trying to compile the mod_jdk from the source version
jakarta-tomcat-connectors-jk2-2.0.2 but everytime an error happens.
Please provide more information. The error message itself, perhaps.

Does anybody know a place where I can get a binary for linux, to connect
my apache 2.0.48 and Tomcat 5.0.16 ?
This does not exist. Binary versions are not available from Jakarta for 
Linux. It's because you need to compile it against your own apache 
version and libc version. Sure, you *can* get one from someone else, but 
it shouldn't be a big deal to compile it.

Or maybe send-me the module by e-mail
That's a dangerous request. Someone could send you a trojan...

I using Fedora Core box and J2sdk 1.4.2

If this is impossible, maybe someone just has passed for the same
troubles ?I have now, and help me with something.
Check the archives for your specific error message. We've beat this to 
death like a million times on this list. If your error mesage is not 
found, just followup your own post with the error and we'll see what we 
can do.

Since you're using Fedora, it's very possible that you are missing some 
required library. Fedora isn't exactly ready for prime time. :)

-chris

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


How can I compile Mod_jdk2 ?

2003-12-18 Thread William Marques
Hi everybody,

I trying to compile the mod_jdk from the source version
jakarta-tomcat-connectors-jk2-2.0.2 but everytime an error happens.

Does anybody know a place where I can get a binary for linux, to connect
my apache 2.0.48 and Tomcat 5.0.16 ? Or maybe send-me the module by
e-mail
I using Fedora Core box and J2sdk 1.4.2

If this is impossible, maybe someone just has passed for the same
troubles ?I have now, and help me with something.

Thanks...


William Marques
Gma Consultoria - Brasil -
[EMAIL PROTECTED]


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