| Summary: | Grails applications cannot be deployed to EAP unless OSGi is disabled | ||
|---|---|---|---|
| Product: | [Retired] JBoss Enterprise WFK Platform 2 | Reporter: | Oliver Kišš <okiss> |
| Component: | unspecified | Assignee: | Marek Schmidt <maschmid> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Marek Schmidt <maschmid> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.0.0.GA | CC: | kpiwko, maschmid, myarboro, oskutka, ppenicka, trepel |
| Target Milestone: | --- | ||
| Target Release: | 2.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Known Issue | |
| Doc Text: |
OSGi is not enabled in JBoss Enterprise Application Platform 6, and artifacts produced by Grails miss a Package-Import of javax.naming in the bundle. To workaround this issue, disable adding of OSGi headers while packaging your Grails applications by adding the following configuration into the BuildConfig.groovy configuration file:
grails.project.war.osgi.headers = false
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-07-18 14:56:28 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Oliver Kišš
2012-02-15 15:45:38 UTC
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
OSGi is not enabled in JBoss Enterprise Application Server. Artifacts produced by Grails misses a Package-Import of javax.naming in the bundle.
In order to disable OSGi while packaging your Grails application, set following property.
grails.project.war.osgi.headers = false
Where does the grails.project.war.osgi.headers = false property get set?
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1,5 +1,3 @@
-OSGi is not enabled in JBoss Enterprise Application Server. Artifacts produced by Grails misses a Package-Import of javax.naming in the bundle.
-
-In order to disable OSGi while packaging your Grails application, set following property.
+OSGi is not enabled in JBoss Enterprise Application Server 6. Artifacts produced by Grails miss a Package-Import of javax.naming in the bundle. The workaround for this issue is to disable OSGi while packaging your Grails application. You can do this by setting the following property:
grails.project.war.osgi.headers = false
You have to add it to the BuildConfig.groovy configuration file.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1,3 +1,3 @@
-OSGi is not enabled in JBoss Enterprise Application Server 6. Artifacts produced by Grails miss a Package-Import of javax.naming in the bundle. The workaround for this issue is to disable OSGi while packaging your Grails application. You can do this by setting the following property:
+OSGi is not enabled in JBoss Enterprise Application Server 6. Artifacts produced by Grails miss a Package-Import of javax.naming in the bundle. The workaround for this issue is to disable OSGi while packaging your Grails application. You can do this by setting the following property in the BuildConfig.groovy configuration file:
grails.project.war.osgi.headers = false
Doc text edited and inserted into the 2.2.0 release notes book. Docs stage URL: https://documentation-devel.engineering.redhat.com/docs/en-US/JBoss_Web_Framework_Kit/2.2/html-single/2.2.0_Release_Notes/index.html Build: JBoss_Web_Framework_Kit-2.2.0_Release_Notes-2.2-en-US-0-26 Verified content in RN. Migrated to JIRA as https://issues.jboss.org/browse/WFK2-63 |