1 2 Previous Next 20 Replies Latest reply on Mar 21, 2014 3:26 AM by Gurneet Singh Chopra

    Unable to launch Bladelogic Console through Citrix Weblink

    Gurneet Singh Chopra

      Hi,

       

      We installed Blade logic Console 8.2 SP2 on Citrix Server in install mode. BL Console is opening fine when opened locally on Citrix Server. However, when we try to launch the same through Citrix WebLink after publishing the Application on XenApp, it throws and error which points ot the log file on Citrix Server end.

       

      Please find that log file attached.

       

      We are following up with BMC Support on this and steps followed till now to troubleshoot this:

       

      Closed all the consoles and take a backup copy of "launcher.ini" file from "installation dir ...\BMC Software\BladeLogic\CM\rcp\".

      Open launcher.ini under installation dir

       

      add "-Dsun.java2d.d3d=false" to the launcher.ini. Save it and re-launch Client.

       

      On a small subset of Windows systems with buggy Direct3D drivers, the use of Direct3D can cause a system crash. To turn

       

      off the use of Direct3D, set this property to false:

       

      -Dsun.java2d.d3d=false

       

      If problems persist, try setting the ddoffscreen property to false.

      -Dsun.java2d.ddoffscreen=false

       

      If that doesn't solve the problems, try setting noddraw to true.

       

      -Dsun.java2d.noddraw=true

       

      Still unable to get this going. Please suggest.

       

      Thanks,

       

      Gurneet

        • 1. Re: Unable to launch Bladelogic Console through Citrix Weblink
          Gurneet Singh Chopra

          Error Log file output generated on Citrix Server Users Home Roamign directory:

           

           

          !ENTRY org.eclipse.core.filesystem 1 1 2013-02-22 13:58:21.119

          !MESSAGE Could not load library: localfile_1_0_0.dll.  This library provides platform-specific optimizations for certain file system operations.  This library is not present on all platforms, so this may not be an error.  The resources plug-in will safely fall back to using java.io.File functionality.

          !STACK 0

          java.lang.UnsatisfiedLinkError: no localfile_1_0_0 in java.library.path

              at java.lang.ClassLoader.loadLibrary(Unknown Source)

              at java.lang.Runtime.loadLibrary0(Unknown Source)

              at java.lang.System.loadLibrary(Unknown Source)

              at org.eclipse.core.internal.filesystem.local.LocalFileNatives.<clinit>(LocalFileNatives.java:32)

              at org.eclipse.core.internal.filesystem.local.LocalFile.fetchInfo(LocalFile.java:141)

              at org.eclipse.core.filesystem.provider.FileStore.fetchInfo(FileStore.java:277)

              at org.eclipse.core.internal.resources.Project.assertCreateRequirements(Project.java:40)

              at org.eclipse.core.internal.resources.Project.create(Project.java:252)

              at org.eclipse.core.internal.resources.Project.create(Project.java:234)

              at org.eclipse.core.internal.resources.Project.create(Project.java:227)

              at com.bladelogic.om.infra.client.ui.rcp.BLWorkbenchPlugin.start(BLWorkbenchPlugin.java:233)

              at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)

              at java.security.AccessController.doPrivileged(Native Method)

              at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)

              at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)

              at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)

              at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:265)

              at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)

              at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)

              at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:427)

              at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:193)

              at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:370)

              at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:446)

              at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:399)

              at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:387)

              at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)

              at java.lang.ClassLoader.loadClass(Unknown Source)

              at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:315)

              at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)

              at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1274)

              at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)

              at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:867)

              at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)

              at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)

              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:188)

              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)

              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

              at java.lang.reflect.Method.invoke(Unknown Source)

              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)

              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)

              at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

              at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

           

          !ENTRY org.eclipse.osgi 4 0 2013-02-22 13:58:22.758

          !MESSAGE Application error

          !STACK 1

          java.lang.NullPointerException

              at org.eclipse.jface.resource.URLImageDescriptor.getFilePath(URLImageDescriptor.java:138)

              at org.eclipse.jface.resource.URLImageDescriptor.createImage(URLImageDescriptor.java:157)

              at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:227)

              at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:205)

              at org.eclipse.ui.internal.Workbench.initializeImages(Workbench.java:1487)

              at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:539)

              at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)

              at com.bladelogic.om.infra.client.ui.rcp.BLWorkbenchPlugin.init(BLWorkbenchPlugin.java:333)

              at com.bladelogic.om.infra.client.ui.rcp.BLWorkbenchApplication.start(BLWorkbenchApplication.java:40)

              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)

              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)

              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

              at java.lang.reflect.Method.invoke(Unknown Source)

              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)

              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)

              at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

              at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

           

          !ENTRY org.eclipse.core.resources 2 10035 2013-02-22 14:17:22.049

          !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

           

          !ENTRY org.eclipse.core.filesystem 1 1 2013-02-22 14:17:22.080

          !MESSAGE Could not load library: localfile_1_0_0.dll.  This library provides platform-specific optimizations for certain file system operations.  This library is not present on all platforms, so this may not be an error.  The resources plug-in will safely fall back to using java.io.File functionality.

          !STACK 0

          java.lang.UnsatisfiedLinkError: no localfile_1_0_0 in java.library.path

              at java.lang.ClassLoader.loadLibrary(Unknown Source)

              at java.lang.Runtime.loadLibrary0(Unknown Source)

          • 2. Re: Unable to launch Bladelogic Console through Citrix Weblink

            Hi Gurneet,

            Is any other application published on XenApp working fine through the Weblink?

             

            Regards,

            Kedar.

            • 3. Re: Unable to launch Bladelogic Console through Citrix Weblink
              Jim Wilson

              Solution Extract from associated support issue (ISS04092770)

               

              When you try to launch the console from the citrix xen app web link, the user must have proper permissions to write on the "C:\Application Data".

               

              During first launch it will try to create the "Roaming\Bladelogic" If you do not have write permission which may lead to error.

               

              Also you can review following KA https://kb.bmc.com/infocenter/index?page=content&id=S%3AKA390017

              • 4. Re: Unable to launch Bladelogic Console through Citrix Weblink
                Jason Culver

                Hi Jim,

                 

                Do you know if that KB article you reference in the previous post was moved to another link?  When i click on it i get the following error: 

                 

                Article Not Found   
                The article was not found, or is no longer available.

                 

                 

                Was hoing to get more info about the fix for the problem of bl users not being able to launch bladelogic console from Citrix.

                 

                Thanks,

                 

                Jason

                • 5. Re: Re: Unable to launch Bladelogic Console through Citrix Weblink
                  Jim Wilson

                  I am not sure if the article is deliberately not externally visible, or if the KB system is just having a bad day.

                   

                  Anyway, here is the information:

                   

                  Open launcher.ini under installation dir ...\BMC Software\BladeLogic\CM\rcp\.

                  add -Dsun.java2d.d3d=false

                   

                  Save it and re-launch BSA Console.

                   

                  If problems persist:

                  add -Dsun.java2d.ddoffscreen=false

                   

                  If that doesn't solve the problem:

                  add -Dsun.java2d.noddraw=true

                   

                  If problems persist with all 3 property settings in launcher.ini, log a support ticket.

                  • 7. Re: Re: Unable to launch Bladelogic Console through Citrix Weblink
                    Jim Wilson

                    Did that work for you?

                    One extra hint I had recently was to put the arguments in this order:

                     

                    -Dsun.java2d.noddraw=true

                    -Dsun.java2d.d3d=false

                    -Dsun.java2d.ddoffscreen=false

                     

                    Thanks & Regards,

                    Jim

                    • 8. Re: Unable to launch Bladelogic Console through Citrix Weblink
                      Jason Culver

                      Hi Jim,

                       

                      Unfortunately, the added arguments didn’t help, wasn’t able to launch the console as a user with normal privileges.  If she adds an user to the local admin group then the console launches perfectly.  She thinks this is a permissions issue somewhere.  She also tried granting full permissions to C:\Program Files\BMC Software\BladeLogic\8.1\* , but that didn’t help either.  Do you know how we can find out what permissions a user needs to launch the BL8 console from Citrix weblink?

                       

                      Thanks,

                       

                      Jason

                      • 9. Re: Unable to launch Bladelogic Console through Citrix Weblink
                        Sean Berry

                        Might also need read access to the C:\windows\rsc directory and contents…

                        • 11. Re: Re: Unable to launch Bladelogic Console through Citrix Weblink
                          Bill Robinson

                          so where is it writing that data to now ?

                          • 12. Re: Re: Unable to launch Bladelogic Console through Citrix Weblink
                            Jason Culver

                            No luck, when i removed that line and try to launch bladelogic (64bit) console from Citrix as a regular user instead of a user with admin privs i get error. 

                             

                            bl launcher error.JPG.jpg

                             

                            Here is what i have in my launcher file:

                            -data
                            @noDefault
                            -showsplash
                            org.eclipse.platform
                            --launcher.XXMaxPermSize
                            256M
                            -vm
                            C:\Program Files\BMC Software\BladeLogic\8.1\NSH\jre\bin\javaw.exe
                            -vmargs
                            -Dosgi.parentClassloader=ext
                            -Dosgi.requiredJavaVersion=1.5
                            -Djava.library.path=C:\Program Files\BMC Software\BladeLogic\8.1\NSH/bin;C:\Program Files\BMC Software\BladeLogic\8.1\NSH/br/stdlib
                            -Dblx.cmrootdir=C:\Program Files\BMC Software\BladeLogic\8.1\NSH/br
                            -Dblx.cmlibdir=C:\Program Files\BMC Software\BladeLogic\8.1\CM/rcp/plugins/com.bladelogic.client.jars_1.0.0/lib
                            -Xms256m
                            -Xmx512m
                            -Dsun.java2d.noddraw=true
                            -Dsun.java2d.d3d=false
                            -Dsun.java2d.ddoffscreen=false

                            • 13. Re: Re: Unable to launch Bladelogic Console through Citrix Weblink
                              Jason Culver

                              I notice after I removed the line from the launcher file I didn't see the path that the error message reported from under C:\users\...... after testing the launch for BL console.

                               

                              Dosgi.configuration.area=@user.home/Application Data/BladeLogic/8.3.00.115

                              • 14. Re: Unable to launch Bladelogic Console through Citrix Weblink
                                Jason Culver

                                I didn't see this directory under the C: drive, so what i did was i copied it from our other farm which has the same bl console version, but the 32 bit instance, but didn't seem to help.

                                1 2 Previous Next