This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250162 - MDB configuring a JMS topic the subscription property generated incorrectly to durable instead of Durable
Summary: MDB configuring a JMS topic the subscription property generated incorrectly t...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 250279 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-02-02 14:57 UTC by AnjanaShenoy
Modified: 2015-06-04 12:26 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description AnjanaShenoy 2015-02-02 14:57:16 UTC
While creating a MDB as below:

Right-click on the web project, select New-GLassFish->JMS resource-MDB.
Configure the destination of the MDB to Topic and select the subscription property to durable.
Examine the code generated:

@ActivationConfigProperty(
            propertyName = "subscriptionDurability ", propertyValue = "durable"),

Deploy the project to GlassFish 4.1 it generates an exception..IllegalArgument Exception, setSubscriptionArgument: Invalid setsubscriptionDurability=durable=invalid


If it is set correctly to Durable the application is deployed successfully.
Comment 1 Tomas Mysik 2015-05-25 09:10:55 UTC
Seems to me to be a Glassfish issue, please evaluate. Thanks.
Comment 2 Petr Hejl 2015-05-29 14:30:07 UTC
Fixed in web-main 9fe927dfd4f8.
Comment 3 Quality Engineering 2015-05-30 10:04:44 UTC
Integrated into 'main-silver', will be available in build *201505300811* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9fe927dfd4f8
User: Petr Hejl <phejl@netbeans.org>
Log: #250162 - MDB configuring a JMS topic the subscription property generated incorrectly to durable instead of Durable
Comment 4 Petr Hejl 2015-06-04 12:26:40 UTC
*** Bug 250279 has been marked as a duplicate of this bug. ***