commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kanuri, Chand" <chand.kan...@landg.com>
Subject Struts validator plugin problem
Date Thu, 10 Nov 2005 11:09:34 GMT
Hi all,

i have problem with validator plugin.

in my struts config i enabled the validator like this(i am using struts 1.2)

<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
	<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>

but when i start my server,it gives the following exception

5c20c2f1 ServletInstan X SRVE0100E: Did not realize  init() exception thrown
by servlet ActionServlet: javax.servlet.UnavailableException:
org.apache.commons.validator.ValidatorResources: method
<init>([Ljava/io/InputStream;)V not found
	at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	at
com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.ja
va:802)
	at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleSe
rvlet.java:141)
	at
com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycl
eServlet.java:254)
	at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleSer
vlet.java:107)
	at
com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:388)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	at
com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.java:
84)
	at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServlet
Manager.java:193)
	at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(WebA
ppServletManager.java:325)
	at
com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:1217)
	at com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:145)
	at com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:259)
	at com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:168)
	at
com.ibm.servlet.engine.ServletEngine.addWebApplication(ServletEngine.java:85
7)
	at com.ibm.ws.runtime.WebContainer.install(WebContainer.java:43)
	at com.ibm.ws.runtime.Server.startModule(Server.java:617)
	at
com.ibm.ws.runtime.StandardServer.initializeModules(StandardServer.java:333)
	at
com.ibm.ws.runtime.StandardServer.initializeRuntime0(StandardServer.java:349
)
	at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884)
	at com.ibm.ws.runtime.StandardServer.main(StandardServer.java:519)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
	at
com.ibm.etools.websphere.tools.runner.api.ServerRunnerV4$1.run(ServerRunnerV
4.java:56)

[10/11/05 11:04:24:844 GMT] 5c20c2f1 WebGroup      X Servlet
Error-[ActionServlet]: Failed to load servlet:
javax.servlet.UnavailableException:
org.apache.commons.validator.ValidatorResources: method
<init>([Ljava/io/InputStream;)V not found
	at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	at
com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.ja
va:802)
	at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleSe
rvlet.java:141)
	at
com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycl
eServlet.java:254)
	at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleSer
vlet.java:107)
	at
com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:388)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	at
com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.java:
84)
	at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServlet
Manager.java:193)
	at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(WebA
ppServletManager.java:325)
	at
com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:1217)
	at com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:145)
	at com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:259)
	at com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:168)
	at
com.ibm.servlet.engine.ServletEngine.addWebApplication(ServletEngine.java:85
7)
	at com.ibm.ws.runtime.WebContainer.install(WebContainer.java:43)
	at com.ibm.ws.runtime.Server.startModule(Server.java:617)
	at
com.ibm.ws.runtime.StandardServer.initializeModules(StandardServer.java:333)
	at
com.ibm.ws.runtime.StandardServer.initializeRuntime0(StandardServer.java:349
)
	at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884)
	at com.ibm.ws.runtime.StandardServer.main(StandardServer.java:519)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
	at
com.ibm.etools.websphere.tools.runner.api.ServerRunnerV4$1.run(ServerRunnerV
4.java:56)


any ideas?
please let me know

regards and many thanks in advance


This e-mail (and any attachments) may contain privileged and/or confidential information.
If you are not the intended recipient please do not disclose, copy, distribute, disseminate
or take any action in reliance on it. If you have received this message in error please reply
and tell us and then delete it. Should you wish to communicate with us by e-mail we cannot
guarantee the security of any data outside our own computer systems. For the protection of
Legal & General's systems and staff, incoming emails will be automatically scanned.

Any information contained in this message may be subject to applicable terms and conditions
and must not be construed as giving investment advice within or outside the United Kingdom.

The following companies are subsidiary companies of the Legal & General Group Plc which
are authorised and regulated by the Financial Services Authority for advising and arranging
the products shown: Legal & General Partnership Services Limited (insurance and mortgages),
Legal & General Insurance Limited (insurance), Legal & General Assurance Society Limited

(life assurance, pensions and investments), Legal & General Unit Trust Managers Limited
and Legal & General Portfolio Management Services Limited (investments).

They are registered in England under numbers shown.
The registered office is Temple Court, 11 Queen Victoria Street, London EC4N 4TP.

Legal & General Partnership Services Limited: 5045000 Legal & General Assurance Society
Limited: 166055 Legal & General (Unit Trust Managers) Limited: 1009418 Legal & General
(Portfolio Management Services) Limited: 2457525 Legal & General Insurance Limited: 423930

They are registered with the Financial Services Authority under numbers shown. You can check
this at www.fsa.gov.uk/register

Legal & General Partnership Services Limited: 300792 Legal & General Assurance Society
Limited: 117659 Legal & General (Unit Trust Managers) Limited: 119273 Legal & General
(Portfolio Management Services) Limited: 146786 Legal & General Insurance Limited: 202050


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message