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 214207 - Missing items in Resources node for GlassFish Cluster and Standalone instance
Summary: Missing items in Resources node for GlassFish Cluster and Standalone instance
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Vince Kraemer
Depends on:
Reported: 2012-06-14 13:00 UTC by Vladimir Riha
Modified: 2015-09-17 13:10 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

IDE log (59.48 KB, text/x-log)
2012-12-20 13:14 UTC, Vladimir Riha
resources file (2.23 KB, text/xml)
2012-12-20 13:15 UTC, Vladimir Riha

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-06-14 13:00:55 UTC
I followed TS specification for GlassFish

- create Java Web Project, add resources as described here: [1] (section Resources)
- now if you deploy the application to regular GlassFish, you can see in Services window under [glassFish]/Resources/JavaMail Sessions that there is the mail/mySession

However if you create a cluster or a standalone instance as described here [2]
and deploy the mentioned application to either cluster or standalone instance, there is nothing under [cluster]/Resources/JavaMail Sessions


Product Version: NetBeans IDE Dev (Build 201206140001)
Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21
System: Linux version 3.0.0-21-generic-pae running on i386; UTF-8; en_US (nb)
GlassFish 3.1.2
Comment 1 piotrik 2012-11-23 15:02:50 UTC
Do you still experience this issue? I was unable to reproduce it. If yes, cold you please attach your glassfish-resources.xml?
Comment 2 Vladimir Riha 2012-11-26 16:38:26 UTC
I have some troubles with cluster, I'll try it again tomorrow. Feel free to resolve it as INCOMPLETE/WORKSFORME in the meantime.  Thanks
Comment 3 Vladimir Riha 2012-11-27 14:11:26 UTC
It works fine now, the JavaMail resource is correctly there

Product Version: NetBeans IDE Dev (Build 201211270002)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b17
System: Linux version 3.2.0-33-generic-pae running on i386; UTF-8; en_US (nb)
Comment 4 piotrik 2012-11-27 14:55:16 UTC
works fine now
Comment 5 Vladimir Riha 2012-12-20 13:14:40 UTC
Sorry, I just saw it on Windows8, JavaMail Sessions node in empty. Perhaps it is somehow random? I'm attaching IDE log and glassfish-resources.xml

Product Version: NetBeans IDE Dev (Build web-main-9571-on-20121219)
Java: 1.7.0_10; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18
System: Windows 8 version 6.2 running on amd64; Cp1252; en_US (nb)
Comment 6 Vladimir Riha 2012-12-20 13:14:56 UTC
Created attachment 129580 [details]
IDE log
Comment 7 Vladimir Riha 2012-12-20 13:15:14 UTC
Created attachment 129581 [details]
resources file
Comment 8 Martin Balin 2015-09-17 13:10:02 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.