WSRP Errors...
Hey everyone.
1) We have a consumer that provide authentication services via PKI Certificates.
2) Portlets are access from the consumer via WSRP. Portlets are exposed on another Weblogic EAR/WAR instance in the same domain.
3) We do have local proxy turned on.
4) Connection timeout is disabled (the default)...
Everything works great, but after a period of inactivity I end up with error messages on the server console like this: Unable to release sessions on producer due to [Remote service invocation failed ; nested exception is: weblogic.xml.crypto.wss.WSSecurityException...etc.
And my portlets die with similar messages.
Is there some setting I should look at?
This is happening when the consumer's session times-out.
You may want to increase the session time-out.
You can also turn off release-sesions in the consumer's WEB-INF/wsrp-producer-registry.xml
Nate
Similar Messages
-
WSRP Error Handling through Consumer Entitlement
Hi
Is there are way to do entitlements in the Consumer side based on the Availablity of the Producer. Say If the producer is down then a particular book or page in consumer portal needs to be hidden. We can use interceptor for catching the error and displaying a error message on the screen, but how we can hide the page itself through entitlement.
Thanks
Rajesh A.rHello Rajesh and Emmanuel,
Emmanuel is correct that you can't usually do what you want in an interceptor- at least not a GetMarkupInterceptor. The problem is the way the portal lifecycle is run in WLP-- a tree of controls is built up, then pruned by entitlements, then the remaining controls are asked to render onto a page. The WSRP getMarkup operation is performed during the last stage of this lifecycle-- during render, when it is already too late to not have a portlet show up. Indeed, when the getMarkup operations are run, it is already too late to issue a redirect, so you wouldn't even be able to set entitlements and then redirect back to the same page.
So the first page view that recognizes that the producer is down is too late to simply not have the portlets appear on the page, but you can make the interceptor take steps so that the next person that tries to view any page with remote portlets on it from that producer just won't see them. In addition, you can make the interceptor provide the markup for the portlet that failed to be retrieved from the remote producer, or some sort of message in its place.
You may want to take a look at the producer disabling functionality built in to WLP:
http://edocs.bea.com/wlp/docs102/javadoc/com/bea/wsrp/consumer/management/producer/ProducerManager.html#disableProducer(java.lang.String,%20java.lang.String,%20javax.servlet.http.HttpServletRequest)
If you used the disableProducer() method in your interceptor when you notice that the producer is not responding, you can tell all portlets coming from a remote producer to not be rendered-- but only for future page renders; again, it is already "too late" for the page that notices the producer is down, at least if the producer being down gets noticed during getMarkup.
If you detect the producer being down during the InitCookie, BlockingInteraction or HandleEvents WSRP operations, these all occur before render, so you would be able to disable the producer, or set entitlements, or even do a page redirect at that point in time. But during the GetMarkup operation, the page is already "committed" and there is no way around the problem at that time.
Kevin -
WSRP error with workshop 10.01MP
I use workshop 10.01MP and try to create a remote portlet and receive 2 different types of error:
1. if I use: http://wsrp.bea.com/portal/producer?wsdl
when creating the portlet, I received
"Unable to get the Service Description for WSDL URL = ...
Check error log for details"
2. If I use: http://wsrp.bea.com:7001/producer/producer?WSDL
I can get the producer detail, but when click Register, it just gave "unable to register to this producer. check error log for detail"
Does anyone know what the reason is, or where this error log is save?
Thanks in advanceI use workshop 10.01MP and try to create a remote portlet and receive 2 different types of error:
1. if I use: http://wsrp.bea.com/portal/producer?wsdl
when creating the portlet, I received
"Unable to get the Service Description for WSDL URL = ...
Check error log for details"
2. If I use: http://wsrp.bea.com:7001/producer/producer?WSDL
I can get the producer detail, but when click Register, it just gave "unable to register to this producer. check error log for detail"
Does anyone know what the reason is, or where this error log is save?
Thanks in advance -
WSRP:Error in Provider Registration
Hi,
I tried deploying wsrp-sample.ear that comes along with portlet container distribution.The deployment was successful. We were able to access the WSDL.But when trying to register a WSRP provider I got an error like
Error
An error occurred when attempting to call the providers register function. (WWC-43134)
An error occurred during the call to the WSRP Provider: Java stack trace from root exception:
java.rmi.ServerException: Internal Server Error (caught exception while handling request: oracle.webdb.wsrp.server.ContainerRuntimeException: An internal error has occurred in method <init>)
at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:384)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:245)
at oracle.webdb.wsrp.WSRP_v1_Registration_PortType_Stub.register(WSRP_v1_Registration_PortType_Stub.java:183)
at Oracle.webdb.wsrp.client.design.v1.OraWSRP_v1_Registration_PortType.register(Unknown Source)
. (WWC-43273)
While looking in the application logs we found the below error
“06/11/09 15:42:04 wsrp-samples: jsp: init
06/11/09 15:42:04 wsrp-samples: portletdeploy: init
06/11/09 15:42:04 wsrp-samples: portletdeploy: Portlet application detected; attempting to deploy as WSRP Service
06/11/09 15:42:04 wsrp-samples: portletdeploy: WSRP Service deployed successfully
06/11/09 15:42:04 wsrp-samples: ChartServlet: init
06/11/09 15:42:04 wsrp-samples: Started
06/11/09 15:42:04 wsrp-samples: ServletLogger - Logging level: 4
06/11/09 15:42:04 wsrp-samples: Starting portlet application "OracleSamplePortlets"
06/11/09 15:42:13 wsrp-samples: [id=5378573858106,1] ERROR: caught exception while handling request: oracle.webdb.wsrp.server.ContainerRuntimeException: An internal error has occurred in method <init>
oracle.webdb.utils.PortalExceptionImpl: An internal error has occurred in method <init>
at oracle.webdb.wsrp.server.ContainerRuntimeException.<init>(Unknown Source)
at oracle.webdb.wsrp.server.ConsumerRegistration.<init>(Unknown Source)
at oracle.webdb.wsrp.server.Server.register(Unknown Source)
at oracle.webdb.wsrp.WSRP_v1_Registration_PortType_Tie.invoke_register(WSRP_v1_Registration_PortType_Tie.java:96)
at oracle.webdb.wsrp.WSRP_v1_Registration_PortType_Tie.processingHook(WSRP_v1_Registration_PortType_Tie.java:257)
at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:230)
at com.sun.xml.rpc.server.http.ea.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:153)
at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.webdb.wsrp.server.ContextFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Caused by: oracle.webdb.wsrp.server.ContainerIOException: Error getting connection from repository with the name"PORTAL"
at oracle.webdb.wsrp.server.PersistentCacheLoader.getRepositoryDataSource(Unknown Source)
at oracle.webdb.wsrp.server.PersistentCacheLoader.<init>(Unknown Source)
at oracle.webdb.wsrp.server.PersistentCacheGroup.getLoader(Unknown Source)
at oracle.webdb.wsrp.server.PersistentCacheGroup.create(Unknown Source)
... 18 more
Caused by: java.lang.SecurityException: access denied (oracle.ias.repository.schemaimpl.CheckRepositoryPermission getSchema)
at oracle.security.jazn.util.JAZNSecurityManager.verifyPermission(Unknown Source)
at oracle.ias.repository.SchemaManager.getSchema(SchemaManager.java:612)
... 22 more
caused by: oracle.webdb.utils.PortalExceptionImpl: Error getting connection from repository with the name"PORTAL"
at oracle.webdb.wsrp.server.ContainerIOException.<init>(Unknown Source)
at oracle.webdb.wsrp.server.PersistentCacheLoader.getRepositoryDataSource(Unknown Source)
at oracle.webdb.wsrp.server.PersistentCacheLoader.<init>(Unknown Source)
at oracle.webdb.wsrp.server.PersistentCacheGroup.getLoader(Unknown Source)
at oracle.webdb.wsrp.server.PersistentCacheGroup.create(Unknown Source)
at oracle.webdb.wsrp.server.ConsumerRegistration.<init>(Unknown Source)
at oracle.webdb.wsrp.server.Server.register(Unknown Source)
at oracle.webdb.wsrp.WSRP_v1_Registration_PortType_Tie.invoke_register(WSRP_v1_Registration_PortType_Tie.java:96)
at oracle.webdb.wsrp.WSRP_v1_Registration_PortType_Tie.processingHook(WSRP_v1_Registration_PortType_Tie.java:257)
at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:230)
at com.sun.xml.rpc.server.http.ea.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:153)
at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.webdb.wsrp.server.ContextFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.SecurityException: access denied (oracle.ias.repository.schemaimpl.CheckRepositoryPermission getSchema)
at oracle.security.jazn.util.JAZNSecurityManager.verifyPermission(Unknown Source)
at oracle.ias.repository.SchemaManager.getSchema(SchemaManager.java:612)
... 22 more
caused by: java.lang.SecurityException: access denied (oracle.ias.repository.schemaimpl.CheckRepositoryPermission getSchema)
at oracle.security.jazn.util.JAZNSecurityManager.verifyPermission(Unknown Source)
at oracle.ias.repository.SchemaManager.getSchema(SchemaManager.java:612)
at oracle.webdb.wsrp.server.PersistentCacheLoader.getRepositoryDataSource(Unknown Source)
at oracle.webdb.wsrp.server.PersistentCacheLoader.<init>(Unknown Source)
at oracle.webdb.wsrp.server.PersistentCacheGroup.getLoader(Unknown Source)
at oracle.webdb.wsrp.server.PersistentCacheGroup.create(Unknown Source)
at oracle.webdb.wsrp.server.ConsumerRegistration.<init>(Unknown Source)
at oracle.webdb.wsrp.server.Server.register(Unknown Source)
at oracle.webdb.wsrp.WSRP_v1_Registration_PortType_Tie.invoke_register(WSRP_v1_Registration_PortType_Tie.java:96)
at oracle.webdb.wsrp.WSRP_v1_Registration_PortType_Tie.processingHook(WSRP_v1_Registration_PortType_Tie.java:257)
at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:230)
at com.sun.xml.rpc.server.http.ea.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:153)
at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.webdb.wsrp.server.ContextFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Can you please help me in solving this issue?
Thanks
KamleshThe JSF Portlet bridge in JDeveloper 10.1.3 may also be used for ADF Faces portlets.
http://download.oracle.com/docs/cd/B32110_01/webcenter.1013/b31074/jpsdg_java_adv.htm#BABBFDHA
http://mfonsadf.blogspot.com/2009/03/jsf-portlet-bridge-for-dummys.html
For ADF Portlets with Portal 10.1.4 please refer
http://mfonsadf.blogspot.com/2009/03/doing-battle-with-wsrp-part-ii.html -
Error while registering a new WSRP provider in Oracle portal
Hi,
I'm trying to add a new provider to the portal repository by registering a new WSRP provider in Oracle Portal. I'm getting the following error:
An error occurred when attempting to call the providers register function. (WWC-43134)
An error occurred during the call to the WSRP Provider: java.rmi.RemoteException: Runtime exception; nested exception is:
deserialization error: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
com.sun.xml.rpc.encoding.DeserializationException: deserialization error: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
com.sun.xml.rpc.encoding.DeserializationException: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
com.sun.xml.rpc.streaming.XMLReaderException: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
Java stack trace from root exception:
com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
at com.sun.xml.rpc.sp.Parser2.fatal(Parser2.java:2015)
at com.sun.xml.rpc.sp.Parser2.fatal(Parser2.java:2000)
at com.sun.xml.rpc.sp.Parser2.processStartElement(Parser2.java:2794)
at com.sun.xml.rpc.sp.Parser2.parseContent(Parser2.java:3036)
at com.sun.xml.rpc.sp.Parser2.parse(Parser2.java:2360)
at com.sun.xml.rpc.streaming.XMLReaderImpl.next(XMLReaderImpl.java:105)
at com.sun.xml.rpc.streaming.XMLReaderBase.nextContent(XMLReaderBase.java:23)
at com.sun.xml.rpc.streaming.XMLReaderBase.nextElementContent(XMLReaderBase.java:41)
at oracle.webdb.wsrp.PortletDescription_LiteralSerializer.doDeserialize(PortletDescription_LiteralSerializer.java:94)
at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:174)
at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:84)
at oracle.webdb.wsrp.ServiceDescription_LiteralSerializer.doDeserialize(ServiceDescription_LiteralSerializer.java:88)
at com.sun.xml.rpc.encoding.literal.LiteralObjectSeria (WWC-43273)
Please help.
Regards,
Arunthomas
Edited by: 845949 on Mar 21, 2011 2:57 AMwhat is the complete version of DS 4.0 ? also check the REPO_TYPE in AL_VERSION table, for local repo this will be NULL
-
JDev 10.1.3.3 and WebCenter - Error running WSRP Standalone Portlet
Hello: I am working with JDev 10.1.3.3 w/ the WebCenter extension on my WinXP PC. I have viewed the WebCenter How-To Demos (http://www.oracle.com/products/middleware/webcenter.html) and am replicating them in JDev. All is working except for the last in the Veeva Vacation demos (Building & Deploying Standards-Based Portlets). I followed the demo and successfully (so I thought) created an entry point, deployed the standalone portlet and registered the portlet producer. I dragged the VeevaProducer to the JSF page. Then with my Preconfigured OC4J running I tried to run the jspx page. Instead of seeing the application page, an error page appeared "Error instantiating web-application".
The first error description is:
"Error compiling :C:\Oracle\jdev10133\jdev\Veeva\ViewController\public_html: Syntax error in source or compilation failed in: C:\Oracle\jdev10133\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\application-deployments\current-workspace-app\Project1\oracle\portlet\wsrp\v2\soap\UnsupportedLocale.java C:\Oracle\jdev10133\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\application-deployments\current-workspace-app\Project1\oasis\names\tc\wsrp\v1\bind\runtime\WSRP_v1_PortletManagement_Binding_SOAP_Stub.java:35: error #300: WSRP_v1_PortletManagement_PortType not found in class oasis.names.tc.wsrp.v1.bind.runtime.WSRP_v1_PortletManagement_Binding_SOAP_Stub
implements oracle.portlet.wsrp.v1.soap.WSRP_v1_PortletManagement_PortType { "
I don't know what that means! Your help will be appreciated.
Thanks.You can create EAR/WAR file from JDeveloper and then use the OC4J 10.1.2 managment console to deploy them to the server, there is no one-click-deploy support from JDev 10.1.3 to OC4J stand-alone 10.1.2
-
Error while registering a WSRP v2 portlet in a Web Center Portal
I am trying to register WSRP 2 portlet in a WebCenter Application. When I do it I am getting below error:
#SEARCH_CRITERIA
# START_TIME: 2011-11-18T09:05:40.753+05:30
# END_TIME: 2011-11-18T10:05:40.753+05:30
# MESSAGE_TYPES:INCIDENT_ERROR, ERROR, UNKNOWN
#SELECTED_TARGETS_LIST
# /Farm_base_domain/base_domain/WLS_WC/WCFridayTenClock_application1(V2.0):j2ee_application
[2011-11-18T10:04:58.506+05:30] [WLS_WC] [ERROR] [] [oracle.wsm.policymanager.bean.util.PolicySetBuilder] [host: STN136B] [nwaddr: 127.0.0.1] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 11d1def534ea1be0:1cae2c7:13388b3e331:-8000-000000000000be5f,0] [APP: WCFridayTenClock_application1#V2.0] The policy referenced by URI "oracle/no_authentication_client_policy" could not be retrieved as connection to Policy Manager cannot be established at "t3://STN136B:8890,STN136B:8889,STN136B:8888,STN136B:8895" due to invalid configuration or inactive state.[[
oracle.wsm.policymanager.PolicyManagerException: WSM-02054 : Failure in looking up EJB component DocumentManager#oracle.wsm.policymanager.bean.ejb.IRemoteDocumentManager.
at oracle.wsm.policymanager.BeanFactory.getJndiObj(BeanFactory.java:684)
at oracle.wsm.policymanager.BeanFactory.lookupJndiObj(BeanFactory.java:910)
at oracle.wsm.policymanager.BeanFactory.getDocumentManagerBeanEJB(BeanFactory.java:567)
... 79 more
Caused by: oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid: WSM-06162 PolicyReference The policy referenced by URI "oracle/no_authentication_client_policy" could not be retrieved as connection to Policy Manager cannot be established at "t3://STN136B:8890,STN136B:8889,STN136B:8888,STN136B:8895" due to invalid configuration or inactive state.
at oracle.integration.platform.common.InterceptorChainImpl.createPolicyEnforcementException(InterceptorChainImpl.java:282)
Any hints in solving the same would be helpful. Thanks in advance.Want to add some more findings to the above post.
1) Found that "wsm-pm" was not running on one of the custom created application servers, used for deploying WebCenter Portlets and Application. This app was custom created as we are not supposed to deploy custom portlets to "WC_Collaboration", "WC_Portlet", "WC_Spaces" and "AdminServer".
2) When I navigate to Oracle EM->base_domain->Web Services->Policy Sets, I get the below error
Cannot locate policy manager query/update service. Policy manager service look up did not find a valid service, due to: Unable to connect to WS Policy Manager. <- oracle.wsm.policymanager.PolicyManagerException: WSM-02118 : The query service cannot be created. <- javax.naming.NameNotFoundException: While trying to lookup 'QueryService#oracle.wsm.policymanager.ejb.IStringQueryServiceRemote' didn't find subcontext 'QueryService#oracle'. Resolved '' [Root exception is javax.naming.NameNotFoundException: While trying to lookup 'QueryService#oracle.wsm.policymanager.ejb.IStringQueryServiceRemote' didn't find subcontext 'QueryService#oracle'. Resolved '']; remaining name 'QueryService#oracle/wsm/policymanager/ejb/IStringQueryServiceRemote'
Any hints to solve the same would be helpful -
A strange error while registering WSRP provider
Hello,
I have production version of AS (10.1.2) with portal upgrated to 1.4.
I've installed standart WSRP samples in dedicated OC4j instance.
When I've tried to register the provider for the samples, I've got this error:
Internal error (WWC-00006): No default region found (WWC-43000)
Do you know, what is a region and where can I configure the default one?I've tested the server with Oracle remote provider
(http://portalstandards.oracle.com/portletapp/portlets?WSDL),
and it was successfully registered, and portlets are working.
It seems, that that the problem in the provider in that new
OC4j container. (But wsrp-istall.jar had no errors, and I'v got
regular WSDL descriptor). -
Namespace Error, while creating proxy for a WSRP producer(Created on Exo)
Hi ,
I have implemented and deployed WSRP producer on Exo portal container. When I was trying to create proxy for the same in weblogic portal 10.2 its giving me the following error. Upon submiting the WSDL URL
!ENTRY com.bea.wlp.eclipse.common 4 4 2008-12-08 13:46:27.540
!MESSAGE NAMESPACE_ERR
!STACK 0
org.w3c.dom.DOMException: NAMESPACE_ERR
at weblogic.xml.domimpl.ElementNSImpl.<init>(ElementNSImpl.java:74)
at weblogic.xml.saaj.SOAPElementImpl.<init>(SOAPElementImpl.java:40)
at weblogic.xml.saaj.SaajDocument.createElementNS(SaajDocument.java:63)
at com.bea.wsrp.util.DomUtils.createChildElement(DomUtils.java:386)
at com.bea.wsrp.util.DomUtils.addChildElement(DomUtils.java:406)
at com.bea.wsrp.util.DomUtils.addChildElement(DomUtils.java:371)
at com.bea.wsrp.bind.serviceDescription.GetServiceDescriptionRequest.writeTo(GetServiceDescriptionRequest.java:40)
at com.bea.wsrp.client.ProducerAgentImpl.getServiceDescription(ProducerAgentImpl.java:129)
at com.bea.wsrp.client.ProducerAgentImpl.getServiceDescription(ProducerAgentImpl.java:80)
at com.bea.wsrp.client.ProducerAgentImpl.getServiceDescription(ProducerAgentImpl.java:68)
at com.bea.wsrp.client.ProducerAgentImpl.getServiceDescription(ProducerAgentImpl.java:57)
at com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.getServiceDescription(ProducerAgent.java:99)
at com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.<init>(ProducerAgent.java:57)
at com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.<init>(ProducerAgent.java:45)
at com.bea.wlp.eclipse.wsrp.portletbuilder.wizard.wsrp.SelectProducerPanel$ProducerInfoRunner.run(SelectProducerPanel.java:690)
Could any one help me to solve this problem.
Thanks & Regards,
NareshHi Nate,
Please find the following wsdl.
<?xml version="1.0" encoding="UTF-8" ?>
<wsdl:definitions targetNamespace="http://localhost:8080/wsrp/services/Version" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/wsrp/services/Version" xmlns:intf="http://localhost:8080/wsrp/services/Version" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--
WSDL created by Apache Axis version: 1.4
Built on Nov 19, 2006 (02:31:34 GMT+00:00)
-->
<wsdl:message name="getVersionRequest" />
<wsdl:message name="getVersionResponse">
<wsdl:part name="getVersionReturn" type="soapenc:string" />
</wsdl:message>
<wsdl:portType name="Version">
<wsdl:operation name="getVersion">
<wsdl:input message="impl:getVersionRequest" name="getVersionRequest" />
<wsdl:output message="impl:getVersionResponse" name="getVersionResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="VersionSoapBinding" type="impl:Version">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="getVersion">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="getVersionRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://axis.apache.org" use="encoded" />
</wsdl:input>
<wsdl:output name="getVersionResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/wsrp/services/Version" use="encoded" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="VersionService">
<wsdl:port binding="impl:VersionSoapBinding" name="Version">
<wsdlsoap:address location="http://localhost:8080/wsrp/services/Version" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Thanks & Regards,
Naresh -
Consuming Websphere Portlets in spaces using WSRP WSDL url gives error.
Sr#3-6516739281
Ver- 11.1.1.6.0 spaces.
Hi ,
Customer consuming a websphere portlets in spaces
Producer: Websphere portal server
Consumer - Webcenter spaces 11.1.1.6.0
WSDL url - http://192.168.0.50:9080/producer/wsdl/wsrp_service.wsdl
WSRP 2.0 portlets hosted on IBM WebSpere application server (v. 7.1) are not rendered at all in spaces. Registration part goes fine and when click the test button after registration it says successful.
but when we go the spaces page the portlet is not rendered and says - Portlet consumer error and the following stack trace traced in spaces server logs .
The thrown exception is:
<3-Dec-2012 4:21:33 o'clock PM EST> <Error> <oracle.portlet.binding> <BEA-000000> <An error has occured for Portlet Binding portlet2581387127.
oracle.adf.model.portlet.binding.PortletModelException: Unable to get portlet response (Internal Error) for portlet binding portlet2581387127.
at oracle.adf.model.portlet.binding.PortletBinding$InnerPortletModel.getPortletRendition(PortletBinding.java:1476)
at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.getPortletRendition(ActivityPortletModelWrapper.java:151)
at oracle.adfinternal.view.faces.renderkit.rich.portlet.PortletRenderer.encodeAll(PortletRenderer.java:916)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
at oracle.adfinternal.view.faces.renderkit.rich.customizable.PanelCustomizableRenderer.encodeChildrenVertically(PanelCustomizableRenderer.java:1039)
at oracle.adfinternal.view.faces.renderkit.rich.customizable.PanelCustomizableRenderer.encodeAll(PanelCustomizableRenderer.java:350)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
at org.apache.myfaces.trinidad.rend
This works fine in .net and other consumers.
Please see the screen shots attached to SR-
WCP_PortletProducerRegistration.png - registration screen in spaces
WCP_Error.png - Error when try to see the portlet in spaces page.
WC_Spaces.out -logs with the above error.
We also tried to register this is Jdevelooper. This gives different error in registration it self.
screen shot- JDeveloper-WSRPProducerRegistration.docx
Please shed some light on this to proceed further.Sr#3-6516739281
Ver- 11.1.1.6.0 spaces.
Hi ,
Customer consuming a websphere portlets in spaces
Producer: Websphere portal server
Consumer - Webcenter spaces 11.1.1.6.0
WSDL url - http://192.168.0.50:9080/producer/wsdl/wsrp_service.wsdl
WSRP 2.0 portlets hosted on IBM WebSpere application server (v. 7.1) are not rendered at all in spaces. Registration part goes fine and when click the test button after registration it says successful.
but when we go the spaces page the portlet is not rendered and says - Portlet consumer error and the following stack trace traced in spaces server logs .
The thrown exception is:
<3-Dec-2012 4:21:33 o'clock PM EST> <Error> <oracle.portlet.binding> <BEA-000000> <An error has occured for Portlet Binding portlet2581387127.
oracle.adf.model.portlet.binding.PortletModelException: Unable to get portlet response (Internal Error) for portlet binding portlet2581387127.
at oracle.adf.model.portlet.binding.PortletBinding$InnerPortletModel.getPortletRendition(PortletBinding.java:1476)
at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.getPortletRendition(ActivityPortletModelWrapper.java:151)
at oracle.adfinternal.view.faces.renderkit.rich.portlet.PortletRenderer.encodeAll(PortletRenderer.java:916)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
at oracle.adfinternal.view.faces.renderkit.rich.customizable.PanelCustomizableRenderer.encodeChildrenVertically(PanelCustomizableRenderer.java:1039)
at oracle.adfinternal.view.faces.renderkit.rich.customizable.PanelCustomizableRenderer.encodeAll(PanelCustomizableRenderer.java:350)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
at org.apache.myfaces.trinidad.rend
This works fine in .net and other consumers.
Please see the screen shots attached to SR-
WCP_PortletProducerRegistration.png - registration screen in spaces
WCP_Error.png - Error when try to see the portlet in spaces page.
WC_Spaces.out -logs with the above error.
We also tried to register this is Jdevelooper. This gives different error in registration it self.
screen shot- JDeveloper-WSRPProducerRegistration.docx
Please shed some light on this to proceed further. -
Error in registering WSRP portlet producer with Oracle Portal 10.1.4
Hi all,
I am using OC4J 10.1.3.4.0 as producer of portlets and Oracle Portal 10.1.4 as consumer. I am encountering error in registering the producer WSDL. Here's the stack trace:
An error occurred when attempting to call the providers register function. (WWC-43134)
An error occurred during the call to the WSRP Provider: java.rmi.RemoteException: Runtime exception; nested exception is:
deserialization error: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
com.sun.xml.rpc.encoding.DeserializationException: deserialization error: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
com.sun.xml.rpc.encoding.DeserializationException: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
com.sun.xml.rpc.streaming.XMLReaderException: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
Java stack trace from root exception:
com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
at com.sun.xml.rpc.sp.Parser2.fatal(Parser2.java:2015)
at com.sun.xml.rpc.sp.Parser2.fatal(Parser2.java:2000)
at com.sun.xml.rpc.sp.Parser2.processStartElement(Parser2.java:2794)
at com.sun.xml.rpc.sp.Parser2.parseContent(Parser2.java:3036)
at com.sun.xml.rpc.sp.Parser2.parse(Parser2.java:2360)
at com.sun.xml.rpc.streaming.XMLReaderImpl.next(XMLReaderImpl.java:105)
at com.sun.xml.rpc.streaming.XMLReaderBase.nextContent(XMLReaderBase.java:23)
at com.sun.xml.rpc.streaming.XMLReaderBase.nextElementContent(XMLReaderBase.java:41)
at oracle.webdb.wsrp.PortletDescription_LiteralSerializer.doDeserialize(PortletDescription_LiteralSerializer.java:94)
at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:174)
at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:84)
at oracle.webdb.wsrp.ServiceDescription_LiteralSerializer.doDeserialize(ServiceDescription_LiteralSerializer.java:88)
at com.sun.xml.rpc.encoding.literal. (WWC-43273)
Note that when the producer is OC4J 10.1.3.1.1 then it works fine. The OC4J log file is also not throwing any exception. So, i think some problem with Oracle Portal 10.1.4.
Thanks
TarunPlease follow the instructions given in https://metalink.oracle.com/help/usaeng/Search/search.html#file with document id 341922.1
-
WSRP: Relative URL results in error code 404 in the consumer access.log
Hello everyone,
I deployed a JSF portlet(implemented in facelets) in Weblogic Server 10.3.2 (11g) [extended to support WSRP]. When the JSF portlet is consumed from a 'consumer' portal [Weblogic 10.3.2 portal], WSRP URL Rewrite results in error code 404 in the consumer portal access.log if the relative path (contextPath+resourcePath) of the javaScript resource is provided.
However, when the absolute path (protocol + serverName + port+ contextPath) of the JavaScript resource is provided, it works correctly:
works:
<script type="text/javascript" src="#{request.protocol}://#{request.serverName}:#{request.serverPort}#{request.contextPath}/resources/scripts/search/patientSearch.js"><!-- --></script>
Failed:
<script type="text/javascript" src="#{request.contextPath}/resources/scripts/search/patientSearch.js"><!-- --></script>
Any idea on what is causing the incorrect URL Rewrite?
The .xhtml and the portlet wsdl are listed below:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:nchic="http://www.saic.com/nchicago/jsf">
<ui:composition template="/WEB-INF/facelets/templates/page-protected.xhtml">
<head>
<title>not used</title>
<ui:define name="title">#{msgs.searchPageTitle}</ui:define>
<ui:define name="head">
<f:verbatim>
<style type="text/css">
#patientSearchContainer .pageCentered {
width: 800px;
#patientSearchFormInstructions {
padding: 10px 0px 10px 0px;
font-weight: bold;
font-size: 11px;
text-align: left;
.s-form-label {
width: 250px;
.s-form-input {
width: 450px;
</style>
</f:verbatim>
<script type="text/javascript" src="#{request.protocol}://#{request.serverName}:#{request.serverPort}#{request.contextPath}/resources/scripts/search/patientSearch.js"><!-- --></script>
</ui:define>
</head>
<body >
<ui:define name="body" >
<h:panelGroup id="patientSearchContainer"
layout="block"
style="text-align: center;">
<rich:panel id="patientSearchPanel"
styleClass="pageCentered"
header="#{msgs.searchPanelSearchTitle}">
<h:panelGroup id="patientSearchFormInstructions" layout="block">
<h:outputText value="#{msgs.searchInstructions}" />
<ul>
<li><h:outputText value="#{msgs.searchInstructions1}" /></li>
<li><h:outputText value="#{msgs.searchInstructions2}" /></li>
<li><h:outputText value="#{msgs.searchInstructions3}" /></li>
</ul>
</h:panelGroup>
<h:panelGroup id="errorPanel"
layout="block"
rendered="#{searchForm.hasMessages}">
<h:panelGroup layout="block"
style="padding: 5px;">
<h:outputFormat value="#{msgs.errorMultipleMessage}"
rendered="#{searchForm.errorCount > 1}">
<f:param value="#{searchForm.errorCount}" />
</h:outputFormat>
<h:outputFormat value="#{msgs.errorSingleMessage}"
rendered="#{searchForm.errorCount == 1}">
<f:param value="#{searchForm.errorCount}" />
</h:outputFormat>
<h:messages layout="list"
showSummary="false"
showDetail="true"
errorClass="errors"
styleClass="errorsList" />
</h:panelGroup>
</h:panelGroup>
<h:form id="patientSearchForm" prependId="false">
<h:panelGrid columns="2"
columnClasses="s-form-label,s-form-input"
summary="#{msgs.tableSummary}">
<nchic:label for="queryIdType"
value="#{msgs.labelIdType}"
required="false" />
<h:selectOneMenu id="queryIdType"
value="#{searchForm.criteria.identificationType}"
converter="patient.IdentificationType"
tabindex="2"
styleClass="masked-hidden not-required">
<f:selectItems value="#{searchForm.lists.allIdTypes}" />
<a4j:support event="onchange"
reRender="sponsorSearch,queryIdNumber"
oncomplete="JointReg.searchForm.patientIdTypeUpdateComplete();"
onsubmit="JointReg.searchForm.patientIdTypeUpdateSubmit();"
actionListener="#{searchForm.identificationTypeChangeListener}" />
</h:selectOneMenu>
<nchic:label for="sponsorSearch"
value="#{msgs.labelIdNumberRadios}"
required="false" />
<h:selectOneMenu id="sponsorSearch"
value="#{searchForm.criteria.sponsorSearch}"
tabindex="3"
disabled="#{searchForm.identificationDisabled}"
styleClass="masked-hidden not-required">
<f:selectItem itemValue="true" itemLabel="#{msgs.labelSponsor}" />
<f:selectItem itemValue="false" itemLabel="#{msgs.labelPatient}" />
</h:selectOneMenu>
<nchic:label for="queryIdNumber"
value="#{msgs.labelIdNumber}"
required="false" />
<h:inputText id="queryIdNumber"
converter="patient.IdentificationNumber"
value="#{searchForm.criteria.identificationNumber}"
tabindex="4"
styleClass="not-required resettable"
disabled="#{searchForm.identificationDisabled}"
maxlength="11" />
<nchic:label for="queryBirthDate"
value="#{msgs.labelBirthDateShort}"
required="false" />
<nchic:date id="queryBirthDate"
value="#{searchForm.criteria.birthDate}"
monthValues="#{searchForm.lists.allMonths}"
dayValues="#{searchForm.lists.allDays}"
yearValues="#{searchForm.lists.allYears}"
tabindex="5"
styleClass="masked-hidden not-required resettable" />
<nchic:label for="queryLastName"
value="#{msgs.labelLastName}"
required="false" />
<h:inputText id="queryLastName"
value="#{searchForm.criteria.lastName}"
tabindex="8"
maxlength="30"
styleClass="not-required resettable" />
<nchic:label for="queryFirstName"
value="#{msgs.labelFirstName}"
required="false" />
<h:inputText id="queryFirstName"
value="#{searchForm.criteria.firstName}"
tabindex="9"
maxlength="30"
styleClass="not-required resettable" />
<nchic:label for="queryGender"
value="#{msgs.labelGender}"
required="false" />
<h:selectOneMenu id="queryGender"
value="#{searchForm.criteria.gender}"
converter="patient.Gender"
tabindex="10"
styleClass="masked-hidden not-required resettable">
<f:selectItems value="#{searchForm.lists.allGenderTypes}" />
</h:selectOneMenu>
</h:panelGrid>
<h:panelGroup layout="block" style="text-align: center">
<h:panelGroup layout="block"
style="padding-top: 15px; margin-left: auto; margin-right: auto;">
<h:commandButton action="#{searchForm.searchAction}"
value="#{msgs.buttonSearch}"
styleClass="s-button"
tabindex="11"
onclick="jQuery(document.body).mask('Searching...');" />
<rich:spacer width="10" />
<h:commandButton type="button"
styleClass="s-button"
onclick="return JointReg.searchForm.resetSearchForm();"
tabindex="12"
value="#{msgs.buttonClearSearch}" />
<rich:spacer width="100" />
<h:commandButton action="#{searchForm.createJohnDoeAction}"
styleClass="s-button"
onclick="jQuery(document.body).mask('Registering...');"
tabindex="13"
value="#{msgs.buttonJohnDoe}" />
</h:panelGroup>
</h:panelGroup>
</h:form>
</rich:panel>
</h:panelGroup>
</ui:define>
</body>
</ui:composition>
</html>
WSDL:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
- <s0:definitions xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:s2="urn:oasis:names:tc:wsrp:v1:bind" xmlns:s3="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s4="urn:bea:wsrp:ext:v1:bind" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" targetNamespace="urn:oasis:names:tc:wsrp:v1:wsdl">
<import location="http://10.75.2.235:7711/RegistrationPortlet/producer/wsrp-2.0/markup?WSDL" namespace="urn:oasis:names:tc:wsrp:v2:wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" />
<s0:import location="http://10.75.2.235:7711/RegistrationPortlet/producer/wsrp-1.0/markup?WSDL/wlp_wsrp_v1_bindings.wsdl" namespace="urn:bea:wsrp:ext:v1:bind" />
<s0:import location="http://10.75.2.235:7711/RegistrationPortlet/producer/wsrp-1.0/markup?WSDL/wsrp_v1_bindings.wsdl" namespace="urn:oasis:names:tc:wsrp:v1:bind" />
<wsp:UsingPolicy s0:Required="true" />
- <wsp:Policy s1:Id="ProducerDefaultPolicy">
- <wsp:All>
- <wssp:Identity xmlns:wssp="http://www.bea.com/wls90/security/policy">
- <wssp:SupportedTokens>
- <wssp:SecurityToken TokenType="http://docs.oasis-open.org/wss/2004/01/oasis-2004-01-saml-token-profile-1.0#SAMLAssertionID">
- <wssp:Claims>
<wssp:ConfirmationMethod>sender-vouches</wssp:ConfirmationMethod>
</wssp:Claims>
</wssp:SecurityToken>
</wssp:SupportedTokens>
</wssp:Identity>
</wsp:All>
</wsp:Policy>
- <s0:service name="WSRPService">
- <s0:port binding="s2:WSRP_v1_Markup_Binding_SOAP" name="WSRPBaseService">
<s3:address location="http://10.75.2.235:7711/RegistrationPortlet/producer/wsrp-1.0/markup" />
</s0:port>
- <s0:port binding="s2:WSRP_v1_ServiceDescription_Binding_SOAP" name="WSRPServiceDescriptionService">
<s3:address location="http://10.75.2.235:7711/RegistrationPortlet/producer/wsrp-1.0/serviceDescription" />
</s0:port>
- <s0:port binding="s4:WLP_WSRP_v1_Markup_Ext_Binding_SOAP" name="WLP_WSRP_Ext_Service">
<s3:address location="http://10.75.2.235:7711/RegistrationPortlet/producer/wsrp-wlp-ext-1.0/markup" />
</s0:port>
</s0:service>
</s0:definitions>did you publish the internetserive "<b>bbpstart</b>" to site internal?
Regards
Raja -
Error when extending portal domain to be a wsrp producer
I have created a Weblogic Portal domain, and then created a Portal web application deployed in Weblogic Portal domain.
Now, I would like to extend the domain to be a WSRP producer in order to consume som portlets in other Portals.
When I try to extend the domain I get the following error:
Domain Extension Application Failed!
Domain Location: <DOMAIN_HOME>\base_domain2
Reason: null
Exception:
Traceback (innermost last):
File "<iostream>", line 14, in ?
File "D:\Documents and Settings\E\Local Settings\Temp\WLSTOfflineIni61149.py", line 118, in create
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "Name" of PKICredentialMapper with original name "Provider" is invalid. The property value is duplicated.
Any ideas?
Thanks in advance!!By default, portal domains include support wsrp producer - so there is
no need to extend the domain.
Subbu
Espen Kj?lberg wrote:
I have created a Weblogic Portal domain, and then created a Portal web application deployed in Weblogic Portal domain.
Now, I would like to extend the domain to be a WSRP producer in order to consume som portlets in other Portals.
When I try to extend the domain I get the following error:
Domain Extension Application Failed!
Domain Location: <DOMAIN_HOME>\base_domain2
Reason: null
Exception:
Traceback (innermost last):
File "<iostream>", line 14, in ?
File "D:\Documents and Settings\E\Local Settings\Temp\WLSTOfflineIni61149.py", line 118, in create
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "Name" of PKICredentialMapper with original name "Provider" is invalid. The property value is duplicated.
Any ideas?
Thanks in advance!! -
Getting Error when consuming portlet using WSRP at remote loacation
Hi,
I have created a producer portlet on a weblogic(10) domain installed at one machine.
When i am trying to consume that portlet using WSRP ,on that machine , its working perfectly fine.
But if am trying to consume this portlet from some other remote location, its giving me the following error.
Although i am able to get the WSDL of the remote portlet through IE.
Exception Stack trce :
com.bea.wsrp.faults.TransportException: Server returned HTTP response code: 503 for URL: http://152.64.32.92:7001/producerWebProject/producer?wsdl; nested exception is:
java.io.IOException: Server returned HTTP response code: 503 for URL: http://152.64.32.92:7001/producerWebProject/producer?wsdl
at com.bea.wsrp.proxy.ProxyBase.isVersionSupported(ProxyBase.java:1069)
at com.bea.wsrp.proxy.ProxyBase.getMaxNSforOperation(ProxyBase.java:1044)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.bea.wsrp.proxy.ProxyBase.invoke(ProxyBase.java:422)
at $Proxy0.getMaxNSforOperation(Unknown Source)
at com.bea.wsrp.client.ProducerAgentImpl.getServiceDescription(ProducerAgentImpl.java:97)
at com.bea.wsrp.client.ProducerAgentImpl.getServiceDescription(ProducerAgentImpl.java:72)
at com.bea.wsrp.client.ProducerAgentImpl.getServiceDescription(ProducerAgentImpl.java:61)
at com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.getServiceDescription(ProducerAgent.java:99)
at com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.<init>(ProducerAgent.java:57)
at com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.<init>(ProducerAgent.java:45)
at com.bea.wlp.eclipse.wsrp.portletbuilder.wizard.wsrp.SelectProducerPanel$ProducerInfoRunner.run(SelectProducerPanel.java:628)
Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: http://152.64.32.92:7001/producerWebProject/producer?wsdl
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1149)
at com.bea.wsrp.util.CompatWsdlParser.getWsdlDocument(CompatWsdlParser.java:310)
at com.bea.wsrp.util.CompatWsdlParser.getWsrpPortUrls(CompatWsdlParser.java:64)
at com.bea.wsrp.wsdl.FixupWsdlParser.tryFixup(FixupWsdlParser.java:74)
at com.bea.wsrp.wsdl.FixupWsdlParser.parse(FixupWsdlParser.java:63)
at com.bea.wsrp.wsdl.WsdlInfoImpl.<init>(WsdlInfoImpl.java:169)
at com.bea.wsrp.wsdl.GlobalWsdlPool.getWsdlInfo(GlobalWsdlPool.java:55)
at com.bea.wsrp.proxy.ProxyBase.getWsdlInfo(ProxyBase.java:512)
at com.bea.wsrp.proxy.ProxyBase.isVersionSupported(ProxyBase.java:1065)
... 14 more
Edited by help_eachother at 08/20/2007 6:40 AMThe remote producer is returning an error code 503. You may be getting the same response code when you hit the producer web app. Could you verify this, and also the server logs on the producer side. I suspect that the app did not deploy correctly.
-
Hi,I am new to webcenter, and my situation is : I develop a very simple bounded task flow(using page fragement) which just shows the employees list and emplee detail info views, nothing special and it works well in the jsf page as region, then I create the portlet with the task flow and register the wsrp producer in the webcenter space (these steps also go well). However when I drop the portlet into the page , the error displays as below. And then I make the jsf page including the task flow as region to the portlet, when it is dragged into the space page , the portlet content reload and refresh again and again .
My JDeveloper version is:11.1.1.4.0_GENERIC_101227.1736.5923
The Webcenter Spaces vm is download from: http://retriever.us.oracle.com/apex/f?p=121:22:1113718446801055::NO:RP:P22_CONTAINER_ID:49699 . The version is : Oracle WebCenter 11g PS3 ,Oracle WLS 11g PS3 .
I really appreciate somebody could give me some help. Thank you so much.
The error information is:
javax.portlet.faces.BridgeException: java.lang.ClassCastException: com.bea.portlet.container.RenderRequestImpl cannot be cast to
javax.servlet.http.HttpServletRequestjavax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request at
javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:675) at
javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:638) at
javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:274) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328) at
javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:245) at javax.portlet.GenericPortlet.render(GenericPortlet.java:233) at
oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:210) at com.bea.portlet.container.PortletStub.doRender(PortletStub.java:1003) at
com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:127) at com.bea.portlet.container.PortletStub.render(PortletStub.java:438) at
com.bea.portlet.container.AppContainer.renderStub(AppContainer.java:1144) at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:1076) at
com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.doGetMarkup(JavaPortletAdapter.java:294) at
com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doGetMarkup(MarkupServiceHandler.java:449) at
com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:264) at
com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:71) at
com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:349) at
com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:250) at
com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:208) at
oracle.portlet.server.adapter.web.WSRP_v2_Markup_PortTypeSoapToEndpoint.getMarkup(WSRP_v2_Markup_PortTypeSoapToEndpoint.java:74) at
oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v2_Markup_Binding_SOAP_Tie.java:66) at
oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1445) at
oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299) at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:442) at
oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1081) at
oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:333) at
oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:232) at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:185)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at
oracle.portlet.producer.container.endpoint.ProducerEndpointFilter.doFilter(ProducerEndpointFilter.java:34)Hi,
How did you create your portlet?
The default way, how to create a portlet from the ADF project in JDev is the right click on the JSPX page or tasklfow you want to portletize and choose the item "Create Portlet Entry ..." from the menu. The Jdev automatically wraps your ADF project with portlet stuff.
Regards
Pavol
Maybe you are looking for
-
"Unable to start your subscription for Adobe Muse CC". Anyone get this message?
I tried to launch Adobe Muse CC and I received the message "Unable to start your subscription for Adobe Muse CC". Why is this happening? I am connected to the internet, I've paid for my subscription so what is the problem?
-
Q about vpn (mullvad) and openresolv
I am behind a NAT 192.168.0.0/24. The router doing NAT is also forwarding DNS requests to my ISP, thus the clients on the local network has 192.168.0.1 as its DNS server. I have set up mullvad VPN om my arch laptop per instructions in https://wiki.ar
-
So I just got my new ipod touch, 32gb 3rd gen and I'm already having problems. When I go into music, albums, I have multiple albums that are exactly the same. They are all listed under the same name, but different artists, but each artist section has
-
Avoid putting images in Aperture-specific "silo"?
I have nearly 5,000 images, Photoshop CS6 user on PC, recent Macbook Pro 2.6G 1Tb. I'm considering Aperture for the Macbook. Does Aperture insist (like iPhoto) on importing RAW/JPEG files into an internal app structure before I can work on them? Do
-
While Compile the Package it shows "alter session set plsql_trace=false"
Hi, My package was working fine and suddenly the status is invalid so i tried compiling the package that time sql developer got hanged, package also not getting compiled. i asked DBA to find out the status, they said the following query is running fr