RE: mod_jk2 build error
SImple :) don't follow the instructions. Do a ./configure --help to get the options you need (--with-apxs2 --with-jni --with-pcre and related java/tomcat options) then do a straight make and manually copy the binary to your web server's module location. -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent: 02 April 2004 05:42 To: [EMAIL PROTECTED] Subject: mod_jk2 build error Hi, I am trying to build the latest release of the JK2 connector: jakarta-tomcat-connectors-jk2-2.0.4-src. I'm running Red Hat Linux 9.0, Apache httpd-2.0.49 and Tomcat jakarta-tomcat-5.0.19. I follow the directions in jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/BUILD.txt cd jakarta-tomcat-connectors/jk/native2 ./configure --with-apxs2=/your/path/to/apxs make cd ../build/jk2/apache2 apxs -n jk2 -i mod_jk2.so but the make fails with the following: libtool: install: warning: remember to run `libtool --finish /usr/local/apache2/modules' /bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so ../../../build/jk2/apache2/mod_jk2.so /bin/cp: cannot stat `../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so': No such file or directory make[1]: *** [../../../build/jk2/apache2/mod_jk2.so] Error 1 make[1]: Leaving directory `/usr2/download/jk/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server /apache2' make: *** [jk2-build] Error 1 The ./configure step ends with the following: checking for rm... /bin/rm checking for grep... /bin/grep checking for echo... /bin/echo checking for sed... /bin/sed checking for cp... /bin/cp checking for mkdir... /bin/mkdir no apxs given need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl building connector for apache-2.0 checking checking for apache13.. not provided checking checking for apache20.. not provided checking checking for iis.. not provided checking checking for iPlanet.. not provided checking for tomcat33 location... not provided checking for tomcat40 location... not provided checking for tomcat41 location... not provided configure: creating ./config.status config.status: creating Makefile config.status: creating server/apache13/Makefile config.status: creating server/apache13/Makefile.apxs config.status: creating server/apache2/Makefile config.status: creating server/apache2/Makefile.apxs config.status: creating ../build.properties config.status: creating scripts/build/unix/dummy config.status: executing depfiles commands I didn't have any problems with the previous JK2 version. Can anyone give me a hint on how to resolve this? Thanks much, -Tom __ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
Re: mod_jk2 build error
I would try making the directory for it possibly. I don't know why it does this, but it puts a usr/local/apache2/modules directory under the build directory. /bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so ./../../build/jk2/apache2/mod_jk2.so /bin/cp: cannot stat `../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so': No such file or directory Since it is the copy that is failing, I would look at that. -walter Hi, I am trying to build the latest release of the JK2 connector: jakarta-tomcat-connectors-jk2-2.0.4-src. I'm running Red Hat Linux 9.0, Apache httpd-2.0.49 and Tomcat jakarta-tomcat-5.0.19. I follow the directions in jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/BUILD.txt cd jakarta-tomcat-connectors/jk/native2 ./configure --with-apxs2=/your/path/to/apxs make cd ../build/jk2/apache2 apxs -n jk2 -i mod_jk2.so but the make fails with the following: libtool: install: warning: remember to run `libtool --finish /usr/local/apache2/modules' /bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so ./../../build/jk2/apache2/mod_jk2.so /bin/cp: cannot stat `../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so': No such file or directory make[1]: *** [../../../build/jk2/apache2/mod_jk2.so] Error 1 make[1]: Leaving directory `/usr2/download/jk/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2' make: *** [jk2-build] Error 1 The ./configure step ends with the following: checking for rm... /bin/rm checking for grep... /bin/grep checking for echo... /bin/echo checking for sed... /bin/sed checking for cp... /bin/cp checking for mkdir... /bin/mkdir no apxs given need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl building connector for apache-2.0 checking checking for apache13.. not provided checking checking for apache20.. not provided checking checking for iis.. not provided checking checking for iPlanet.. not provided checking for tomcat33 location... not provided checking for tomcat40 location... not provided checking for tomcat41 location... not provided configure: creating ./config.status config.status: creating Makefile config.status: creating server/apache13/Makefile config.status: creating server/apache13/Makefile.apxs config.status: creating server/apache2/Makefile config.status: creating server/apache2/Makefile.apxs config.status: creating ../build.properties config.status: creating scripts/build/unix/dummy config.status: executing depfiles commands I didn't have any problems with the previous JK2 version. Can anyone give me a hint on how to resolve this? Thanks much, -Tom __ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk2 build error
The directory already exists. The error seems to relate the fact that mod_jk2.so doesn't exist in the source directory. But why? I don't see any error that points to where the compile is failing. --- Walter Truitt [EMAIL PROTECTED] wrote: I would try making the directory for it possibly. I don't know why it does this, but it puts a usr/local/apache2/modules directory under the build directory. /bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so ./../../build/jk2/apache2/mod_jk2.so /bin/cp: cannot stat `../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so': No such file or directory Since it is the copy that is failing, I would look at that. -walter Hi, I am trying to build the latest release of the JK2 connector: jakarta-tomcat-connectors-jk2-2.0.4-src. I'm running Red Hat Linux 9.0, Apache httpd-2.0.49 and Tomcat jakarta-tomcat-5.0.19. I follow the directions in jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/BUILD.txt cd jakarta-tomcat-connectors/jk/native2 ./configure --with-apxs2=/your/path/to/apxs make cd ../build/jk2/apache2 apxs -n jk2 -i mod_jk2.so but the make fails with the following: libtool: install: warning: remember to run `libtool --finish /usr/local/apache2/modules' /bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so ./../../build/jk2/apache2/mod_jk2.so /bin/cp: cannot stat `../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so': No such file or directory make[1]: *** [../../../build/jk2/apache2/mod_jk2.so] Error 1 make[1]: Leaving directory `/usr2/download/jk/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2' make: *** [jk2-build] Error 1 The ./configure step ends with the following: checking for rm... /bin/rm checking for grep... /bin/grep checking for echo... /bin/echo checking for sed... /bin/sed checking for cp... /bin/cp checking for mkdir... /bin/mkdir no apxs given need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl building connector for apache-2.0 checking checking for apache13.. not provided checking checking for apache20.. not provided checking checking for iis.. not provided checking checking for iPlanet.. not provided checking for tomcat33 location... not provided checking for tomcat40 location... not provided checking for tomcat41 location... not provided configure: creating ./config.status config.status: creating Makefile config.status: creating server/apache13/Makefile config.status: creating server/apache13/Makefile.apxs config.status: creating server/apache2/Makefile config.status: creating server/apache2/Makefile.apxs config.status: creating ../build.properties config.status: creating scripts/build/unix/dummy config.status: executing depfiles commands I didn't have any problems with the previous JK2 version. Can anyone give me a hint on how to resolve this? Thanks much, -Tom __ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: mod_jk2 build error
Thanks for your help!!! The problem was the options for where the apache2 source was located: --with-apache2= --with-apache2-include= --with-apache2-lib= -Tom --- Yiannis Mavroukakis [EMAIL PROTECTED] wrote: SImple :) don't follow the instructions. Do a ./configure --help to get the options you need (--with-apxs2 --with-jni --with-pcre and related java/tomcat options) then do a straight make and manually copy the binary to your web server's module location. -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent: 02 April 2004 05:42 To: [EMAIL PROTECTED] Subject: mod_jk2 build error Hi, I am trying to build the latest release of the JK2 connector: jakarta-tomcat-connectors-jk2-2.0.4-src. I'm running Red Hat Linux 9.0, Apache httpd-2.0.49 and Tomcat jakarta-tomcat-5.0.19. I follow the directions in jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/BUILD.txt cd jakarta-tomcat-connectors/jk/native2 ./configure --with-apxs2=/your/path/to/apxs make cd ../build/jk2/apache2 apxs -n jk2 -i mod_jk2.so but the make fails with the following: libtool: install: warning: remember to run `libtool --finish /usr/local/apache2/modules' /bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so ../../../build/jk2/apache2/mod_jk2.so /bin/cp: cannot stat `../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so': No such file or directory make[1]: *** [../../../build/jk2/apache2/mod_jk2.so] Error 1 make[1]: Leaving directory `/usr2/download/jk/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server /apache2' make: *** [jk2-build] Error 1 The ./configure step ends with the following: checking for rm... /bin/rm checking for grep... /bin/grep checking for echo... /bin/echo checking for sed... /bin/sed checking for cp... /bin/cp checking for mkdir... /bin/mkdir no apxs given need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl building connector for apache-2.0 checking checking for apache13.. not provided checking checking for apache20.. not provided checking checking for iis.. not provided checking checking for iPlanet.. not provided checking for tomcat33 location... not provided checking for tomcat40 location... not provided checking for tomcat41 location... not provided configure: creating ./config.status config.status: creating Makefile config.status: creating server/apache13/Makefile config.status: creating server/apache13/Makefile.apxs config.status: creating server/apache2/Makefile config.status: creating server/apache2/Makefile.apxs config.status: creating ../build.properties config.status: creating scripts/build/unix/dummy config.status: executing depfiles commands I didn't have any problems with the previous JK2 version. Can anyone give me a hint on how to resolve this? Thanks much, -Tom __ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. __ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk2 build error
Hi, I am trying to build the latest release of the JK2 connector: jakarta-tomcat-connectors-jk2-2.0.4-src. I'm running Red Hat Linux 9.0, Apache httpd-2.0.49 and Tomcat jakarta-tomcat-5.0.19. I follow the directions in jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/BUILD.txt cd jakarta-tomcat-connectors/jk/native2 ./configure --with-apxs2=/your/path/to/apxs make cd ../build/jk2/apache2 apxs -n jk2 -i mod_jk2.so but the make fails with the following: libtool: install: warning: remember to run `libtool --finish /usr/local/apache2/modules' /bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so ../../../build/jk2/apache2/mod_jk2.so /bin/cp: cannot stat `../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so': No such file or directory make[1]: *** [../../../build/jk2/apache2/mod_jk2.so] Error 1 make[1]: Leaving directory `/usr2/download/jk/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2' make: *** [jk2-build] Error 1 The ./configure step ends with the following: checking for rm... /bin/rm checking for grep... /bin/grep checking for echo... /bin/echo checking for sed... /bin/sed checking for cp... /bin/cp checking for mkdir... /bin/mkdir no apxs given need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl building connector for apache-2.0 checking checking for apache13.. not provided checking checking for apache20.. not provided checking checking for iis.. not provided checking checking for iPlanet.. not provided checking for tomcat33 location... not provided checking for tomcat40 location... not provided checking for tomcat41 location... not provided configure: creating ./config.status config.status: creating Makefile config.status: creating server/apache13/Makefile config.status: creating server/apache13/Makefile.apxs config.status: creating server/apache2/Makefile config.status: creating server/apache2/Makefile.apxs config.status: creating ../build.properties config.status: creating scripts/build/unix/dummy config.status: executing depfiles commands I didn't have any problems with the previous JK2 version. Can anyone give me a hint on how to resolve this? Thanks much, -Tom __ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Connector build error
Am trying to build the .so connector to integrate tomcat 4.1.30 with apache 2.0.48 on debian linux. Both tomcat and apache are up and running just fine individually, but need a mod_jk2.so Ajp13 connector to get a servlet working. The current connectors source distribution jakarta-tomcat-connectors-jk2-2.0.2-src fails as follows: -- $ cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk jk$ ant Buildfile: build.xml detect: [echo] jakarta-tomcat-connectors prepare: BUILD FAILED /fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build.xml:105: Warning: Could not find file /fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-jk2-2.0.2-src/coyote/build/lib/tomcat-coyote.jar to copy. --- Sure enough, build/lib does not contain any tomcat-coyote.jar file. In fact, lib is totally empty. The current connector source distro appears to be missing some needed files. Well, all I need is the binary connector, so let's just try: jk$ ant native Buildfile: build.xml jkant: BUILD FAILED /fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build.xml:232: srcdir /fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/jkant/java does not exist! Turns out it is looking for a file jkant/java/ant.tasks, which also does not exist in the current distro. Can anyone supply 1. tomcat-coyote.jar 2. ant.tasks or, better stiil 3. A complete version of the connectors source distro that works? Thanks very much. PS: apache 2.0.48 built flawlessly using 'make' on debian. Real slick! The connectors source should do at least as well since it is java-based (and java is less error prone than c ;-) -- Rick Lutowski Principal, JReality [EMAIL PROTECTED] http://www.jreality.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connector build error
Hi, This made me a bit miffed too. The developers have changed the jk/native2/README.txt to explain how to do it natively. Here is the post to the dev list below. If you get some annoying message saying could not find library -lapr-0 then fear not. You either: a) edit the jk/native2/server/apache2/Makefile file. Line 57 I think where it says -lapr-0 and change it to -lapr. then run make again. b) Install libapr-0. I chose the first option and it worked fine. It puts the so file in /build/jk2/apach2/ tho so be warned. Its a horrible horrible hack but it will allegedly be fixed in the upcoming 2.0.4 release. Adam. Information on building mod_jk2: Starting with 2.0.4, APR is mandatory for jk2. For Apache 2.0 or greater jk2 will use APR that was used to build Apache 2.0. For Apache 1.3, jk2 must build APR and APR_UTIL from source. DSO build instructions for Unix-like systems: The compiler used to build jk2 must match the one used to build Apache. You may need to set an environment variable before configuring such as CC=cc. `apxs -q CC` will tell you what compiler was used for Apache. The most straightforward way to configure jk2 is to use apxs that comes with Apache. Linux distributions may need to have additional rpm's installed such as Apache2 devel rpm, httpd-devel or apache2-devel or for Apache 13, Apache devel rpm, httpd-devel or apache-devel depending on your distribution. Example Apache2 build and install: cd jakarta-tomcat-connectors/jk/native2 ./configure --with-apxs2=/your/path/to/apxs make cd ../build/jk2/apache2 apxs -n jk2 -i mod_jk2.so Example Apache13 build and install: apr and apr-util will be configured and built for you while configuring and building jk2. There is no need to separately configure and build them. cd jakarta-tomcat-connectors/jk/native2 ./configure --with-apxs=/your/path/to/apxs \ --with-apr=/your/path/to/apr-source \ --with-apr-util=/your/path/to/apr-util-source make cd ../build/jk2/apache13 apxs -n jk2 -i mod_jk2.so NOTE: pthread support may be automatically detected and built into apr. If apache13 was not built with pthread support, you can either disable it by adding --disable-apr-threads while configuring, or load the pthread library in httpd.conf using the LoadFile directive. Optional configure arguments (for 1.3 and 2.0): If you want to have JNI support, add --with-jni and be sure to have the JAVA_HOME environment variable point to your Java Environment. This will build inprocess jni support into mod_jk2.so and additionally build libjkjni.so. libjkjni.so can be used by tomcat to provide support for channel unix and should be installed in the apache libexec dir. Use `apxs -q LIBEXECDIR` if you are unsure of its location. Libjkjni.so will be located in the same directory as mod_jk2.so after building with this option. If you want to have PCRE (Perl Compatible Regular Expressions) support for jk2 uri directives, add --with-pcre while configuring. -Original Message- From: Rick Lutowski [mailto:[EMAIL PROTECTED] Sent: 22 March 2004 17:01 To: Tomcat Users List Subject: Connector build error Am trying to build the .so connector to integrate tomcat 4.1.30 with apache 2.0.48 on debian linux. Both tomcat and apache are up and running just fine individually, but need a mod_jk2.so Ajp13 connector to get a servlet working. The current connectors source distribution jakarta-tomcat-connectors-jk2-2.0.2-src fails as follows: -- $ cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk jk$ ant Buildfile: build.xml detect: [echo] jakarta-tomcat-connectors prepare: BUILD FAILED /fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-j k2-2.0.2-src/jk/build.xml:105: Warning: Could not find file /fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-j k2-2.0.2-src/coyote/build/lib/tomcat-coyote.jar to copy. --- Sure enough, build/lib does not contain any tomcat-coyote.jar file. In fact, lib is totally empty. The current connector source distro appears to be missing some needed files. Well, all I need is the binary connector, so let's just try: jk$ ant native Buildfile: build.xml jkant: BUILD FAILED /fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-j k2-2.0.2-src/jk/build.xml:232: srcdir /fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors- jk2-2.0.2-src/jk/jkant/java does not exist! Turns out it is looking for a file jkant/java/ant.tasks, which also does not exist in the current distro. Can anyone supply 1. tomcat-coyote.jar 2. ant.tasks or, better stiil 3. A complete version of the connectors source distro that works? Thanks very much. PS: apache 2.0.48 built flawlessly using
Re: Connector build error
Adam Fowler wrote: Hi, This made me a bit miffed too. The developers have changed the jk/native2/README.txt to explain how to do it natively. Here is the post to the dev list below. If you get some annoying message saying could not find library -lapr-0 then fear not. You either: a) edit the jk/native2/server/apache2/Makefile file. Line 57 I think where it says -lapr-0 and change it to -lapr. then run make again. b) Install libapr-0. I chose the first option and it worked fine. It puts the so file in /build/jk2/apach2/ tho so be warned. Its a horrible horrible hack but it will allegedly be fixed in the upcoming 2.0.4 release. Yes, this works. Also, apache 2.0.48 contains an apr-0 lib, so the -1apr hack was not necessary with 2.0.48 Thanks for the assistance! -- Rick Lutowski Principal, JReality [EMAIL PROTECTED] http://www.jreality.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JK2 Build Error
Also, check out this URL on building jk2: http://marc.theaimsgroup.com/?l=tomcat-userm=105103815630094w=2 I found both to be helpful. If you still have the problem, check the archives of the tomcat users mailing list. This was discussed in the last couple of weeks. Dennis -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 4:21 AM To: Tomcat Users List Subject: RE: JK2 Build Error Bill, The problem is that the apache runtime library cannot be located. I just found this resource that might help you out: http://cymulacrum.net/tomcat/jk2_compile.html Best regards, Andy -Original Message- From: Bill R [mailto:[EMAIL PROTECTED] Sent: 19 November 2003 02:03 To: [EMAIL PROTECTED] Subject: JK2 Build Error I am sure you all have heard this before, and can give me some direction on how to solve this problem. When I go to 'make' the jk2 module, I get the following build error: /usr/bin/ld: cannot find -lapr-0 collect2: ld returned 1 exit status I am running Redhat 9 jakarta-tomcat-5.0.14 apache 2.0.40 If you need more info, please let me know. I am still a bit new at compiling my own shared objects for my own purposes (but I have done it), so keep that in mind... I am resourceful, but I need a leg up here. :-) Any help would be appreciated. Thanks, BillR JK2 Build ErrorJK2 Build Error -- Bill R [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: JK2 Build Error
Bill, The problem is that the apache runtime library cannot be located. I just found this resource that might help you out: http://cymulacrum.net/tomcat/jk2_compile.html Best regards, Andy -Original Message- From: Bill R [mailto:[EMAIL PROTECTED] Sent: 19 November 2003 02:03 To: [EMAIL PROTECTED] Subject: JK2 Build Error I am sure you all have heard this before, and can give me some direction on how to solve this problem. When I go to 'make' the jk2 module, I get the following build error: /usr/bin/ld: cannot find -lapr-0 collect2: ld returned 1 exit status I am running Redhat 9 jakarta-tomcat-5.0.14 apache 2.0.40 If you need more info, please let me know. I am still a bit new at compiling my own shared objects for my own purposes (but I have done it), so keep that in mind... I am resourceful, but I need a leg up here. :-) Any help would be appreciated. Thanks, BillR JK2 Build ErrorJK2 Build Error -- Bill R [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JK2 Build Error
I am sure you all have heard this before, and can give me some direction on how to solve this problem. When I go to 'make' the jk2 module, I get the following build error: /usr/bin/ld: cannot find -lapr-0 collect2: ld returned 1 exit status I am running Redhat 9 jakarta-tomcat-5.0.14 apache 2.0.40 If you need more info, please let me know. I am still a bit new at compiling my own shared objects for my own purposes (but I have done it), so keep that in mind... I am resourceful, but I need a leg up here. :-) Any help would be appreciated. Thanks, BillR JK2 Build ErrorJK2 Build Error -- Bill R [EMAIL PROTECTED]
Re: Jakarta Connectors build error
Well, it seems yu've got some pbs with apr. I use to work with Apache 1.3.26, not Apache 2.x. It seems that Apache 2 is build including apr This is an excerpt of the build.properties.sample. # APR location - by default the version included in Apache2 is used. # Don't edit unless you install 'standalone' apr. apr.home=${apache2.home} It seems that apr is well included. Just have it verified. If not, just download and install apr-0.9.1 in the ./jk2 directory - from where yu try to compile - BTW Can you be more precise about the way yu compile install? I mean ./buildconf.sh and ./configure ??? HTH. :O) Jean-Luc B David Orriss Jr wrote: Hi, When I try to build the libjkjni.so library I'm getting this set messages/errors: -lcrypt -L/usr/local/apache2/lib -lapr -Wl,-soname -Wl,libjkjni.so -o .libs/libjkjni.so [so] StdErr: [so] /usr/bin/ld: cannot find -lapr [so] collect2: ld returned 1 exit status BUILD FAILED file:/home/davidjr/downloads/jakarta-tomcat-connectors-4.1.18-src/jk/native2/build.xml:341: Link failed libjkjni Suggestions would be most appreciated. I'm really stumped as to why it can't find this apr library. FWIW, my Apache 2 installation is in /usr/local/apache2 and tomcat 4.1 is in /usr/local/jakarta-tomcat-4.1.18/ Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Jakarta Connectors build error
Hi, When I try to build the libjkjni.so library I'm getting this set messages/errors: -lcrypt -L/usr/local/apache2/lib -lapr -Wl,-soname -Wl,libjkjni.so -o .libs/libjkjni.so [so] StdErr: [so] /usr/bin/ld: cannot find -lapr [so] collect2: ld returned 1 exit status BUILD FAILED file:/home/davidjr/downloads/jakarta-tomcat-connectors-4.1.18-src/jk/native2/build.xml:341: Link failed libjkjni Suggestions would be most appreciated. I'm really stumped as to why it can't find this apr library. FWIW, my Apache 2 installation is in /usr/local/apache2 and tomcat 4.1 is in /usr/local/jakarta-tomcat-4.1.18/ Thanks. -- David Orriss Jr. [EMAIL PROTECTED] http://www.davenet.net -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
tomcat build error
while building tomcat: H:\tomcat_build\jakarta-tomcat-4.0\webapps\tomcat-docs\build.xml:80: javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found am i just missing something from my classpath?? do i need to download Xalan? thanks, Nick -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: tomcat build error
On Tue, 29 Jan 2002, Nick Wesselman wrote: Date: Tue, 29 Jan 2002 07:20:43 -0600 From: Nick Wesselman [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: tomcat build error while building tomcat: H:\tomcat_build\jakarta-tomcat-4.0\webapps\tomcat-docs\build.xml:80: javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found am i just missing something from my classpath?? do i need to download Xalan? Yes, Xalan is used in the style task to transform the source of the Tomcat documentation files (in XML) into HTML. The file BUILDING.txt in the top-level source directory describes everything you need in order to build Tomcat from source. thanks, Nick Craig -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
build error
Hi! I'm getting this error when I make a rebuild of a WebApp. I think that I have some problem saving the sessions to be loadef after the rebuild, but I couldn't solve it. Any idea ?? I'm using Tomcat 4.0 with JBoss. Cheers, Papo. -- [EmbeddedCatalinaServiceSX] StandardManager[/bcu]: Seeding random number generator class java.security.SecureRandom [EmbeddedCatalinaServiceSX] StandardManager[/bcu]: Seeding of random number generator has been completed [EmbeddedCatalinaServiceSX] StandardManager[/bcu] ClassNotFoundException while loading persisted sessions: java.lang.ClassNotFoundException: dac.ejb.usermanager.UserManager java.lang.ClassNotFoundException: dac.ejb.usermanager.UserManager at javax.management.loading.MLet.findClass(MLet.java:800) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:195) at java.io.ObjectInputStream.resolveProxyClass(ObjectInputStream.java:712) at java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.java:9 82) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at org.apache.catalina.session.StandardSession.readObject(Unknown Source) at org.apache.catalina.session.StandardSession.readObjectData(Unknown Source) at org.apache.catalina.session.StandardManager.load(Unknown Source) at org.apache.catalina.session.StandardManager.start(Unknown Source) at org.apache.catalina.core.ContainerBase.start(Unknown Source) at org.apache.catalina.core.StandardContext.start(Unknown Source) at org.apache.catalina.core.ContainerBase.addChild(Unknown Source) at org.apache.catalina.core.StandardHost.addChild(Unknown Source) at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCa talinaServiceSX.java:349) at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatal inaServiceSX.java:250) at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:181) at java.lang.reflect.Method.invoke(Native Method) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:509) at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:468) at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:208) at java.lang.reflect.Method.invoke(Native Method) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379) at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217) at java.lang.Thread.run(Thread.java:484) [EmbeddedCatalinaServiceSX] StandardManager[/bcu] Exception loading sessions from persistent storage java.lang.ClassNotFoundException: dac.ejb.usermanager.UserManager at javax.management.loading.MLet.findClass(MLet.java:800) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:195) at java.io.ObjectInputStream.resolveProxyClass(ObjectInputStream.java:712) at java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.java:9 82) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at org.apache.catalina.session.StandardSession.readObject(Unknown Source) at org.apache.catalina.session.StandardSession.readObjectData(Unknown Source) at org.apache.catalina.session.StandardManager.load(Unknown Source) at org.apache.catalina.session.StandardManager.start(Unknown Source) at org.apache.catalina.core.ContainerBase.start(Unknown Source) at org.apache.catalina.core.StandardContext.start(Unknown Source)
RE: build error
Still getting the same error ! -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 5:01 PM To: '[EMAIL PROTECTED]' Subject: Re: build error On Thu, 19 Jul 2001, Farag, Hany M (Hany) wrote: Hi, I'm getting these errors although I added the servlets jar as a java ext. build-main: [javac] Compiling 2 source files to /home/hfarag/JAKARTA_HOME/Jakarta-tomcat4.0/jasper/build/classes [javac] /home/hfarag/JAKARTA_HOME/Jakarta-tomcat4.0/jasper/src/share/org/apache/jasp er/compiler/JspParseEventListener.java:79: Class javax.servlet.jsp.tagext.ValidationMessage not found in import. [javac] import javax.servlet.jsp.tagext.ValidationMessage; [javac]^ [javac] /home/hfarag/JAKARTA_HOME/Jakarta-tomcat4.0/jasper/src/share/org/apache/jasp er/compiler/TagLibraryInfoImpl.java:92: Class javax.servlet.jsp.tagext.ValidationMessage not found in import. [javac] import javax.servlet.jsp.tagext.ValidationMessage; [javac]^ [javac] 2 errors BUILD FAILED Any ideas ? Yah ... don't at it as a Java extension :-). It messes up the class loader architecture pretty badly. Thanks Craig
build error
Hi, I'm getting these errors although I added the servlets jar as a java ext. build-main: [javac] Compiling 2 source files to /home/hfarag/JAKARTA_HOME/Jakarta-tomcat4.0/jasper/build/classes [javac] /home/hfarag/JAKARTA_HOME/Jakarta-tomcat4.0/jasper/src/share/org/apache/jasp er/compiler/JspParseEventListener.java:79: Class javax.servlet.jsp.tagext.ValidationMessage not found in import. [javac] import javax.servlet.jsp.tagext.ValidationMessage; [javac]^ [javac] /home/hfarag/JAKARTA_HOME/Jakarta-tomcat4.0/jasper/src/share/org/apache/jasp er/compiler/TagLibraryInfoImpl.java:92: Class javax.servlet.jsp.tagext.ValidationMessage not found in import. [javac] import javax.servlet.jsp.tagext.ValidationMessage; [javac]^ [javac] 2 errors BUILD FAILED Any ideas ? Thanks
Re: build error
On Thu, 19 Jul 2001, Farag, Hany M (Hany) wrote: Hi, I'm getting these errors although I added the servlets jar as a java ext. build-main: [javac] Compiling 2 source files to /home/hfarag/JAKARTA_HOME/Jakarta-tomcat4.0/jasper/build/classes [javac] /home/hfarag/JAKARTA_HOME/Jakarta-tomcat4.0/jasper/src/share/org/apache/jasp er/compiler/JspParseEventListener.java:79: Class javax.servlet.jsp.tagext.ValidationMessage not found in import. [javac] import javax.servlet.jsp.tagext.ValidationMessage; [javac]^ [javac] /home/hfarag/JAKARTA_HOME/Jakarta-tomcat4.0/jasper/src/share/org/apache/jasp er/compiler/TagLibraryInfoImpl.java:92: Class javax.servlet.jsp.tagext.ValidationMessage not found in import. [javac] import javax.servlet.jsp.tagext.ValidationMessage; [javac]^ [javac] 2 errors BUILD FAILED Any ideas ? Yah ... don't at it as a Java extension :-). It messes up the class loader architecture pretty badly. Thanks Craig
Build error
Hi! I just downloaded Tomcat 3.2.1 source, then followed the README to build, unfortunately I got the following error message BUILD FAILED /usr/local/shih/jakarta/jakarta-tomcat/build.xml:94: Cannot use classic compiler, as it is not available A common solution is to set the environment variable JAVA_HOME to your jdk directory. I was sure that JAVA_HOME has been set to my jdk1.3.0_02 directory, and I ran javac from command line without any problems, could someone help me? Also, it seems Jakarta-ServletAPI subject no longer exists, is it still required for building Tomcat? Your help would be much appreciated, Shih-Chin
Re: Build error
The fact that javac runs may only mean you have the jdk directory in your PATH environment variable. If you are on unix, use the command echo $JAVA_HOME to see its definition. I think the JAVA_HOME environment variable is not used by jdk at all. Barbara Baughman On Thu, 26 Apr 2001, Shih Chin Yang wrote: Hi! I just downloaded Tomcat 3.2.1 source, then followed the README to build, unfortunately I got the following error message BUILD FAILED /usr/local/shih/jakarta/jakarta-tomcat/build.xml:94: Cannot use classic compiler, as it is not available A common solution is to set the environment variable JAVA_HOME to your jdk directory. I was sure that JAVA_HOME has been set to my jdk1.3.0_02 directory, and I ran javac from command line without any problems, could someone help me? Also, it seems Jakarta-ServletAPI subject no longer exists, is it still required for building Tomcat? Your help would be much appreciated, Shih-Chin
Re: Build error
Barbara: Thanks for your response, actually I did what you said, echo $JAVA_HOME gave me /usr/java/jdk1.3.0_02 , which is where I installed JDK Shih-Chin Barbara Baughman wrote: The fact that javac runs may only mean you have the jdk directory in your PATH environment variable. If you are on unix, use the command echo $JAVA_HOME to see its definition. I think the JAVA_HOME environment variable is not used by jdk at all. Barbara Baughman On Thu, 26 Apr 2001, Shih Chin Yang wrote: Hi! I just downloaded Tomcat 3.2.1 source, then followed the README to build, unfortunately I got the following error message BUILD FAILED /usr/local/shih/jakarta/jakarta-tomcat/build.xml:94: Cannot use classic compiler, as it is not available A common solution is to set the environment variable JAVA_HOME to your jdk directory. I was sure that JAVA_HOME has been set to my jdk1.3.0_02 directory, and I ran javac from command line without any problems, could someone help me? Also, it seems Jakarta-ServletAPI subject no longer exists, is it still required for building Tomcat? Your help would be much appreciated, Shih-Chin
Re: A latest nigtly build error with MySQL
I'm just speculating, but are transactions supported in the version of MySQL you are using? Park, Sung-Gu wrote: The error message is like : Starting service Tomcat-Standalone Apache Tomcat/4.0-b4-dev Catalina.start: LifecycleException: Exception opening database connection: jav a.sql.SQLException: Cannot disable AUTO_COMMIT LifecycleException: Exception opening database connection: java.sql.SQLExcepti on: Cannot disable AUTO_COMMIT at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:609) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1044) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253 ) at org.apache.catalina.core.StandardService.start(StandardService.java:3 53) at org.apache.catalina.core.StandardServer.start(StandardServer.java:458 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:718) at org.apache.catalina.startup.Catalina.execute(Catalina.java:640) at org.apache.catalina.startup.Catalina.process(Catalina.java:177) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179) - Root Cause - java.sql.SQLException: Cannot disable AUTO_COMMIT at org.gjt.mm.mysql.Connection.setAutoCommit(Connection.java:396) at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:540) at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:607) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1044) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253 ) at org.apache.catalina.core.StandardService.start(StandardService.java:3 53) at org.apache.catalina.core.StandardServer.start(StandardServer.java:458 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:718) at org.apache.catalina.startup.Catalina.execute(Catalina.java:640) at org.apache.catalina.startup.Catalina.process(Catalina.java:177) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179)
Re: A latest nigtly build error with MySQL
Transactions ARE NOT supported on mySQL. On the latest versions, transaction-like actions can be performed, but you got to use special workarounds. I recommend reading the doc on mysql.com on transactions. - Original Message - From: Noel E. Lecaros [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 24, 2001 2:56 PM Subject: Re: A latest nigtly build error with MySQL I'm just speculating, but are transactions supported in the version of MySQL you are using? Park, Sung-Gu wrote: The error message is like : Starting service Tomcat-Standalone Apache Tomcat/4.0-b4-dev Catalina.start: LifecycleException: Exception opening database connection: jav a.sql.SQLException: Cannot disable AUTO_COMMIT LifecycleException: Exception opening database connection: java.sql.SQLExcepti on: Cannot disable AUTO_COMMIT at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:609) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1044) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253 ) at org.apache.catalina.core.StandardService.start(StandardService.java:3 53) at org.apache.catalina.core.StandardServer.start(StandardServer.java:458 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:718) at org.apache.catalina.startup.Catalina.execute(Catalina.java:640) at org.apache.catalina.startup.Catalina.process(Catalina.java:177) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179) - Root Cause - java.sql.SQLException: Cannot disable AUTO_COMMIT at org.gjt.mm.mysql.Connection.setAutoCommit(Connection.java:396) at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:540) at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:607) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1044) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253 ) at org.apache.catalina.core.StandardService.start(StandardService.java:3 53) at org.apache.catalina.core.StandardServer.start(StandardServer.java:458 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:718) at org.apache.catalina.startup.Catalina.execute(Catalina.java:640) at org.apache.catalina.startup.Catalina.process(Catalina.java:177) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179)
A latest nigtly build error with MySQL
The error message is like : Starting service Tomcat-Standalone Apache Tomcat/4.0-b4-dev Catalina.start: LifecycleException: Exception opening database connection: jav a.sql.SQLException: Cannot disable AUTO_COMMIT LifecycleException: Exception opening database connection: java.sql.SQLExcepti on: Cannot disable AUTO_COMMIT at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:609) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1044) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253 ) at org.apache.catalina.core.StandardService.start(StandardService.java:3 53) at org.apache.catalina.core.StandardServer.start(StandardServer.java:458 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:718) at org.apache.catalina.startup.Catalina.execute(Catalina.java:640) at org.apache.catalina.startup.Catalina.process(Catalina.java:177) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179) - Root Cause - java.sql.SQLException: Cannot disable AUTO_COMMIT at org.gjt.mm.mysql.Connection.setAutoCommit(Connection.java:396) at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:540) at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:607) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1044) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253 ) at org.apache.catalina.core.StandardService.start(StandardService.java:3 53) at org.apache.catalina.core.StandardServer.start(StandardServer.java:458 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:718) at org.apache.catalina.startup.Catalina.execute(Catalina.java:640) at org.apache.catalina.startup.Catalina.process(Catalina.java:177) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179)