geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Sun" <linsun....@gmail.com>
Subject Re: CGI and Geronimo/Tomcat
Date Mon, 14 Jul 2008 14:22:05 GMT
I think the server is complaining about the following configuration in
geronimo-web.xml -

  <host>www.bayshoredogclub.org</host>

If you look at the http://geronimo.apache.org/xml/ns/j2ee/web-1.1
schema, host element is not defined there.

HTH, Lin

On Mon, Jul 14, 2008 at 10:03 AM, Peter L. Berghold <peter@berghold.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kevan Miller wrote:
>>
>>
>> In the jira I posted a war and some instructions on enabling cgi-bin
>> support on Tomcat.
>
>
> OK.. gave it a whirl.
>
> I made a couple of changes to the geronimo-web.xml file that (I thought)
> whouldn't affect much, but here is what I got:
>
>
> First the changes:
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1">
>  <environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1">
>    <moduleId>
>      <groupId>bcdc</groupId>
>             <!-- Gave it it's own group-id !>
>      <artifactId>cgi-bin</artifactId>
>      <version>1.0</version>
>      <type>car</type>
>    </moduleId>
>  </environment>
>
>  <context-root>/cgi-bin</context-root>
>  <host>www.bayshoredogclub.org</host>
>  <!--- Different cgi-bin for each host. -->
>
> </web-app>
>
>
>
> Here's the spew....
>
>
> org.apache.geronimo.kernel.config.LifecycleException: start of
> bcdc/cgi-bin/1.0/car failed
>        at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:547)
>        at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:511)
>        at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
>        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>        at
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>        at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:865)
>        at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>        at
> org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
>        at
> org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(<generated>)
>        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>        at
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>        at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:865)
>        at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>        at
> org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:168)
>        at
> com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
>        at
> com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
>        at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
>        at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
>        at
> javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
>        at
> javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
>        at
> javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at
> javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
>        at
> javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
>        at sun.reflect.GeneratedMethodAccessor413.invoke(Unknown Source)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at
> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
>        at sun.rmi.transport.Transport$1.run(Transport.java:153)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
>        at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
>        at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
>        at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
> Unknown start exception
>        at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:514)
>        at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
>        at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530)
>        ... 35 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
> Configuration bcdc/cgi-bin/1.0/car failed to start due to the following
> reasons:
>  The service
> J2EEApplication=null,j2eeType=WebModule,name=bcdc/cgi-bin/1.0/car did
> not start because ContainerBase.addChild: start: LifecycleException:
> java.io.IOException: Context did not start for an unknown reason
>
>        at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:477)
>        ... 37 more
>    Error: Operation failed: start of bcdc/cgi-bin/1.0/car failed
>
>        Unknown start exception
>
>        Configuration bcdc/cgi-bin/1.0/car failed to start due to the
>    following reasons:
>
>      The service
>    J2EEApplication=null,j2eeType=WebModule,name=bcdc/cgi-bin/1.0/car
>    did not start because ContainerBase.addChild: start:
>    LifecycleException:  java.io.IOException: Context did not start for
>    an unknown reason
>
>
>
> - --
>
> Peter L. Berghold     http://www.berghold.net   peter@berghold.net
> Unix Professional     Dog Agility Fan   Crazed Cook
> "Those who fail to learn from history are condemned to repeat it."
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFIe1zCUM9/01RIhaARAl3IAJ9ExTxmT15Zu+EOYb5PtiWDmxrDuQCghIr7
> 7oR00UdggZIJiujL3scJHtE=
> =6xK4
> -----END PGP SIGNATURE-----
>

Mime
View raw message