Blank profile name in Eclipse, Websphere Settings

匆匆过客 提交于 2019-12-23 15:07:41

问题


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?


回答1:


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.




回答2:


I have same issue. If you install websphere in

C:\IBM\WebSphere\AppServer\profiles

instead of:

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

Then it will solve lots of configuration problems related to access.

Hope it helps




回答3:


If your C:\Program files\IBM\WebSphere\AppServer\profiles dir is empty go to:

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

Download the attached zip and extract it to WebSphere's bin directory and run the bat/sh.



来源:https://stackoverflow.com/questions/26163642/blank-profile-name-in-eclipse-websphere-settings

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!