Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
tomcat connector error

tomcat connector error

2007-10-04       - By Rainer Jung

 Back
The message says, the build system can't find your compiler.

The build of mod_jk runs indirectly via "libtool". it uses the version
of libtool, that got used to build the web server. For apache 2.0 and
above, we ask the apxs coming with apache via "apxs -q LIBTOOL", which
libtool got used to build this apache. We expect your supplier of
apache, to provide the libtool too.

In your case this apxs query obviously returned
"/usr/IBMIHS/build/libtool".

Later we call the compiler via this libtool. Inside this libttol, there
now is the information, that your compiler is "xlc_r", and this is not
in your search path.

How to fix?

Easiest: find xlc_r and put it into the search path of your shell.

If you don't have xlc_r, and you want to use another compiler named XX
instead:
- you can't be sure, that the module compiled with XX will fit to an
httpd build with xlc_r !
- if you want to try nevertheless:
   - copy your "/usr/IBMIHS/build/libtool" to "/my/path/libtool"
   - edit /my/path/libtool and replace all references to xlr_c with XX
   - edit configure coming with mod_jk and adjust the following line:
                LIBTOOL=`$APXS -q LIBTOOL`
to
                LIBTOOL=/my/path/libtool
   - try configure and make again

Good luck!

Regards,

Rainer

preet_1 wrote:
> Hi
>
>   I want to connect Tomcat with IBM HTTP server. But while connecting(making
> the file JK connector binary) i got the following error
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Making all in common
> Target "all" is up to date.
>
> Making all in apache-2 (See http://che-2.ora-code.com).0
>         /bin/sh /usr/IBMIHS/build/libtool  --mode=compile xlc_r
> -I/usr/IBMIHS/include -g -O2 -DUSE_APACHE_MD5 -I ../common  -I
> /usr/java14/include -I /usr/java14/include/unix -U__STR__ -D_THREAD_SAFE
> -D_USE_IRS -O2 -qmaxmem=8192 -qHALT=E -DHAVE_APR
> -I/blddir/WWWIHS2047/apache/srclib/apr/include
> -I/blddir/WWWIHS2047/apache/srclib/apr-util/include -g -O2 -qHALT=E
> -U__STR__ -D_THREAD_SAFE -D_USE_IRS -c mod_jk.c -o mod_jk.lo
> rm -f .libs/mod_jk.lo
> xlc_r -I/usr/IBMIHS/include -g -O2 -DUSE_APACHE_MD5 -I ../common -I
> /usr/java14/include -I /usr/java14/include/unix -U__STR__ -D_THREAD_SAFE
> -D_USE_IRS -O2 -qmaxmem=8192 -qHALT=E -DHAVE_APR
> -I/blddir/WWWIHS2047/apache/srclib/apr/include
> -I/blddir/WWWIHS2047/apache/srclib/apr-util/include -g -O2 -qHALT=E
> -U__STR__ -D_THREAD_SAFE -D_USE_IRS -c mod_jk.c  -DPIC -o .libs/mod_jk.lo
> /usr/IBMIHS/build/libtool[847]: xlc_r:  not found
> make: 1254-004 The error code from the last command is 1.
> Stop.
> make: 1254-004 The error code from the last command is 1.
> Stop.
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
-- ---
> It will be very helpful If anyone can suggest on this error.
> thanx in advance
>
> preet_1

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)