Anita Ganga

Greenhorn
+ Follow
since Oct 20, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Anita Ganga

Hi,

I am trying to migrate a struts application to a portal application using Struts-Portlet framework for IBM WebSPhere.

When I go through the sample application they say it is mandatory to implement the Interface ISrtutsPrepareRender for the action class.

If I do this I get this exception: Appreciate any thoughts..

[/CODE]
17 years ago
Hi,

I am trying to migrate a struts application to a portal application using Struts-Portlet framework for IBM WebSPhere.

When I go through the sample application they say it is mandatory to implement the Interface ISrtutsPrepareRender for the action class.

If I do this I get this exception: Appreciate any thoughts..
[I][/I]
17 years ago
Hi,
I have a Struts application which I am trying to migrate to WebSphere Portal.
In my jsp I have this

<html:html>
<html:form action="xyz.do">
<html:select property="divisionCode" onchange="document.forms[0].submit()" tabindex="1">
<option value=""></option>
<option value="All">All</option>
</html:select>
</html:form>
</html:html>
On change of the select list the form submits and I get a page that i am not authorized to view.
http://localhost/contextroot/xyz.do.

Where as I expect the last part of the URL (xyz.do)to be portal URL now as I have applied all the steps that are needed for migrating struts to portal.

This worked fine with another application. I have followe dthe same steps as I did earlier..

(1)Added <controller processorClass="com.ibm.wps.portlets.struts.WpsRequestProcessor">
</controller> to struts-config
(2)Created portlet.xml and updated web.xml
(3) Made the necessary changes in jsp's
(4)Updated the required jar files in the classpath.

appreciate if any one else has faced the same issue and if they can share that here..

Thanks in Advance..
Anita
17 years ago
Merrill,
thanks for pointing me to this thread. that gives me a good insight..
But my case is really weird I am not able to get the values even through the form.
I am 100% sure it is returning null. It behaves as if it is not at all binding the html form values to the action form .

I checkes my Struts Config everything looks good there.

Does the scope of the form matter. In my case it is "request".
18 years ago
Merrill,
thanks for the fast response

I need to upload a file in my struts form. I tried this already. I have an Actionform where I defined a variable of type formfile that corresponds to <html:file > property.
I have a html:submit and a hidden field whose value I am trying to get in the Actions execute.It always returns null

but no luck.. Apprecaite any more thougts
18 years ago
I am trying to use <html:form> and I need to set the enctype="multipart/form-data".

I have a simple <html:submit>submit</html:submit> and a <html:hidden property="command" value="submit"/>field.

On submit it goes to right action but when i try to get the value of the hidden field it is null either through request or through the action form.

It works fine if i remove the attribute enctype="multipart/form-data" from the tag though.

Appreciate any thoughts why this is happening.
18 years ago
Cameron,

The second time I want to search something the logs show that it stills tries to load the search results page. And that is when it fails as it doesnot find text to be searched. That makes me think it is the portlet state resetting issue.

I tried this " portlet.state.reset=true " in ConfigService.properties. Even that didn't help.

Also I have the the expire cache set to 0 in portelt.xml.
There has got to be some simple solution for this...Appreciate Any further ideas
18 years ago
I have a link on my page,on clicking that it takes me to the
portlet under consideration here. The purpose of the portlet is to search some text and return the results in a new results page.

Now let's say we want to search again on another text I click the original link but it still tries to display the search results page. There it fails

I understand that it is saving the state of the portlet. Am i right..If so
is there a way to reset the state so that it takes me to the first page where I can search for something again

Thanks in advance
18 years ago
Hi All,
I have migrtaed a struts application to Portal application using Struts-Portlet Framework and using the controller as below in struts-config
<controller processorClass="com.ibm.wps.portlets.struts.WpsRequestProcessor">
</controller>.

Now I have a jsp that needs to have a form of enctype=multipart/form-data.
But when I submit this form my application just hangs.
My form tag looks like this
<html:html>
<html:form method="post" enctype="multipart/form-data" action="/checkInNew" >
<html:file property="primaryFile" maxlength="250" />
<html:submit property="submit" >Check In >></html:submit>
</html:form>
</html:html>

My Struts Config has this declared as global forward
<global-forwards>
<forward name="checkInNew" path="/checkInNew.do"/>
</global-forwards>.

It appears to me as if it is not even able to process the form Data.

this works fine with pure struts based applciation.

Appreciate any thoughts
18 years ago
Hi All,
I have migrtaed a struts application to Portal application using Struts-Portlet Framework and using the controller as below in struts-config
<controller processorClass="com.ibm.wps.portlets.struts.WpsRequestProcessor">
</controller>.

Now I have a jsp that needs to have a form of enctype=multipart/form-data.
But when I submit this form my application just hangs.
My form tag looks like this
<html:html>
<html:form method="post" enctype="multipart/form-data" action="/checkInNew" >
<html:file property="primaryFile" maxlength="250" />
<html:submit property="submit" >Check In >></html:submit>
</html:form>
</html:html>

My Struts Config has this declared as global forward
<global-forwards>
<forward name="checkInNew" path="/checkInNew.do"/>
</global-forwards>.

It appears to me as if it is not even able to process the form Data.

this works fine with pure struts based applciation.

Appreciate any thoughts
18 years ago
I am trying to Migrate a struts application to Portal.
I have made changes to struts-config.xml to add the controller.
<controller processorClass="com.ibm.wps.portlets.struts.WpsRequestProcessor">
</controller>

web.xml looks like this
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app id="WebApp">
<display-name>StellentClient</display-name>

<servlet id="ContentSearchDocDepot">
<servlet-name>ContentSearchDocDepot</servlet-name>
<display-name>ContentSearchDocDepot</display-name>
<servlet-class>com.ibm.wps.portlets.struts.WpsStrutsPortlet</servlet-class>
<init-param id="InitParam_6">
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param id="InitParam_7">
<param-name>struts-servlet-mapping</param-name>
<param-value>search.do</param-value>
</init-param>
</servlet>
<servlet-mapping id="ServletMapping_6" >
<servlet-name>ContentSearchDocDepot</servlet-name>
<url-pattern>/ContentSearchDocDepot</url-pattern>
</servlet-mapping>

</web-app>

Portlet.xml is as follows

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE portlet-app-def PUBLIC "-//IBM//DTD Portlet Application 1.1//EN" "portlet_1.1.dtd">
<portlet-app-def>
<portlet-app uid="e3sDocDepot1" major-version="1" minor-version="0">
<portlet-app-name>Document Depot</portlet-app-name>

<portlet id="e3sContentSearchDocDepotPortlet_100001" href="WEB-INF/web.xml#ContentSearchDocDepot" major-version="1" minor-version="0">
<portlet-name>ContentSearchDocDepot</portlet-name>
<cache>
<expires>0</expires>
<shared>no</shared>
</cache>
<allows>
<maximized/>
<minimized/>
</allows>
<supports>
<markup name="html">
<view/>
<help/>
</markup>
</supports>
</portlet>
<concrete-portlet-app uid="e3sDocDepotConcrete">
<portlet-app-name>Document Depot</portlet-app-name>
<concrete-portlet href="#e3sContentSearchDocDepotPortlet_100001">
<portlet-name>ContentSearchDocDepot</portlet-name>
<default-locale>en</default-locale>
<language locale="en">
<title>ContentSearchDocDepot</title>
<title-short>ContentSearchDocDepot</title-short>
<description>ContentSearchDocDepot</description>
<keywords>Content,Search,DocDepot</keywords>
</language>
<config-param>
<param-name>ApplicationNamespace</param-name>
<param-value>portlet</param-value>
</config-param>
<config-param>
<param-name>SSOEnabled</param-name>
<param-value>true</param-value>
</config-param>
<config-param>
<param-name>InitialRemoteURL</param-name>
<param-value>http://gsdev.endo.strykercorp.com/scs/search.do?method=populate</param-value>;
</config-param>
<config-param>
<param-name>RefreshPriority</param-name>
<param-value>-1</param-value>
</config-param>
</concrete-portlet>
</concrete-portlet-app>
</portlet-app-def>

I get this exception

2006.09.12 15:56:25.016 E com.ibm.wps.engine.tags.PortletRenderTag doStartTag
EJPEJ0066E: The portlet could not be rendered. - StackTrace follows...

2006.09.12 15:56:25.016 E com.ibm.wps.engine.tags.PortletRenderTag doStartTag
com.ibm.wps.pe.pc.legacy.LegacyPortletExceptionWrapper
at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.callPortletMethod(PortletContainerImpl.java:1449)
at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:512)
at com.ibm.wps.pe.pc.PortletContainerImpl.doRenderPortlet(PortletContainerImpl.java:552)
at com.ibm.wps.pe.ext.render.AbstractRenderManager.performService(AbstractRenderManager.java:251)
at com.ibm.wps.pe.pc.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:100)
at com.ibm.wps.engine.tags.PortletRenderTag.doStartTag(PortletRenderTag.java:155)
at org.apache.jsp._Control._jspService(_Control.java:1265)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:683)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:781)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1044)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:600)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:254)
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:89)
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:50)
at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:44)
at com.ibm.wps.engine.templates.skins.Default.render(Default.java:74)
at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:71)
at com.ibm.wps.composition.elements.Component.render(Component.java:785)
at com.ibm.wps.composition.elements.Control.render(Control.java:182)
at com.ibm.wps.composition.Composition.render(Composition.java:2880)
at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java:204)
at com.ibm.wps.model.ModelUtil$WrappedCompositionModel.render(ModelUtil.java:832)
at org.apache.jsp._UnlayeredContainer_2D_V._jspService(_UnlayeredContainer_2D_V.java:107)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:683)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:781)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1044)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:600)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:254)
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:89)
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:50)
at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:44)
at com.ibm.wps.engine.templates.skins.Default.render(Default.java:74)
at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:71)
at com.ibm.wps.composition.elements.Component.render(Component.java:785)
at com.ibm.wps.composition.Composition.render(Composition.java:2880)
at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java:204)
at com.ibm.wps.model.ModelUtil$WrappedCompositionModel.render(ModelUtil.java:832)
at org.apache.jsp._UnlayeredContainer_2D_H._jspService(_UnlayeredContainer_2D_H.java:123)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:683)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:781)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1044)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:600)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:254)
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:89)
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:50)
at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:44)
at com.ibm.wps.engine.templates.skins.Default.render(Default.java:74)
at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:71)
at com.ibm.wps.composition.elements.Component.render(Component.java:785)
at com.ibm.wps.composition.Composition.render(Composition.java:2880)
at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java:204)
at com.ibm.wps.engine.tags2.PageRenderTag.doStartTag(PageRenderTag.java:397)
at org.apache.jsp._Home._jspService(_Home.java:143)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:683)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:781)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1044)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:600)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:254)
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:89)
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:50)
at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:44)
at com.ibm.wps.engine.templates.screens.Default.render(Default.java:91)
at com.ibm.wps.engine.templates.ScreenTemplate.render(ScreenTemplate.java:61)
at com.ibm.wps.engine.tags2.ScreenRenderTag.doStartTag(ScreenRenderTag.java:89)
at org.apache.jsp._Default._jspService(_Default.java:4900)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:683)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:781)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1044)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:600)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:254)
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:89)
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:50)
at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:44)
at com.ibm.wps.engine.templates.themes.Default.render(Default.java:103)
at com.ibm.wps.engine.templates.ThemeTemplate.render(ThemeTemplate.java:67)
at com.ibm.wps.engine.phases.WPRenderPhase.processRendering(WPRenderPhase.java:312)
at com.ibm.wps.engine.phases.WPRenderPhase.execute(WPRenderPhase.java:135)
at com.ibm.wps.state.phases.AbstractRenderPhase.next(AbstractRenderPhase.java:106)
at com.ibm.wps.engine.phases.WPAbstractRenderPhase.next(WPAbstractRenderPhase.java:93)
at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:713)
at com.ibm.wps.engine.Servlet.doGet(Servlet.java:562)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)
at com.ibm.wps.state.filter.StateCleanup.doFilter(StateCleanup.java:86)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:216)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1040)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:600)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:201)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:286)
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:624)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:458)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912)
Caused by: org.apache.jetspeed.portlet.PortletException
at com.ibm.wps.portlets.struts.WpsStrutsUtil.executeCommand(WpsStrutsUtil.java:1374)
at com.ibm.wps.portlets.struts.WpsStrutsUtil.executeCommand(WpsStrutsUtil.java:1236)
at com.ibm.wps.portlets.struts.WpsStrutsUtil.executeSavedCommand(WpsStrutsUtil.java:1154)
at com.ibm.wps.portlets.struts.WpsStrutsPortlet.doService(WpsStrutsPortlet.java:1325)
at com.ibm.wps.portlets.struts.WpsStrutsPortlet.doView(WpsStrutsPortlet.java:1368)
at org.apache.jetspeed.portlet.PortletAdapter.service(PortletAdapter.java:155)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl._dispatch(PortletDelegateImpl.java:373)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl.access$200(PortletDelegateImpl.java:62)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl$Context.callPortlet(PortletDelegateImpl.java:526)
at com.ibm.wps.pe.pc.legacy.services.PortletFilterServiceImpl.doFilter(PortletFilterServiceImpl.java:403)
at com.ibm.wps.pe.pc.legacy.services.PortletFilter.doFilter(PortletFilter.java:42)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl.dispatch(PortletDelegateImpl.java:134)
at org.apache.jetspeed.portlet.Portlet.doGet(Portlet.java:506)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at com.ibm.wps.pe.pc.legacy.cache.CacheablePortlet.service(CacheablePortlet.java:117)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jetspeed.portlet.Portlet.service(Portlet.java:495)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1049)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:600)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:254)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletInvokerImpl.callMethod(PortletInvokerImpl.java:399)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:103)
at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.callPortletMethod(PortletContainerImpl.java:1426)
... 163 more
18 years ago
Chaitanya,
The document you suggested refers to using RAd. But I am using WSAd which doesnot provide the flexibiltiy of creating the the Struts-Portlet project which would inturn provide all the taglibs and jars needed for that to work.

Though I followed the steps mentioned there to see if I am missing nay thing in my project.

Everything looks fine.
The only thing I am in dark is the jar files that are needed.

Can anyone please provide me with list of the jars needed for this to work.

Thanks,
Anita
18 years ago
Where do I get the blankStrutsPortlet.war??
18 years ago
Hi,

I am trying to migrate a struts Applciation to Portal using Struts Portlet FrameWork.
I get this exception <code>NoClassDefFoundError: /ibm/servlet/dynacache/EntryInfo No message text associated with key Servlet.com.ibm.wps.portlets.struts.WpsStrutsPortlet.was.found,.but.is.missing.another.required.class.
This.error.typically.implies.that.the.servlet.was.originally.compiled.with.classes.which.cannot.be.located.by.the.server.
Check.your.classpath.to.ensure.that.all.classes.required.by.the.servlet.are.present.
..This.problem.canbe.debugged.by.recompiling.the.servlet.using.only.the.classes.in.the.application's
</code>
I think I might be missing any jar file.
Appreciate any help on that
18 years ago
Sorry Merill that was just a typo.

I had lots of actions in my original struts-config.xml so just cut copy error.

But my original configuration file has the plugin tag out of action mapping tag

sorry for the confusion..
18 years ago