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 226246

Summary: GlassFish server does not return Java EE classpath
Product: serverplugins Reporter: David Konecny <dkonecny>
Component: GlassFishAssignee: TomasKraus
Status: RESOLVED FIXED    
Severity: normal CC: pjiricka
Priority: P1 Keywords: REGRESSION
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description David Konecny 2013-02-18 05:12:16 UTC
Create new Java Web project for GlassFish server (I think version does not matter but I'm using 3.1.2.2) and create in it empty session singleton bean - the class will be marked with compilation error "package javax.ejb does not exist". This make Java Web project unusable as no compilation works.

Product Version: NetBeans IDE Dev (Build 20130218-2db966432258)
Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02
Runtime: Java(TM) SE Runtime Environment 1.6.0_26-b03
System: Linux version 3.2.0-37-generic running on amd64; UTF-8; en_NZ (nb)
User directory: /home/dev/main/nbbuild/testuserdir
Cache directory: /home/dev/main/nbbuild/testuserdir/var/cache
Comment 1 Petr Jiricka 2013-02-18 09:09:29 UTC
This is really basic functionality that needs to be covered by unit tests. Regressions in the area are not acceptable.
Comment 2 TomasKraus 2013-02-18 12:29:13 UTC
I can reproduce this with trunk build. will fix asap.
Comment 3 TomasKraus 2013-02-18 12:37:26 UTC
Problem seems to be coming from inconsistency between SDK library and trunk after I added some new functionality.
This is already fixed in javaee7 branch and will be fixed in trunk after next merge.
Comment 4 TomasKraus 2013-02-18 14:21:33 UTC
Fixed after javaee7 branch merge.