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 259086 - Running Tutorial example for Durable Consumer
Summary: Running Tutorial example for Durable Consumer
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-02 01:45 UTC by i262666
Modified: 2016-07-27 22:02 UTC (History)
0 users

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 i262666 2016-05-02 01:45:32 UTC
Reproducibility: Happens every time

Product Version = NetBeans IDE 8.1.1 
Operating System = Windows 7 version 6.1 running on amd64

I used asadmin to build the DurableConnectionFactory. It was successful and asadmin list-jms-resources shows it as jms/DurableConnectionFactory.

However, NetBeans IDE does not show it in the Servers>Resorses>Connectors>Connector Resources.

It seems that the new resource should be registered when the project runs. However, the run abends with the exception 
"Lookup failed for 'jms/DurableConnectionFactory' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi ......." 

What is also strange - there is no glassfish-resource.xml file being created inside the META-INF directory.