This discussion is archived
1 Reply Latest reply: Oct 24, 2012 10:56 PM by 918817 RSS

Unable to create ProviderDefinition

918817 Newbie
Currently Being Moderated
Hello. I get deployed EAR from Oracle Application Server 10.1.3 and trying to deploy it on Weblogic Server 10.3.5. Application is in Active state. But request to http://localhost:7001/mes_scc/providers return error in logfile:
####<23.10.2012 8:34:14 GMT+04:00> <Error> <ServletContext-/mes_scc> <potamoshnev> <s_1_1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <9ba4c3a69b52e411:48506dbf:13a88e71bac:-8000-000000000000035a> <1350966854297> <BEA-000000> <[instance=(null), id=(null)] WARNING: Could not get ProviderDefinition
oracle.portal.provider.v2.ProviderException: Unable to create ProviderDefinition of class "oracle.portal.provider.v2.DefaultPortletDefinition": oracle.portal.provider.v2.DefaultPortletDefinition
     at oracle.portal.provider.v2.http.DefaultProviderLoader.getProviderDefinition(Unknown Source)
     at oracle.portal.provider.v2.http.DefaultProviderLoader.validate(Unknown Source)
     at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.validate(Unknown Source)
     at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showTestPage(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:597)
     at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
     at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
     at ru.topsbi.eaf.web.servlet.oracle.SOAPServlet.service(SOAPServlet.java:599)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
     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.ServletStubImpl.execute(ServletStubImpl.java:184)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
Is it possible to solve this error?
  • 1. Re: Unable to create ProviderDefinition
    918817 Newbie
    Currently Being Moderated
    Solving this problem with changing renderer class from ru.topsbi.mosenergo.portlet.oracle.TopLinkRenderManager to oracle.portal.provider.v2.render.RenderManager. Other parameters are the same.
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    
         <localePersonalizationLevel>none</localePersonalizationLevel>
         <session>true</session>
         <useOldStyleHeaders>false</useOldStyleHeaders>
         <defaultLocale>en</defaultLocale>
         <passAllUrlParams>true</passAllUrlParams> <!-- !!! -->
    
         <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
              <id>1110</id>
              <name>BindJuridicalPersonsPortlet</name>
              <title>Bind Juridical Persons Portlet</title>
              <timeout>60</timeout>
              <showEdit>false</showEdit>
              <showEditDefault>false</showEditDefault>
              <showPreview>false</showPreview>
              <showDetails>false</showDetails>
              <showLink>false</showLink>
              <hasHelp>false</hasHelp>
              <hasAbout>false</hasAbout>
              <acceptContentType>text/html</acceptContentType>
              <renderer class="oracle.portal.provider.v2.render.RenderManager">
                   <renderContainer>true</renderContainer>
                   <renderCustomize>false</renderCustomize>
                   <charSet>utf-8</charSet>
                   <contentType>text/html</contentType>
                   <showPage>/</showPage>
                   <pageParameterName>page</pageParameterName>
              </renderer>
         </portlet>
    </provider>

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points