Skip to main content

Eclipse Plugin with 2005Q4 8.1

2 replies [Last post]
javadev1
Offline
Joined: 2006-12-08

Installing is not a problem, using Glassfhish Plugin Milestone 0.3; but when I try to start the server from within Eclipse 3.2.1, I get the following msg in the eclipse Console:

Starting Domain domain1, please wait.
Log redirected to C:/Sun/ApplicationServer/domains\domain1\logs\server.log.
CLI156 Could not start the domain domain1.
CLI152 user is a required option.

I know what the error means, since I've used the asadmin utility before. Does anybody know what to do to avoid this pesky problem? Short of reading the CVS source for the plugin, dunno what to do...

Anybody out there having similar problem, or better yet, a solution to this problem?

Thanks in advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ludo
Offline
Joined: 2003-06-10

Not sure, but try to add
AS_ADMIN_USER=admin
AS_ADMIN_PASSWORD=adminadmin
in a .asadminprefs file in your home directory...

javadev1
Offline
Joined: 2006-12-08

> Not sure, but try to add
> AS_ADMIN_USER=admin
> AS_ADMIN_PASSWORD=adminadmin
> in a .asadminprefs file in your home directory...

That did not work.
on windows, I simply dropped the "." and put it user my %USERPROFILE%asadminprefs

But then again, not sure if this works anymore under the newest release of 2005Q4 (8.1) because when I try to "asadmin start-domain ..." from the prompt, it still asks me for my password.

Any other ideas? Thanks for your prompt response.