You are right on. It turned out he had an older struts jar file lying around. The scary thing is, it was lying around inside another web app archive. I thought there would be a sandbox between the two -- but, my head hurts from thinking about it anymore. Problem solved.

Thanks,
Erik


Niall Pemberton wrote:

The init() method signature for the PlugIn interface was changed from:

 init(ActionServlet, ApplicationConfig)
to
 init(ActionServlet, ModuleConfig)

in Nov 2002 in between the Strust 1.1 beta 2 and Strust 1.1 beta 3 versions.

Also the stuff in initApplicationPlugIns() method in ActionServlet was
factored out into the initModulePlugIns() between Beta 2 and 3 but it looks
from the stack trace its using the old version.

I think its picking up a struts jar which is pre Struts 1.1 Beta 3 - but
your app was developed with the  Struts 1.1 release version. If thats true
he's either deployed the wrong struts.jar or has an old version hanging
around.

Niall


----- Original Message ----- From: "Erik Weber" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, August 03, 2004 9:15 PM
Subject: More brain flatulence





I have a colleage who is getting the old AbstractMethodError when trying
to deploy his first Struts app -- an app that is running in other
environments successfully. Apparently our plugin won't load.

Here is a snip from the stack trace during deployment:

16:06:44,238 ERROR [Engine] ----- Root Cause -----
java.lang.AbstractMethodError:
BestAssetsPlugIn.init(Lorg/apache/struts/action/A
ctionServlet;Lorg/apache/struts/config/ApplicationConfig;)V
       at
org.apache.struts.action.ActionServlet.initApplicationPlugIns(ActionS
ervlet.java:963)
       at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:447)
       at javax.servlet.GenericServlet.init(GenericServlet.java:211)
       at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1019)
       at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:86
2)


I had him check to make sure there are no old struts jars lying around on the system. I can't figure out why the app will deploy in all environments but his; we have the same versions of everything . . .

What am I forgetting?

Erik


--------------------------------------------------------------------- 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]



Reply via email to