Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Migrating JSF application to WAS 8.5

 
abhijitg ga
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

We are migrating our product to WAS 8.5 . We build and installed our module. But click on any link or page we are getting many errors. Resolve a few : like replace

<hutputText id="returnLinkLabel" styleClass="outputText" value="#{resource.return}" ></hutputText>
with
<hutputText id="returnLinkLabel" styleClass="outputText" value="#{resource['return']}" ></hutputText>

But now I am stuck with an error :

11/15/12 1:39:27:057 EST] 000000f2 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught service() exception root cause NavPanel: javax.servlet.ServletException: javax.portlet.PortletException: java.lang.IllegalStateException: Response content type has not been set.
at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:369)
at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:82)
at com.ibm.isclite.container.collaborator.PortletServletCollaborator.doDispatch(PortletServletCollaborator.java:143)
at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:74)
at com.ibm.ws.portletcontainer.rrd.RRDServerPortletServletCollaborator.doDispatch(RRDServerPortletServletCollaborator.java:60)
at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:74)



There are many tags used. I do not know which tag ( h:commandLink or hutputText ) is causing the issue.

There is no specific error thrown..

Dont know how to resolve the issues.

Please help. What is the JSF version in WAS 8.5 ? The same application runs perfect in WAS 7.0


 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you need to talk to IBM. The exception is being thrown in IBM code and if simple stuff like this worked OK in WAS 7, then WAS 8 may need some maintenance applied.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic