glassfish无法启动bundle org.glassfish.main.admingui.glassfish-osgi-console-plugin
出于开发目的,我想将glassfish 3.1.2.2与OSGI结合使用。我通过web管理控制台安装了OSGI Future pack,并重新启动了glassfish。服务器重新启动后,web控制台停止工作,只显示一个空白页,没有任何错误。我查看了一个日志文件,发现有下面描述的异常 我有几个问题:glassfish无法启动bundle org.glassfish.main.admingui.glassfish-osgi-console-plugin,osgi,glassfish-3,apache-felix,Osgi,Glassfish 3,Apache Felix,出于开发目的,我想将glassfish 3.1.2.2与OSGI结合使用。我通过web管理控制台安装了OSGI Future pack,并重新启动了glassfish。服务器重新启动后,web控制台停止工作,只显示一个空白页,没有任何错误。我查看了一个日志文件,发现有下面描述的异常 我有几个问题: 如何替换此捆绑包的起始级别以及需要设置哪个级别? 如何访问ApacheFelix的shell? 玻璃鱼和卡拉夫是否可能结婚 [org.glassfish.main.admingui.glassfish
这是一个众所周知的问题[1],它已在玻璃鱼躯干中修复。3.1.x版本也提供了解决方案
[1] 这是一个众所周知的问题[1],它已在玻璃鱼躯干中修复。3.1.x版本也提供了解决方案 [1] [org.glassfish.main.admingui.glassfish-osgi-console-plugin(Glassfish OSGI Console Plugin):3.1.2.1-SNAPSHOT] com.sun.enterprise.module.ResolveError: Failed to start Bundle Id [263] State [RESOLVED] [org.glassfish.main.admingui.glassfish-osgi-console-plugin(Glassfish OSGI Console Plugin):3.1.2.1-SNAPSHOT] at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:177) at org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2$1$1.loadClass(OSGiModuleImpl.java:344) at com.sun.hk2.component.LazyInhabitant.loadClass(LazyInhabitant.java:124) at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:111) at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:135) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:78) at com.sun.enterprise.v3.server.ClassLoaderHierarchyImpl.createApplicationParentCL(ClassLoaderHierarchyImpl.java:200) at org.glassfish.deployment.common.DeploymentContextImpl.createClassLoader(DeploymentContextImpl.java:216) at org.glassfish.deployment.common.DeploymentContextImpl.createDeploymentClassLoader(DeploymentContextImpl.java:199) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:346) at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:375) at com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:210) at com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:108) Caused by: org.osgi.framework.BundleException: Cannot start bundle org.glassfish.main.admingui.glassfish-osgi-console-plugin [263] because its start level is 2, which is greater than the framework's start level of 1. at org.apache.felix.framework.Felix.startBundle(Felix.java:1807) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944) at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:169) ... 12 more