Netbeans的管理员用户和密码创建了Glassfish域名? [英] Admin User and Password for Netbeans created Glassfish domains?

查看:367
本文介绍了Netbeans的管理员用户和密码创建了Glassfish域名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用netbeans(6.9)创建一个开发glassfish(3.1)域时,不需要密码。一切都很神奇。



乍看起来不错。直到您确实需要知道管理员用户和密码。



正常组合 admin / adminadmin 实际上不起作用。

正常的主密码 changeit 也不会让我知道任何地方。



有人知道netbeans在创建glassfish域时使用哪个凭证吗?



当然,我尝试创建一个域使用asadmin。但之后NetBeans不太喜欢这些域,即NetBeans开始要求输入密码,域的自动启动不再起作用。麻烦没有结束。



更新1:

我尝试使用空密码如建议,但这不起作用:

 用户身份验证失败:admin 
用密码文件中的密码:... \Domain.properties
(通常,这意味着无效的用户名和/或密码)
命令create-file-user失败。

我在硬岩石和深蓝色的大海之间吗? NetBeans创建的域不能与命令行一起使用,而命令行创建的域不能与netbeans一起使用?解析方案

我自己想到了(再次 - 我什么时候才能得到我的学习者徽章?)

问题是,管理员用户是:

   - 用户匿名

没有记录的地方。我只在 config / admin-keyfile 中找到它。 vkraemer建议您输入密码:

  AS_ADMIN_MASTERPASSWORD = 
AS_ADMIN_PASSWORD =

感谢您的帮助。


When I create a "development" glassfish (3.1) domain with netbeans (6.9) then no passwords are needed. Everything works magically.

Nice on the first glance. Until you actually need to know the admin user and password.

The normal combination admin / adminadmin does not actually work.

Also the normal master password changeit won't get me anywhere.

Does anybody knows which credentials netbeans uses when creating a glassfish domain?

Of course I tried to create a domain using asadmin. But then NetBeans does not like these domains all that much, i.e. NetBeans starts to ask for passwords, automatic start of domain does not work any more. Trouble without end.

Update 1:

I tried to use empty passwords as suggested but this does not work either:

Authentication failed for user: admin
with password from password file: …\Domain.properties
(Usually, this means invalid user name and/or password)
Command create-file-user failed.

Am I between the hard rock and the deep blue sea here? NetBeans created domains don't work with command-line and command-line created domains don't work with netbeans?

解决方案

Well I figured it out myself (again - when will I finally get my self learner badge?)

The problem is that the admin user is:

--user anonymous

no where documented. I only found it in the config/admin-keyfile. The password then is indeed empty as vkraemer suggested:

AS_ADMIN_MASTERPASSWORD=
AS_ADMIN_PASSWORD=

Thanks for the help.

这篇关于Netbeans的管理员用户和密码创建了Glassfish域名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆