Application start error with virtual host configuration in deployment plan
--------------------------------------------------------------------------
Key: GERONIMO-4665
URL: https://issues.apache.org/jira/browse/GERONIMO-4665
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Affects Versions: 2.2
Environment: os: suse 10 sp2 64 bit
Reporter: viola.lu
Priority: Minor
1.Following steps from link
http://cwiki.apache.org/confluence/display/GMOxDOC22/Configuring+Virtual+Host+in+Tomcat
2.But deployed hellowolrd.war can't start with errors:
he application was not successfully started
start of com.ibm.wasce.samples/hello/2.1.1.2/car failed
org.apache.geronimo.kernel.config.LifecycleException: start of
com.ibm.wasce.samples/hello/2.1.1.2/car failed
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$63fc6952.startConfiguration()
at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
at java.lang.Thread.run(Thread.java:810)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
start exception
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:522)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
... 14 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration com.ibm.wasce.samples/hello/2.1.1.2/car failed to start due to
the following reasons:
The service
J2EEApplication=null,j2eeType=WebModule,name=com.ibm.wasce.samples/hello/2.1.1.2/car
did not start because Invalid virtual host 'virtualhost1.com'. Do you have a
matching Host entry in the plan?
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485)
... 16 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.