PowerSC

 View Only
  • 1.  powerscStd.uiServer.rte 2.0.0.1 / Java 8 1.8.0_311

    Posted Fri December 03, 2021 04:37 PM
    Edited by Alison Donato Mon December 06, 2021 08:14 AM

    Hello,
    I have installed on my AIX VM 7200-05 :
     powerscStd.ice 2.0.0.1 C F IBM PowerSC Standard Profile
    powerscStd.license 7.1.3.0 C F PowerSC Standard Edition
    powerscStd.msg.en_US 2.0.0.0 C F PowerSC Standard Edition
    Messages - U.S. English
    powerscStd.uiServer.rte 2.0.0.1 C F PowerSC User Interface Server

    Java 8 1.8.0-311 is also installed.

    startsrc -s pscuiserver does not start and gives the following errors :
    in the log file pscuiserver_init_2021-12-03_12-22-42.log:
    Value of file descriptors limit 'ulimit -n' is: 4096
    Value of data segment size 'ulimit -d' is: 2097152
    Starting PowerSC UI server with maximum memory allocation 2000.
    /opt/powersc/uiServer/bin/uiserver
    OUTPLAY=
    HOME=/
    USER=root
    JBOSS_HOME=
    TEMP=
    TMP=
    _STARTED=1
    LIBPATH=/usr/java8_64/jre/bin/default:/usr/java8_64/jre/lib/ppc64:/usr/java8_64/jre/lib/ppc64/default:/usr/java8_64/jre/lib/icc:/usr/java8_64/jre/bin:
    running class com.rocketsoft.nm.discovery.TopologyServer...
    java.security.AccessControlException: Access denied ("java.util.logging.LoggingPermission" "control")
    com.rocketsoft.nm.discovery.TopologyServer failed.

    in the log file "pscUIServer.log" file :
    Starting PowerSC UI Server with maximum memory allocation of 2000, and redirecting the output to /var/log/powersc/uiServer/pscuiserver_init_2021-12-03_12-22-42.log file.
    java.security.AccessControlException: Access denied ("java.io.FilePermission" "" "read")
    at java.security.AccessController.throwACE(AccessController.java:176)
    at java.security.AccessController.checkPermissionHelper(AccessController.java:238)
    at java.security.AccessController.checkPermission(AccessController.java:385)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:562)
    at java.lang.SecurityManager.checkRead(SecurityManager.java:901)
    at java.io.File.exists(File.java:834)
    at com.rocketsoft.core.logging.LogFileStream.generate(LogFileStream.java:399)
    at com.rocketsoft.core.logging.LogFileStream.<init>(LogFileStream.java:190)
    at com.rocketsoft.core.logging.LogFileStream.getNewInstance(LogFileStream.java:137)
    at com.rocketsoft.core.logging.LogWrangler.<clinit>(LogWrangler.java:70)
    at com.rocketsoft.core.logging.CoreLogger.getLog(CoreLogger.java:39)
    at com.rocketsoft.kbm.server.KBMServer.<clinit>(KBMServer.java:45)
    at sun.misc.Unsafe.ensureClassInitialized(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:86)
    at java.lang.Class.forName(Class.java:420)
    at com.rocketsoft.kbm.licensing.SecureBlobClassLoader.run(SecureBlobClassLoader.java:952)
    Failed to initialize logging configuration listener. Dynamic logging changes will not succeed. Internal error:
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at com.rocketsoft.core.logging.LogWrangler.addLoggingPropertiesChangeListener(LogWrangler.java:121)
    at com.rocketsoft.core.logging.LogWrangler.<clinit>(LogWrangler.java:94)
    at com.rocketsoft.core.logging.CoreLogger.getLog(CoreLogger.java:39)
    at com.rocketsoft.kbm.server.KBMServer.<clinit>(KBMServer.java:45)
    at sun.misc.Unsafe.ensureClassInitialized(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:86)
    at java.lang.Class.forName(Class.java:420)
    at com.rocketsoft.kbm.licensing.SecureBlobClassLoader.run(SecureBlobClassLoader.java:952)
    Caused by: java.security.AccessControlException: Access denied ("java.util.logging.LoggingPermission" "control")
    at java.security.AccessController.throwACE(AccessController.java:176)
    at java.security.AccessController.checkPermissionHelper(AccessController.java:238)
    at java.security.AccessController.checkPermission(AccessController.java:385)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:562)
    at java.util.logging.LogManager.checkPermission(LogManager.java:1597)
    at java.util.logging.LogManager.addPropertyChangeListener(LogManager.java:449)
    ... 12 more
    java.lang.ExceptionInInitializerError
    at java.lang.J9VMInternals.ensureError(J9VMInternals.java:145)
    at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:134)
    at sun.misc.Unsafe.ensureClassInitialized(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:86)
    at java.lang.Class.forName(Class.java:420)
    at com.rocketsoft.kbm.licensing.SecureBlobClassLoader.run(SecureBlobClassLoader.java:952)
    Caused by: java.security.AccessControlException: Access denied ("java.util.logging.LoggingPermission" "control")
    at java.security.AccessController.throwACE(AccessController.java:176)
    at java.security.AccessController.checkPermissionHelper(AccessController.java:238)
    at java.security.AccessController.checkPermission(AccessController.java:385)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:562)
    at java.util.logging.LogManager.checkPermission(LogManager.java:1597)
    at java.util.logging.Logger.setParent(Logger.java:2046)
    at com.rocketsoft.core.logging.CoreLogger.setParent(CoreLogger.java:76)
    at java.util.logging.LogManager$7.run(LogManager.java:1216)
    at java.security.AccessController.doPrivileged(AccessController.java:682)
    at java.util.logging.LogManager.doSetParent(LogManager.java:1213)
    at java.util.logging.LogManager.access$1200(LogManager.java:156)
    at java.util.logging.LogManager$LoggerContext.addLocalLogger(LogManager.java:841)
    at java.util.logging.LogManager$LoggerContext.addLocalLogger(LogManager.java:769)
    at java.util.logging.LogManager.addLogger(LogManager.java:1173)
    at com.rocketsoft.core.logging.LogWrangler.getLogger(LogWrangler.java:179)
    at com.rocketsoft.core.logging.LogWrangler.getParentLogger(LogWrangler.java:201)
    at com.rocketsoft.core.logging.LogWrangler.getLogger(LogWrangler.java:175)
    at com.rocketsoft.core.logging.LogWrangler.getParentLogger(LogWrangler.java:201)
    at com.rocketsoft.core.logging.LogWrangler.getLogger(LogWrangler.java:175)
    at com.rocketsoft.core.logging.LogWrangler.getParentLogger(LogWrangler.java:201)
    at com.rocketsoft.core.logging.LogWrangler.getLogger(LogWrangler.java:175)
    at com.rocketsoft.core.logging.CoreLogger.getLog(CoreLogger.java:39)
    at com.rocketsoft.kbm.server.KBMServer.<clinit>(KBMServer.java:45)
    ... 4 more
    Exception in thread "Thread-3" java.security.AccessControlException: Access denied ("java.util.logging.LoggingPermission" "control")
    at java.security.AccessController.throwACE(AccessController.java:176)
    at java.security.AccessController.checkPermissionHelper(AccessController.java:238)
    at java.security.AccessController.checkPermission(AccessController.java:385)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:562)
    at java.util.logging.LogManager.checkPermission(LogManager.java:1597)
    at java.util.logging.Logger.checkPermission(Logger.java:433)
    at java.util.logging.Logger.setLevel(Logger.java:1700)
    at com.rocketsoft.core.logging.CoreLogger.setLevel(CoreLogger.java:94)
    at java.util.logging.LogManager.resetLogger(LogManager.java:1367)
    at java.util.logging.LogManager.reset(LogManager.java:1343)
    at java.util.logging.LogManager$Cleaner.run(LogManager.java:250)

    Here is my java.policy file :
    grant codeBase "file:${java.home}/lib/ext/*" {
    permission java.security.AllPermission;
    };

    // default permissions granted to all domains

    grant {
    // Allows any thread to stop itself using the java.lang.Thread.stop()
    // method that takes no argument.
    // Note that this permission is granted by default only to remain
    // backwards compatible.
    // It is strongly recommended that you either remove this permission
    // from this policy file or further restrict it to code sources
    // that you specify, because Thread.stop() is potentially unsafe.
    // See the API specification of java.lang.Thread.stop() for more
    // information.
    permission java.lang.RuntimePermission "stopThread";

    // allows anyone to listen on dynamic ports
    permission java.net.SocketPermission "localhost:0", "listen";

    // "standard" properies that can be read by anyone

    permission java.util.PropertyPermission "java.version", "read";
    permission java.util.PropertyPermission "java.vendor", "read";
    permission java.util.PropertyPermission "java.vendor.url", "read";
    permission java.util.PropertyPermission "java.class.version", "read";
    permission java.util.PropertyPermission "os.name", "read";
    permission java.util.PropertyPermission "os.version", "read";
    permission java.util.PropertyPermission "os.arch", "read";
    permission java.util.PropertyPermission "file.separator", "read";
    permission java.util.PropertyPermission "path.separator", "read";
    permission java.util.PropertyPermission "line.separator", "read";

    permission java.util.PropertyPermission "java.specification.version", "read";
    permission java.util.PropertyPermission "java.specification.vendor", "read";
    permission java.util.PropertyPermission "java.specification.name", "read";

    permission java.util.PropertyPermission "java.vm.specification.version", "read";
    permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
    permission java.util.PropertyPermission "java.vm.specification.name", "read";
    permission java.util.PropertyPermission "java.vm.version", "read";
    permission java.util.PropertyPermission "java.vm.vendor", "read";
    permission java.util.PropertyPermission "java.vm.name", "read";

    permission java.util.PropertyPermission "javax.realtime.version", "read";
    permission java.util.logging.LoggingPermission "control";
    };

    Any idea about my issue ?
    Help needed, Thanks !!
    Best regards.

    Patrice



    ------------------------------
    Patrice DRONNIER
    ------------------------------


  • 2.  RE: powerscStd.uiServer.rte 2.0.0.1 / Java 8 1.8.0_311

    IBM Champion
    Posted Fri December 17, 2021 04:46 AM
    Hi,

    Encountering the exact same error.
    Opened Support case TS007868944 ; will inform when I get some comments from the Support.
    Br,
    tommi


    ------------------------------
    Tommi Sihvo, Lead Service Architect
    TietoEVRY, Compute Services
    email tommi.sihvo@tietoevry.com mobile +358 (0)40 5180 Finland
    ------------------------------



  • 3.  RE: powerscStd.uiServer.rte 2.0.0.1 / Java 8 1.8.0_311

    Posted Mon December 20, 2021 07:49 AM
    Hi! Tommi,

      PowerSC 2.0.0.2 images were released on Friday. Java issue was fixed in 2.0.0.1 but there is an additional fix that is required when you have different versions of Java on server and client, and this was fixed in 2.0.0.2.

    ------------------------------
    Bhargavi Reddy
    ------------------------------



  • 4.  RE: powerscStd.uiServer.rte 2.0.0.1 / Java 8 1.8.0_311

    IBM Champion
    Posted Mon December 20, 2021 10:55 AM
    Thanks for info Bhargavi!

    And can confirm that 2.0.0.2 fixed the java issue

    Thanks,
    Br,
    tommi

    ------------------------------
    Tommi Sihvo, Lead Service Architect
    TietoEVRY, Compute Services
    email tommi.sihvo@tietoevry.com mobile +358 (0)40 5180 Finland
    ------------------------------



  • 5.  RE: powerscStd.uiServer.rte 2.0.0.1 / Java 8 1.8.0_311

    Posted Mon May 15, 2023 06:27 PM

    Hello Tommi,

    It looks like that we have the same issue / java error with PowerSC 2.1.0.4 and latest Java 8 1.8.0.361 / 8.0.0.800



    ------------------------------
    Sebastien BOURRY
    ------------------------------



  • 6.  RE: powerscStd.uiServer.rte 2.0.0.1 / Java 8 1.8.0_311

    Posted Tue May 16, 2023 07:40 AM

    Hi! Sebastien, 
      
      Please upgrade to PowerSC 2.1.0.5 available on FixCentral. This version has the fix for error with latest Java .



    ------------------------------
    Bhargavi Reddy
    ------------------------------