"Brennon Obst" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Dear usergroup, > > When I use <Listener className="org.apache.jk.config.ApacheConfig" ... > /> instead of the > > <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" > modJk="/usr/local/apache2/modules/mod_jk.so"> (notice > ...ajp.tomcat4.config...)? >
You need TC 5.0.18 to get ApacheConfig back. > > I get the following error: > > 22/01/2004 11:31:39 org.apache.commons.digester.Digester startElement > SEVERE: Begin event threw exception > java.lang.ClassNotFoundException: org.apache.jk.config.ApacheConfig > at > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo > ader.java:891) > at > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo > ader.java:756) > at > org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java > :252) > at org.apache.commons.digester.Rule.begin(Rule.java:200) > at > org.apache.commons.digester.Digester.startElement(Digester.java:1273) > at > org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) > at > org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(U > nknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis > patcher.dispatch(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno > wn Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source) > at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown > Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown > Source) > at > org.apache.commons.digester.Digester.parse(Digester.java:1548) > at org.apache.catalina.startup.Catalina.load(Catalina.java:512) > at org.apache.catalina.startup.Catalina.start(Catalina.java:570) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297) > at > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:394) > 22/01/2004 11:31:39 org.apache.catalina.startup.Catalina start > > > It looks like that line will not work, what else can I do for Tomcat 5.0 > ? > > > Why is there no documentation for tomcat 5.0 server.xml and jk2? This > project(Tomcat) is being less and less supported by ISP's and I cant > even get servlets hosted anymore, that is why I am setting up a server > myself. This community requires up do date documentation on JK2 and > Tomcat 5.0. > > > If you know who to forward this to, please help this documentation make > its way to the public. > This is the place to forward this to ;-). Tomcat is an O/S project, and as such depends on it's community to do the work such as writing documentation. > Regards, > > /Brennon Obst > > > Thank you for the reply, > > > > Could you please clairify a few points. > > 1. Is the new home available for web access? > > It is just a re-packaging, nothing more. TC 5 doesn't contain the > o.a.ajp.** packages. > > > > > 2. For <Listener > > className="org.apache.ajp.tomcat4.config.ApacheConfig" > > modJk="/usr/local/apache2/modules/mod_jk.so" > > >>> Is this the same for tomcat 5? (notice ...ajp.tomcat4.config...)? > > > > <Listener className="org.apache.jk.config.ApacheConfig" ... /> > Everything else is the same. > > > 3. Is there a new version of the how-to for jk2/Apache2/tomcat5.0 ? > > > > Not yet (As another thread has pointed out, I'm not the best doc writer > :). The TC 4 docs are still vaild, once you change the package name > however. Also, ApacheConfig doesn't work with mod_jk2: It is only for > mod_jk. > > > Thank you in advance, > > > > Brennon Obst > > > > -----Original Message----- > > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker > > Sent: Wednesday, 21 January 2004 4:42 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Tomcat 5.0 & mod_jk Configuration > > > > > > As of 5.0.18, ApacheConfig and friends have moved to their new home in > > > the org.apache.jk.config package. With 5.0.18, there is no change in > > the functionality. It may be extended on future releases. > > > > "Brennon Obst" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > Tomcat 5.0 & mod_jk Configuration > > > by James Thornton <[EMAIL PROTECTED] PROTECTED] > Dec > > > > > <http://www.talkaboutprogramming.com/group/comp.lang.java.programmer/a > > rc > > hive > > > /2003-12-31.html> 31, 2003 at 12:34 AM > > > > > > > > > > > > What in tomcat 5.0's configuration for mod_jk differs from how you > > > would > > > > > > do it for tomcat 4.x? Is this documented anywhere? > > > > > > > > > > > > In the tomcat 4.x server.xml, I had: > > > > > > > > > > > > <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" > > > > > > modJk="/usr/local/apache2/modules/mod_jk.so" /> > > > > > > > > > > > > Is this the same for tomcat 5? (notice ...ajp.tomcat4.config...) > > > > > > > > > > > > I tried simply changing it to ...ajp.tomcat5.config... to no avail. > > > > > > > > > > > > Thanks. > > > > > > > > > > > > I have posted this exact same thing and also do not have any avenues > > > > yet. Can anyone help us out here? thank you in advance, > > > > > > > > > Brennon Obst > > > > > > > > > Java Security Programmer > > > iEnergy Main Branch > > > 39 Melbourne St. / Brisbane > > > p. (617) 3846-6666 > > > [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]
