Re: Specified RequestProcessor not compatible with TilesRequestProcessor

2004-05-03 Thread Marcella Turner
Hi Joe -

I did find some threads here on how people have set up SSLExt, most 
specifically Brian McSweeny's post on how he was getting started with it:

http://marc.theaimsgroup.com/?l=struts-user&m=106631418831255&w=2

However, now that I have taken some of the requireed steps, I'm somewhat 
stuck again.  I have reposted to the list.  Do you mind taking a look?

http://marc.theaimsgroup.com/?l=struts-user&m=108361584500800&w=2

Thanks again!


From: Joe Germuska <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: Specified RequestProcessor not compatible with 
TilesRequestProcessor
Date: Mon, 3 May 2004 15:23:01 -0500

Thanks so much for your prompt reply!  I have downloaded the sslext from 
SourcForge and am wondering if there is a user friendly migration document 
that I can reference which spells out the implementation.
Actually, I just recently started using sslext for the first time, and I 
was kind of surprised at the complete lack of documentation!  I totally 
understand that it's open source and all -- but I didn't see anything at 
all!

I guess it's just waiting for one user to keep notes as they go through the 
process and turn it into a "HOWTO"...  if you turn out to be that one user, 
the Struts wiki might be a good place to put your notes so that others can 
share them -- http://wiki.apache.org/struts

Joe

--
Joe Germuska[EMAIL PROTECTED]  http://blog.germuska.com  
"Imagine if every Thursday your shoes exploded if you tied them the usual 
way.  This happens to us all the time with computers, and nobody thinks of 
complaining."
-- Jef Raskin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Specified RequestProcessor not compatible with TilesRequestProcessor

2004-05-03 Thread Joe Germuska
Thanks so much for your prompt reply!  I have downloaded the sslext 
from SourcForge and am wondering if there is a user friendly 
migration document that I can reference which spells out the 
implementation.
Actually, I just recently started using sslext for the first time, 
and I was kind of surprised at the complete lack of documentation!  I 
totally understand that it's open source and all -- but I didn't see 
anything at all!

I guess it's just waiting for one user to keep notes as they go 
through the process and turn it into a "HOWTO"...  if you turn out to 
be that one user, the Struts wiki might be a good place to put your 
notes so that others can share them -- http://wiki.apache.org/struts

Joe

--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
  "Imagine if every Thursday your shoes exploded if you tied them 
the usual way.  This happens to us all the time with computers, and 
nobody thinks of complaining."
-- Jef Raskin

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


Re: Specified RequestProcessor not compatible with TilesRequestProcessor

2004-05-03 Thread Marcella Turner
Joe,

Thanks so much for your prompt reply!  I have downloaded the sslext from 
SourcForge and am wondering if there is a user friendly migration document 
that I can reference which spells out the implementation.


From: Joe Germuska <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: Specified RequestProcessor not compatible with 
TilesRequestProcessor
Date: Mon, 3 May 2004 08:37:18 -0500

This is mostly a side-effect of the RequestProcessor being a single class, 
rather than an interface.

The SSL-ext project has a SecureTilesRequestProcessor class which solves 
your immediate problem.

When we begin work on Struts 1.3.x (real soon now) we will integrate 
support for a composable request processor that will allow developers to 
add functionality along the entire request lifecycle  by chaining commands, 
rather than extending the RequestProcessor class and running into issues 
like this.

The "struts-chain" library in the CVS repository is already usable for this 
now, but one of the major efforts of Struts 1.3 will be to make this the 
primary way in which requests are handled, including flushing out all the 
bugs that might be in there and adapting other RequestProcessor extensions 
(like SSL-ext and struts-workflow) to work with the chained request 
processor.

Joe

At 1:25 PM + 5/3/04, Marcella Turner wrote:
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:



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.(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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Joe Germuska
[EMAIL PROTECTED]
http://blog.germuska.com
  "Imagine if every Thursday your shoes exploded if you tied them the 
usual way.  This happens to us all the time with compute

Re: Specified RequestProcessor not compatible with TilesRequestProcessor

2004-05-03 Thread Joe Germuska
This is mostly a side-effect of the 
RequestProcessor being a single class, rather 
than an interface.

The SSL-ext project has a 
SecureTilesRequestProcessor class which solves 
your immediate problem.

When we begin work on Struts 1.3.x (real soon 
now) we will integrate support for a composable 
request processor that will allow developers to 
add functionality along the entire request 
lifecycle  by chaining commands, rather than 
extending the RequestProcessor class and running 
into issues like this.

The "struts-chain" library in the CVS repository 
is already usable for this now, but one of the 
major efforts of Struts 1.3 will be to make this 
the primary way in which requests are handled, 
including flushing out all the bugs that might be 
in there and adapting other RequestProcessor 
extensions (like SSL-ext and struts-workflow) to 
work with the chained request processor.

Joe

At 1:25 PM + 5/3/04, Marcella Turner wrote:
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:



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.(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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Joe Germuska
[EMAIL PROTECTED]
http://blog.germuska.com
  "Imagine if every Thursday your shoes 
exploded if you tied them the usual way.  This 
happens to us all the time with computers, and 
nobody thinks of complaining."
-- Jef Raskin

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