facebook

Configuring WebSphere 6 with Myeclipse IDE

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #260782 Reply

    aksish
    Member

    I have Myeclipse Version: 5.0.1 GA Build id: 20060810-5.0.1-GA running on WinXP SP2
    I went through the documentation on configuring WebSphere 6 with Myeclipse.
    I must first compliment that all the documentation I found are excellent. Having the screenshots makes it very easy to configure.

    The problem is that I am not able to run websphere from inside myeclipse IDE wheras it works fine with the startserver/stopserver provided by IBM.
    I looked at the exact command that is run and I noticed the following

    myeclipse IDE: ….\java -D…. -D…. com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer <profileconfig> <cell> <node> server1

    wheras when I use startserver script I see
    ….\java -D…. -D…. com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.management.tools.WsServerLauncher <profileconfig> <cell> <node> server1

    I looked at the place to change this

    Window ->
    Preferences ->
    Myeclipse ->
    Application Servers ->
    Websphere 6 ->
    Launch ->
    “Create Launch Configuration” button ->
    Arguments ->
    Program Arguments

    When I try to make the change and hit apply it doesn’t save it. It doesn’t seem to pick up the change.
    I also tried looking for this entry in the <workspace>\.metadata\.plugins\org.eclipse.core.runtime\.settings\com.genuitec.eclipse.easie.websphere6.prefs
    But I couldn’t find this.

    BTW it works fine when I run the same command (with the above mentioned change) on a dos prompt

    #260783

    aksish
    Member

    I found the file that needs to be changed – .metadata\.plugins\org.eclipse.debug.core\.launches\WebSphere 6.launch
    This file is getting updated with the changes but the resulting javaw process doesn’t seem to pick up this change.

    I closed the Myeclipse IDE, made sure that the change is present in the file and restarted myeclips and the websphere 6 from “Servers” view.
    Still it is using “com.ibm.ws.runtime.WsServer” instead of “com.ibm.ws.management.tools.WsServerLauncher”

    How do I make this change ?

    #260792

    aksish
    Member

    I found the way. I need to use the custom run configuration. With this I was able to successfully run the websphere javaw from with myeclipse.
    Now the (minor) problem is that this new websphere runs in the background automatically so I see the status as stopped even though it is running.

    Also any reason why the predefined setting for websphere 6 (and even websphere 6.1) has com.ibm.ws.runtime.WsServer as the argument instead of com.ibm.ws.management.tools.WsServerLauncher ?
    My websphere version is 6.0.2.9 (by running the versionInfo.bat file)

    Installation Platform
    Name IBM WebSphere Application Server
    Version 6.0

    Product List
    BASE installed

    Installed Product
    Name IBM WebSphere Application Server
    Version 6.0.2.9
    ID BASE
    Build Level cf90614.22
    Build Date 4/7/06

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Configuring WebSphere 6 with Myeclipse IDE

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