facebook

Building and code change is slow

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 15 posts - 16 through 30 (of 79 total)
  • Author
    Posts
  • #673717 Reply

    CS Tan
    Participant

    Hi Swapna and Brian
    Any update on this?

    #673730 Reply

    support-swapna
    Moderator

    Hi,

    Apologies for the delayed response.
    Can you please clarify if the project is currently deployed in in-workspace mode?
    Was the wsadmin script running fine earlier before the changes to deployment mode and protocol?

    Similar reports are discussed below. Can you please check if any of those suggestions help fix the issue?
    https://stackoverflow.com/questions/65015295/wasx7109e-insufficient-data-for-install-task-mapresreftoejb
    http://shinusworkspace.blogspot.com/2014/01/adma0010e-validation-error-occurred-in.html

    –Swapna
    Genuitec Support

    #673745 Reply

    CS Tan
    Participant

    There is no error now when we deploy with in-workspace. But we cannot access the application.
    Unlike the classic mode, we cannot add our shared lib in this “in-workspace” mode.

    #673746 Reply

    CS Tan
    Participant

    In the classic mode this is what we do
    #1 On Myeclipse to deploy the application by performing the “add deployment” or “clean”.
    #2 We then login to was console > enterprise application > add shared lib and then add the shared lib for Web and EJB.

    In the in-workspace mode, we cannot do step 2 because there is not option to save the shared lib. So we cannot test the application.

    #673750 Reply

    support-swapna
    Moderator

    Hi,

    The in-workspace mode deploys the project to the workspace location which is why you are unable to access it from the console.
    Can you add the shared lib to the project during deployment itself? You can add it to the project from the Build Path dialog and ensure the shared lib is added to the Project’s Deployment Assembly page for deployment.

    If the above cannot be done due to how the deployments work at your end, then I am afraid in-workspace mode is not suitable for your case.

    –Swapna
    Genuitec Support

    #673783 Reply

    CS Tan
    Participant

    Ok. thanks.

    #673784 Reply

    CS Tan
    Participant

    Hi Brian and Swapna

    We have managed to rearchitect our project with standard Maven (all done outside of Myeclipse). We can build the EAR file and deploy it to WAS. Working perfectly. Our shared library is now part of our deployment – not separate.

    We would like open this mavenized project in Myeclipse and use in-workspace for more rapid development and testing. Can you provide some links to instructions how to do this.

    #673796 Reply

    support-swapna
    Moderator

    Hi,

    The maven project can be imported to MyEclipse workspace via Import > General > Maven > Existing Maven Projects. Imported Maven projects are automatically configured with appropriate metadata based on information contained in the pom.xml file, making them immediately deployable and usable without additional configuration. The maven goals will be available under Run As in the project’s context menu.

    Please let us know if you see any issues with it.

    –Swapna
    Genuitec Support

    #673800 Reply

    CS Tan
    Participant

    Thanks Swapna!
    It is taking like forever to validate the project. Is this normal?

    #673801 Reply

    support-swapna
    Moderator

    Hi,

    It takes a while for the first time to download the dependencies to your local repository.
    If it takes pretty long, then please share the screenshot of the Progress view to help us investigate further.

    –Swapna
    Genuitec Support

    #673815 Reply

    CS Tan
    Participant

    Please see this…

    Attachments:
    You must be logged in to view attached files.
    #673817 Reply

    CS Tan
    Participant

    After 1.5 hours

    Attachments:
    You must be logged in to view attached files.
    #673820 Reply

    CS Tan
    Participant

    And this is about 3 hours later.
    The CPU and memory is hardly utilized. But validating is still ongoing.

    Attachments:
    You must be logged in to view attached files.
    #673824 Reply

    CS Tan
    Participant

    It’s about 14 hours later now.
    And its still running validation.
    Can we stop this validation? Disable or something?

    Attachments:
    You must be logged in to view attached files.
    #673826 Reply

    CS Tan
    Participant

    I made some progress. But have difficulty adding the deployment.

    This is what I have done…

    – Installed the latest myeclipse-2020.9.16a-offline-installer-windows.exe
    – Windows > Preference > Validation > Suspense all validation
    – File > Import > Maven > Import Maven Project

    The build was successful

    Added WAS 8.5.5 Server
    Restart the server in debug mode

    Add New Deployment

    Then I got an error
    “Could not publish to the server.
    ADMA5014E: The installation of application belsize-ear-0.1-SNAPSHOT failed.”

    Please see attached log files.

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 16 through 30 (of 79 total)
Reply To: Building and code change is slow

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