- This topic has 78 replies, 3 voices, and was last updated 3 years, 6 months ago by support-swapna.
-
AuthorPosts
-
CS TanParticipantHi Swapna and Brian
Any update on this?
support-swapnaModeratorHi,
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
CS TanParticipantThere 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.
CS TanParticipantIn 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.
support-swapnaModeratorHi,
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
CS TanParticipantOk. thanks.
CS TanParticipantHi 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.
support-swapnaModeratorHi,
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
CS TanParticipantThanks Swapna!
It is taking like forever to validate the project. Is this normal?
support-swapnaModeratorHi,
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
CS TanParticipantAnd 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.
CS TanParticipantIt’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.
CS TanParticipantI 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 ProjectThe build was successful
Added WAS 8.5.5 Server
Restart the server in debug modeAdd 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. -
AuthorPosts