Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2_b11
    • Fix Version/s: 3.1.2_b14, 4.0_b14
    • Component/s: distributed management
    • Labels:
      None
    • Environment:

      Windows XP

      Description

      Attempts to use install-node-dcom to copy GlassFish Server software to a DCOM-accessible host fail.

      The error that occurs depends on the options specified:

      • If an existing installation directory and --force are specified, a null pointer exception is thrown:
        asadmin> install-node-dcom --force=true --installdir C:\glassfish3 somehost
        java.lang.NullPointerException
        Command install-node-dcom failed.
        
      • If a nonexistent installation directory is specified, the network name cannot be found:
        asadmin> install-node-dcom -w hudson --installdir C:\gfuser somehost
        com.sun.enterprise.universal.process.WindowsException: The network name cannot be found.
        

        The host somehost is accessible through DCOM:

        asadmin> validate-dcom somehost
        
        Successfully resolved host name to: somehost/XXX.XXX.XXX.XXX
        Successfully connected to DCOM Port at port 135 on host somehost.
        Successfully connected to NetBIOS Session Service at port 139 on host somehost
        Successfully connected to Windows Shares at port 445 on host somehost.
        Successfully accessed C: on somehost using DCOM.
        Successfully wrote delete_me.bat to C: on somehost using DCOM.
        Successfully accessed WMI (Windows Management Interface) on somehost.  
        There are 50 processes running on somehost.
        Successfully ran the test script on somehost using DCOM.
        The script simply ran the DIR command.  Here are the first few lines from the 
        output of the dir command on the remote machine:
        
        C:\Windows\system32>dir C:\
         Volume in drive C has no label.
         Volume Serial Number is XXXX-XXX
        
         Directory of C:\
        
        12/06/2011  10:45 AM                 8 delete_me.bat
        03/03/2011  10:36 AM    <DIR>          export
        
        
        Command validate-dcom executed successfully.
        

        Activity

        Hide
        Byron Nevins added a comment -

        The first problem is fixed.

        The second problem makes no sense as a bug because it is simply the correct normal usage of the command:

        install-node-dcom -w hudson --installdir C:\gfuser somehost

        Did you leave something out?

        I tried it and it worked fine. Please re-open if I missed something.

        D:\gf\branches\3.1.2\cluster>svn commit d:\gf\trunk\main\nucleus\cluster d:\gf\branches\3.1.2\cluster
        Sending branches\3.1.2\cluster\cli\src\main\java\com\sun\enterprise\admin\cli\cluster\InstallNodeDcomCommand.java
        Sending branches\3.1.2\cluster\compare.bat
        Sending branches\3.1.2\cluster\copyy.bat
        Sending branches\3.1.2\cluster\setfiles.bat
        Sending trunk\main\nucleus\cluster\cli\src\main\java\com\sun\enterprise\admin\cli\cluster\InstallNodeDcomCommand.java
        Transmitting file data .....
        Committed revision 51393.

        Show
        Byron Nevins added a comment - The first problem is fixed. The second problem makes no sense as a bug because it is simply the correct normal usage of the command: install-node-dcom -w hudson --installdir C:\gfuser somehost Did you leave something out? I tried it and it worked fine. Please re-open if I missed something. D:\gf\branches\3.1.2\cluster>svn commit d:\gf\trunk\main\nucleus\cluster d:\gf\branches\3.1.2\cluster Sending branches\3.1.2\cluster\cli\src\main\java\com\sun\enterprise\admin\cli\cluster\InstallNodeDcomCommand.java Sending branches\3.1.2\cluster\compare.bat Sending branches\3.1.2\cluster\copyy.bat Sending branches\3.1.2\cluster\setfiles.bat Sending trunk\main\nucleus\cluster\cli\src\main\java\com\sun\enterprise\admin\cli\cluster\InstallNodeDcomCommand.java Transmitting file data ..... Committed revision 51393.

          People

          • Assignee:
            Byron Nevins
            Reporter:
            Paul Davies
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: