Eclipse中的空白配置文件名称,Websphere设置

时间:2014-10-02 14:57:34

标签: eclipse websphere websphere-7

我正在尝试向Eclipse(Kelper)添加一个新服务器(WebSphere Application Server 7)。我刚刚在PC上安装了WebSphere Application Server 7,但尚未更改任何设置(默认设置)。

在Eclipse中,在New Server之后 - > WebSphere Application Server设置它向我显示以下内容:

enter image description here

如您所见,“配置文件名称”框为空,下拉框中没有选项。当我单击配置配置文件时...我看到:

enter image description here

此时我被困住了。我猜我已经在websphere中设置了配置文件,但是它可能还没有写入权限吗?

我需要做些什么才能让这台服务器在Eclipse中运行?

3 个答案:

答案 0 :(得分:8)

根据第二张图片看起来你没有任何个人资料。检查您是否有任何配置文件(文件夹),例如AppSrv01中的C:\Program files\IBM\WebSphere\AppServer\profiles

如果你有 - 这意味着你没有对该文件夹的写权限 - 尝试运行Eclipse as Administrator。您是否与您的用户或管理员一起安装了WebSphere?通常,作为最佳实践,您应该避免在Program Files中安装WebSphere。

如果您没有 - 例如使用Profile Management Tool创建 - 应该可以在Start菜单中找到。

您可能没有权限,因为如果要在上表中突出显示WebSphere Runtime,则应启用"Run Profile Management Tool"按钮。

答案 1 :(得分:0)

我有同样的问题。 如果您在

中安装websphere
  

C:\ IBM \的WebSphere \ AppServer的\型材

而不是:

  

C:\ Program files \ IBM \ WebSphere \ AppServer \ profiles

然后它将解决许多与访问相关的配置问题。

希望有所帮助

答案 2 :(得分:0)

如果您的C:\Program files\IBM\WebSphere\AppServer\profiles目录为空,请转到:

http://www-01.ibm.com/support/docview.wss?uid=swg21442487

下载附件的zip并将其解压缩到WebSphere的bin目录中,然后运行bat / sh。