geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-4665) Application start error with virtual host configuration in deployment plan
Date Tue, 02 Jun 2009 13:55:07 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-4665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan updated GERONIMO-4665:
---------------------------

    Fix Version/s: 2.2

Sample :
<gbean name="org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car,j2eeType=Host,name=virtualhost1.com"
gbeanInfo="org.apache.geronimo.tomcat.HostGBean">
            <attribute name="className">org.apache.catalina.core.StandardHost</attribute>
            <attribute name="initParams">name=virtualhost1.com
            appBase=
            workDir=work</attribute>
            <reference name="Engine">
                <pattern>
                    <name>TomcatEngine</name>
                </pattern>
            </reference>
        </gbean>
We may need to update the document.

> 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
>            Assignee: Ivan
>            Priority: Minor
>             Fix For: 2.2
>
>         Attachments: config.xml, geronimo-web.xml, hello-2.1.1.2.war
>
>
> 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.


Mime
View raw message