Thanks Sankar and Kedar. All these are good information, I save it in
the issue comment, raised the issue prom P3 to
P2 with the following justification. I think the fix to this issue will
help Anil not to get an escalation phone call in the
weekend from customer executives, thanks Anil again for doing the
FishCAT testing :-)
Thanks also goes to Survivant for filing an enhancement to help us
improve GF user experience !
-----
https://glassfish.dev.java.net/issues/show_bug.cgi?id=6286
I raise this bug to P2 so it will get high priority to fix for Prelude.
Monitoring the FishCAT program, feel a fix a good error message can prevent many
people's time. I copy and paste the following quality alias email thread which
has good information to help with the fix. Thanks, Judy
Sankar Neelakandan wrote:
>
>
> Kedar Mhaswade wrote:
>
>> Are you sure?
>
> Yes
>
>>
>> If "java" is not in path, invocation of asadmin itself will fail and the
>> operation will fail much before.
>
> java is in Path. I see the latest version of java.exe under
> \windows\system32.
> If we don't set JDK\bin in Path the installer uses the java.exe from
> \windows\system32 and asadmin proceeds.
> But keytool.exe is not in \windows\system32 and domain creation fails.
> This is for machines with JRE installed from java.com. Not sure other
> JRE installers copy java.exe to \windows\system32. I have JRE
> installed from java.com
>
>>
>> This message says it fails for "keytool", which is part of only JDK and
>> not JRE. So, if you have java from a JRE is the path, you'll see this
>> problem.
>
> I do see keytool.exe as part of my JRE installation. Which is optional
> in JRE distributions.
>
>>
>> This is a problem that needs to be addressed. The bigger question is
>> whether
>> we should fail domain creation on not finding keytool. I am not able to
>> decide on that ...
>
> Should the domain creation fail or we must exit the installer as soon
> as we detect java and keytool not in path ?.
>
>>
>> So, there are two problems:
>> 1- if no "java" is found in the Path.
>> 2- if no "keytool" is found in the Path.
>>
>> It seems in both the above cases, we currently fail, which should be
>> improved.
>>
>> -Kedar
>>
>>
>> Sankar Neelakandan wrote:
>>
>>> This will happen if the JDK\bin is not in Path. I was able to
>>> install B26 successfully with JDK\bin in Path and I was able to
>>> reproduce this domain creation failure with JDK\bin not in Path.
>>> I guess we have to explicitly specify this in the Installation
>>> Instructions.
>>>
>>> Existing issue #
>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=6286
>>>
>>> -Sankar
>>>
>>> Anil Gaur wrote:
>>>
>>>> Hi Judy,
>>>>
>>>> I tried installing b26 but the installation did not succeed, here
>>>> is the error message from the log fine :
>>>> ---------------------------------------------------------------------------------------
>>>>
>>>> Using port 4848 for Admin.
>>>> Using port 8080 for HTTP Instance.
>>>> Using port 7676 for JMS.
>>>> Using port 3700 for IIOP.
>>>> Using port 8181 for HTTP_SSL.
>>>> Using port 3820 for IIOP_SSL.
>>>> Using port 3920 for IIOP_MUTUALAUTH.
>>>> Using port 8686 for JMX_ADMIN.
>>>> Distinguished Name of the self-signed X.509 Server Certificate is:
>>>> [CN=localhost,OU=GlassFish,O=Sun Microsystems,L=Santa
>>>> Clara,ST=California,C=US]
>>>> Cannot run program "keytool": CreateProcess error=2, The system
>>>> cannot find the file specified
>>>> Command create-domain failed.
>>>> :\[Asadmin output: CLI130 Could not create domain, domain1
>>>> Using port 4848 for Admin.
>>>> Using port 8080 for HTTP Instance.
>>>> Using port 7676 for JMS.
>>>> Using port 3700 for IIOP.
>>>> Using port 8181 for HTTP_SSL.
>>>> Using port 3820 for IIOP_SSL.
>>>> Using port 3920 for IIOP_MUTUALAUTH.
>>>> Using port 8686 for JMX_ADMIN.
>>>> Distinguished Name of the self-signed X.509 Server Certificate is:
>>>> \[CN=localhost,OU=GlassFish,O=Sun Microsystems,L=Santa
>>>> Clara,ST=California,C=US\]
>>>> Cannot run program "keytool": CreateProcess error=2, The system
>>>> cannot find the file specified
>>>> Command create-domain failed.
>>>> \]*\[{0} {1}\]|#]
>>>> [#|2008-09-27T15:32:31.611-07:00|INFO|Install
>>>> Engine|org.openinstaller.provider.task.TaskDriver|arg0=prod\=updatetool|OP_INSTALL_IMAGE_CONFIGURE:Creating
>>>> desktop integration items|#]
>>>> [#|2008-09-27T15:32:37.798-07:00|INFO|Install
>>>> Engine|org.openinstaller.provider.task.TaskDriver|arg0=prod\=glassfish|OP_INSTALL_IMAGE_CONFIGURE:Creating
>>>> desktop integration items|#]
>>>> [#|2008-09-27T15:32:38.342-07:00|INFO|Install
>>>> Engine|org.openinstaller.provider.task.TaskDriver|arg0=prod\=Engine|OP_INSTALL_IMAGE_CONFIGURE:Creating
>>>> desktop integration items|#]
>>>> ---------------------------------------------------------------------------
>>>>
>>>> The installer image is also attached for your reference.
>>>>
>>>>
>>>>
>>>> Thanks,
>>>> Anil
>>>>
>>>> Judy Tang wrote:
>>>>
>>>>> Hi FishCAT and All,
>>>>>
>>>>> Please help us test b26 and please continue file issues, we may
>>>>> defer them to next release
>>>>> based on bug priority. Thanks :-) -- Judy
>>>>>
>>>>> Following is the build location. You can also find the v3
>>>>> Prelude release schedule.
>>>>> *GlassFish V3 Prelude Release Schedule:*
>>>>> http://wiki.glassfish.java.net/Wiki.jsp?page=GlassFishV3Schedule
>>>>> *
>>>>> Where to get build:*
>>>>> Installer Bundles:
>>>>> http://download.java.net/glassfish/v3/promoted/glassfish-v3-prelude-b26-unix.sh
>>>>>
>>>>> http://download.java.net/glassfish/v3/promoted/glassfish-v3-prelude-b26-windows.exe
>>>>>
>>>>> http://download.java.net/glassfish/v3/promoted/glassfish-v3-prelude-b26.zip
>>>>>
>>>>>
>>>>> *How to find open bugs:*
>>>>> This is open V3 bug query
>>>>> <https://glassfish.dev.java.net/issues/reports.cgi?state=Open+issues&issue_type=DEFECT&containing=gfv3-prelude-include&type=natural+language+search&x=Subcomponent&y=Priority>
>>>>>
>>>>>
>>>>> *Where to look for howto:*
>>>>> FishCAT FAQ <http://wiki.glassfish.java.net/Wiki.jsp?page=FishCATFAQ>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>