geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Woods <drw_...@yahoo.com>
Subject Re: deployment descriptor
Date Fri, 09 Jun 2006 20:53:50 GMT
Have you tried removing the whitespace before and after your 
context-root value?  From the cut&paste below, it looks like that might 
be your problem....

-Donald


Clough, Ray C PWR 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