Apache Geronimo > Discussion Forums  User List | Dev List | Wiki | Issue Tracker  

branches/2.2: Tomcat start ailed for Revision: 831115

View: New views
3 Messages — Rating Filter:   Alert me  

branches/2.2: Tomcat start ailed for Revision: 831115

by frapien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tried do build geronimo branche/2.2 Revision: 831115 locally

mvn clean install
mvn -Ptools geronimo:start  dafault jetty o.k.
mvn -Ptools geronimo:start -DassemblyId=tomcat-minimal
mvn -Ptools geronimo:start -DassemblyId=jetty o.k.
mvn -Ptools geronimo:start -DassemblyId=jetty-minimal o.k.
mvn -Ptools geronimo:start -DassemblyId=tomcat fails

Any idess how to get Tomcat assembly running?
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo
[INFO]    task-segment: [geronimo:start]
[INFO] ------------------------------------------------------------------------
[INFO] [geronimo:start {execution: default-cli}]
[INFO] Using assembly configuration: tomcat
[INFO] Using assembly artifact: org.apache.geronimo.assemblies:geronimo-tomcat6-
javaee5:zip:bin:2.2-SNAPSHOT:provided
[INFO] Using geronimoHome: C:\geronimo\target\geronimo-tomcat6-javaee5-2.2-SNAPS
HOT
[INFO] Re-using previously installed assembly
[INFO] Starting Geronimo server...
[INFO] Waiting for Geronimo server...
[INFO] 10:14:04,343 INFO  [AbstractGBeanReference] GBean references are not usin
g proxies
[INFO] 10:14:04,828 ERROR [GBeanInstanceState] Error while starting; GBean is no
w in the FAILED state: abstractName="org.apache.geronimo.framework/j2ee-system/2
.2-SNAPSHOT/car?configurationName=org.apache.geronimo.framework/j2ee-system/2.2-
SNAPSHOT/car"
[INFO] org.apache.geronimo.kernel.repository.MissingDependencyException: Missing
 dependency: org.apache.xbean/xbean-reflect/3.6-SNAPSHOT/jar
[INFO]  at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(Confi
gurationResolver.java:113)
[INFO]  at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Config
uration.java:415)
[INFO]  at org.apache.geronimo.kernel.config.Configuration.createConfigurationCl
asssLoader(Configuration.java:339)
[INFO]  at org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.
java:281)
[INFO]  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

[INFO]  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
[INFO]  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
[INFO]  at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[WARNING] java.lang.IllegalStateException: GBean is not running: org.apache.gero
nimo.framework/j2ee-system/2.2-SNAPSHOT/car?configurationName=org.apache.geronim
o.framework/j2ee-system/2.2-SNAPSHOT/car
[WARNING]       at org.apache.geronimo.kernel.basic.BasicKernel.getGBean(BasicKe
rnel.java:302)
[WARNING]       at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBoots
trapConfiguration(ConfigurationUtil.java:205)
[WARNING]       at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBoots
trapConfiguration(ConfigurationUtil.java:167)
[WARNING]       at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper
.loadBootConfiguration(MainConfigurationBootstrapper.java:84)
[INFO]  at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(Refl
ectionUtil.java:952)
[INFO]  at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java
:276)
[INFO]  at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)

[INFO]  at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)

[INFO]  at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
nstance.java:910)
[INFO]  at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:269)
[INFO]  at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
nceState.java:103)
[INFO]  at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
ava:524)
[INFO]  at org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.j
ava:359)
[INFO]  at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
iguration(ConfigurationUtil.java:203)
[INFO]  at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
iguration(ConfigurationUtil.java:167)
[WARNING]       at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper
.getMain(MainConfigurationBootstrapper.java:57)
[WARNING]       at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper
.main(MainConfigurationBootstrapper.java:38)
[WARNING]       at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.j
ava:65)
[WARNING]       at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:
30)
[INFO]  at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBoo
tConfiguration(MainConfigurationBootstrapper.java:84)
[INFO]  at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain
(MainConfigurationBootstrapper.java:57)
[INFO]  at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(Ma
inConfigurationBootstrapper.java:38)
[INFO]  at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
[INFO]  at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to start Geronimo server

Re: branches/2.2: Tomcat start ailed for Revision: 831115

by frapien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

get tomcat running but not installing the AMQ wbconsole plugin
somthing wrong with the GBeab

[INFO] 2009-10-31 11:27:22,875 WARN  [ConfigurationUtil] Could not load gbean or
g.apache.geronimo.plugins/activemq-webconsole-tomcat/2.2-SNAPSHOT/car?J2EEApplic
ation=null,j2eeType=WebModule,name=org.apache.geronimo.plugins/activemq-webconso
le-tomcat/2.2-SNAPSHOT/car
[INFO] org.apache.geronimo.gbean.InvalidConfigurationException: Getter method no
t found Attribute Name: displayName, Type: class java.lang.String, GBeanInstance
: Tomcat WebApplication Context
[INFO]  at org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribut
e.java:241)
[INFO]  at org.apache.geronimo.gbean.runtime.GBeanInstance.buildAttributes(GBean
Instance.java:366)
[INFO]  at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
java:240)
[INFO]  at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
va:352)
[INFO]  at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:441)
[INFO]  at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
rnelConfigurationManager.java:190)
[INFO]  at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:546)
[INFO]  at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:527)
[INFO]  at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(Plugin
InstallerGBean.java:811)
[INFO]  at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(Plugin
InstallerGBean.java:718)
[INFO]  at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(Plugin
InstallerGBean.java:714)
[INFO]  at org.apache.geronimo.system.plugin.PluginInstallerGBean$3.run(PluginIn
stallerGBean.java:885)
[INFO]  at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
[INFO]  at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(Th
readPool.java:344)
[INFO]  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
[INFO]  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
[INFO]  at java.lang.Thread.run(Thread.java:619)
[INFO] Caused by: java.lang.NoSuchMethodException: org.apache.geronimo.tomcat.To
mcatWebAppContext.getDisplayName()
[INFO]  at java.lang.Class.getMethod(Class.java:1605)
[INFO]  at org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribut
e.java:226)
[INFO]  ... 16 more
[INFO] 2009-10-31 11:27:22,890 ERROR [PluginInstallerGBean] Unable to install pl
ugin
[INFO] org.apache.geronimo.kernel.config.LifecycleException: start of org.apache
.geronimo.plugins/activemq-webconsole-tomcat/2.2-SNAPSHOT/car failed
[INFO]  at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:562)
[INFO]  at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:527)
[INFO]  at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(Plugin
InstallerGBean.java:811)
[INFO]  at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(Plugin
InstallerGBean.java:718)
[INFO]  at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(Plugin
InstallerGBean.java:714)
[INFO]  at org.apache.geronimo.system.plugin.PluginInstallerGBean$3.run(PluginIn
stallerGBean.java:885)
[INFO]  at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
[INFO]  at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(Th
readPool.java:344)
[INFO]  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
[INFO]  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
[INFO]  at java.lang.Thread.run(Thread.java:619)
[INFO] Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unkn
own start exception
[INFO]  at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:522)
[INFO]  at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
rnelConfigurationManager.java:190)
[INFO]  at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:546)
[INFO]  ... 10 more
[INFO] Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Gette
r method not found Attribute Name: displayName, Type: class java.lang.String, GB
eanInstance: Tomcat WebApplication Context
[INFO]  at org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribut
e.java:241)

Re: branches/2.2: Tomcat start ailed for Revision: 831115

by Ivan Xu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Run mvn clean install in the plugins/tomcat folder first, some components downloaded from the snapshot repo are out of date.

2009/10/31 frapien <frank.pientka@...>

get tomcat running but not installing the AMQ wbconsole plugin
somthing wrong with the GBeab

[INFO] 2009-10-31 11:27:22,875 WARN  [ConfigurationUtil] Could not load
gbean or
g.apache.geronimo.plugins/activemq-webconsole-tomcat/2.2-SNAPSHOT/car?J2EEApplic
ation=null,j2eeType=WebModule,name=org.apache.geronimo.plugins/activemq-webconso
le-tomcat/2.2-SNAPSHOT/car
[INFO] org.apache.geronimo.gbean.InvalidConfigurationException: Getter
method no
t found Attribute Name: displayName, Type: class java.lang.String,
GBeanInstance
: Tomcat WebApplication Context
[INFO]  at
org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribut
e.java:241)
[INFO]  at
org.apache.geronimo.gbean.runtime.GBeanInstance.buildAttributes(GBean
Instance.java:366)
[INFO]  at
org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
java:240)
[INFO]  at
org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
va:352)
[INFO]  at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:441)
[INFO]  at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
rnelConfigurationManager.java:190)
[INFO]  at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:546)
[INFO]  at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:527)
[INFO]  at
org.apache.geronimo.system.plugin.PluginInstallerGBean.install(Plugin
InstallerGBean.java:811)
[INFO]  at
org.apache.geronimo.system.plugin.PluginInstallerGBean.install(Plugin
InstallerGBean.java:718)
[INFO]  at
org.apache.geronimo.system.plugin.PluginInstallerGBean.install(Plugin
InstallerGBean.java:714)
[INFO]  at
org.apache.geronimo.system.plugin.PluginInstallerGBean$3.run(PluginIn
stallerGBean.java:885)
[INFO]  at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
[INFO]  at
org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(Th
readPool.java:344)
[INFO]  at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
[INFO]  at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
[INFO]  at java.lang.Thread.run(Thread.java:619)
[INFO] Caused by: java.lang.NoSuchMethodException:
org.apache.geronimo.tomcat.To
mcatWebAppContext.getDisplayName()
[INFO]  at java.lang.Class.getMethod(Class.java:1605)
[INFO]  at
org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribut
e.java:226)
[INFO]  ... 16 more
[INFO] 2009-10-31 11:27:22,890 ERROR [PluginInstallerGBean] Unable to
install pl
ugin
[INFO] org.apache.geronimo.kernel.config.LifecycleException: start of
org.apache
.geronimo.plugins/activemq-webconsole-tomcat/2.2-SNAPSHOT/car failed
[INFO]  at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:562)
[INFO]  at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:527)
[INFO]  at
org.apache.geronimo.system.plugin.PluginInstallerGBean.install(Plugin
InstallerGBean.java:811)
[INFO]  at
org.apache.geronimo.system.plugin.PluginInstallerGBean.install(Plugin
InstallerGBean.java:718)
[INFO]  at
org.apache.geronimo.system.plugin.PluginInstallerGBean.install(Plugin
InstallerGBean.java:714)
[INFO]  at
org.apache.geronimo.system.plugin.PluginInstallerGBean$3.run(PluginIn
stallerGBean.java:885)
[INFO]  at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
[INFO]  at
org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(Th
readPool.java:344)
[INFO]  at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
[INFO]  at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
[INFO]  at java.lang.Thread.run(Thread.java:619)
[INFO] Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
Unkn
own start exception
[INFO]  at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:522)
[INFO]  at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
rnelConfigurationManager.java:190)
[INFO]  at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:546)
[INFO]  ... 10 more
[INFO] Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Gette
r method not found Attribute Name: displayName, Type: class
java.lang.String, GB
eanInstance: Tomcat WebApplication Context
[INFO]  at
org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribut
e.java:241)
--
View this message in context: http://old.nabble.com/branches-2.2%3A-Tomcat-start-ailed-for-Revision%3A-831115-tp26140867s134p26141274.html
Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.




--
Ivan