dev@glassfish.java.net

Re: Compiling Glassfish in Eclipse

From: Markus KARG <markus.karg_at_gmx.net>
Date: Fri, 08 Sep 2006 20:35:46 +0200

Dinesh Patil wrote:
> Markus KARG wrote:
>> Thanks a lot for your kind help.
>> In fact I now was able to build Glassfish. :-)
>> So the next step is to install it and let it run, so I can check whether
>> my MaxDB modifications would work correctly.
>> Can you please give me instructions on that?
>>
> You can take a look at the maven goals supported in GlassFish:
> https://glassfish.dev.java.net/public/BuildGlassFish.html#maven_goals
>
> For testing your changes, you can run "maven configure-runtime" for
> configuring Single Instance Domain, or "maven configure-cluster" for
> clusterd Domain, and start the domain using
> "${glassfish.home}/publish/glassfish/bin/asadmin start-domain
> --adminuser admin domain1"
This is not working on my machine:

markus_at_localhost:~/workspace/publish/glassfish/bin> ./asadmin
start-domain --adminuser admin domain1
Verwendung: start-domain [--terse=false] [--echo=false]
[--interactive=true] [--user admin_user] [--passwordfile file_name]
[--domaindir domain_directory] [--verbose=false] [--debug=false]
[domain_name]
CLI013 Option adminuser gilt nicht für start-domain.

Seems you got a typo in your code line?

Thanks
Markus