Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-4665

Application start error with virtual host configuration in deployment plan

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.2
    • None
    • Security Level: public (Regular issues)
    • None
    • os: suse 10 sp2 64 bit

    Description

      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

      Attachments

        1. hello-2.1.1.2.war
          1 kB
          viola.lu
        2. geronimo-web.xml
          0.7 kB
          viola.lu
        3. config.xml
          24 kB
          viola.lu

        Activity

          People

            xuhaihong Haihong Xu
            viola.lu viola.lu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: