Bug 1124501 - Duplicate Name: The name "GreetingService" must be unique among services, references and component services.
Summary: Duplicate Name: The name "GreetingService" must be unique among services, ref...
Keywords:
Status: NEW
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: SwitchYard
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Keith Babo
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-29 16:00 UTC by Tomas Rohovsky
Modified: 2016-01-04 07:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
JBoss Issue Tracker SWITCHYARD-2237 Major Open Duplicate Name: The name "GreetingService" must be unique among services, references and component services. 2015-04-30 14:02:13 UTC
Red Hat Bugzilla 1153675 None None None Never

Internal Links: 1153675

Description Tomas Rohovsky 2014-07-29 16:00:08 UTC
I have two composite services and two component services (each associated to a component with different implementation) - all services have the same name. The tooling shows error markers with the message: "Duplicate Name: The name "GreetingService" must be unique among services, references and component services."

But it is possible to deploy such an application, with no warning from the maven-switchyard-plugin and no warning from the runtime. If bindings on those services are invoked (each contains HTTP binding with a different context path), then one component implementation is invoked each time.

It should be disallowed to deploy such an application.

See the attached reproducer for more details.


Note You need to log in before you can comment on or make changes to this bug.