| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| Quote: |
| It is successfully re-deployed, BUT the modified .jsp is showing in the browser. |
| Quote: |
| It is successfully re-deployed, BUT the modified .jsp is showing in the browser./quote]
If the modified .jsp file is showing in the browser (after you refresh the browser page) then that is what you want, isn't it? However, you should not need to redeploy, just make the change, save the change, wait a couple of seconds then refresh the browser and the changed page will be shown in the browser. Note that this only works if the server is started in debug mode. If this all works for the simple project, then see if you can follow the same steps for your existing project. Ensure it is completely undeployed first (you might need to do this from the admin console if the MyEclipse remove deployment function doesn't complete successfully. Or you can just delete it from the deployment directory after shutting down the server. Another thing you could try is to create a new workspace and import your projects from the old workspace. You may have to set up your server connector again but this should get rid of any saved settings that might be causing problems. Then you can deploy your project in the same way as you deployed the simple web project. Yes, the help page is an old tutorial but is more recent that the one you linked to in your first post and should be generally correct except that the server connector configuration pages screenshots are a bit different. If you still have problems, it might be worth trying to go through that tutorial, adjusting for the different server connector pages. You might also consider installing MyEclipse Blue 10 and seeing how you get on with that. |