users@glassfish.java.net

Re: Create Domain - Syntax error

From: Mark A. Basler <Mark.Basler_at_Sun.COM>
Date: Sun, 18 Nov 2007 13:21:43 -0800

Hi NSchweig,

Your command has the following errors:

    * one "-" instead of 2 (-adminuser)
    * --adminuser in no longer allowed, you need to use "--user"
    * --adminpassword is no longer allowed on the command line.

The following adjusted command should work:

C:\glassfish>*asadmin create-domain --adminport 4848 --user admin
--instanceport 8080 domain11*
Please enter the admin password>
Please enter the admin password again>
Please enter the master password [Enter to accept the default]:>
Please enter the master password again [Enter to accept the default]:>
Using port 4848 for Admin.
Using 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.
Domain being created with profile:cluster, as specified by variable
AS_ADMIN_PROFILE in configuration file.
Security Store uses: JKS
Domain domain11 created.

Hope this helps - Thanks - Mark



NSchweig wrote:
> Hi,
>
> please, can anyone tell me how to enable the debug-mode in detail because I
> don´t know how to enable it.
>
> Has anyone another idea why I can´t create the domain, not during the
> installation of the application server nor in netbeans over "Add Server" or
> over command line?
> I use Windows XP. SP2.
>
> Thank you for your help,
>
> NSchweig
>
> NSchweig wrote:
>
>> Hi Kedar,
>>
>> I know, but the only information I get if I rerun
>>
>> asadmin create-domain --adminport 4848 -adminuser admin --adminpassword
>> adminadmin --instanceport 8080 domain1
>>
>> is "Syntaxfehler" so I guessed I added "-DDebug" at the wrong place.
>>
>> Good night, I hope for an answer tomorrow morning,
>> thanks a lot,
>> Nicki
>>
>>
>>
>>
>>
>>
>> glassfish wrote:
>>
>>> Nicki,
>>>
>>> I am sure it does not work, but I was interested in finding out more
>>> information that asadmin will
>>> spit on the console, when you add -DDebug the way you did.
>>>
>>> Thanks,
>>> Kedar
>>> [Message sent by forum member 'km' (km)]
>>>
>>> http://forums.java.net/jive/thread.jspa?messageID=245508
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>>
>>>
>>>
>>
>
>