0 Replies Latest reply: Jul 19, 2012 2:13 AM by rgouw RSS

    java.lang.UnsatisfiedLinkError: no jmisc in java.library.path Web Cache

    rgouw
      All,

      We recently upgrade from Portal 10g to 11g (11.1.1.6)
      In our portal, we have registered some providers which have portlets that use Invalidation Based Caching.
      Since the upgrade, the portlets can no longer send invalidation messages.
      Even the sample portlets (jpdk.ear) cannot invalidate.

      Setup:
      - WLS_PORTAL managed (MS) server for Portal
      - Portlets managed server (MS) for the portlets.
      - Aditional classpath for the Portlets MS:
      /oracle/wls/mw/presentatie/Oracle_Portal/webcache/toolkit/jawc.jar:/oracle/wls/mw/presentatie/Oracle_Portal/jlib/ojmisc.jar
      - Additional arguments for the Portlets MS:
      -Doracle.http.configfile=/oracle/wls/mw/presentatie/user_projects/domains/presentatie/config/cache.xml
      - Contents of the cache.xml file:
      <?xml version="1.0"?>
      <webcache>
      <invalidation
      host="<hostname of the WebCache>"
      port="9401"
      authorization="B8A617577104C71D723B5DF149DC02D51802ECB5" />
      - Trace as reported in the Portlets.out file:
      <Jul 19, 2012 8:58:40 AM CEST> <Error> <oracle.portal> <BEA-000000> <ERROR: Failed to handle HTTP Request
      oracle.net.http.HttpConfigurationException: Bad "authorization" value in configuration element "invalidation." String un-obfuscation error: java.lang.UnsatisfiedLinkError: no jmisc in java.library.path
      at oracle.net.http.HttpConnectionFactory.elementToParams(HttpConnectionFactory.java:287)
      at oracle.net.http.HttpConnectionFactory.getConnectionParamsFromDoc(HttpConnectionFactory.java:192)
      at oracle.net.http.HttpConnectionFactory.create(HttpConnectionFactory.java:96)
      at oracle.webcache.invalidation.InvalidationConnection.<init>(InvalidationConnection.java:125)
      at oracle.webcache.invalidation.InvalidationConnection.<init>(InvalidationConnection.java:148)
      at oracle.webdb.provider.v2.cache.WebCacheInvalidationContext.getInvalidationConnection(Unknown Source)
      at oracle.webdb.provider.v2.cache.WebCacheInvalidationContext.invalidate(Unknown Source)
      at oracle.portal.sample.v2.devguide.invalidation.InvalidationEditRenderer.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:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      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: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:301)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
      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:2273)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      >

      In the 10g environment, there was no jmisc.jar as well.
      There was a ojmisc.jar in the 10g classpath, but we copied that to the 11g environment

      Has anyone encountered this or knows a solution?

      Kind regards,

      Rob