[JBoss Portal Users] - JBoss Portal 2.7.x WSRP Producer Excep when config Liferay a
by aimvrakesh
I am using JBoss 2.7 Portal Server, I was able to configure it as a WSRP Producer for some of the sample out of the box portlets like
JSP Portlet
Current Users Portlet
WSDL URL is : http://RA-T3400:8080/portal-wsrp/MarkupService?wsdl
WSDL Contents are as follows:
<wsdl:definitions targetNamespace='urn:oasis:names:tc:wsrp:v1:wsdl' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:bind='urn:oasis:names:tc:wsrp:v1:bind' xmlns:intf='urn:oasis:names:tc:wsrp:v1:intf' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='urn:oasis:names:tc:wsrp:v1:wsdl' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'>
| <wsdl:import location='http://RA-T3400:8080/portal-wsrp/MarkupService?wsdl&resource=wsrp_v1_bind...' namespace='urn:oasis:names:tc:wsrp:v1:bind'></wsdl:import>
| <wsdl:service name='WSRPService'>
| <wsdl:port binding='bind:WSRP_v1_PortletManagement_Binding_SOAP' name='WSRPPortletManagementService'>
| <soap:address location='http://RA-T3400:8080/portal-wsrp/PortletManagementService'/>
| </wsdl:port>
| <wsdl:port binding='bind:WSRP_v1_Registration_Binding_SOAP' name='WSRPRegistrationService'>
| <soap:address location='http://RA-T3400:8080/portal-wsrp/RegistrationService'/>
| </wsdl:port>
|
| <wsdl:port binding='bind:WSRP_v1_Markup_Binding_SOAP' name='WSRPBaseService'>
| <soap:address location='http://RA-T3400:8080/portal-wsrp/MarkupService'/>
| </wsdl:port>
| <wsdl:port binding='bind:WSRP_v1_ServiceDescription_Binding_SOAP' name='WSRPServiceDescriptionService'>
| <soap:address location='http://RA-T3400:8080/portal-wsrp/ServiceDescriptionService'/>
| </wsdl:port>
| </wsdl:service>
| </wsdl:definitions>
And in the producer configuration I unchecked the "Use strict WSRP compliance." basically unchecked every thing
On the other hand I installed Liferay 5.2.3 verison on Tomcat 6.0.18 and I was able to configure WSRP Consumer for the JBoss portlets using the WSDL http://RA-T3400:8080/portal-wsrp/MarkupService?wsdl
And Liferay was showing all the portlets which are availble from the JBoss producer as Remote. I picked the JSP porlet and added to the page
then I got this exception on the JBoss Server Console Side (Producer)
16:43:25,475 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception
| javax.xml.rpc.soap.SOAPFaultException: Could not render portlet '/portal-jsp-sam
| ples.JSPPortlet'. java.lang.IllegalArgumentException: Requires a non-null, non-e
| mpty wsrp portlet name
| at org.jboss.portal.wsrp.WSRPExceptionFactory.createSOAPFaultException(W
| SRPExceptionFactory.java:126)
| at org.jboss.portal.wsrp.WSRPExceptionFactory.throwSOAPFaultException(WS
| RPExceptionFactory.java:88)
| at org.jboss.portal.wsrp.producer.MarkupHandler.getMarkup(MarkupHandler.
| java:100)
| at org.jboss.portal.wsrp.producer.WSRPProducerImpl.getMarkup(WSRPProduce
| rImpl.java:177)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
| or.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
| BeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
| java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.ja
| va:287)
| at $Proxy296.getMarkup(Unknown Source)
| at org.jboss.portal.wsrp.endpoints.MarkupEndpoint.getMarkup(MarkupEndpoi
| nt.java:61)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.wsf.container.jboss42.InvocationHandlerJSE.invoke(Invocatio
| nHandlerJSE.java:102)
| at org.jboss.wsf.container.jboss42.InvocationHandlerJAXRPC.invoke(Invoca
| tionHandlerJAXRPC.java:57)
| at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpoin
| tInvoker.java:221)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHan
| dlerImpl.java:466)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHand
| lerImpl.java:284)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl
| .java:201)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(Request
| HandlerImpl.java:134)
| at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java
| :84)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
| icationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
| ilterChain.java:206)
| at org.jboss.portal.wsrp.servlet.TransactionFilter.doFilter(TransactionF
| ilter.java:78)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
| icationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
| ilterChain.java:206)
| at org.jboss.portal.wsrp.servlet.ServletAccessFilter.doFilter(ServletAcc
| essFilter.java:54)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
| icationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
| ilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
| lter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
| icationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
| ilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
| alve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
| alve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
| yAssociationValve.java:182)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
| e.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
| ava:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
| ava:102)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC
| onnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
| ve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
| a:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
| :844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
| ss(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
| 6)
| at java.lang.Thread.run(Thread.java:595)
And on the liferay side I got this exception
20:43:25,553 ERROR [jsp:165] com.sun.portal.wsrp.consumer.markup.MarkupContentEx
| ception: com.sun.portal.wsrp.common.stubs.WSRPV1OperationFailed: Could not rende
| r portlet '/portal-jsp-samples.JSPPortlet'. java.lang.IllegalArgumentException:
| Requires a non-null, non-empty wsrp portlet name with errorcode REMOTE_EXCEPTION
| and exception is com.sun.portal.wsrp.common.stubs.WSRPV1OperationFailed: Could
| not render portlet '/portal-jsp-samples.JSPPortlet'. java.lang.IllegalArgumentEx
| ception: Requires a non-null, non-empty wsrp portlet name
| at com.sun.portal.wsrp.consumer.markup.v1.impl.WSRPV1Container.getFreshM
| arkup(WSRPV1Container.java:902)
| at com.sun.portal.wsrp.consumer.markup.v1.impl.WSRPV1Container.getMarkup
| (WSRPV1Container.java:272)
| at com.sun.portal.wsrp.consumer.markup.WSRPContainer.getMarkup(WSRPConta
| iner.java:90)
| at com.liferay.portal.kernel.bean.ContextClassLoaderBeanHandler.invoke(C
| ontextClassLoaderBeanHandler.java:54)
| at com.liferay.portal.portletcontainer.WindowInvoker.invokeRender(Window
| Invoker.java:385)
| at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java
| :419)
| at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_
| 005fportlet_jsp.java:1467)
| at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
| .java:374)
| at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
| 42)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253434#4253434
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253434
15 years, 4 months
[JBoss Tools Users] - Re: Setting up JBoss Tools in Ganymede
by shashank.rudra
Thanks nick.. for taking time out to reply
It is strange that the stable download site works for you but at my end still I am getting a page (alas I would have been able to attach a snapshot of the page I am getting) - on this page all the text that I am able to see is JBoss Tools Stable Release Update Site
| Latest Build: 3.0.1.GA-R200905070146-H18
|
| This is the Stable Release Update Site for JBoss Tools. See Installation Instructions.
|
| You can also download JBoss Tools as individual zips for offline installation. See JBoss Tools Downloads.
|
| For more information, see Installation methods.
|
|
|
| Installation Types
|
| Depending on how close to the bleeding edge you like to be, there are several types of releases available.
|
| Stable Releases
|
| Stable releases are - as indicated by their name - stable.
|
| Development Milestones
|
| Development builds, released once per milestone and only a few times a year, are fairly stable, but there may be some things which do not yet work. If you would like to try one of these milestones, we'd greatly appreciate the assistance in testing and reporting of issues in our issue tracker.
|
| Nightly Builds
|
| The bleeding edge contains the latest and greatest new features, but nothing is stable or guaranteed - yet. If you're using a Milestone and need a fix, you can update to the latest Nightly, or wait for the next Milestone.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253419#4253419
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253419
15 years, 4 months