geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul McMahan" <paulmcma...@gmail.com>
Subject Re: deployment descriptor
Date Fri, 09 Jun 2006 20:58:37 GMT
Hi Ray, this problem looks like its caused by whitespace in your context-root.
See http://issues.apache.org/jira/browse/GERONIMO-1683

Best wishes,
Paul

On 6/9/06, Clough, Ray C             PWR <Ray.Clough@pwr.utc.com> wrote:
>
>
>
> I've got a very simple web, which deploys fine to Geronimo, as long as I
> don't include the following geronimo-web.xml descriptor.  When I do, it
> blows up.  I'd like to include it so that I don't get the warning message.
> What is wrong here?
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <web-app
> xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.0"
>
> xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.0"
>
> xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.0"
>
> xmlns:security="http://geronimo.apache.org/xml/ns/security-1.1"
>                 configId="RDCS_Metrics" >
>
>         <!-- WAR file: WEB-INF/geronimo-web.xml -->
>
>         <context-root> /RDCS_Metrics </context-root>
>         <!-- The 'context-priority-classloader' element is used to enforce
>                 strict J2EE classloader policy.  If set to 'true', then the
>                 classloader is strict, meaning that the application
> classloader is
>                 the first classloader searched for a class.  If 'false',
> then the
>                 server's classloader is searched first.  Using 'false'
> allows more
>                 lax inclusion of classes in the classpath, typically jar
> files in
>                 the 'lib' directory. Default is 'false'. -->
>         <context-priority-classloader> false </context-priority-classloader>
>
> </web-app>
>
>
> Here's the exception trace:
>
>
> java.io.FileNotFoundException:
> C:\JavaSystem\Apache\Geronimo\geronimo-1.0\var\catalina\work\
> _RDCS_Metrics \tldCache.ser (The system cannot find the path specified)
>
>         at java.io.FileOutputStream.open(Native Method)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>         at
> org.apache.catalina.startup.TldConfig.execute(TldConfig.java:315)
>         at
> org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4193)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4049)
>         at
> org.apache.geronimo.tomcat.GeronimoStandardContext.access$101(GeronimoStandardContext.java:64)
>         at
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:267)
>
>         at
> org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(TransactionContextValve.java:53)
>         at
> org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(ComponentContextValve.java:47)
>         at
> org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(InstanceContextValve.java:60)
>         at
> org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:187)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>         at
> org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:287)
>         at
> org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.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:118)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
>         at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
>         at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at
> org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$63e9fae6.addContext(<generated>)
>         at
> org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:407)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:936)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:537)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:208)
>         at
> org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(Configuration.java:315)
>         at
> org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f4b4a9b.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:118)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:173)
>         at
> org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start(ConfigurationManagerImpl.java:142)
>         at
> org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.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:118)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
>         at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
>         at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at
> org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$e8f7ee3.start(<generated>)
>         at
> org.apache.geronimo.console.configmanager.DeploymentPortlet.processAction(DeploymentPortlet.java:126)
>         at
> org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:229)
>         at
> org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:163)
>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at
> org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>         at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
>         at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
>         at
> org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
>         at
> org.apache.pluto.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:68)
>         at
> org.apache.pluto.PortletContainerImpl.processPortletAction(PortletContainerImpl.java:164)
>         at
> org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processPortletAction(PortletContainerWrapperImpl.java:82)
>
>         at
> org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227)
>         at
> org.apache.pluto.portalImpl.Servlet.doPost(Servlet.java:267)
>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
>         at
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:272)
>
>         at
> org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:46)
>         at
> org.apache.geronimo.tomcat.valve.PolicyContextValve.invoke(PolicyContextValve.java:50)
>         at
> org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(TransactionContextValve.java:53)
>         at
> org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(ComponentContextValve.java:47)
>         at
> org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(InstanceContextValve.java:60)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>         at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
>         at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:595)
>
>
> Thanks,
>
> Ray Clough
>

Mime
View raw message