I should mention that I get this error with both the Turbine 2.1 and 2.2
editions, and that I need to graft the webapps/newapp example to an
existing Tomcat 3.3 installation.

1) the Ant process places all the libs in newapp/WEB-INF/lib but this
   causes a missing class exception for the ECS; I moved the ecs jar
   into tomcat/lib/apps and the exception went away.

2) I only get the NoSuchMethodError on the first click (after the
   tomcat initializes; if I click "Reload", I get 

    IncompatibleClassChangeError: org/apache/turbine/util/RunData

   presumably because the Turbine.init() method did not totally clean
   up after the exception, leaving the firstInit static variable reset,
   which lets the process by-pass the init on the second run.  

   Perhaps the "firstInit = false" should be moved down to follow the
   "services.initServices(config,false)" line?

   Curiously, I do _not_ get the output from the "log" call in the
   catch block for this exception.

3) I need turbine to co-exist with other tomcat webapps, and those
   apps also require xerces and xalan.  This error does not appear to be
   related to XML, so I'm not (yet) worried about conflicts.

4) I haven't a clue what a "ServiceBroker" does, but there are a list
   of services in the Turbine.properties; since the error _might_ mean
   I had some service listed for which there was no java class, I
   commented out all of the services except the first half-dozen or
   so (they seemed essential and are in the turbine jar) -- the same
   error persists.  I also tried moving all jars into the tomcat lib/apps
   and unpacking the turbine jar into the WEB-INF classes; the same
   error persists.

This is obviously a configuration and/or jar-conflict situation, but
the question is where, and how do I track it?

Also, since the TurbineServices is a Singleton, it should have been
initialized when the class is loaded, and the constructor reduces to
BaseInitableBroker() which does nothing; there does not appear to be
any opportunity for the constructor to fail!

-- 
Gary Lawrence Murphy <[EMAIL PROTECTED]> TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless.  They can only give you answers."(Pablo Picasso)


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

Reply via email to