RE: List Archive: Follow-up - jk2 jni doesn't work

2002-10-10 Thread Mladen Turk



 -Original Message-
 From: Brzezinski, Paul J [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 10, 2002 6:25 PM
 To: [EMAIL PROTECTED]
 Subject: List Archive: Follow-up - jk2 jni doesn't work 
 
 
 Jean-Frederic, Bill, Mladen Turk, List,
 
 I found this in the archive -- was this resolved?  The code snippet
 

Think not.

 OPT=-Djava.class.path=${TOMCAT_HOME}\bin\tomcat-jni.jar;${TOMC
 AT_HOME}\serve
 r\lib\commons-logging.jar
 
 What file did this get added to?

workers2.properties

  I'm having *THIS* exact
 problem -- and haven't been able to resolve it, I've built 
 the connectors and jakarta-tomcat-4.1.12 from src with no 
 errors/problems but can't get the APR to init because of the 
 java.lang.NoClassDefFoundError in AprImpl.java.
 
 I would like to get this working -- work-around is what I'm
 looking for, please help.


You will also need the
handler.list=apr,request,container,channelJni
apr.jniModeSo=inprocess

In the jk2.properties.
  
 Paul
 
 From the archive:
 
 Re: [BUG] jk2 jni doesn't work
 
 --
 --
 
 
 From: jean-frederic clere 
 Subject: Re: [BUG] jk2 jni doesn't work 
 Date: Wed, 18 Sep 2002 23:41:39 -0700 
 
 --
 --
 
 
 Mladen Turk wrote:
  This is the classloader problem.
  
  Think that Bill Baker is solving this, but until then add the 
  commons-logging.jar to the loaded classes when started inprocess:
  
  
 OPT=-Djava.class.path=${TOMCAT_HOME}\bin\tomcat-jni.jar;${TOMCAT_HOME}
  \s
  erver\lib\commons-logging.jar
 
 I do not like this work-around: we will have end with a huge 
 classpath.
 
  
  Adding commons-logging to the classpath solves the JNI problem.
  
  Bill, when can ve expect this will get solved?
  
  
  
  
 java.lang.NoClassDefFoundError: 
 org/apache/commons/logging/LogFactory
   at org.apache.jk.apr.AprImpl.clinit(AprImpl.java:348)
 java.lang.NoClassDefFoundError
 
 
  
  
  MT.
  
  
 
 
 
 --
 mailto:[EMAIL PROTECTED]
 Enterprise Distributed Capabilities
 EDS Corporation
 248-265-8283
 
 



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




RE: List Archive: Follow-up - jk2 jni doesn't work

2002-10-10 Thread Brzezinski, Paul J


List, MT -

Added the extra OPT stuff to workers2.properties and apache 2.0 starts up
OK.

Still having errors though when I start Tomcat:

Oct 10, 2002 2:52:54 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Oct 10, 2002 2:52:54 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Oct 10, 2002 2:52:57 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Oct 10, 2002 2:53:03 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Oct 10, 2002 2:53:30 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Oct 10, 2002 2:53:30 PM org.apache.jk.server.JkMain newHandler
SEVERE: Can't create apr
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.jk.apr.AprImpl.clinit(AprImpl.java:340)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
.
.
.
.

Any ideas?

--
mailto:[EMAIL PROTECTED]
Enterprise Distributed Capabilities
EDS Corporation
248-265-8283


: -Original Message-
: From: Mladen Turk [mailto:[EMAIL PROTECTED]] 
: Sent: Thursday, October 10, 2002 1:42 PM
: To: 'Tomcat Developers List'
: Subject: RE: List Archive: Follow-up - jk2 jni doesn't work 
: 
: 
: 
: 
:  -Original Message-
:  From: Brzezinski, Paul J [mailto:[EMAIL PROTECTED]]
:  Sent: Thursday, October 10, 2002 6:25 PM
:  To: [EMAIL PROTECTED]
:  Subject: List Archive: Follow-up - jk2 jni doesn't work 
:  
:  
:  Jean-Frederic, Bill, Mladen Turk, List,
:  
:  I found this in the archive -- was this resolved?  The code snippet
:  
: 
: Think not.
: 
:  OPT=-Djava.class.path=${TOMCAT_HOME}\bin\tomcat-jni.jar;${TOMC
:  AT_HOME}\serve
:  r\lib\commons-logging.jar
:  
:  What file did this get added to?
: 
: workers2.properties
: 
:   I'm having *THIS* exact
:  problem -- and haven't been able to resolve it, I've built 
:  the connectors and jakarta-tomcat-4.1.12 from src with no 
:  errors/problems but can't get the APR to init because of the 
:  java.lang.NoClassDefFoundError in AprImpl.java.
:  
:  I would like to get this working -- work-around is what I'm
:  looking for, please help.
: 
: 
: You will also need the
: handler.list=apr,request,container,channelJni
: apr.jniModeSo=inprocess
: 
: In the jk2.properties.
:   
:  Paul
:  
:  From the archive:
:  
:  Re: [BUG] jk2 jni doesn't work
:  
:  --
:  --
:  
:  
:  From: jean-frederic clere 
:  Subject: Re: [BUG] jk2 jni doesn't work 
:  Date: Wed, 18 Sep 2002 23:41:39 -0700 
:  
:  --
:  --
:  
:  
:  Mladen Turk wrote:
:   This is the classloader problem.
:   
:   Think that Bill Baker is solving this, but until then add the 
:   commons-logging.jar to the loaded classes when started inprocess:
:   
:   
:  
: OPT=-Djava.class.path=${TOMCAT_HOME}\bin\tomcat-jni.jar;${TOMCAT_HOME}
:   \s
:   erver\lib\commons-logging.jar
:  
:  I do not like this work-around: we will have end with a huge 
:  classpath.
:  
:   
:   Adding commons-logging to the classpath solves the JNI problem.
:   
:   Bill, when can ve expect this will get solved?
:   
:   
:   
:   
:  java.lang.NoClassDefFoundError: 
:  org/apache/commons/logging/LogFactory
:at org.apache.jk.apr.AprImpl.clinit(AprImpl.java:348)
:  java.lang.NoClassDefFoundError
:  
:  
:   
:   
:   MT.
:   
:   
:  
:  
:  
:  --
:  mailto:[EMAIL PROTECTED]
:  Enterprise Distributed Capabilities
:  EDS Corporation
:  248-265-8283
:  
:  
: 
: 
: 
: --
: To unsubscribe, e-mail:   
: mailto:tomcat-dev-: [EMAIL PROTECTED]
: For 
: additional commands, 
: e-mail: mailto:[EMAIL PROTECTED]
: 

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