Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
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
JSP - A mailing list about Java Server Pages specification and reference
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
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
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
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
JK2: "APR not loaded,... : Can 't find dependent libraries "

JK2: "APR not loaded,... : Can 't find dependent libraries "

2003-12-16       - By Baumgaertel, Till {VN-H~Mannheim}

 Back
Hi,

I am trying to connect my OpenSA server (which is baiscally an Apache
1.3.27 httpd) with my Tomcat 5.0 using jk2 and Java 1.4.2 on a Windows
XP machine.

I thought I were following the documentation, but I get this error which
most probably prevents the servers from being connected:
#### > tomcat stdout.log
16.12.2003 14:00:12 org.apache.jk.server.JkMain Source code of org.apache.jk.server.JkMain start
INFO: APR not loaded, disabling jni components: java.io.IOException Source code of java.io.IOException:
java.lang.UnsatisfiedLinkError Source code of java.lang.UnsatisfiedLinkError:
C:\Programme\Internet\jk2\mod_jk2-1.3.27-jni.dll: Can't find dependent
libraries
16.12.2003 14:00:12 org.apache.jk.common.ChannelSocket Source code of org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
#### <

If I understand right, it does not complain about the jk2-library but
about *other* libraries not being present. If so, how can I find out,
which ones and how do I solve my problem?

My jk2 libraries (mod_jk2-1.3.27-jni.dll and mod_jk2-1.3.27.dll) live in
C:\Programme\Internet\jk2 (as seen above).

The jk2.properties looks like:
#### > jk2.properties
handler.list=apr,channelSocket,request
channelSocket.port�09
apr.NativeSo=C:/Programme/Internet/jk2/mod_jk2-1.3.27-jni.dll
#### <

My httpd.conf has the follwing line appended:
LoadModule jk2_module "C:/Programme/Internet/jk2/mod_jk2-1.3.27.dll"

The workers2.properties looks like:
#### > workers2.properties
[shm]
file=${serverRoot}/logs/shm.file
size48576

[channel.socket:localhost:8009]
port�09
host7.0.0.1

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:/mellibase/*]
worker=ajp13:localhost:8009
#### <

Trying to go to http://localhost/mellibase gives me an http 500 error:
"The server encountered an internal error or misconfiguration and was
unable to complete your request."

This produces some lines in the OpenSA's jk2.log:
### > jk2.log
[Tue Dec 16 12:39:29 2003]  (error) [jk_shm.c (358)]: shm.create():
error mmapping c:/opensa/apache/logs/shm.file
[Tue Dec 16 12:41:53 2003]  (error) [jk_endpoint.c (90)]:
workerEnv.init() create slot epStat.0 failed
[Tue Dec 16 12:41:53 2003]  (error) [mod_jk2.c (427)]: mod_jk.handler()
Error connecting to tomcat 21000
### <

If you have any idea what happens, I'll be thankful!

Bye,
Till

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)




©2008 junlu.com - Jax Systems, LLC, U.S.A.