You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Micael <ca...@harbornet.com> on 2003/03/28 09:25:59 UTC
ActionServlet won't load with custom PlugIn
I am getting the following difficulty loading a class that implements the
PlugIn interface. I have property implemented the interface (it compiles)
and I have added the equivalent of the following to the struts-config.xml:
<plug-in className="com.mySite.MyClass"/>
Anyone know what I am doing wrong? The ActionServlet won't load and the
entire app won't run once this happens.
2003-03-27 13:34:29 StandardWrapper[/mySite:action]: Marking servlet action
as unavailable
2003-03-27 13:34:29 StandardContext[/michaelmcgrady]: Servlet /mySite threw
load() exception
javax.servlet.UnavailableException
at
org.apache.struts.action.ActionServlet.initApplicationPlugIns(ActionServlet.java:997)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:458)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
...................
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
LEGAL NOTICE
This electronic mail transmission and any accompanying documents contain
information belonging to the sender which may be confidential and legally
privileged. This information is intended only for the use of the
individual or entity to whom this electronic mail transmission was sent as
indicated above. If you are not the intended recipient, any disclosure,
copying, distribution, or action taken in reliance on the contents of the
information contained in this transmission is strictly prohibited. If you
have received this transmission in error, please delete the message. Thank you
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org