Hi., I just passed the class not fount error for AprImpl. Right now i got new error in Apache - log [Fri Apr 02 17:30:31 2004] [error] mod_jk child init 1 0
then Apache stderr.log log says.. TomcatStarter: main() Try org.apache.tomcat.startup.Main Try org.apache.catalina.startup.BootstrapService Try org.apache.catalina.startup.Bootstrap No class found Please help me out... Thanks., MALAI ----- Original Message ----- From: "Chippada , Sreeni" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, April 02, 2004 5:19 PM Subject: RE: JKJni dll Error > Try adding <TOMCAT_HOME>\common\lib\jmx.jar to the claspath in [vm:] > > -Sreeni > > -----Original Message----- > From: armalai [mailto:[EMAIL PROTECTED] > Sent: Friday, April 02, 2004 5:14 PM > To: Tomcat Users List > Subject: Re: JKJni dll Error > > Hi., > Please check my properties file. > this is the new error that i notied right now in apache log. > Error: > [Fri Apr 02 16:59:28 2004] [error] Can't find class > org/apache/jk/apr/AprImpl > java.lang.NoClassDefFoundError: javax/management/MBeanRegistration > -------------JK2.properties---------------------- > ## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED > ## WHEN YOU EDIT THE FILE. > ## COMMENTS WILL BE _LOST_ > ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc. > # Override the default port for the socketChannel > > # channelSocket.port=8019 > # Default: > # channelUnix.file=${jkHome}/work/jk2.socket > # Just to check if the the config is working > > #MALAI > #Shared memory directive > shm.file=C:/$Java/3_AS/Apache2/logs/jk2.shm > > # In order to enable jni use any channelJni directive > channelJni.disabled = 0 > > # And one of the following directives: > # apr.jniModeSo=/opt/apache2/modules/mod_jk2.so > # If set to inprocess the mod_jk2 will Register natives itself > # This will enable the starting of the Tomcat from mod_jk2 > apr.jniModeSo=inprocess > ------------------------------------------------------ > -----------workers2.properties------------- > [logger] > level=DEBUG > > [config:] > #file=${serverRoot}/conf/workers2.properties > file=C:/$Java/3_AS/Apache2/conf/workers2.properties > debug=0 > debugEnv=0 > > [uriMap:] > info=Maps the requests. Options: debug > debug=0 > > # Alternate file logger > #[logger.file:0] > #level=DEBUG > #file=${serverRoot}/logs/jk2.log > > [shm:] > info=Scoreboard. Required for reconfiguration and status with multiprocess > servers > file=${serverRoot}/logs/jk2.shm > size=1000000 > debug=0 > disabled=0 > > [workerEnv:] > info=Global server options > timing=1 > debug=0 > > # Default Native Logger (apache2 or win32 ) > # can be overriden to a file logger, useful > # when tracing win32 related issues > #logger=logger.file:0 > > [lb:lb] > > info=Default load balancer. > debug=0 > > #[lb:lb_1] > #info=A second load balancer. > #debug=0 > > [channel.socket:localhost:8009] > info=Ajp13 forwarding over socket > debug=0 > tomcatId=localhost:8009 > lb_factor=2 > group=lb > > [channel.socket:localhost:8019] > info=A second tomcat instance. > debug=0 > tomcatId=localhost:8019 > lb_factor=2 > group=lb > #group=lb_1 > > [channel.socket:localhost:8029] > info=A Third tomcat instance. > debug=0 > tomcatId=localhost:8029 > lb_factor=2 > group=lb > #group=lb_1 > > #disabled=0 > > [channel.jni:jni] > info=The jni channel, used if tomcat is started inprocess > [status:] > info=Status worker, displays runtime informations > > [vm:] > info=Parameters used to load a JVM in the server process > #JVM=C:\jdk\jre\bin\hotspot\jvm.dll > OPT=-Djava.class.path=%classpath%;C:/$Java/3_AS/Tomcat > 5.0/server/lib/tomcat-jni.jar;C:/$Java/3_AS/Tomcat > 5.0/bin/commons-logging-api.jar > OPT=-Dtomcat.home=${TOMCAT_HOME} > #--OPT=-Dcatalina.home=${TOMCAT_HOME} > #--OPT=-Xmx128M > #OPT=-Djava.compiler=NONE > disabled=0 > > [worker.jni:onStartup] > info=Command to be executed by the VM on startup. This one will start > tomcat. > class=org/apache/jk/apr/TomcatStarter > class=org/apache/jk/apr/AprImpl > ARG=start > disabled=0 > > stdout=C:/$Java/3_AS/Apache2/logs/stdout.log > stderr=C:/$Java/3_AS/Apache2/logs/stderr.log > > [worker.jni:onShutdown] > info=Command to be executed by the VM on shutdown. This one will stop > tomcat. > class=org/apache/jk/apr/TomcatStarter > class=org/apache/jk/apr/AprImpl > ARG=stop > disabled=0 > > # Map the Tomcat webapp to the Web server uri space > [uri:/*] > info=Map the entire "examples" webapp > debug=0 > -------------------------------------------------------------------------- -- > ------ > > > ----- Original Message ----- > From: "Chippada , Sreeni" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Friday, April 02, 2004 5:08 PM > Subject: RE: JKJni dll Error > > > > I downloaded JK2 and built it. > > I am trying the same configuration. I am not successful yet. I like to > know > > your jk2.properties and workers2.properties configuration files. > > > > Thanks, > > Sreeni > > > > -----Original Message----- > > From: armalai [mailto:[EMAIL PROTECTED] > > Sent: Friday, April 02, 2004 4:46 PM > > To: Tomcat Users List > > Subject: JKJni dll Error > > > > Environement: > > Windows 2000 > > Tomcat 5.x + Apache 2.X + Mod_JK2 > > > > Error: > > java.lang.UnsatisfiedLinkError: no jkjni in java.library.path > > > > Question: > > 1.Where I can get the jkjni.dll ? > > > > Thanks., > > MALAI > > > > > > --------------------------------------------------------------------- > > 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]
