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

Summary: Running Tutorial example for Durable Consumer
Product: serverplugins Reporter: i262666
Component: GlassFishAssignee: Petr Hejl <phejl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

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.