OK. This is now (hopefully) fixed.
Please update to v 24483 of the source tree, or wait
for Hudson to push out the new version of admin-cli.jar.
Thanks again, for reporting the failure.
Regards,
Kedar
Kedar Mhaswade wrote:
> Yes, export AS_DEBUG=true in your shell.
>
> However, the problem is simple. The class asadmin is looking
> for is recently moved to securitycommon.jar, which the script
> knows nothing about.
>
> I will fix this. But before that -- is securitycommon.jar the
> final resting place for this class:
> com/sun/enterprise/security/common/Util.class
>
> Can someone confirm that for me please?
>
> Thanks.
>
>
> Shing Wai Chan wrote:
>> Do we have a way to turn on debug in CLI?
>> Shing Wai Chan
>>
>> Lloyd Chambers wrote:
>>> Full stack trace from where? No server.log file yet exists.
>>>
>>> If I try a 2nd time, I get:
>>>
>>> MB2:code lloyd$ !asadmin
>>> asadmin create-domain --user admin --adminport 5848 domain2
>>> Domain domain2 already exists in /work/v3/glassfish/domains. Use a
>>> different domain name or the --domaindir option.
>>> CLI130 Could not create domain, domain2
>>> Command create-domain failed.
>>> MB2:code lloyd$
>>>
>>> B2:code lloyd$ ls /v3/glassfish/domains/domain2/
>>> applications autodeploy bin config docroot
>>> lib logs
>>>
>>>
>>> On Jan 27, 2009, at 12:43 PM, Jerome Dochez wrote:
>>>
>>>> I think this may be linked to a resource loading fix I had to make.
>>>> Do you have the full trace ?
>>>>
>>>> Jerome
>>>>
>>>> On Jan 27, 2009, at 10:07 AM, Shing Wai Chan
>>>> <Shing-Wai.Chan_at_Sun.COM> wrote:
>>>>
>>>>> Hi,
>>>>> I have just update my workspace, remove domain1 and recreate
>>>>> domain1 and see the following error:
>>>>>
>>>>> asadmin create-domain --user admin --adminport 4848 domain1
>>>>>
>>>>> Enter admin password>adminadmin
>>>>> Enter admin password again>adminadmin
>>>>> Using port 4848 for Admin.
>>>>> Using default port 8080 for HTTP Instance.
>>>>> Using default port 7676 for JMS.
>>>>> Using default port 3700 for IIOP.
>>>>> Using default port 8181 for HTTP_SSL.
>>>>> Using default port 3820 for IIOP_SSL.
>>>>> Using default port 3920 for IIOP_MUTUALAUTH.
>>>>> Using default port 8686 for JMX_ADMIN.
>>>>> java.lang.NoClassDefFoundError:
>>>>> com/sun/enterprise/security/common/Util
>>>>> Command create-domain failed.
>>>>>
>>>>> I have tried both the web and GlassFish distribution.
>>>>> Is it a known issue?
>>>>>
>>>>> Thanks.
>>>>> Shing Wai Chan
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>