문제

I tried to start my glashfish in eclipse but I got the error: Server GlassFish Server Open Source Edition 3 (Java EE 6) at localhost failed to start.

and suggested this:

The configuration data for this domain must be upgraded to run with this
version of the software. To upgrade the data, run:
    asadmin start-domain --upgrade
Then start the domain normally.
Command start-domain failed.

my question is how do i upgrade this from the command line?

in my glasfish folder, I have the bin folder and inside the bin is contained a file called asadmin.. when I cd to bin, and run the asadmin start-domain --upgrade, it complains that the asadmin command is not a command.. Anyone knows how to run glassfish from command line?

도움이 되었습니까?

해결책

It should work the way you described. If you are on Linux you could try

./asadmin start-domain --upgrade

if the current directory is not in your search path.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top