facebook

Not able to deploy ear to Websphere 7

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

    svgray
    Member

    Hi,

    I’m evaluating MyEclipse Bling as a possible replacement for RSA. I have a bunch of maven projects in a hierarchy, one of which of which builds an ear.

    In RSA the ear project gets attached to Websphere, but in MyEclipse when I click Add Deployment the ear project is not listed in the list of projects, so I cannot deploy it to Websphere. Can you tell me what I need to do to this project to make it appear in the Add Deployments list of projects?

    Thanks,
    Steve

    #336999 Reply

    support-swapna
    Moderator

    Steve,

    Can you please answer some more questions for us ?

    1. Which version of RSA are you working with?

    2. Did you enhance the project to work with MyEclipse after importing the RSA project to MyEclipse ? Do not attempt to fix any errors after importing the project to MyEclipse. Right click on the project > MyEclipse > Enhance RAD project to work with MyEclipse and follow the wizard. The wizard will ask you to specify the location of WAS on your system. Point it accordingly.

    3. If you see any errors, even after enhancing the project to work with MyEclipse, please paste the errors in detail here along with the contents of the .log file which is located at <workspace dir>/.metadata/.log to help us investigate further.

    4. If the deployment fails, please copy paste the contents of the deployment.log here to help us investigate further.

    #337000 Reply

    svgray
    Member

    Hi Swapna,

    Thanks for your reply. We are using RSA 7.5.5.

    I actually haven’t done the enhance RAD project thing because I have imported maven projects that have no Eclipse metadata, so the enhance RAD project option is greyed out.

    We do have a script that generates all the Eclipse metadata necessary to run the project in RSA. I have tried running this, the doing an import and enhance RAD project. However when I do this I have a whole bunch of problems, specifically build errors (NullPointerException in DeploymentDescriptorValidator) and 2500 compile errors caused by no project seemingly being able to see any other. However if I do this I can at least deploy the ear as the ear project appears on the projects list.

    I was hoping to avoid all these problems by importing the clean projects without RSA metadata, however this means that for some reason the ear does not appear on the projects list.

    Thanks for your help,
    Steve

    #337005 Reply

    support-swapna
    Moderator

    Steve,

    Maven projects should be imported using import -> Maven4MyEclipse -> Check out Maven Project from SCM / Existing Maven Project. You should select only the top level Maven project for import.In your case its best not to include the RSA metadata.

    Can you please retry as per the above steps and check how it works for you ?

    #337019 Reply

    svgray
    Member

    Hi Swapna,

    Yes, I imported the maven projects using using import -> Maven4MyEclipse -> Existing Maven Project and selected the folder of the top level project. I’m stil having teh same problem I’m afraid.

    Thanks,
    Steve

    #337040 Reply

    support-swapna
    Moderator

    Steve,

    Can you please try our latest release MyEclipse Blue 2013 (formerly version 11) and check if you still the issue ?

    Please download it from here :
    http://www.myeclipseide.com/module-htmlpages-display-pid-4.html

    You can install it alongside your existing MyEclipse Installation.

    Let us know how it works for you.

    #337078 Reply

    svgray
    Member

    Hi Swapna,

    Thanks for you reply. I was comparing the setup in MyEclipse and RSA and seem to have figured out what the problem was. You need to go to the Properties page for the ear page, then MyEclipse > Project Facets, and check the “EAR” option. If you do this the ear project appears in the projects list on the Add Deployment dialog.

    Thanks for all your help,
    Steve

    #337096 Reply

    support-swapna
    Moderator

    Steve,

    Glad that it is working fine.
    Do let us know if you see any issues.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Not able to deploy ear to Websphere 7

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