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.
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 [1] http://wiki.netbeans.org/TS_72_GlassFish#Test_suite:_Deployment [2] http://wiki.netbeans.org/TS_72_GlassFish#Test_suite:_GlassFish_Cluster 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
Do you still experience this issue? I was unable to reproduce it. If yes, cold you please attach your glassfish-resources.xml?
I have some troubles with cluster, I'll try it again tomorrow. Feel free to resolve it as INCOMPLETE/WORKSFORME in the meantime. Thanks
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)
works fine now
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)
Created attachment 129580 [details] IDE log
Created attachment 129581 [details] resources file
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.