Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » WTP 1.0RC4 ear deployment error
WTP 1.0RC4 ear deployment error [message #152309] Wed, 14 December 2005 15:43 Go to next message
Janny Buh is currently offline Janny BuhFriend
Messages: 9
Registered: July 2009
Junior Member
I'm testing the new wtp following the "Building a CMP based school
schedule webapp" tutorial and I've found an issue related to module naming
and deployment of an ear archive.
I found that the ".component" file, located into the ".settings" dir of
the project, instructs the wtp for some deployment and naming settings. In
particular, I suppose that the <wb-module deploy-name="..."> should be the
name of the artifact created by wtp while the <property
name="context-root" value="..."/> should be the value of the context-root
for a web application.
I've noticed that the deploy-name is used for setting the ejb-module (the
display-name attribute) but NOT for naming the artifact, which reflects
the name used for the eclipse project.
For web-modules, the deploy-name is simply ignored and for naming both
module and artifact the context-root property is used instead.
When i try to create an ear archive, i can select which modules to include
choosing from opened eclipse projects but both "jar/module" and "project"
columns are always named the same (the jar/module values are used to
create the application.xml file). The result is that the ejb-module is
always correctly deployed into the ear archive, because the artifact is
named as the eclipse project (the deploy-name is ignored), but the
web-module can be potentially broken because the artifact is named as the
context-root property (deploy-name is ignored) and this could be not the
same of the eclipse project name...
Re: WTP 1.0RC4 ear deployment error [message #152664 is a reply to message #152309] Sat, 17 December 2005 03:01 Go to previous messageGo to next message
Dave Dunkin is currently offline Dave DunkinFriend
Messages: 13
Registered: July 2009
Junior Member
I'm having the same problem with 1.0RC5: the deploy-name is being
ignored. I used this feature with 0.7.0. Is it supposed to still work?
Do I need to file a bug?

Dave

Janny wrote:
> I'm testing the new wtp following the "Building a CMP based school
> schedule webapp" tutorial and I've found an issue related to module
> naming and deployment of an ear archive.
> I found that the ".component" file, located into the ".settings" dir of
> the project, instructs the wtp for some deployment and naming settings.
> In particular, I suppose that the <wb-module deploy-name="..."> should
> be the name of the artifact created by wtp while the <property
> name="context-root" value="..."/> should be the value of the
> context-root for a web application.
> I've noticed that the deploy-name is used for setting the ejb-module
> (the display-name attribute) but NOT for naming the artifact, which
> reflects the name used for the eclipse project.
> For web-modules, the deploy-name is simply ignored and for naming both
> module and artifact the context-root property is used instead.
> When i try to create an ear archive, i can select which modules to
> include choosing from opened eclipse projects but both "jar/module" and
> "project" columns are always named the same (the jar/module values are
> used to create the application.xml file). The result is that the
> ejb-module is always correctly deployed into the ear archive, because
> the artifact is named as the eclipse project (the deploy-name is
> ignored), but the web-module can be potentially broken because the
> artifact is named as the context-root property (deploy-name is ignored)
> and this could be not the same of the eclipse project name...
>
Re: WTP 1.0RC4 ear deployment error [message #152806 is a reply to message #152664] Mon, 19 December 2005 15:13 Go to previous messageGo to next message
Janny Buh is currently offline Janny BuhFriend
Messages: 9
Registered: July 2009
Junior Member
Dave Dunkin wrote:
> I'm having the same problem with 1.0RC5: the deploy-name is being
> ignored. I used this feature with 0.7.0. Is it supposed to still work?
> Do I need to file a bug?

Uhm, I was going to test RC5 for this bug but it seems that has not been
fixed. Is deploy-name still ignored for both ejb and web modules?
As for RC4, ejb artifacts are named as the eclipse project name while web
artifacts are named as the context-root attribute.
As I've reported, this can lead to erroneous deployment in ear artifacts
if the assigned context-root for web modules differs from the project
name...
Re: WTP 1.0RC4 ear deployment error [message #152848 is a reply to message #152806] Mon, 19 December 2005 18:26 Go to previous message
Dave Dunkin is currently offline Dave DunkinFriend
Messages: 13
Registered: July 2009
Junior Member
Janny wrote:
> Dave Dunkin wrote:
>
>> I'm having the same problem with 1.0RC5: the deploy-name is being
>> ignored. I used this feature with 0.7.0. Is it supposed to still work?
>> Do I need to file a bug?
>
>
> Uhm, I was going to test RC5 for this bug but it seems that has not been
> fixed. Is deploy-name still ignored for both ejb and web modules?
> As for RC4, ejb artifacts are named as the eclipse project name while
> web artifacts are named as the context-root attribute.
> As I've reported, this can lead to erroneous deployment in ear artifacts
> if the assigned context-root for web modules differs from the project
> name...
>

This is addressed by bug 119250.

Dave
Previous Topic:Pollinate gone ??
Next Topic:cannot add weblibraries or deploy exisiting app
Goto Forum:
  


Current Time: Thu Mar 28 21:29:39 GMT 2024

Powered by FUDForum. Page generated in 0.02636 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top