1
我有一臺裝有WASCE的Linux VM,並且想要使用Geronimo部署一個Web應用程序。 當我試圖到Geronimo 3.0.0.3 J2EE的Web配置文件服務器,部署與下面的堆棧跟蹤失敗的部署我的應用程序:在Geronimo中Web應用程序部署失敗
The application was not successfully started.
start of <myApp>/1.0.0-SNAPSHOT/war failed
org.apache.geronimo.kernel.config.LifecycleException: start of <myApp>/1.0.0-SNAPSHOT/war failed
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:726)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:689)
at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:527)
at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:710)
... 3 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Could not load GBeanInfo class from classloader: org.eclipse.[email protected] className=org.apache.geronimo.openwebbeans.OpenWebBeansWebAppContext
at org.apache.geronimo.gbean.runtime.GBeanInstance.(GBeanInstance.java:250)
at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:361)
at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:452)
... 5 more
Caused by: java.lang.ClassNotFoundException: org.apache.geronimo.openwebbeans.OpenWebBeansWebAppContext
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.apache.geronimo.hook.equinox.GeronimoClassLoader.loadClass(GeronimoClassLoader.java:85)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
at org.apache.geronimo.gbean.runtime.GBeanInstance.(GBeanInstance.java:248)
... 7 more
如果我用普通Tomcat容器嘗試它,它就會被成功部署和作品精細。但是應用程序需要一些企業功能,所以需要使用Geronimo。
看來這是Geronimo Layer的一個問題,任何建議或提示將非常感激。
在此先感謝!
我也有這個..掙扎你擺脫這個問題的? – TechLover