- This topic has 17 replies, 3 voices, and was last updated 12 years, 10 months ago by support-tony.
-
AuthorPosts
-
NagendraMemberHi Team,
we are facing some issues with configuring the websphere server 7.0 with MyEclipse Blue 8.5
As I have not found for websphere 7 settings I have followed all steps as mentioned for websphere 6.
http://www.myeclipseide.com/documentation/quickstarts/websphere6/Issue is I want to reload my application when ever I do some changes in the Eclipse(jsp/java files).
For this I have done below step.
1) we want to make sure to select the Enable class reloading feature, this will allow WebSphere to detect changes in the files and reload them as we work in MyEclipse real-time so there will be no need to stop/restart the server every time you make a change.Still I am not able to see new changes in the browser..
Could you help us in resolving this issue.
Thanks,
Nagendra
support-swapnaModeratorpnknaga,
Sorry that you are seeing this issue with MyEclipse.
Can you answer some more questions for us ?
1) Did you set up the WAS 7 to deploy in ‘Classic Mode ‘ ? If no then please configure it to deploy in ‘Classic Mode’.
2) You need to start the server in Debug mode for changes to Java classes to be picked up. Are you doing this?
3) Also, if you make a change to a JSP file directly (like a simple text change) are those changes showing up? Check if Project -> Build Automatically is checked.
4) Could you paste here the deployment log? It is located under directory .myeclipse/logs in EAR project. Before sending, please delete that file, perform deployment and hot-syncing.
Attached is the screenshot for WAS 7 configuration for your reference.
Let us know how it works for you.
Attachments:
You must be logged in to view attached files.
NagendraMember@support-swapna wrote:
pnknaga,
Sorry that you are seeing this issue with MyEclipse.
Can you answer some more questions for us ?
1) Did you set up the WAS 7 to deploy in ‘Classic Mode ‘ ? If no then please configure it to deploy in ‘Classic Mode’.
2) You need to start the server in Debug mode for changes to Java classes to be picked up. Are you doing this?
3) Also, if you make a change to a JSP file directly (like a simple text change) are those changes showing up? Check if Project -> Build Automatically is checked.
4) Could you paste here the deployment log? It is located under directory .myeclipse/logs in EAR project. Before sending, please delete that file, perform deployment and hot-syncing.
Attached is the screenshot for WAS 7 configuration for your reference.
Let us know how it works for you.
__________________________________________________________________
Thanks Swpna for your quick reply.
I have followed all the above steps and getting below exception in deployment log
——-
—————————————————————————————————————————-
MyEclipse: deployment START exploded project: RxSolApp server: websphere7Server#CHPServer time: Tue Jan 17 16:55:53 IST 2012
—————————————————————————————————————————-
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: “[C:\ServerProfiles\installableApps\RxSolApp.ear, LHX00CND130C62KNode02Cell, LHX00CND130C62KNode02, CHPServer, RxSolApp, {{“RxSolWeb.war” “RxSolWeb.war,WEB-INF/web.xml” default_host}}, {{.* .* AppDeploymentOption.Yes 1}}, false, false, true, C:/Program Files/Genuitec/MyEclipse Blue Edition 8.5/configuration/org.eclipse.osgi/bundles/13/1/.cp/scriptutil/scriptutil.jar, 1.4]”
C:\ServerProfiles\installableApps\RxSolApp.ear
LHX00CND130C62KNode02Cell
LHX00CND130C62KNode02
CHPServer
RxSolApp
{“RxSolWeb.war” “RxSolWeb.war,WEB-INF/web.xml” default_host}
{.* .* AppDeploymentOption.Yes 1}
-nopreCompileJSPs -distributeApp -useMetaDataFromBinary -nodeployejb -appname “RxSolApp” -createMBeansForResources -reloadEnabled -reloadInterval 1 -deployws -validateinstall off -noprocessEmbeddedConfig -filepermission .*.dll=755#.*.so=755#.*.a=755#.*.sl=755 -buildVersion Unknown -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -MapWebModToVH {{“RxSolWeb.war” “RxSolWeb.war,WEB-INF/web.xml” default_host}} -JSPReloadForWebMod {{.* .* AppDeploymentOption.Yes 1}}
false
false
true
C:/Program Files/Genuitec/MyEclipse Blue Edition 8.5/configuration/org.eclipse.osgi/bundles/13/1/.cp/scriptutil/scriptutil.jar
1.4
-nodeployejbWASX7017E: Exception received while running file “C:\Program Files\Genuitec\Common\plugins\com.genuitec.eclipse.blue.websphere7_8.5.0.me201003250241\installEAR.jacl”; exception information: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: dd_in_ear_load_EXC_
—————————————————————————————————————–
MyEclipse: deployment END project: RxSolApp server: websphere7Server#CHPServer time: Tue Jan 17 16:56:20 IST 2012
—————————————————————————————————————–Please look into this issue.
Thanks,
Nagendra
support-swapnaModeratorNagendra,
Thank you for the details.
1) Does your EAR project contain EJB classes or just web classes ?
2) Can you please recheck if any of your projects/jars is missing ?
3) Can you check deployment folder and see if the EAR structure is as you expect (i.e. all jars are deployed to proper location)?
4) Can you create an EAR with J2EE 1.4 spec and check if you still see the issue ?
Let us know how it works for you.
NagendraMember@support-swapna wrote:
Nagendra,
Thank you for the details.
1) Does your EAR project contain EJB classes or just web classes ?
2) Can you please recheck if any of your projects/jars is missing ?
3) Can you check deployment folder and see if the EAR structure is as you expect (i.e. all jars are deployed to proper location)?
4) Can you create an EAR with J2EE 1.4 spec and check if you still see the issue ?
Let us know how it works for you.
Hi Swapna,
EAR related problems got resolved now. It was some issue with build.xml. now EAR is creating as I am expecting.
EAR containing only web classes no EJB classes.
Now below error is giving when I do redeploying the application.
===================================================
Undeployment Failure
=====================RxSolApp could not be redeployed because it could not be completly 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 undeployment you will need to stop the server and then redeploy the project before starting the server..
Error as per Deployment.log
======================
——————————————————————————————————————————
MyEclipse: deployment START packaged project: RxSolApp server: websphere7Server#CHP_Servers time: Mon Jan 23 14:47:10 IST 2012
——————————————————————————————————————————
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: “[C:\\Program Files\\IBM\\WebSphere 7.0\\AppServer\\profiles\\AppSrv01\\installableApps\\RxSolApp.ear, LHX00CND130C6JPNode01Cell, LHX00CND130C6JPNode01, server1, RxSolApp, {{“RxSolWeb.war” “RxSolWeb.war,WEB-INF/web.xml” default_host}}, {{.* .* AppDeploymentOption.Yes 1}}, false, false, false, C:/Program Files/Genuitec/MyEclipse Blue Edition 8.5/configuration/org.eclipse.osgi/bundles/10/1/.cp/scriptutil/scriptutil.jar, 1.4]”
C:\Program Files\IBM\WebSphere 7.0\AppServer\profiles\AppSrv01\installableApps\RxSolApp.ear
LHX00CND130C6JPNode01Cell
LHX00CND130C6JPNode01
server1
RxSolApp
{“RxSolWeb.war” “RxSolWeb.war,WEB-INF/web.xml” default_host}
{.* .* AppDeploymentOption.Yes 1}
-nopreCompileJSPs -distributeApp -useMetaDataFromBinary -nodeployejb -appname “RxSolApp” -createMBeansForResources -reloadEnabled -reloadInterval 1 -deployws -validateinstall off -noprocessEmbeddedConfig -filepermission .*.dll=755#.*.so=755#.*.a=755#.*.sl=755 -buildVersion Unknown -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -MapWebModToVH {{“RxSolWeb.war” “RxSolWeb.war,WEB-INF/web.xml” default_host}} -JSPReloadForWebMod {{.* .* AppDeploymentOption.Yes 1}}
false
false
false
C:/Program Files/Genuitec/MyEclipse Blue Edition 8.5/configuration/org.eclipse.osgi/bundles/10/1/.cp/scriptutil/scriptutil.jar
1.4
-nodeployejbWASX7017E: Exception received while running file “C:\Program Files\Genuitec\Common\plugins\com.genuitec.eclipse.blue.websphere7_8.5.0.me201003250241\installEAR.jacl”; exception information: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: dd_in_ear_load_EXC_
——————————————————————————————————————-
MyEclipse: deployment END project: RxSolApp server: websphere7Server#CHP_Servers time: Mon Jan 23 14:47:52 IST 2012
——————————————————————————————————————-Please look into this issue.
Thanks,
Nagendra P
support-swapnaModeratorpnknaga,
Sorry that you are seeing this issue.
The issue rises due to improper shutdown/undeploy of project on the WAS server. Can you stop the server, remove the project from deployment and then try to redeploy it ?
Let us know how this works for you.
NagendraMember@support-swapna wrote:
pnknaga,
Sorry that you are seeing this issue.
The error happens when the undeployment is unsuccessful. Can you stop the server, remove the project from deployment and then try to redeploy it ?
Let us know how this works for you.
Swapna,
Even I tried with this option, but still the application is not getting deployed into the server location [ WebSphere enterprise applications ]. but application is showing in Eclipse– Server Location.
Please see below deployment.log
——————————————————————————————————————————
MyEclipse: deployment START exploded project: RxSolApp server: websphere7Server#CHP_Servers time: Tue Jan 24 09:48:20 IST 2012
——————————————————————————————————————————
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: “[C:\Program Files\IBM\WebSphere 7.0\AppServer\profiles\AppSrv01\installableApps\RxSolApp.ear, LHX00CND130C6JPNode01Cell, LHX00CND130C6JPNode01, server1, RxSolApp, {{“RxSolWeb.war” “RxSolWeb.war,WEB-INF/web.xml” default_host}}, {{.* .* AppDeploymentOption.Yes 1}}, false, false, true, C:/Program Files/Genuitec/MyEclipse Blue Edition 8.5/configuration/org.eclipse.osgi/bundles/10/1/.cp/scriptutil/scriptutil.jar, 1.4]”
C:\Program Files\IBM\WebSphere 7.0\AppServer\profiles\AppSrv01\installableApps\RxSolApp.ear
LHX00CND130C6JPNode01Cell
LHX00CND130C6JPNode01
server1
RxSolApp
{“RxSolWeb.war” “RxSolWeb.war,WEB-INF/web.xml” default_host}
{.* .* AppDeploymentOption.Yes 1}
-nopreCompileJSPs -distributeApp -useMetaDataFromBinary -nodeployejb -appname “RxSolApp” -createMBeansForResources -reloadEnabled -reloadInterval 1 -deployws -validateinstall off -noprocessEmbeddedConfig -filepermission .*.dll=755#.*.so=755#.*.a=755#.*.sl=755 -buildVersion Unknown -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -MapWebModToVH {{“RxSolWeb.war” “RxSolWeb.war,WEB-INF/web.xml” default_host}} -JSPReloadForWebMod {{.* .* AppDeploymentOption.Yes 1}}
false
false
true
C:/Program Files/Genuitec/MyEclipse Blue Edition 8.5/configuration/org.eclipse.osgi/bundles/10/1/.cp/scriptutil/scriptutil.jar
1.4
-nodeployejbWASX7017E: Exception received while running file “C:\Program Files\Genuitec\Common\plugins\com.genuitec.eclipse.blue.websphere7_8.5.0.me201003250241\installEAR.jacl”; exception information: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: dd_in_ear_load_EXC_
——————————————————————————————————————-
MyEclipse: deployment END project: RxSolApp server: websphere7Server#CHP_Servers time: Tue Jan 24 09:49:00 IST 2012
——————————————————————————————————————-Thanks,
Nagendra
support-swapnaModeratorNagendra,
Sorry that you are seeing this issue.
Can you clarify if you have created an EAR with J2EE 1.4 spec and checked if the deployment is working ?
Let us know how it works for you.
NagendraMember@support-swapna wrote:
Nagendra,
Sorry that you are seeing this issue.
Can you clarify if you have created an EAR with J2EE 1.4 spec and checked if the deployment is working ?
Let us know how it works for you.
Yes Swapna I am creating EAR file with J2EE1.4 spec. If I deploy in websphere console then application is working fine. But it is not getting deployed only when i am trying to deploy through Eclipse.
Please help us in resolving this issue.
Thanks,
Nagendra
support-tonyKeymasterNagendra,
In your first post, it looked like your project was getting deployed OK but that you weren’t seeing updates. Later on, you started getting the deployment problem. Can you provide information on when the problem shifted to the deployment error?
Also, you mentioned following the tutorial steps to configure the WebSphere 7 connector. As you pointed out, that tutorial is for WebSphere 6 and later WebSphere connectors don’t require as much set-up. Also, it’s not necessary to install the application from the WebSphere admin console, the MyEclipse deployment should be all that is needed. Could you state which steps you followed from the tutorial, and what you did differently?
One thing to check is that you specified the WebSphere JDK in the connector, as mentioned in the WebSphere 6 tutorial (though the JDK name will be different for WebSphere 7).
Please provide your MyEclipse installation details (MyEclipse->Installation Summary->Installation Details), as your environment may be a factor.
NagendraMember@support-tony wrote:
Nagendra,
In your first post, it looked like your project was getting deployed OK but that you weren’t seeing updates. Later on, you started getting the deployment problem. Can you provide information on when the problem shifted to the deployment error?
Also, you mentioned following the tutorial steps to configure the WebSphere 7 connector. As you pointed out, that tutorial is for WebSphere 6 and later WebSphere connectors don’t require as much set-up. Also, it’s not necessary to install the application from the WebSphere admin console, the MyEclipse deployment should be all that is needed. Could you state which steps you followed from the tutorial, and what you did differently?
One thing to check is that you specified the WebSphere JDK in the connector, as mentioned in the WebSphere 6 tutorial (though the JDK name will be different for WebSphere 7).
Please provide your MyEclipse installation details (MyEclipse->Installation Summary->Installation Details), as your environment may be a factor.
Hi Tony,
Thanks for supporting us.
Please see below installation details and JDK Version.*** Date:
Monday, January 30, 2012 9:40:21 AM IST** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Blue Edition
Version: 8.5 Blue
Build id: 8.5-Blue-20100319*** Eclipse details:
MyEclipse Blue EditionVersion: 8.5 Blue
Build id: 8.5-Blue-20100319Eclipse Platform
Version: 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB
Build id: M20100211-1343Eclipse Java Development Tools
Version: 3.5.2.r352_v20100108-7r88FEwFI0WTuoBl0iaG0tyhfZH6
Build id: M20100211-1343Eclipse Plug-in Development Environment
Version: 3.5.2.R35x_v20100119-7Z7_FA2FDX-aXQYWqYDBz-z0qufo
Build id: M20100211-1343Eclipse Graphical Editing Framework GEF
Version: 3.5.2.v20100111-1352-777928194B66D5D476C33B2A
Build id: 201001111753Eclipse RCP
Version: 3.5.2.R35x_v20100119-9SA0FxwFnoCU5XxWItFdXXb27BA6
Build id: M20100211-1343Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5\myeclipse-blue.exe
-name
Myeclipse-blue
–launcher.library
C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup
C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-install
C:/Program Files/Genuitec/MyEclipse Blue Edition 8.5
-configuration
configuration
-vm
C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll———————————————————————————————————————————————
Java Build Path => Libraries => JRE System Library [WebSphere 7 JDK]Please let me know if you need any more details.
Thanks,
Nagendra
support-tonyKeymasterNagendra,
Thanks for the installation details.
Unfortunately, you didn’t answer any of my other questions:
1. Your problem appeared to shift from not seeing edited changes in your deployed application, to not being able to deploy at all. When did the problem change? What exactly stopped deployment working?
2. You said you followed the tutorial on WebSphere 6 setup. Not all of the steps are applicable to WebSphere 7 so which steps did you follow and which steps did you omit or do differently?
3. You provided your project classpath but did you ensure the the WebSphere server connector JDK is set to the WebSphere 7 JDK? This was one of the steps in the setup tutorial, though the server connectors are set up slightly differently in later MyEclipse releases.
NagendraMember@support-tony wrote:
Nagendra,
Thanks for the installation details.
Unfortunately, you didn’t answer any of my other questions:
1. Your problem appeared to shift from not seeing edited changes in your deployed application, to not being able to deploy at all. When did the problem change? What exactly stopped deployment working?
–> Tony, actually my problem has not shifted. My aim is to do auto deploy when i do some changes in MyEclipse tool. Current problem is when i start redeploying the application, application is not deleting from the server. same error log i have pasted in my previous threads.2. You said you followed the tutorial on WebSphere 6 setup. Not all of the steps are applicable to WebSphere 7 so which steps did you follow and which steps did you omit or do differently?
–> I have followed almost same steps as per the WebSphere 6 steps. Could you please let me know if i need to do any steps differntly.
3. You provided your project classpath but did you ensure the the WebSphere server connector JDK is set to the WebSphere 7 JDK? This was one of the steps in the setup tutorial, though the server connectors are set up slightly differently in later MyEclipse releases.
–> Could you please let me know, how can I ensure WebSphere server connector JDK.
Thanks,
Nagendra
support-tonyKeymasterNagendra,
To check the JDK set in the server connector, go to MyEclipse->Preferences->MyEclipse->Servers->WebSphere->WebSphere 7.0. Then select the profile you’re using and click Edit. Click Next, then Next again and this should be the JDK page, which should have the WebSphere 7 JDK specified.
When I asked about which tutorial steps you performed differently, it was because not all of the steps can be carried out exactly in the way the tutorial mentioned for WebSphere 6. Also, the steps regarding deployment through the WebSphere admin console are not needed for your release of MyEclipse Blue. So I was asking what you did differently, since you must have performed some steps differently.
So, if your server connector is configured OK, you should be all set. If you still have the problem. Can you try a new simple Web project: just create a Web project, with any name. This will create a basic web application with an index.jsp file. Try to deploy this to WebSphere 7 and bring up the Web page for the application. Then change the index.jsp file, save it, then refresh the Web page to see if your change made it. You should also try adding a class and include a reference to it in the index.jsp file, redeploy then see if saved changes to the class show up when you refresh the page.
Please let me know if this works for you.
There is a slightly more up to date tutorial on-line:
http://www.myeclipseide.com/documentation/quickstarts/blueedition/blue_connectors/. However, the screenshots in that tutorial are from an earlier release of MyEclipse Blue than you are using. For a more recent tutorial, you can download and install release 10 of MyEclipse Blue; the tutorial is in the help that is included with that release. Your subscription will allow you to install all releases of MyEclipse Blue, while the subscription is valid.
NagendraMember@support-tony wrote:
Nagendra,
To check the JDK set in the server connector, go to MyEclipse->Preferences->MyEclipse->Servers->WebSphere->WebSphere 7.0. Then select the profile you’re using and click Edit. Click Next, then Next again and this should be the JDK page, which should have the WebSphere 7 JDK specified.
When I asked about which tutorial steps you performed differently, it was because not all of the steps can be carried out exactly in the way the tutorial mentioned for WebSphere 6. Also, the steps regarding deployment through the WebSphere admin console are not needed for your release of MyEclipse Blue. So I was asking what you did differently, since you must have performed some steps differently.
So, if your server connector is configured OK, you should be all set. If you still have the problem. Can you try a new simple Web project: just create a Web project, with any name. This will create a basic web application with an index.jsp file. Try to deploy this to WebSphere 7 and bring up the Web page for the application. Then change the index.jsp file, save it, then refresh the Web page to see if your change made it. You should also try adding a class and include a reference to it in the index.jsp file, redeploy then see if saved changes to the class show up when you refresh the page.
Please let me know if this works for you.
There is a slightly more up to date tutorial on-line:
http://www.myeclipseide.com/documentation/quickstarts/blueedition/blue_connectors/. However, the screenshots in that tutorial are from an earlier release of MyEclipse Blue than you are using. For a more recent tutorial, you can download and install release 10 of MyEclipse Blue; the tutorial is in the help that is included with that release. Your subscription will allow you to install all releases of MyEclipse Blue, while the subscription is valid.Tony,
Thanks for the details.
I have verified the JDK in the above specified location. It is showing as WebSphere 7 JDK.
and coming to auto deployment, I have created sample webapplication and deployed into the server. After that I have modified the index.jsp and re-deployed using the Eclipse tool. It is successfully re-deployed, BUT the modified .jsp is NOT showing in the browser.
All these I am doing Classic Mode and Exploded and Debug Mode.Please let me know If I need to do any more changes.
We are using the licenced version of MyEclipse Blue. Here If I goto Help –> Help Contents –> Deploying & Running Enterprise Applications –> WebSphere 5.x, 6.0 and 6.1 Tutorial. Here also it is showing old tutorial only..
Thanks,
Nagendra -
AuthorPosts