5 Replies Latest reply on May 15, 2014 9:37 PM by User12244601-Oracle

    Solaris Studio 12.4 beta not starting up properly

    User12244601-Oracle

      Hi all. I installed the 12.4 beta by untarring the download into my own user directory.  When I run the sunstudio command to bring up the IDE, the IDE's splash screen comes up and indicates that it's loading modules.  About 1/4 or so of the way through, the progress bar freezes up for a few seconds, then the splash screen disappears and nothing further ever happens.

       

      Prior to installing this, I was on JRE jre1.6.0_21, but after the 12.4 IDE reported that it only works under Java 7 and later, I installed JRE jre1.8.0_05.  Run the sunstudio command, I saw some command-line warnings about changes in some arcane Java switches, then the splash screen appeared, the progress bar froze up as described, then disappeared and nothing happened.  So I installed JRE jre1.7.0_55 on my machine and tried it.  It didn't complain about the arcane Java switches, but the behavior of the splash screen freezing up 1/4 of the way through loading modules, then disappearing, was identical.

       

      Is there some command line option I should be passing in to result in some kind of diagnostic file that will tell us what's going on here?

       

      Has anyone seen this behavior before and have a solution or workaround suggestions?

       

      The machine is Solaris 10 for SPARC on a Sunblade 2000.  A week or so ago I upgraded the machine from a very old (ca. 2005-2006) version of Solaris 10 to the version that was current as of earlier this year, plus the very latest and greatest kernel patch.

        • 1. Re: Solaris Studio 12.4 beta not starting up properly
          Valeriy Soldatov-Oracle

          > Is there some command line option I should be passing in to result in some kind of diagnostic file that will tell us what's going on here?

          By default IDE usees ~/.solstudio/ide-*/var/log/messages.log file. In order to print debug info into terminal you can use "solstudio -J-Dnetbeans.logger.console=true" command.

          • 2. Re: Solaris Studio 12.4 beta not starting up properly
            User12244601-Oracle

            Thanks Valeriy!  By using the console logger option you mentioned, I was able to see that the Studio IDE is failing to start up with an unknown host exception error related to the hostname of my own box.  I will have to look into how my hostname is set, and whether that machine configuration needs to change.

             

            In the meantime, it seems odd to me that the Studio IDE is falling over because it's unhappy with my machine's own hostname.  Is there an option that will get Studio to skip any "phone home" or other network stuff that may be invoking this particular code path?

            • 3. Re: Solaris Studio 12.4 beta not starting up properly
              User12244601-Oracle

              Actually, I was able to reconfigure my machine and eliminate the unknown host error, and that apparently wasn't what is stopping 12.4 beta from running on my box.  After that error went away, now the splash screen simply disappears, all that diagnostic info that's printed to the console using the -J-Dnetbeans.logger.console=true simply stops.

               

              I am including the full console output in case it contains helpful info I wasn't already able to glean from it.

               

              ./sunstudio -J-Dnetbeans.logger.console=true &

              [1] 4925

              unknown:seth:~/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/bin: -------------------------------------------------------------------------------

              >Log Session: Thursday, May 22, 2014 10:22:44 AM MST

              >System Info:

                Product Version         = Oracle Solaris Studio 12.4 Beta (pythia [2014/03/09 7d356ea584b8])

                Operating System        = SunOS version 5.10 running on sparc

                Java; VM; Vendor        = 1.7.0_55; Java HotSpot(TM) Server VM 24.55-b03; Oracle Corporation

                Runtime                 = Java(TM) SE Runtime Environment 1.7.0_55-b13

                Java Home               = /usr/jdk/instances/jdk1.5.0/jre1.7.0_55

                System Locale; Encoding = en (solstudio); ISO646-US

                Home Directory          = /export/home/seth

                Current Directory       = /export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/bin

                User Directory          = /export/home/seth/.solstudio/ide-pythia-SunOS-sparc

                Cache Directory         = /export/home/seth/.solstudio/ide-pythia-SunOS-sparc/var/cache

                Installation            = /export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/solstudio/solstudio

               

              /export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/solstudio/cnd

               

              /export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/solstudio/dlight

               

              /export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/solstudio/harness

               

              /export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/solstudio/ide

               

              /export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/solstudio/nb

               

              /export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/solstudio/analytics.suite

               

              /export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/solstudio/common.suite

               

              /export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/solstudio/dlight.suite

               

              /export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/solstudio/tuxedo

               

              /export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/netbeans/platform

                Boot & Ext. Classpath   = /usr/jdk/instances/jdk1.5.0/jre1.7.0_55/lib/resources.jar:/usr/jdk/instances/jdk1.5.0/jre1.7.0_55/lib/rt.jar:/usr/jdk/instances/jdk1.5.0/jre1.7.0_55/lib/sunrsasign.jar:/usr/jdk/instances/jdk1.5.0/jre1.7.0_55/lib/jsse.jar:/usr/jdk/instances/jdk1.5.0/jre1.7.0_55/lib/jce.jar:/usr/jdk/instances/jdk1.5.0/jre1.7.0_55/lib/charsets.jar:/usr/jdk/instances/jdk1.5.0/jre1.7.0_55/lib/jfr.jar:/usr/jdk/instances/jdk1.5.0/jre1.7.0_55/classes:/usr/jdk/instances/jdk1.5.0/jre1.7.0_55/lib/ext/sunec.jar:/usr/jdk/instances/jdk1.5.0/jre1.7.0_55/lib/ext/sunjce_provider.jar:/usr/jdk/instances/jdk1.5.0/jre1.7.0_55/lib/ext/sunpkcs11.jar:/usr/jdk/instances/jdk1.5.0/jre1.7.0_55/lib/ext/localedata.jar:/usr/jdk/instances/jdk1.5.0/jre1.7.0_55/lib/ext/ucrypto.jar:/usr/jdk/instances/jdk1.5.0/jre1.7.0_55/lib/ext/zipfs.jar:/usr/jdk/instances/jdk1.5.0/jre1.7.0_55/lib/ext/dnsns.jar

                Application Classpath   = /export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/netbeans/platform/lib/boot.jar:/export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/netbeans/platform/lib/org-openide-modules.jar:/export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/netbeans/platform/lib/org-openide-util-lookup.jar:/export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/netbeans/platform/lib/org-openide-util.jar

                Startup Classpath       = /export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/netbeans/platform/core/core.jar:/export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/netbeans/platform/core/org-openide-filesystems.jar:/export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/solstudio/solstudio/core/locale/core_solstudio.jar:/export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/solstudio/nb/core/org-netbeans-upgrader.jar:/export/home/seth/studio12.4beta/SolarisStudio12.4-beta_mar14-solaris-sparc/lib/solstudio/nb/core/locale/core_nb.jar

              -------------------------------------------------------------------------------

              INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:

                      org.openide.util.lookup [8.22.1 cnd-build-11214-on-20140309]

                      org.openide.util [8.33.2 cnd-build-11214-on-20140309]

                      org.openide.modules [7.39.1 cnd-build-11214-on-20140309]

                      org.openide.filesystems [8.8.1 cnd-build-11214-on-20140309]

                      org.netbeans.upgrader [4.28.1 cnd-build-11214-on-20140309]

                      org.netbeans.bootstrap/1 [2.63.1 cnd-build-11214-on-20140309]

                      org.netbeans.core.startup/1 [1.51.1 cnd-build-11214-on-20140309]

               

               

              After this the splash screen simply disappears, and nothing else ever happens.

               

              Since I've been regularly running Studio 12u1 and Studio 12.3 on the same machine, I took the step of saving off the .solstudio directory in my home directory, so that it's starting out fresh, and there's nothing in there which might possibly confuse 12.4 left over from the early Studio runs.  It didn't seem to affect the startup fail in any way.

              • 4. Re: Solaris Studio 12.4 beta not starting up properly
                Vladimir Voskresensky-Oracle

                Is you process 4925 finishes after that or is it still running?

                If it's still running, then, please, start IDE without "&", like

                #sh -x sunstudio -J-Dnetbeans.logger.console=true

                and when splash screen disapeared and process is stuck, please, press "Ctrl+\" and provide threads dump.

                 

                Thanks!

                Vladimir.