1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

Cannot view BPEL Portlet on Portal

Discussion in 'Oracle Webcenter Suite (formerly Oracle ECM)' started by mzainal, Dec 23, 2009.

  1. mzainal

    mzainal Forum Advisor

    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    130
    Hi,

    I'm having problem to view BPEL Portlet on Oracle Portal. I can easy deploy any application using BPEL EM.

    When i check the log, it said some error with OID. But i don't know what missing.
    Here is log file from $OH/opmn/log/default_group~oc4j_soa~default_group~1.log

    Code (Text):
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
            at java.lang.Thread.run(Thread.java:595)
    Caused by: ORABPEL-00000

    Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-10536

    Identity service provider is not found.
    Identity service provider is nor found.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.

            at oracle.tip.pc.services.identity.jazn.oid.OIDIdentityService.init(OIDIdentityService.java:97)
            at oracle.tip.pc.services.identity.BPMServiceBase.<init>(BPMServiceBase.java:50)
            at oracle.tip.pc.services.identity.jazn.BPMServiceJAZNBase.<init>(BPMServiceJAZNBase.java:51)
            at oracle.tip.pc.services.identity.jazn.oid.OIDIdentityService.<init>(OIDIdentityService.java:74)
            at oracle.tip.pc.services.identity.jazn.oid.OIDIdentityService.getInstance(OIDIdentityService.java:118)
            at oracle.tip.pc.services.common.ServiceFactory.getService(ServiceFactory.java:307)
            at oracle.tip.pc.services.common.ServiceFactory.getAuthorizationServiceInstance(ServiceFactory.java:133)
            at oracle.bpel.services.workflow.verification.impl.VerificationService.getAuthorizationService(VerificationService.java:416)
            at oracle.bpel.services.workflow.verification.impl.VerificationService.lookupUser(VerificationService.java:2911)
            at oracle.bpel.services.workflow.verification.impl.VerificationService.createContext(VerificationService.java:263)
            at oracle.bpel.services.workflow.query.impl.TaskQueryService.createContext(TaskQueryService.java:137)
            at portletHelper.Utils.getWorkflowContextForUser(Utils.java:134)
            at _htdocs._worklistportlet._ListingPortletShowPage._jspService(_ListingPortletShowPage.java:255)
            at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
            at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
            at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
            at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
            at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
            at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
            at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:287)
            at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
            at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
            at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
            at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
            at oracle.portal.provider.v2.render.http.AbstractResourceRenderer.renderBody(Unknown Source)
            at oracle.portal.provider.v2.render.RenderManager.render(Unknown Source)
            at oracle.portal.provider.v2.DefaultPortletInstance.render(Unknown Source)
            at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(Unknown Source)
            at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source)
            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 oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
            at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
            at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
            at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
            at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
            at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
            at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
            at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
            at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
            at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
            at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.IllegalArgumentException
            at oracle.tip.pc.services.identity.common.ConnectionPool.getPool(ConnectionPool.java:179)
            at oracle.tip.pc.services.identity.common.AbstractLDAPProvider.initializeConnectionPool(AbstractLDAPProvider.java:763)
            at oracle.tip.pc.services.identity.common.AbstractLDAPProvider.initialize(AbstractLDAPProvider.java:803)
            at oracle.tip.pc.services.identity.common.AbstractLDAPProvider.<init>(AbstractLDAPProvider.java:268)
            at oracle.tip.pc.services.identity.jazn.oid.OIDProvider.<init>(OIDProvider.java:165)
            at oracle.tip.pc.services.identity.jazn.oid.OIDProvider.getInstance(OIDProvider.java:307)
            at oracle.tip.pc.services.identity.jazn.oid.OIDIdentityService.init(OIDIdentityService.java:85)
            ... 45 more
    ".
    Exception: ORABPEL-10536

    Identity service provider is not found.
    Identity service provider is nor found.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.

    Handled As: oracle.tip.pc.services.common.ServiceException

            at oracle.tip.pc.services.identity.jazn.oid.OIDIdentityService.getInstance(OIDIdentityService.java:124)
            at oracle.tip.pc.services.common.ServiceFactory.getService(ServiceFactory.java:307)
            at oracle.tip.pc.services.common.ServiceFactory.getAuthorizationServiceInstance(ServiceFactory.java:133)
            ... 39 more
    Caused by: ORABPEL-10536

    Identity service provider is not found.
    Identity service provider is nor found.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.

            at oracle.tip.pc.services.identity.jazn.oid.OIDIdentityService.init(OIDIdentityService.java:97)
            at oracle.tip.pc.services.identity.BPMServiceBase.<init>(BPMServiceBase.java:50)
            at oracle.tip.pc.services.identity.jazn.BPMServiceJAZNBase.<init>(BPMServiceJAZNBase.java:51)
            at oracle.tip.pc.services.identity.jazn.oid.OIDIdentityService.<init>(OIDIdentityService.java:74)
            at oracle.tip.pc.services.identity.jazn.oid.OIDIdentityService.getInstance(OIDIdentityService.java:118)
            ... 41 more
    Caused by: java.lang.IllegalArgumentException
            at oracle.tip.pc.services.identity.common.ConnectionPool.getPool(ConnectionPool.java:179)
            at oracle.tip.pc.services.identity.common.AbstractLDAPProvider.initializeConnectionPool(AbstractLDAPProvider.java:763)
            at oracle.tip.pc.services.identity.common.AbstractLDAPProvider.initialize(AbstractLDAPProvider.java:803)
            at oracle.tip.pc.services.identity.common.AbstractLDAPProvider.<init>(AbstractLDAPProvider.java:268)
            at oracle.tip.pc.services.identity.jazn.oid.OIDProvider.<init>(OIDProvider.java:165)
            at oracle.tip.pc.services.identity.jazn.oid.OIDProvider.getInstance(OIDProvider.java:307)
            at oracle.tip.pc.services.identity.jazn.oid.OIDIdentityService.init(OIDIdentityService.java:85)
            ... 45 more
     
    Anybody can assist me? I'm new with SOA BPEL.

    Thank you.
     
  2. apps_expert

    apps_expert Forum Expert

    Messages:
    325
    Likes Received:
    28
    Trophy Points:
    330
    Location:
    Chennai, India
    Your problem is discussed in Metalink Note ID 785313.1.

    Cause

    You are missing the SSLSocketFactoryImplClass property in the is_config.xml file. Without this property OID can't communicate with BPEL using SSL.

    Solution

    1. Stop your OC4J container
    2. Make a backup copy of your $SOA_HOME\bpel\system\services\config\is_config.xml file.
    3. Edit your is_config.xml file and add the following lines under the connection element:

    Code (Text):
    <property name="SSLSocketFactoryImplClass" value="oracle.tip.pc.services.identity.common.SSLSocketFactoryImpl"/>
    <property name="securityProtocol" value="ssl"/>
    <pool initsize="2" maxsize="25" prefsize="10" timeout="60"/>
     
    Note: The lines above must not be added if OID doesn't have SSL configured.

    Code (Text):
    The configuration file should look like this:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <ISConfiguration xmlns="http://www.oracle.com/pcbpel/identityservice/isconfig">
     <configurations>
      <configuration realmName="{OIDRealm}" displayName="{OID Realm}">
        <provider providerType="JAZN" name="OID" service="Identity">
          <connection url="ldap://{host}:{sslport}" binddn="cn=orcladmin" password="xyz==" encrypted="true">
            <property name="SSLSocketFactoryImplClass" value="oracle.tip.pc.services.identity.common.SSLSocketFactoryImpl" />
            <property name="securityProtocol" value="ssl"/>
            <pool initsize="2" maxsize="25" prefsize="10" timeout="60"/>
          </connection>
          <userControls>
          .
          .
          </userControls>
          <roleControls>
          .
          .
          </roleControls>
        </provider>
      </configuration>
     </configurations>
    </ISConfiguration>
     
    4. Restart your container.