users@glassfish.java.net

Re: Create Domain - Syntax error

From: NSchweig <nicole.schweighardt_at_t-online.de>
Date: Mon, 19 Nov 2007 00:05:39 -0800 (PST)

Hello,

and thank you for your answers.

Unfortunately, both versions donĀ“t work, I still get the information "Syntax
Error".
It is the same, when I try it with netbeans to add a server, so I think it
is not the asadmin command what is wrong.
I must be anything else.

Is my way to enable the debug-mode right?

My "AppSer/bin/asadmin.bat" now looks like this:

"%AS_JAVA%\bin\java" -DDebug -Dcom.sun.aas.instanceRoot="%AS_INSTALL%"
-Dcom.sun.aas.instanceName=server
-Djava.library.path="%AS_INSTALL%\bin";"%AS_ICU_LIB%"
-Dcom.sun.aas.configRoot="%AS_CONFIG%"
-Djava.endorsed.dirs="%AS_INSTALL%\lib\endorsed"
-Dcom.sun.aas.processLauncher="SE" -cp
"%AS_DERBY_INSTALL%\lib\derby.jar";"%AS_INSTALL%\lib\appserv-ws.jar";"%AS_INSTALL%\lib\appserv-rt.jar";"%AS_INSTALL%\lib\appserv-ext.jar";"%AS_INSTALL%\lib\javaee.jar";"%AS_INSTALL%\lib\admin-cli.jar";"%AS_INSTALL%\lib\appserv-admin.jar";"%AS_INSTALL%\lib\commons-launcher.jar";"%AS_INSTALL%\lib\install\applications\jmsra\imqjmsra.jar"
com.sun.enterprise.cli.framework.CLIMain %*
endlocal

Is this right?
Because it would be very helpful to get more error-information than "Syntax
Error"...

Thanks for your help,
NSchweig




glassfish wrote:
>
>> > 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"
>
> Looking at the above command, you are missing a '-' in front of
> adminuser. It requires 2 dash, you only give one.
> Try again with
> asadmin create-domain --adminport 4848 --adminuser admin --adminpassword
> adminadmin --instanceport 8080 domain1
>
> Anissa.
> [Message sent by forum member 'anilam' (anilam)]
>
> http://forums.java.net/jive/thread.jspa?messageID=245970
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/Create-Domain---Syntax-error-tf4807448.html#a13829306
Sent from the java.net - glassfish users mailing list archive at Nabble.com.