[
https://issues.jboss.org/browse/AS7-2862?page=com.atlassian.jira.plugin.s...
]
Thomas Diesler edited comment on AS7-2862 at 2/2/12 9:20 AM:
-------------------------------------------------------------
The javax.servlet resolution problem is fixed. We do however have a general grails issue
here AS7-2941
was (Author: thomas.diesler):
Comment the javax.servlet resolution problem is fixed. We do however have a general
grails issue here AS7-2941
Bug found on starting a Grails application under OSGi bundles on 7.1
beta 1
---------------------------------------------------------------------------
Key: AS7-2862
URL:
https://issues.jboss.org/browse/AS7-2862
Project: Application Server 7
Issue Type: Bug
Components: OSGi
Affects Versions: 7.1.0.Beta1
Environment: Mac OS 10.7
Reporter: Vinicius Dallacqua
Assignee: Thomas Diesler
Labels: Grails, OSGi, bundle
When I tried to start a grails application under the OSGi bundles on the AS 7.1 beta 1 I
got this error:
15:55:55,226 ERROR [org.jboss.osgi.framework.internal.FrameworkEventsPlugin]
(HttpManagementService-threads - 1) Framework ERROR: org.osgi.framework.BundleException:
Cannot resolve bundle resModule: [userman:0.1.0]
at org.jboss.osgi.framework.internal.ResolverPlugin.resolve(ResolverPlugin.java:157)
at
org.jboss.osgi.framework.internal.AbstractBundleState.ensureResolved(AbstractBundleState.java:551)
at
org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:211)
at
org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:488)
at
org.jboss.as.osgi.parser.BundleRuntimeHandler.handleOperation(BundleRuntimeHandler.java:132)
at
org.jboss.as.osgi.parser.BundleRuntimeHandler.executeRuntimeStep(BundleRuntimeHandler.java:89)
at
org.jboss.as.controller.AbstractRuntimeOnlyHandler$1.execute(AbstractRuntimeOnlyHandler.java:90)
[jboss-as-controller-7.1.0.Beta1.jar:]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:322)
[jboss-as-controller-7.1.0.Beta1.jar:]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:216)
[jboss-as-controller-7.1.0.Beta1.jar:]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:152)
[jboss-as-controller-7.1.0.Beta1.jar:]
at
org.jboss.as.controller.AbstractRuntimeOnlyHandler.execute(AbstractRuntimeOnlyHandler.java:94)
[jboss-as-controller-7.1.0.Beta1.jar:]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:322)
[jboss-as-controller-7.1.0.Beta1.jar:]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:216)
[jboss-as-controller-7.1.0.Beta1.jar:]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:152)
[jboss-as-controller-7.1.0.Beta1.jar:]
at
org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:426)
[jboss-as-controller-7.1.0.Beta1.jar:]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:322)
[jboss-as-controller-7.1.0.Beta1.jar:]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:216)
[jboss-as-controller-7.1.0.Beta1.jar:]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:152)
[jboss-as-controller-7.1.0.Beta1.jar:]
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:115)
[jboss-as-controller-7.1.0.Beta1.jar:]
at org.jboss.as.controller.ModelControllerImpl$1.execute(ModelControllerImpl.java:296)
[jboss-as-controller-7.1.0.Beta1.jar:]
at org.jboss.as.controller.ModelControllerImpl$1.execute(ModelControllerImpl.java:286)
[jboss-as-controller-7.1.0.Beta1.jar:]
at
org.jboss.as.domain.http.server.DomainApiHandler.processRequest(DomainApiHandler.java:273)
at org.jboss.as.domain.http.server.DomainApiHandler.handle(DomainApiHandler.java:192)
at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
at org.jboss.sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:69)
at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:81)
at
org.jboss.sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:689)
at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
at
org.jboss.as.domain.http.server.RealmReadinessFilter.doFilter(RealmReadinessFilter.java:54)
at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:81)
at org.jboss.sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:661)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_29]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_29]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
[jboss-threads-2.0.0.GA.jar:]
Caused by: org.jboss.osgi.resolver.XResolverException: Unable to resolve
Module[userman:0.1.0]: missing requirement [Module[userman:0.1.0]] package;
(&(package=javax.servlet)(version>=2.4.0)(!(version>=3.0.0)))
at org.jboss.osgi.resolver.felix.FelixResolver.resolveInternal(FelixResolver.java:117)
at org.jboss.osgi.resolver.spi.AbstractResolver.resolve(AbstractResolver.java:148)
at org.jboss.osgi.framework.internal.ResolverPlugin.resolve(ResolverPlugin.java:155)
... 34 more
15:55:55,233 ERROR [userman] (Thread-60) FrameworkEvent ERROR:
org.apache.felix.log.LogException: org.osgi.framework.BundleException: Cannot resolve
bundle resModule: [userman:0.1.0]
at org.jboss.osgi.framework.internal.ResolverPlugin.resolve(ResolverPlugin.java:157)
at
org.jboss.osgi.framework.internal.AbstractBundleState.ensureResolved(AbstractBundleState.java:551)
at
org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:211)
at
org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:488)
at
org.jboss.as.osgi.parser.BundleRuntimeHandler.handleOperation(BundleRuntimeHandler.java:132)
at
org.jboss.as.osgi.parser.BundleRuntimeHandler.executeRuntimeStep(BundleRuntimeHandler.java:89)
at
org.jboss.as.controller.AbstractRuntimeOnlyHandler$1.execute(AbstractRuntimeOnlyHandler.java:90)
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:322)
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:216)
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:152)
at
org.jboss.as.controller.AbstractRuntimeOnlyHandler.execute(AbstractRuntimeOnlyHandler.java:94)
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:322)
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:216)
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:152)
at
org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:426)
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:322)
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:216)
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:152)
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:115)
at org.jboss.as.controller.ModelControllerImpl$1.execute(ModelControllerImpl.java:296)
at org.jboss.as.controller.ModelControllerImpl$1.execute(ModelControllerImpl.java:286)
at
org.jboss.as.domain.http.server.DomainApiHandler.processRequest(DomainApiHandler.java:273)
at org.jboss.as.domain.http.server.DomainApiHandler.handle(DomainApiHandler.java:192)
at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
at org.jboss.sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:69)
at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:81)
at
org.jboss.sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:689)
at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
at
org.jboss.as.domain.http.server.RealmReadinessFilter.doFilter(RealmReadinessFilter.java:54)
at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:81)
at org.jboss.sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:661)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_29]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_29]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: org.apache.felix.log.LogException: org.jboss.osgi.resolver.XResolverException:
Unable to resolve Module[userman:0.1.0]: missing requirement [Module[userman:0.1.0]]
package; (&(package=javax.servlet)(version>=2.4.0)(!(version>=3.0.0)))
at org.jboss.osgi.resolver.felix.FelixResolver.resolveInternal(FelixResolver.java:117)
at org.jboss.osgi.resolver.spi.AbstractResolver.resolve(AbstractResolver.java:148)
at org.jboss.osgi.framework.internal.ResolverPlugin.resolve(ResolverPlugin.java:155)
... 34 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira