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.
Summary: | GlassFish 4 does not expose classpath for Java EE 7 | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Petr Jiricka <pjiricka> |
Component: | GlassFish | Assignee: | TomasKraus |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mjanicek |
Priority: | P1 | ||
Version: | 7.3.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Petr Jiricka
2013-01-16 16:03:13 UTC
Most probably not for NB7.3, right? Yes, I have to reconfigure Libraries for GlassFish 7. It's just one XML file update. :) Well, I checked MANIFEST.MF in glassfish/lib/javaee.jar from last GF 4 build: ../modules/bean-validator.jar ../modules/endorsed/javax.annotation.jar ../modules/endorsed/jaxb-api-osgi.jar ../modules/endorsed/webservices-api-osgi.jar ../modules/javax.ejb.jar ../modules/javax.el.jar ../modules/javax.enterprise.deploy.jar ../modules/javax.faces.jar ../modules/javax.jms-api.jar ../modules/javax.json.jar ../modules/javax.mail.jar ../modules/javax.management.j2ee.jar ../modules/javax.persistence.jar ../modules/javax.resource.jar ../modules/javax.security.auth.message.jar ../modules/javax.security.jacc.jar ../modules/javax.servlet-api.jar ../modules/javax.servlet.jsp-api.jar ../modules/javax.servlet.jsp.jstl-api.jar ../modules/javax.transaction.jar ../modules/javax.ws.rs-api.jar ../modules/jaxb-osgi.jar ../modules/jaxr-api-osgi.jar ../modules/jaxrpc-api-osgi.jar ../modules/jsr250-api.jar ../modules/webservices-osgi.jar ../modules/weld-osgi-bundle.jar ../mq/lib/jaxm-api.jar jsr250-api.jar is no more in the modules and javax.websocket API jar was missing. GlassFish team made changes to fix this in javaee.jar today, I'll copy them to plugin Java EE library setup tomorrow. Unfortunately changes were larger than I was expecting. I found that JavaEE library was hard coded in Hk2PluginProperties.java and our new framework from Tooling SDK was not fully integrated yet. Pushing into hg.netbeans.org/web-main/: --------------------------------------- changeset: 243806:fd99b3cf6bb3 branch: javaee7 summary: GlassFish 4 does not expose classpath for Java EE 7 This change set switches library content to new LibraryBuilder framework. Also GF4 library patterns were changed to match current lib/javaee.jar manifest. We may still do some additional check before release because jar file names may change in the future. Prepared in internal repository for trunk: ------------------------------------------ changeset: 242372:ebc8119e1f63 tag: tip summary: #224978 - GlassFish 4 does not expose classpath for Java EE Closing now, please test next javaee7 branch build. package javax.websocket.annotations does not exist l This Bug is still in force on March 14 - is there at least a workaround that will give us outsiders a chance to put into practice what Arun Gupta has been preaching so eloquently and cogently in totd183 and elsewhere? Config: glassfish-4.0-b80-unix-ml NetBeans 7.3 and also NetBeans IDE Dev (Build web-main-javaee7-157-on-20130314) Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Linux version 2.6.32-45-generic running on amd64; UTF-8; en_GB I think that's a different issue - you may be hitting bug 227320. I suspect TOTD 183 is out of date, see https://blogs.oracle.com/arungupta/entry/updating_to_latest_websocket_api Back to fixed. |