问题描述
我正在尝试向Eclipse(Kelper)添加新的服务器(WebSphere Application Server 7)。我刚刚在PC上安装了WebSphere Application Server 7,但尚未更改任何设置(默认设置)。
在Eclipse中,在New Server - > WebSphere Application Server设置它显示以下内容:
您可以看到配置文件名称框为空,在下拉框中没有选择。当我点击配置配置文件...我看到:
此时我被卡住了。我猜想我已经在websphere中设置了一个配置文件,但是这可能还没有写权限呢?
我要做什么来让这个服务器在Eclipse中工作?
根据第二张图片看起来你没有任何个人资料。检查是否有任何配置文件(文件夹),例如 AppSrv01 在 C:\Program files\IBM\WebSphere\AppServer\profiles p>
如果您有 - 这意味着您没有对该文件夹的写入权限 - 尝试以管理员身份运行Eclipse 。您是否使用用户或管理员安装了WebSphere?一般来说,作为最佳实践,您应该避免在程序文件中安装WebSphere。
如果没有 - 使用例如创建文件管理按钮,如果您突出显示上表中的WebSphere Runtime。
I am trying to add a New Server (WebSphere Application Server 7) to Eclipse (Kelper). I have just installed WebSphere Application Server 7 on the PC but have not changed any settings yet (default settings).
In Eclipse, after New Server -> WebSphere Application Server Settings it shows me the following:
As you can see the Profile name box is empty, with no choices in the drop down box. When I click Configure profiles... I see:
At this point I am stuck. I'm guessing that I already have a profile setup in websphere, but that maybe it doesn't have write permissions yet?
What do I have to do to get this server working in Eclipse?
Based on the second image looks like you dont have any profiles. Check if you have any profiles (folders) e.g. AppSrv01 in the C:\Program files\IBM\WebSphere\AppServer\profiles.
If you have - it means that you dont have write permissions to that folder - try to run Eclipse as Administrator. Did you installed WebSphere with your user or Administrator? In general as a best practice you should avoid installing WebSphere in Program Files.
If you don't have - create it using for example Profile Management Tool - should be available in your Start menu.
You probably don't have rights, because the "Run Profile Management Tool" button should be enabled, if you would highlight WebSphere Runtime in upper table.
这篇关于Eclipse中的空白配置文件名称,Websphere设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!