This thread has been locked & this forum has been archived.
Please post new topics to General Development
Author Message
Paul_P
Registered Member
Registered Member


Joined: Nov 09, 2007
Posts: 17

Hi,

I have a problem with MyEclipse's deployment plugin for WebSphere Application Server Version 6.1 (WAS 6.1). I created a local WAS 6.1 profile and a Standalone Application Server in that profile, just as described in the tutorial on http://www.myeclipseide.com/documentation/quickstarts/websphere6/. I deployed the application exactly as described: first a packaged deployment (step 1) and then an exploded deployment (step 2). The deployment and hot deployment process for Java classes and JSP files, xml files (struts-config.xml & Co.) work.

What doesn't work is the deployment (normal deployment or hot deployment) of the file web.xml. If I change this file, and then restart the server, the changes are ignored. For instance, if I add a servlet definition the servlet is ignored.

I searched for the problem cause. I found out that, aside of the exploded directory, which is created upon the packaged EAR installation (step 1 above), WAS 6.1 saves application configuration files in another directory, too. The entire directory <WebRoot>\WEB-INF, without its subdirectories, is saved in the following "backup directory":

<WAS-Root>\profiles\<profile-name>\config\cells\<cell-name>\applications\<app-name>\deployments\<EAR-name>\<WAR-name>\WEB-INF

The exploded directory, in which the application is installed, is:

<WAS-Root>\profiles\<profile-name>\installedApps\<cell-name>\<EAR-name>\<WAR-name>

In the exploded directory (including the subdirectory WEB-INF), the files are automatically updated by MyEclipse in the process of hot deployment. web.xml is updated, too.

The problem is, that WAS 6.1 uses the web.xml from the backup directory and not from the exploded directory. Because the backup directory is created only upon the installation of the EAR file (step 1) and not updated, and because web.xml is taken from the backup directory, the hot deployment of web.xml doesn't work.

Can this problem be solved?

Thanks & Regards,

Paul P.



PS. My system details are:

*** Date:
Wednesday, November 28, 2007 5:58:39 PM CET

** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.0.1 GA
Build id: 6.0.1-GA-200710


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 6.0.1 GA
Build id: 6.0.1-GA-200710




Eclipse Platform

Version: 3.3.1.R33x_r20070911-_19UEkpF-B7Uh2hKy75y
Build id: M20070921-1145


Eclipse RCP

Version: 3.3.1.R33x_r20070802-8y8eE8sEV3Fz0z0GlHJrXvTAUS
Build id: M20070921-1145


Eclipse Java Development Tools

Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
Build id: M20070921-1145


Eclipse Plug-in Development Environment

Version: 3.3.1.R33x_r20070802-7N7M3D1VIA_52JsDFsEC
Build id: M20070921-1145


Eclipse Project SDK

Version: 3.3.1.R33x_r20070802-7M7J78_mu1mnlRa7A4Ns52XeZ6D0
Build id: M20070921-1145


Eclipse Graphical Editing Framework

Version: 3.3.1.v20070814
Build id: 20070814-1555




Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
D:\MyEclipse6.0\eclipse\eclipse.exe
-name
Eclipse
--launcher.library
D:\MyEclipse6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.1.R33x_v20070828\eclipse_1020.dll
-startup
D:\MyEclipse6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-exitdata
1668_6c
-vm
d:\MyEclipse6.0\jre\bin\javaw.exe
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8010

Paul,
Thank you for this notice. We are researching it and will provide a solution in the next release.

FYI: Last week we announced plans for the MyEclipse-Blue edition which provides much improved support for WebSphere application administration and deployment and will work directly with the WebSphere technology stack.
http://www.infoworld.com/article/07/11/21/Genuitec-tailors-MyEclipse-toolset-for-WebSphere_1.html

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Paul_P
Registered Member
Registered Member


Joined: Nov 09, 2007
Posts: 17

Nipun,

thanks for your message. As we heard, the first release of MyEclipse Blue Edition is scheduled for Mid March. We bought a number of MyEclipse 6.0.1 licenses and are using it in our everyday development. After MyEclipse Blue will come out, we will try it and probably upgrade our subscriptions.

It would though be important for us that this bug be fixed as soon as possible. I suppose, that will take place in the next release of MyEclipse, so before the Blue Edition. Is that right? When will the next MyEclipse Version come out?

Thanks & Regards,

Paul P.
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

Paul,
We are working to get this WAS-specific behavior into Blue Edition, but the good news is that we are targeting a mid-Jan release for Blue. Our 6.1 release we are shooting for March/April.

I believe should have a milestone for Blue out before the final release, so any feedback you could give us during testing would be appreciated if possible when that happens.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
rkathler
Registered Member
Registered Member


Joined: Dec 19, 2005
Posts: 2

Adding to issue above that Paul has listed, I have a problem that is related.

App Server that I have - Websphere 61 on Windows XP Professional and Intel hardware.

I followed the directions on the below url http://www.myeclipseide.com/documentation/quickstarts/websphere6/ to configure my Websphere 61 (not 60) server

I wanted to do the Enterprise Sync-on-Demand Development as explained in the above URL. For some reason the MyEclipse 61 connector links to 2 different directories for Package and Exploded views.
For Packaged View it points to - C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv02\installableApps
For Exploded View it points to - C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps
One is "installableApps" and one is "installedApps".
So with this I am not able to do the following instruction as documented in the MyEclipse documentation listed on the above URL.
"So, in order to be able to install to WebSphere (and other application servers that require installation of EARs) and still gain the benefit of Exploded deployment, we need to do a little trick to "overlay" an exploded deployment ontop of an existing installed application. "

My question is - How do i configure MyEclipse to change the "Exploded" and the "Packaged" to the same directory to "overlay" or is there another way to do this?
Any help is greatly appreciated.
Thanks
Raj
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

Raj,
You don't need to worry about changing the directory. What you do is first deploy the packaged deployment, it will be put in "installableApps", you then login to WAS Admin Console and *install* the app. Now you remove the packaged deployment and redeploy an exploded deployment, it will automatically overlay ontop of where WAS installed the packaged app: "installedApps"

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
rkathler
Registered Member
Registered Member


Joined: Dec 19, 2005
Posts: 2

Awesome.
Thanks Riyad.
That did the trick. I was thinking too much and got ahead of me.
Thanks
Raj
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

No problem, glad it helped.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Paul_P
Registered Member
Registered Member


Joined: Nov 09, 2007
Posts: 17

Hi,

we upgraded to MyEclipse Blue Edition. We are using MyEclipse 6.5.1 Blue-GA-20080715. Now some of my colleagues are working with IBM WebSphere Portal, Version 6.0.1.3. They have the same problem with WebSphere Portal:

Some configuration files, particularly web.xml, portlet.xml und struts-config.xml, are saved upon installation in the following backup directory:
<WebSpherePortalRoot>\profiles\<profileName>\config\cells\<cellname>\applications\<AppName>\deployments\<AppEAR>\

As described in my previous messages, MyEclipse Blue use these files in the deployment process from the above directory, instead of the exploded deployment directory. This leads to the fact that when we change these configuration files, the old files are still used and the new ones are ignored.

To solve this problem, the HotDeployment Plugin of MyEclipse Blue should IMHO copy the configuration files to the backup directory as well, not only to the Exploded Deployment Directory.

Can you please deliver a patch that solves this problem?

Many thanks in advance,

Paul P
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

Paul,

I believe a solution to this issue is on our roadmap, I'll ping the Blue dev team to double check however.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Paul_P
Registered Member
Registered Member


Joined: Nov 09, 2007
Posts: 17

Hi rkhalla,

I'm sorry, but this is not what I expected. For one year, you have been writing that you plan to fix this problem in the next release. Unfortunately, this didn't happen, neither for WAS nor for the WebSphere Portal, neither in MyEclipse nor in the Blue Edition. This problem is costing our company every day time, nerves and money. We need to know when this problem will be solved, in order to be able to calculate reliably the work efficiency on our projects.

Please provide us with an exact release date for this bugfix.

Thanks in advance,

Paul P
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

Paul,

I'm discussing/evaluating this with management right now. Will need to wait on them for full evaluation.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Paul_P
Registered Member
Registered Member


Joined: Nov 09, 2007
Posts: 17

Hi Riyad,

we have been waiting for two weeks now. How long do your management need for the "full evaluation" you are mentioning?

Please give us a quick answer.

Thank you,

Paul
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

Paul,

Management did assess it and will try and address it in November for the 7.0GA release. So I do have a pending commitment out of them now.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Paul_P
Registered Member
Registered Member


Joined: Nov 09, 2007
Posts: 17

Hi Riyad,

has the bug been fixed in 7.0GA? When exactly will 7.0GA be (or has been) released?

Thanks,

Paul
 
 View user's profile Send private message  
Reply with quote Back to top
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Goto page 1, 2  Next
® 2014 - Genuitec, LLC.