For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 11 replies, 4 voices, and was last updated 14 years, 11 months ago by
support-swapna.
-
AuthorPosts
-
dougholubekMemberI have an application that works in RAD 7.5 / WAS 6.1 and I’m trying to migrate it to MyEclipse Blue 9. I’ve gone through migrating the projects with the migration RAD project feature. My app was deploying earlier today, and seemed to be installing as far as the was console was concerned (green arrow under enterprise apps). However the servlets (axis2 and our own configuation servlet) were not loading. I created a hello world app with axis2 and it loaded fine. One difference I noticed was that it was picking up a j2ee.jar from myeclipse blue instead of websphere. I switched it to was6.1 runtime in the build path and also had to lower the hello world project to be j2ee 1.4. This seemed to work and I appeared to have a fix that I could try out on our application. When I went back to our application for whatever reason I now can’t publish it. I was able to publish before. I remove it, restart was, stop was, undeploy, redeploy, clean, rebuild, you name it. I keep getting this frustrating message:
Undeployment Failure
{app} could not be redeployed because it could not be completely removed in the undeployment phase. The most common cause of this problem is attempting to redeploy while the server is running, which has locked one or more files. To correct the deployment you will need to stop the server and then redeploy the project before restarting the server.I do this and it doesn’t work.
May 21, 2011 at 5:36 pm #316953
dougholubekMemberI’m wondering if this is related to my issue with starting and stopping WAS properly from within the IDE
https://www.genuitec.com/forums/topic/websphere-6-1-not-stopping-and-starting-properly-from-meb-9/May 23, 2011 at 11:58 pm #316975
support-swapnaModeratordougholubek,
1) The issue rises due to improper shutdown/undeploy of project on the WAS server. Do you still see this issue in the Classic mode and exploded deployment ?
2) Start the IDE with -clean, switch to a new workspace and check if the issue persists. Here is an FAQ on -clean :
https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/Let me know how this works for you.
May 24, 2011 at 9:08 am #316990
dougholubekMemberI switched to classic mode and exploded deployment… and did a clean. I will see if these work once MEB sees my websphere instance:
May 25, 2011 at 3:07 am #317005
support-swapnaModeratordougholubek,
Your post concerning the websphere instance has been answered. Please refer to it and let me know if the deployment works fine.
June 1, 2011 at 2:55 am #317201
C0ffeeBeanMember@support-swapna wrote:
dougholubek,
Your post concerning the websphere instance has been answered. Please refer to it and let me know if the deployment works fine.
Hi Swapna,
I have the same issue as Dougholubek had. I have followed all the suggestions above with no success.
Can you please provide the link to the “post concerning the websphere instance”.
Maybe that’ll help..
Thank You
June 2, 2011 at 11:28 pm #317257
support-swapnaModeratorC0ffeeBean,
Here is the link :
Can you answer some more questions for me to understand the issue ?
1) Are you working with MyEclipse Blue 9 and WAS 6.1 ?
2) Did you migrate the project from RAD to MyEclipse Blue ?
3) What is error message you see during deployment ? Please paste it here.
Let me know how it works for you.
June 3, 2011 at 2:12 am #317265
C0ffeeBeanMember@support-swapna wrote:
C0ffeeBean,
Here is the link :
Can you answer some more questions for me to understand the issue ?
1) Are you working with MyEclipse Blue 9 and WAS 6.1 ?
2) Did you migrate the project from RAD to MyEclipse Blue ?
3) What is error message you see during deployment ? Please paste it here.
Let me know how it works for you.
Hi Swapna,
Sorry for the late response..
To answer your questions:
1) Are you working with MyEclipse Blue 9 and WAS 6.1 ?
– YES2) Did you migrate the project from RAD to MyEclipse Blue ?
– YES (& I have consequently ran the command: Enhance RAD Project to Work with MyEclipse…)3) What is error message you see during deployment ? Please paste it here.
– NB: When I installed WAS 6.1 I excluded administrative security option.– ———————————————————————————————————————————
MyEclipse: deployment START exploded project: TiermuisEAR server: websphere61Server#Tiermuisv1 time: Wed Jun 01 10:08:16 CAT 2011
———————————————————————————————————————————
Access is denied.
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: “[TiermuisEAR]”
TiermuisEAR
WASX7017E: Exception received while running file “C:\Users\kamofokeng\AppData\Local\MyEclipse Blue Edition\Common\plugins\com.genuitec.eclipse.blue.websphere61_9.0.0.me201103012021\uninstallApplication.jacl”; exception information: com.ibm.ws.scripting.ScriptingException: WASX7280E: An application with name “TiermuisEAR” does not exist.———————————————————————————————————————-
MyEclipse: deployment END project: TiermuisEAR server: websphere61Server#Tiermuisv1 time: Wed Jun 01 10:08:24 CAT 2011
———————————————————————————————————————-June 7, 2011 at 5:02 am #317342
support-swapnaModeratorC0ffeeBean,
Sorry for the delayed response.
1) Can you get me the deployment log for the project ? Right click on the server – view deployment log. First clear the contents of the log file and save it. Now try deploying your project to the WAS. Paste the contents of the deployment log here.
2) Can you please also attach the server log for WAS? Here is an FAQ on how to upload files to the forum : https://www.genuitec.com/forums/topic/troubleshooting-how-to-upload-attachments-on-forum/
June 10, 2011 at 6:57 am #317415
Brian FernandesModerator1) What strikes me here is the “Access denied” message that is in your log output. What OS are you running on? Can you try running MyEclipse Blue as an administrator and see if that fixes the issue? There can be permission problems which prevent some actions from correctly executing in some cases.
2) Try starting the server before deploying.
3) On the profile configuration page, switch to Classic deployment mode. Try deploying with this mode enabled. Does it help? If not, please attach the log output so we have a better idea of where the failure is in this mode too.
Hope this helps.
June 10, 2011 at 7:38 am #317418
C0ffeeBeanMemberHi Brian,
Thanks for the speedy response.
What OS are you running on?
– Windows 7 Professional
Can you try running MyEclipse Blue as an administrator and see if that fixes the issue?
– Worked like a charm (I had no idea that this could be an issue)!
Try starting the server before deploying
– Deployment only works when the server has stopped (I checked both scenarios – I don’t know why it works but it does)
On the profile configuration page, switch to Classic deployment mode
– I was already on the Classic Deployment Mode
Your suggestions worked brilliantly, I appreciate your help.
June 13, 2011 at 6:35 am #317451
support-swapnaModeratorC0ffeeBean,
Glad that it is working. I could replicate the issue with deployment on already running server.
I have raised a PR with the dev team to look into it.
Do let us know if you have any other issues. -
AuthorPosts
