Love to code, although it bugs me.

Netbeans and Glassfish Error: CLI130 Could not create domain

No comments
Having Netbeans 6.8 installed, with Glassfish V3 on a laptop running Windows 7, I had the following error upon starting the IDE:

CLI130 Could not create domain

Apparently, the J2EE development server domain could not be created. I opened a command prompt, navigated   to the Glassfish installation folder and executed the "asaadmin create-domain" to create a new domain. Still no luck! A lack of privileges prevented the new domain folder creation.

Next, I repeated the same step, but opened the prompt with the "Run as administrator" option. The domain creation went smoothly and after starting the IDE, the same error appeared because it would always try to start the default domain.

I carried on, manually starting my domain with the "asadmin start-domain" command and connecting to the server as if it was a remote server. But I was not pleased with the solution.

So, I tried to start the IDE with "Run as Administrator" option. And it worked. After all, it had a really simple work around.

No comments :

Post a Comment