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

标签 eclipse websphere websphere-7

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

在 Eclipse 中,在 New Server -> WebSphere Application Server Settings 之后,它显示了以下内容:

enter image description here

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

enter image description here

在这一点上,我被卡住了。我猜我已经在 websphere 中设置了配置文件,但它可能还没有写权限?

我该怎么做才能让这个服务器在 Eclipse 中工作?

最佳答案

根据第二张图片,您似乎没有任何个人资料。检查您是否有任何配置文件(文件夹),例如AppSrv01C:\Program files\IBM\WebSphere\AppServer\profiles .

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

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

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

关于eclipse - Eclipse 中的空白配置文件名称,Websphere 设置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26163642/

相关文章:

java - 是否可以使用 IBM WebSphere JAX-WS 运行时在 Eclipse 4.x 中生成 Web 服务?

java - 我应该在 apache fop 的类路径中包含哪些 jar

eclipse - 我可以指定通过 ADB 发送的意图吗?

java - Google App Engine JSP 无法部署 : java. lang.RuntimeException : Cannot get the System Java Compiler. 请使用 JDK,而不是 JRE

ssl - 在 Websphere 8.0 上使用 JSSEHelper 以编程方式指定出站 SSL 配置。不起作用

web-services - 未部署 Websphere 8.5 Web 服务

java - 使用类加载器 AntClassLoader[] 找不到 ant taskdef 类

java - Glassfish 4 没有资源的密码凭据

jakarta-ee - 如何获取传递到 JAX-WS 服务客户端的登录凭证及其关联的策略集和 Rational/WebSphere 工具中的绑定(bind)

java - 使用 Java 6 启动 Websphere 7 服务器时出现 wsjar 文件错误