struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcella Turner" <mtstr...@hotmail.com>
Subject Specified RequestProcessor not compatible with TilesRequestProcessor
Date Mon, 03 May 2004 13:25:52 GMT
Hi All,

I would like to migrate a Struts application to a Struts-Tiles application.  
The application currently defines the controller as 
SecurityRequestProcessor, like so:

<controller processorClass="org.apache.struts.action.SecureRequestProcessor" 
/>

However, I'm getting the following error when calling my first tiled jsp:

[4/30/04 16:42:44:725 EDT] 74488c86 WebGroup      E SRVE0026E: [Servlet 
Error]-[action]: javax.servlet.ServletException: TilesPlugin : Specified 
RequestProcessor not compatible with TilesRequestProcessor
	at 
org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass(TilesPlugin.java:358)
	at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:165)
	at 
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1105)
	at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	at 
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
	at 
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
	at 
com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
	at 
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
	at 
com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	at 
com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:870)
	at 
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
	at 
com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServletReference(WebAppServletManager.java:455)
	at 
com.ibm.ws.webcontainer.webapp.WebApp.getServletReference(WebApp.java:646)
	at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.calculateInfo(WebAppRequestDispatcherInfo.java:172)
	at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.<init>(WebAppRequestDispatcherInfo.java:59)
	at 
com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1455)
	at 
com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1414)
	at 
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:197)
	at 
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
	at 
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
	at 
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
	at 
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
	at 
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
	at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:435)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)

Are TILES and SECURITY mutally exclusive?  How can I use the feaatures of 
both contollers?

Thanks in advance.

_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page  FREE 
download! http://toolbar.msn.com/go/onm00200413ave/direct/01/


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


Mime
View raw message