[JBoss Portal] - Deploy JPivot Portlet on JBoss Portal
by chorly_2000
Hi, has anyone successfully deployed JPivot portlet on JBoss Portal? I am clueless right now and I read the README file but still very confused.
also I tried to develop a simple web application using JPivot and use it to connect to my MS XML/A. The application works fine on Tomcat but on JBoss, it always gave this error. Please help.
line 44 is <wcf:include id="include01" httpParam="query" prefix="/WEB-INF/queries/" suffix=".jsp"/>
org.apache.jasper.JasperException: An exception occurred processing JSP page /testpage.jsp at line 44
Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handle JspException(JspServletWrapper.java:518)
at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:411)
at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:320)
at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at com.tonbeller.wcf.controller.RequestFilter$MyHandl er.normalRequest(RequestFilter.java:139)
at com.tonbeller.wcf.controller.RequestSynchronizer.h andleRequest(RequestSynchronizer.java:127)
at com.tonbeller.wcf.controller.RequestFilter.doFilte r(RequestFilter.java:263)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationV alve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.inv oke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionV alve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: com.tonbeller.jpivot.olap.model.OlapException: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: org.jboss.ws.core.soap.MessageFactoryImpl
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096702#4096702
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096702
18Â years, 9Â months
[JBoss Portal] - Re: I can't get the parameter <form> in my portlet
by Antoine_h
Hi,
That is strange. I can't detect something wrong in the code.
You may look at the jsp of the portal (user portlet jsp, samples...) as some example.
such as :<form method="post" action="<portlet:actionURL>
| <portlet:param name="op" value="<%= CMSAdminConstants.OP_DOSEARCH %>"/>
| </portlet:actionURL>">
| <input type="text"
| size="15"
| maxlength="80"
| name="search"
| class="portlet-form-input-field"/>
| <input type="submit" name="search" value="${n:i18n("CMS_SEARCH")}" class="portlet-form-button"/>
| </form>
|
The url is not hard coded but built with the portal url factory.
this may be necessary...
do you get the "act" parameter that is in the url ? or not ?
oups... I've just got it : the parameters of the url are available in the request of the action method of the portlet.
not the doView (render method).
you have to get them in the action method, and then, if you want to get some info about that in the render method (doView), you must do some
response.setRenderParameter(myRenderParamName,
| myRenderParamValue)
This way, the myRenderParamName is put in the request instance in the doView method.
look also at the portlet specification JSR-168 for all this...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096690#4096690
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096690
18Â years, 9Â months