Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8156843

SAP PI Java Webstart application freezes when launched via P4S

XMLWordPrintable

    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      Picked up JAVA_TOOL_OPTIONS: -Dsun.nio.ch.disableSystemWideOverlappingFileLockCh
      eck=true
      java version "1.6.0_45"
      Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
      Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Windows 7

      A DESCRIPTION OF THE PROBLEM :
      The SAP PI Java Webstart application (SAP PI Integration Builder, SAP PI Service Builder) freezes when launched via P4S. There seems to be a stackoverflow error now while reading the iaik_jce.jar.

      REGRESSION. Last worked in version 6u45


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      cache: Reading Signers from 2144 https://sap-system.domain:443/rep/jce/iaik_jce.jar | C:\Users\Username\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\36\355b8ee4-2771be85.idx
      cache: Reading Signers from 2144 https://sap-system.domain:443/rep/jce/iaik_jce.jar | C:\Users\Username\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\36\355b8ee4-2771be85.idx
      cache: Reading Signers from 2144 https://sap-system.domain:443/rep/jce/iaik_jce.jar | C:\Users\Username\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\36\355b8ee4-2771be85.idx
      Exception in thread "AWT-EventQueue-3" java.lang.StackOverflowError
      at java.io.Win32FileSystem.canonicalize(Unknown Source)
      at java.io.File.getCanonicalPath(Unknown Source)
      at sun.security.provider.PolicyFile.canonPath(Unknown Source)
      at java.io.FilePermission$1.run(Unknown Source)
      at java.io.FilePermission$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.io.FilePermission.init(Unknown Source)
      at java.io.FilePermission.<init>(Unknown Source)
      at java.lang.SecurityManager.checkRead(Unknown Source)
      at java.io.RandomAccessFile.<init>(Unknown Source)
      at com.sun.deploy.util.SyncFileAccess.openLockFileObject(Unknown Source)
      at com.sun.deploy.util.SyncFileAccess.openLockRandomAccessFile(Unknown Source)
      at com.sun.deploy.cache.CacheEntry.openLockIndexFile(Unknown Source)
      at com.sun.deploy.cache.CacheEntry.access$000(Unknown Source)
      at com.sun.deploy.cache.CacheEntry$12.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.cache.CacheEntry.readSigners(Unknown Source)
      at com.sun.deploy.cache.CacheEntry.getSignerMap(Unknown Source)
      at com.sun.deploy.cache.CachedJarFile.getSignerMap(Unknown Source)
      at com.sun.deploy.cache.CachedJarFile.getCodeSource(Unknown Source)
      at com.sun.deploy.cache.DeployCacheJarAccessImpl.getCodeSource(Unknown Source)
      at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.security.Provider$Service.getImplClass(Unknown Source)
      at java.security.Provider$Service.newInstance(Unknown Source)
      at java.security.KeyFactory.nextSpi(Unknown Source)
      at java.security.KeyFactory.<init>(Unknown Source)
      at java.security.KeyFactory.getInstance(Unknown Source)
      at iaik.asn1.structures.AlgorithmID.getKeyFactoryInstance(Unknown Source)
      at iaik.asn1.structures.AlgorithmID.getKeyFactoryInstance(Unknown Source)
      at iaik.x509.PublicKeyInfo.getPublicKey(Unknown Source)
      at iaik.x509.X509Certificate.c(Unknown Source)
      at iaik.x509.X509Certificate.decode(Unknown Source)
      at iaik.x509.X509Certificate.<init>(Unknown Source)
      at iaik.x509.CertificateFactory.engineGenerateCertificate(Unknown Source)
      at java.security.cert.CertificateFactory.generateCertificate(Unknown Source)
      at java.security.cert.Certificate$CertificateRep.readResolve(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
      at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      at java.io.ObjectInputStream.readObject0(Unknown Source)
      at java.io.ObjectInputStream.readObject(Unknown Source)
      at com.sun.deploy.cache.CacheEntry$12.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.cache.CacheEntry.readSigners(Unknown Source)
      at com.sun.deploy.cache.CacheEntry.getSignerMap(Unknown Source)
      at com.sun.deploy.cache.CachedJarFile.getSignerMap(Unknown Source)
      at com.sun.deploy.cache.CachedJarFile.getCodeSource(Unknown Source)
      at com.sun.deploy.cache.DeployCacheJarAccessImpl.getCodeSource(Unknown Source)
      at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.security.Provider$Service.getImplClass(Unknown Source)
      at java.security.Provider$Service.newInstance(Unknown Source)
      at java.security.KeyFactory.nextSpi(Unknown Source)
      at java.security.KeyFactory.<init>(Unknown Source)
      at java.security.KeyFactory.getInstance(Unknown Source)
      at iaik.asn1.structures.AlgorithmID.getKeyFactoryInstance(Unknown Source)
      at iaik.asn1.structures.AlgorithmID.getKeyFactoryInstance(Unknown Source)
      at iaik.x509.PublicKeyInfo.getPublicKey(Unknown Source)
      at iaik.x509.X509Certificate.c(Unknown Source)
      at iaik.x509.X509Certificate.decode(Unknown Source)
      at iaik.x509.X509Certificate.<init>(Unknown Source)
      at iaik.x509.CertificateFactory.engineGenerateCertificate(Unknown Source)
      at java.security.cert.CertificateFactory.generateCertificate(Unknown Source)
      at java.security.cert.Certificate$CertificateRep.readResolve(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
      at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      at java.io.ObjectInputStream.readObject0(Unknown Source)
      at java.io.ObjectInputStream.readObject(Unknown Source)
      at com.sun.deploy.cache.CacheEntry$12.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.cache.CacheEntry.readSigners(Unknown Source)
      at com.sun.deploy.cache.CacheEntry.getSignerMap(Unknown Source)
      at com.sun.deploy.cache.CachedJarFile.getSignerMap(Unknown Source)
      at com.sun.deploy.cache.CachedJarFile.getCodeSource(Unknown Source)
      at com.sun.deploy.cache.DeployCacheJarAccessImpl.getCodeSource(Unknown Source)
      at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)

      REPRODUCIBILITY :
      This bug can be reproduced occasionally.

      CUSTOMER SUBMITTED WORKAROUND :
      Disable P4S and use P4 protocol.

            scfitch Stephen Fitch
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: