facebook

Unable to setup Websphere 6.1 server in Bling 10.1

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #324436 Reply

    jdearment
    Member

    I am trying to get several RAD projects setup in myeclipse Bling 10.1. But it seems like I cannot get the Websphere 6.1 server setup/configured correctly. I have a newly installed WebSphere Developer Edition for WebSphere 6.1 installed.

    From the “Preferences” screen under MyEclipse –> Servers –> Websphere – Blue Connectors I see an entry for WebSphere 6.1. One thing I notice is that it does not have the + in front of it to expand it like the WebSphere 5.x or the three WebSphere Portal entries have. I am able to add a Server Instance.

    When I try to setup the project properties, there are a few things there that do not seem quite right. Under MyEclipse –> Websphere Target Server, the Target Server is <not set> and the drop-down box does not have any other options. Clicking Configure WebSphere Servers brings up the WebSphere – Blue Connectors screen I mentioned in the previous paragraph. It is not obvious how to get the server setup so that it is available as an option in the Target Server drop-down box.

    When I look at MyEclipse –> Project Facets and click the Runtimes tab, no runtimes are listed. When I click the New… button, I can expand the Basic folder to find WebSphere 6.1. There is a checkbox Create a new local server that is checked. The Next button is not enabled and clicking the Finish button simply closes the window and does not do anything. I notice under the IBM folder, there is an IBM WebSphere v6.0 option.

    From the MyEclipse Java perspective, I cna Start and Stop the server from the Servers tab. When started, I can run the administrative console.

    It just seems like there is something missing from my MeEclipse Bling setup that is not allowing me to completely setup and use the WebSphere Developer Edition 6.1 server. Any idea on what I should be checking or something I need to install to get this to work?

    #324527 Reply

    support-tony
    Keymaster

    jdearment,

    Sorry for the delay in responding. We’re looking at the runtimes issue.

    In regard to setting up the WebSphere connector, the WebSphere connectors, after 5.1, are a bit different from the other server connectors. The WebSphere server is run under a profile. In the connector setup, you can load the profiles with the Load Profiles button, or you can enter the details manually, if you know them. Each profile specified appears as a Server in MyEclipse and each can be configured similar to the way other servers are configured, by clicking the Edit button after selecting the profile from the list.

    If you have profiles loaded or specified, they should appear in the target server list. However, note that WebSphere 6.1 cannot run JEE6 applications and so its profiles will not appear in the list for such projects. Actually, the target server is only of use for web services projects and so may have no effect for your projects.

    I hope this resolves your issues, apart from the runtimes problem; expect a further response on that.

    #324532 Reply

    Brian Fernandes
    Moderator

    jdearment,

    I assume you were thinking of assigning a target server so that you get a WebSphere container added to the project to compile against. As Tony mentioned earlier – the Target server page is for webservices support only (it is misleading and will be renamed) and so will not help with your current situation.

    When you import a RAD project into Blue, you should use the MyEclipse > Enhance RAD project to work with MyEclipse option. This will detect the WebSphere classpath container in your project, ask you for the path to the corresponding WAS install and set up the classpath container correctly so you have WebSphere JARs to compile against.

    Please let us know if this helps.

    #324534 Reply

    jdearment
    Member

    Thanks Tony.

    One issue I was dealing with in getting the project into Bling from RAD was a reference to the Websphere 6.1 runtime that I had trouble tracking down in order to change. A coworker here helped me identify the org.eclipse.wst.common.project.facet.core.xml in the .settings folder of the project worksphace where we removed a line:
    <runtime name=”was.base.v6″/>
    in order to remove errors in the project regarding the undefined runtime.

    Jim

    #324535 Reply

    jdearment
    Member

    @Support-Brian wrote:

    jdearment,

    I assume you were thinking of assigning a target server so that you get a WebSphere container added to the project to compile against. As Tony mentioned earlier – the Target server page is for webservices support only (it is misleading and will be renamed) and so will not help with your current situation.

    When you import a RAD project into Blue, you should use the MyEclipse > Enhance RAD project to work with MyEclipse option. This will detect the WebSphere classpath container in your project, ask you for the path to the corresponding WAS install and set up the classpath container correctly so you have WebSphere JARs to compile against.

    Please let us know if this helps.

    Brian,

    I tried to run the Enhance Rad project to work with MyEclipse, but it fails in the middle of doing so. It looks like I cannot rerun that process on this project again so I don’t have the exact error message handy. But the error stated something to the effect of “Unable to complete process: null”. I just remember the error being very generic/non-descriptive. I do not remember it getting to a point of asking about the WAS installation directory.

    Thanks,

    Jim

    #324581 Reply

    Brian Fernandes
    Moderator

    Jim,

    We released a number of fixes to the enhancement process in 10.1. When you actually enhanced the project, were you on 10.1 or an earlier version – I ask because 10.1 was released just a day before you posted this thread. If you were using 10.1 (and not 10.0.1) -if you could send us the .classpath, .project and the .settings folder of the project, we could track down the original enhancement problem – even if the enhancement failed, the message should have been more descriptive. You can mail the files to [email protected] ATTN Brian with a link to this thread.

    Given that you were able to resolve the facet/runtime issue – are there any other problems that you need assistance with?

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Unable to setup Websphere 6.1 server in Bling 10.1

You must be logged in to post in the forum log in