-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution:
Won't Fix
-
Affects Version/s: 2.2.0.GA, 2.5.0.GA, 2.6.0.GA
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Target Release:
-
Workaround:Workaround Exists
-
Workaround Description:
-
Release Notes Docs Status:Documented as Known Issue
-
Release Notes Text:
-
Bugzilla References:
Description of problem:
Grails applications with OSGi can't be deployed on EAP.
As a workaround, adding OSGi headers to generated WAR file can be disabled (see [2]).
Steps to Reproduce:
1. create a Grails application (grails create-app)
2. package the application (grails war)
3. deploy the application to EAP
Actual results:
deployment fails with following error:
ERROR [org.jboss.osgi.framework.internal.FrameworkEventsPlugin] (MSC service thread 1-7) Framework ERROR: org.osgi.framework.BundleException: Cannot resolve bundle resModule: [grails-app:0.1.0]
(...)
Caused by: org.jboss.osgi.resolver.XResolverException: Unable to resolve Module[grails-app:0.1.0]: missing requirement [Module[grails-app:0.1.0]] package; (&(package=javax.servlet)(version>=2.5.0)(!(version>=3.0.0)))
Expected results:
application is deployed correctly
Additional info:
[1] https://issues.jboss.org/browse/AS7-2941
[2] https://docspace.corp.redhat.com/docs/DOC-88882 (section 'Grails')