geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Forrest_Xia <forres...@gmail.com>
Subject Why change tomcatContainerName from "?name=TomcatWebContainer" to "?name=WebContainer" in tomcat6-deployer plugin of 2.1.4-snapshot?
Date Wed, 04 Mar 2009 16:14:24 GMT

Recently, when I am building some 2.1 branch samples plugins, I found that
built sample plugins are all not installable. 
A message on admin console like this:
"A problem has occured:
org.apache.geronimo.kernel.config.LifecycleException: start of
org.apache.geronimo.samples/calculator-tomcat/2.1.3-SNAPSHOT/car failed"

An exception in stdout/stderr like this:
"Caused by: 
org.apache.geronimo.kernel.config.InvalidConfigException: Unable to resolve
reference "Container" in gbean
org.apache.geronimo.samples/calculator-tomcat/2.1.3-SNAPSHOT/car?J2EEApplication=null,j2eeType=WebModule,name=org.apache.geronimo.samples/calculator-tomcat/2.1.3-SNAPSHOT
to a gbean matching the pattern [?name=WebContainer#]
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.preprocessGBeanData(ConfigurationUtil.java:380)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:438)
	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)"

After some research, I found someone changed tomcat6-deployer plugin
deployment plan, changed "TomcatWebBuilder" GBean's attribute
"tomcatContainerName" value from "?name=TomcatWebContainer" to
"?name=WebContainer", why did that?

However, I think that's the reason causing the built plugins uninstallable. 

Please help review and see if it is a bug before 2.1.4 release. Thanks!

Forrest

-- 
View this message in context: http://www.nabble.com/Why-change-tomcatContainerName-from-%22-name%3DTomcatWebContainer%22-to-%22-name%3DWebContainer%22-in-tomcat6-deployer-plugin-of-2.1.4-snapshot--tp22333212s134p22333212.html
Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.


Mime
View raw message