RE: Struts2 on Websphere portal 6.1.0.0

2010-04-22 Thread Prabahar

... and I think you need to set those properties.

Can you please mention what properties that i should configure in portal
server? i have searched a lot but i can not get any properties to configure.
Could you please share that information?

More over i have configured Display Tag requestURI as follows, but still i
am getting the page can not be displayed.
s:set name=searchResultList value=searchResult /
s:property value=searchResult/
display:table name=searchResultList id=user sort=list
defaultsort=2 pagesize=2 requestURI=refreshSearchForm.action
requestURIcontext=false
display:column sortable=true 
property=name/display:column
display:column property=address/display:column
/display:table
struts.xml
--
action name=refreshSearchForm
result/WEB-INF/search/searchList.jsp/result
/action
Can you able to find the problem in my code?
-- 
View this message in context: 
http://old.nabble.com/Struts2-on-Websphere-portal-6.1.0.0-tp18761735p28324692.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



RE: Struts2 on Websphere portal 6.1.0.0

2010-04-22 Thread Prabahar

Please find the attached error log...
http://old.nabble.com/file/p28325070/DisplayTag.txt DisplayTag.txt 
-- 
View this message in context: 
http://old.nabble.com/Struts2-on-Websphere-portal-6.1.0.0-tp18761735p28325070.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



RE: Struts2 on Websphere portal 6.1.0.0

2010-04-22 Thread Struts Two
Set the the following properties in custom properties of your Websphere 
application server

com.ibm.ws.webcontainer.assumefiltersuccessonsecurityerror = true
com.ibm.ws.webcontainer.invokefilterscompatibility = true



--- On Thu, 4/22/10, Prabahar prabahar.durais...@lntinfotech.com wrote:

 From: Prabahar prabahar.durais...@lntinfotech.com
 Subject: RE: Struts2 on Websphere portal 6.1.0.0
 To: user@struts.apache.org
 Received: Thursday, April 22, 2010, 7:24 AM
 
 Please find the attached error log...
 http://old.nabble.com/file/p28325070/DisplayTag.txt
 DisplayTag.txt 
 -- 
 View this message in context: 
 http://old.nabble.com/Struts2-on-Websphere-portal-6.1.0.0-tp18761735p28325070.html
 Sent from the Struts - User mailing list archive at
 Nabble.com.
 
 
 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org
 
 



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



Re: Struts2 on Websphere portal 6.1.0.0

2010-04-19 Thread Prabahar

I am facing an issue with Struts 2 portlet which uses Display Tag. I have
implemented a code to display a list using Display Table and also
implemented Sorting option. It is working fine with IBM WAS 7.0 and the same
code is not working with IBM Portal Server 6.1

It is displaying the data, but when i click on the pagination link (First,
Last, Next..) and the column header (to sort) then i am getting page can not
be found.

I have even mentioned page cotext, but still i am facing this issue. I have
also added the display tag portlet support jar (displaytag-portlet-1.2.jar)
along with displaytag-1.2.jar and its supporting jars.

display:table name=searchResultList id=user sort=list defaultsort=2
pagesize=2 requestURI=
display:column sortable=true 
property=name/display:column
display:column property=address/display:column
/display:table

I have a doubt in the requestURI parameter... what exactly i should give to
that parameter. I have also used requestURIContext as well, but no
improvement.



Nils-Helge Garli wrote:
 
 Thanks for the summary, although I disagree with your conclusion ;)
 
 Nils-H
 
 On Fri, Aug 1, 2008 at 2:21 AM, Struts Two struts...@yahoo.ca wrote:
 I am running Struts2.0.11.1 on Websphere 6.1.0.17 NOT THE WEBSPHERE
 PORTAL. You need to keep the followings in mind:
 1- You need to have at least fixpack 13 or 15 ( I am not sure which one,
 otherwise you CAN NOT RUN STRUTS 2 ON WAS)
 2- Struts 2.0.11.2 has problems running on Websphere 6.1 (it is missing a
 patch), so you need to downgrade to 2.0.11.1 till next release (2.0.11.3
 or 2.0.12)
 3- Once the above you are done with above steps, you need to set the
 following custom property for WAS server:
 com.ibm.ws.webcontainer.invokefilterscompatibility   =  true
 If you do not set the above property, you can not run struts 2 on WAS as
 well.
 However; I did a project using struts on Websphere portal 6.0. IBM
 provides its own customized struts that works with portal (which is based
 on struts1), and it is pretty good. I recommend use the IBM's struts that
 comes with Portal server as you would have a hard time using struts 2
 with websphere portal.
 Hope this helps,



 - Original Message 
 From: Dinesh Narayanan ndchan...@gmail.com
 To: user@struts.apache.org
 Sent: Thursday, July 31, 2008 3:26:20 PM
 Subject: Struts2 on Websphere portal 6.1.0.0

 Has Anybody tried Struts2 (Struts-2.0.11.2) on Websphere portal 6.1.0..0? 
 I
 am running into issues when I tried  a very simple JSR168 example.  Any
 help
 would be appreciated. Is there some example of struts2 sample in
 websphere
 portal 6.1?

 A) My portlet.xml contains the following entries
 init-param
 nameviewNamespace/name
 value/view/value
 /init-param

   !-- The default action to invoke in view mode. --
   init-param
 namedefaultViewAction/name
 valueindex/value
   /init-param


 B) My struts.xml is
 struts
 package name=view extends=struts-portlet-default namespace=/view
 action name=index class=com.myCompany.proj1.ExampleAction
 result name=success/WEB-INF/view/index.jsp/result
 /action
 /package
 /struts


 Thanks
 Dinesh



  __
 Be smarter than spam. See how smart SpamGuard is at giving junk email the
 boot with the All-new Yahoo! Mail.  Click on Options in Mail and switch
 to New Mail today or register for free at http://mail.yahoo.ca


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


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

-- 
View this message in context: 
http://old.nabble.com/Struts2-on-Websphere-portal-6.1.0.0-tp18761735p28287622.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



RE: Struts2 on Websphere portal 6.1.0.0

2010-04-19 Thread Griffith, Michael *
The problem is the URI parameter in your display tag table. This is how
DT invokes the action/HTTP request that originally got the request for
the table in the table. It should be something like:
requestURI=search.action where the value is the action of the page.

MG

-Original Message-
From: Prabahar [mailto:prabahar.durais...@lntinfotech.com] 
Sent: Monday, April 19, 2010 3:17 AM
To: user@struts.apache.org
Subject: Re: Struts2 on Websphere portal 6.1.0.0


I am facing an issue with Struts 2 portlet which uses Display Tag. I
have implemented a code to display a list using Display Table and also
implemented Sorting option. It is working fine with IBM WAS 7.0 and the
same code is not working with IBM Portal Server 6.1

It is displaying the data, but when i click on the pagination link
(First, Last, Next..) and the column header (to sort) then i am getting
page can not be found.

I have even mentioned page cotext, but still i am facing this issue. I
have also added the display tag portlet support jar
(displaytag-portlet-1.2.jar) along with displaytag-1.2.jar and its
supporting jars.

display:table name=searchResultList id=user sort=list
defaultsort=2
pagesize=2 requestURI=
display:column sortable=true
property=name/display:column
display:column property=address/display:column
/display:table

I have a doubt in the requestURI parameter... what exactly i should give
to that parameter. I have also used requestURIContext as well, but no
improvement.



Nils-Helge Garli wrote:
 
 Thanks for the summary, although I disagree with your conclusion ;)
 
 Nils-H
 
 On Fri, Aug 1, 2008 at 2:21 AM, Struts Two struts...@yahoo.ca wrote:
 I am running Struts2.0.11.1 on Websphere 6.1.0.17 NOT THE WEBSPHERE 
 PORTAL. You need to keep the followings in mind:
 1- You need to have at least fixpack 13 or 15 ( I am not sure which 
 one, otherwise you CAN NOT RUN STRUTS 2 ON WAS)
 2- Struts 2.0.11.2 has problems running on Websphere 6.1 (it is 
 missing a patch), so you need to downgrade to 2.0.11.1 till next 
 release (2.0.11.3 or 2.0.12)
 3- Once the above you are done with above steps, you need to set the 
 following custom property for WAS server:
 com.ibm.ws.webcontainer.invokefilterscompatibility   =  true
 If you do not set the above property, you can not run struts 2 on WAS

 as well.
 However; I did a project using struts on Websphere portal 6.0. IBM 
 provides its own customized struts that works with portal (which is 
 based on struts1), and it is pretty good. I recommend use the IBM's 
 struts that comes with Portal server as you would have a hard time 
 using struts 2 with websphere portal.
 Hope this helps,



 - Original Message 
 From: Dinesh Narayanan ndchan...@gmail.com
 To: user@struts.apache.org
 Sent: Thursday, July 31, 2008 3:26:20 PM
 Subject: Struts2 on Websphere portal 6.1.0.0

 Has Anybody tried Struts2 (Struts-2.0.11.2) on Websphere portal
6.1.0..0? 
 I
 am running into issues when I tried  a very simple JSR168 example.  
 Any help would be appreciated. Is there some example of struts2 
 sample in websphere portal 6.1?

 A) My portlet.xml contains the following entries init-param
 nameviewNamespace/name
 value/view/value
 /init-param

   !-- The default action to invoke in view mode. --
   init-param
 namedefaultViewAction/name
 valueindex/value
   /init-param


 B) My struts.xml is
 struts
 package name=view extends=struts-portlet-default
namespace=/view
 action name=index class=com.myCompany.proj1.ExampleAction
 result name=success/WEB-INF/view/index.jsp/result
 /action
 /package
 /struts


 Thanks
 Dinesh



  
 __
 Be smarter than spam. See how smart SpamGuard is at giving junk email

 the boot with the All-new Yahoo! Mail.  Click on Options in Mail and 
 switch to New Mail today or register for free at http://mail.yahoo.ca


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


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

--
View this message in context:
http://old.nabble.com/Struts2-on-Websphere-portal-6.1.0.0-tp18761735p282
87622.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


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



RE: Struts2 on Websphere portal 6.1.0.0

2010-04-19 Thread Struts Two
When you run struts 2 on Websphere 6.1, there are a few properties you need to 
add to your Server custom properties. Without these properties set, you will 
not be able to run struts2. IBM portal server is bacisally and enterprise file 
that runs on Websphere application server, and I think you need to set those 
properties.

--- On Mon, 4/19/10, Griffith, Michael * michael.griff...@fda.hhs.gov wrote:

 From: Griffith, Michael * michael.griff...@fda.hhs.gov
 Subject: RE: Struts2 on Websphere portal 6.1.0.0
 To: Struts Users Mailing List user@struts.apache.org
 Received: Monday, April 19, 2010, 2:59 PM
 The problem is the URI parameter in
 your display tag table. This is how
 DT invokes the action/HTTP request that originally got the
 request for
 the table in the table. It should be something like:
 requestURI=search.action where the value is the action of
 the page.
 
 MG
 
 -Original Message-
 From: Prabahar [mailto:prabahar.durais...@lntinfotech.com]
 
 Sent: Monday, April 19, 2010 3:17 AM
 To: user@struts.apache.org
 Subject: Re: Struts2 on Websphere portal 6.1.0.0
 
 
 I am facing an issue with Struts 2 portlet which uses
 Display Tag. I
 have implemented a code to display a list using Display
 Table and also
 implemented Sorting option. It is working fine with IBM WAS
 7.0 and the
 same code is not working with IBM Portal Server 6.1
 
 It is displaying the data, but when i click on the
 pagination link
 (First, Last, Next..) and the column header (to sort) then
 i am getting
 page can not be found.
 
 I have even mentioned page cotext, but still i am facing
 this issue. I
 have also added the display tag portlet support jar
 (displaytag-portlet-1.2.jar) along with displaytag-1.2.jar
 and its
 supporting jars.
 
 display:table name=searchResultList id=user
 sort=list
 defaultsort=2
 pagesize=2 requestURI=
         display:column
 sortable=true
 property=name/display:column
         display:column
 property=address/display:column
     /display:table
 
 I have a doubt in the requestURI parameter... what exactly
 i should give
 to that parameter. I have also used requestURIContext as
 well, but no
 improvement.
 
 
 
 Nils-Helge Garli wrote:
  
  Thanks for the summary, although I disagree with your
 conclusion ;)
  
  Nils-H
  
  On Fri, Aug 1, 2008 at 2:21 AM, Struts Two struts...@yahoo.ca
 wrote:
  I am running Struts2.0.11.1 on Websphere 6.1.0.17
 NOT THE WEBSPHERE 
  PORTAL. You need to keep the followings in mind:
  1- You need to have at least fixpack 13 or 15 ( I
 am not sure which 
  one, otherwise you CAN NOT RUN STRUTS 2 ON WAS)
  2- Struts 2.0.11.2 has problems running on
 Websphere 6.1 (it is 
  missing a patch), so you need to downgrade to
 2.0.11.1 till next 
  release (2.0.11.3 or 2.0.12)
  3- Once the above you are done with above steps,
 you need to set the 
  following custom property for WAS server:
 
 com.ibm.ws.webcontainer.invokefilterscompatibility   = 
 true
  If you do not set the above property, you can not
 run struts 2 on WAS
 
  as well.
  However; I did a project using struts on Websphere
 portal 6.0. IBM 
  provides its own customized struts that works with
 portal (which is 
  based on struts1), and it is pretty good. I
 recommend use the IBM's 
  struts that comes with Portal server as you would
 have a hard time 
  using struts 2 with websphere portal.
  Hope this helps,
 
 
 
  - Original Message 
  From: Dinesh Narayanan ndchan...@gmail.com
  To: user@struts.apache.org
  Sent: Thursday, July 31, 2008 3:26:20 PM
  Subject: Struts2 on Websphere portal 6.1.0.0
 
  Has Anybody tried Struts2 (Struts-2.0.11.2) on
 Websphere portal
 6.1.0..0? 
  I
  am running into issues when I tried  a very
 simple JSR168 example.  
  Any help would be appreciated. Is there some
 example of struts2 
  sample in websphere portal 6.1?
 
  A) My portlet.xml contains the following entries
 init-param
          
    nameviewNamespace/name
          
    value/view/value
      
    /init-param
 
    !-- The default action to
 invoke in view mode. --
    init-param
          
    namedefaultViewAction/name
          
    valueindex/value
    /init-param
 
 
  B) My struts.xml is
  struts
  package name=view
 extends=struts-portlet-default
 namespace=/view
      action name=index
 class=com.myCompany.proj1.ExampleAction
          result
 name=success/WEB-INF/view/index.jsp/result
      /action
  /package
  /struts
 
 
  Thanks
  Dinesh
 
 
 
       
 
 __
  Be smarter than spam. See how smart SpamGuard is
 at giving junk email
 
  the boot with the All-new Yahoo! Mail.  Click
 on Options in Mail and 
  switch to New Mail today or register for free at
 http://mail.yahoo.ca
 
 
 
 -
  To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
  For additional commands, e-mail: user-h...@struts.apache.org

Re: Struts2 on Websphere portal 6.1.0.0

2010-04-07 Thread Prabahar

Hi, I am also facing similar problem while creating and deploying struts 2
portlet in IBM Portal server 6.1
Have you deployed Struts portlet 2? if so could you please share an example?

regards,
Prabahar
-- 
View this message in context: 
http://old.nabble.com/Struts2-on-Websphere-portal-6.1.0.0-tp18761735p28162812.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: Struts2 on Websphere portal 6.1.0.0

2008-07-31 Thread Nils-Helge Garli Hegvik
Did you include file=struts-portlet-default.xml/ in your struts.xml?

On Thu, Jul 31, 2008 at 9:26 PM, Dinesh Narayanan [EMAIL PROTECTED] wrote:
 Has Anybody tried Struts2 (Struts-2.0.11.2) on Websphere portal 6.1.0.0?  I
 am running into issues when I tried  a very simple JSR168 example.  Any help
 would be appreciated. Is there some example of struts2 sample in websphere
 portal 6.1?

 A) My portlet.xml contains the following entries
 init-param
nameviewNamespace/name
value/view/value
/init-param

   !-- The default action to invoke in view mode. --
   init-param
namedefaultViewAction/name
valueindex/value
   /init-param


 B) My struts.xml is
 struts
 package name=view extends=struts-portlet-default namespace=/view
action name=index class=com.myCompany.proj1.ExampleAction
result name=success/WEB-INF/view/index.jsp/result
/action
 /package
 /struts

 And I get the following exception.
 [7/30/08 23:48:05:386 PDT] 002a XmlConfigurat E
 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider
 reloadRequiredPackages Unable to find parent packages struts-portlet-default
 [7/30/08 23:48:05:401 PDT] 002a ObjectTypeDet I
 com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory clinit Setting
 DefaultObjectTypeDeterminer as default ...
 [7/30/08 23:48:05:448 PDT] 002a Jsr168Dispatc E
 org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher serviceAction Could
 not find action
 [7/30/08 15:15:05:782 PDT] 003f Jsr168Dispatc E
 org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher serviceAction Could
 not find action
 There is no Action mapped for namespace
 /view and action name index. - [unknown location]
at
 com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
at
 org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41)
at
 org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:34)
at
 org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:415)
at
 org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.render(Jsr168Dispatcher.java:299)
at
 com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:128)
at
 com.ibm.wps.propertybroker.standard.filter.C2APortletFilter.doFilter(C2APortletFilter.java:185)
at
 com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:120)
at
 com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:573)
at
 com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:114)
at
 com.ibm.isclite.container.collaborator.PortletServletCollaborator.doRender(PortletServletCollaborator.java:68)
at
 com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
at
 com.ibm.ws.portletcontainer.rrd.RRDServerPortletServletCollaborator.doRender(RRDServerPortletServletCollaborator.java:123)
at
 com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
at
 com.ibm.ws.portletcontainer.cache.CacheCollaborator.doRender(CacheCollaborator.java:92)

 I have made sure that class loader loads one ones included in webApp first.
 What else could I be possibly missing? Pls let me know if you need more info

 Thanks
 Dinesh


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



Re: Struts2 on Websphere portal 6.1.0.0

2008-07-31 Thread Dinesh Narayanan
That was the issue. I did not include *struts-portlet-default.xml* in
struts.xml. Thanks a lot for your help.

Dinesh

On Thu, Jul 31, 2008 at 12:55 PM, Nils-Helge Garli Hegvik
[EMAIL PROTECTED]wrote:

 Did you include file=struts-portlet-default.xml/ in your struts.xml?

 On Thu, Jul 31, 2008 at 9:26 PM, Dinesh Narayanan [EMAIL PROTECTED]
 wrote:
  Has Anybody tried Struts2 (Struts-2.0.11.2) on Websphere portal 6.1.0.0?
  I
  am running into issues when I tried  a very simple JSR168 example.  Any
 help
  would be appreciated. Is there some example of struts2 sample in
 websphere
  portal 6.1?
 
  A) My portlet.xml contains the following entries
  init-param
 nameviewNamespace/name
 value/view/value
 /init-param
 
!-- The default action to invoke in view mode. --
init-param
 namedefaultViewAction/name
 valueindex/value
/init-param
 
 
  B) My struts.xml is
  struts
  package name=view extends=struts-portlet-default namespace=/view
 action name=index class=com.myCompany.proj1.ExampleAction
 result name=success/WEB-INF/view/index.jsp/result
 /action
  /package
  /struts
 
  And I get the following exception.
  [7/30/08 23:48:05:386 PDT] 002a XmlConfigurat E
  com.opensymphony.xwork2.config.providers.XmlConfigurationProvider
  reloadRequiredPackages Unable to find parent packages
 struts-portlet-default
  [7/30/08 23:48:05:401 PDT] 002a ObjectTypeDet I
  com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory clinit Setting
  DefaultObjectTypeDeterminer as default ...
  [7/30/08 23:48:05:448 PDT] 002a Jsr168Dispatc E
  org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher serviceAction
 Could
  not find action
  [7/30/08 15:15:05:782 PDT] 003f Jsr168Dispatc E
  org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher serviceAction
 Could
  not find action
  There is no Action mapped for namespace
  /view and action name index. - [unknown location]
 at
 
 com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
 at
 
 org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41)
 at
 
 org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:34)
 at
 
 org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:415)
 at
 
 org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.render(Jsr168Dispatcher.java:299)
 at
 
 com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:128)
 at
 
 com.ibm.wps.propertybroker.standard.filter.C2APortletFilter.doFilter(C2APortletFilter.java:185)
 at
 
 com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:120)
 at
 
 com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:573)
 at
 
 com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:114)
 at
 
 com.ibm.isclite.container.collaborator.PortletServletCollaborator.doRender(PortletServletCollaborator.java:68)
 at
 
 com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
 at
 
 com.ibm.ws.portletcontainer.rrd.RRDServerPortletServletCollaborator.doRender(RRDServerPortletServletCollaborator.java:123)
 at
 
 com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
 at
 
 com.ibm.ws.portletcontainer.cache.CacheCollaborator.doRender(CacheCollaborator.java:92)
 
  I have made sure that class loader loads one ones included in webApp
 first.
  What else could I be possibly missing? Pls let me know if you need more
 info
 
  Thanks
  Dinesh
 

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




Re: Struts2 on Websphere portal 6.1.0.0

2008-07-31 Thread Struts Two
I am running Struts2.0.11.1 on Websphere 6.1.0.17 NOT THE WEBSPHERE PORTAL. You 
need to keep the followings in mind:
1- You need to have at least fixpack 13 or 15 ( I am not sure which one, 
otherwise you CAN NOT RUN STRUTS 2 ON WAS)
2- Struts 2.0.11.2 has problems running on Websphere 6.1 (it is missing a 
patch), so you need to downgrade to 2.0.11.1 till next release (2.0.11.3 or 
2.0.12)
3- Once the above you are done with above steps, you need to set the following 
custom property for WAS server:
com.ibm.ws.webcontainer.invokefilterscompatibility   =  true
If you do not set the above property, you can not run struts 2 on WAS as well.
However; I did a project using struts on Websphere portal 6.0. IBM provides its 
own customized struts that works with portal (which is based on struts1), and 
it is pretty good. I recommend use the IBM's struts that comes with Portal 
server as you would have a hard time using struts 2 with websphere portal.
Hope this helps,



- Original Message 
From: Dinesh Narayanan [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Thursday, July 31, 2008 3:26:20 PM
Subject: Struts2 on Websphere portal 6.1.0.0

Has Anybody tried Struts2 (Struts-2.0.11.2) on Websphere portal 6.1.0..0?  I
am running into issues when I tried  a very simple JSR168 example.  Any help
would be appreciated. Is there some example of struts2 sample in websphere
portal 6.1?

A) My portlet.xml contains the following entries
init-param
            nameviewNamespace/name
            value/view/value
        /init-param

  !-- The default action to invoke in view mode. --
  init-param
            namedefaultViewAction/name
            valueindex/value
  /init-param


B) My struts.xml is
struts
package name=view extends=struts-portlet-default namespace=/view
    action name=index class=com.myCompany.proj1.ExampleAction
        result name=success/WEB-INF/view/index.jsp/result
    /action
/package
/struts


Thanks
Dinesh



  __
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot 
with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail 
today or register for free at http://mail.yahoo.ca


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



Re: Struts2 on Websphere portal 6.1.0.0

2008-07-31 Thread Nils-Helge Garli Hegvik
Thanks for the summary, although I disagree with your conclusion ;)

Nils-H

On Fri, Aug 1, 2008 at 2:21 AM, Struts Two [EMAIL PROTECTED] wrote:
 I am running Struts2.0.11.1 on Websphere 6.1.0.17 NOT THE WEBSPHERE PORTAL. 
 You need to keep the followings in mind:
 1- You need to have at least fixpack 13 or 15 ( I am not sure which one, 
 otherwise you CAN NOT RUN STRUTS 2 ON WAS)
 2- Struts 2.0.11.2 has problems running on Websphere 6.1 (it is missing a 
 patch), so you need to downgrade to 2.0.11.1 till next release (2.0.11.3 or 
 2.0.12)
 3- Once the above you are done with above steps, you need to set the 
 following custom property for WAS server:
 com.ibm.ws.webcontainer.invokefilterscompatibility   =  true
 If you do not set the above property, you can not run struts 2 on WAS as well.
 However; I did a project using struts on Websphere portal 6.0. IBM provides 
 its own customized struts that works with portal (which is based on struts1), 
 and it is pretty good. I recommend use the IBM's struts that comes with 
 Portal server as you would have a hard time using struts 2 with websphere 
 portal.
 Hope this helps,



 - Original Message 
 From: Dinesh Narayanan [EMAIL PROTECTED]
 To: user@struts.apache.org
 Sent: Thursday, July 31, 2008 3:26:20 PM
 Subject: Struts2 on Websphere portal 6.1.0.0

 Has Anybody tried Struts2 (Struts-2.0.11.2) on Websphere portal 6.1.0..0?  I
 am running into issues when I tried  a very simple JSR168 example.  Any help
 would be appreciated. Is there some example of struts2 sample in websphere
 portal 6.1?

 A) My portlet.xml contains the following entries
 init-param
 nameviewNamespace/name
 value/view/value
 /init-param

   !-- The default action to invoke in view mode. --
   init-param
 namedefaultViewAction/name
 valueindex/value
   /init-param


 B) My struts.xml is
 struts
 package name=view extends=struts-portlet-default namespace=/view
 action name=index class=com.myCompany.proj1.ExampleAction
 result name=success/WEB-INF/view/index.jsp/result
 /action
 /package
 /struts


 Thanks
 Dinesh



  __
 Be smarter than spam. See how smart SpamGuard is at giving junk email the 
 boot with the All-new Yahoo! Mail.  Click on Options in Mail and switch to 
 New Mail today or register for free at http://mail.yahoo.ca


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