Hello,

Based on the exception, it looks like your web.xml is either improperly
formatted or contains an invalid entry.  Either way, deployment doesn't know
how to handle it.  You could try fixing it yourself or you could post the
web.xml here and I could take a look at it (or anyone else that felt like it
for that matter).

On Thu, Mar 6, 2008 at 9:22 AM, tglawles <[EMAIL PROTECTED]> wrote:

>
> I'm new to both Solr and Geronimo.  When I attempt to install the Solr war
> into Geronimo, I get the following exception.  Has anyone else seen this
> problem and overcome it?
>
> Deployment failed:
> Error parsing web.xml for .
> Show full details
> Error parsing web.xml for .
> org.apache.geronimo.common.DeploymentException: Error parsing web.xml for
> .
>             at
> org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.createModule(
> TomcatModuleBuilder.java:161)
>
>             at
> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.createModule
> (AbstractWebModuleBuilder.java:179)
>
>             at
>
> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder$$FastClassByCGLIB$$8523248f.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
> :830)
>
>             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.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$b86e2c25.createModule
> (<generated>)
>
>             at
> org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.createModule(
> SwitchingModuleBuilder.java:94)
>
>             at
>
> org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder$$FastClassByCGLIB$$d0c31844.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
> :830)
>
>             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.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$b86e2c25.createModule
> (<generated>)
>
>             at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(
> EARConfigBuilder.java:289)
>
>             at
>
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.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
> :830)
>
>             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.j2ee.deployment.CorbaGBeanNameSource$$EnhancerByCGLIB$$ef9ba63a.getDeploymentPlan
> (<generated>)
>
>             at
> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:234)
>             at
> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:126)
>             at
> org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.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.deployment.plugin.local.AbstractDeployCommand.doDeploy
> (AbstractDeployCommand.java:116)
>
>             at
> org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(
> DistributeCommand.java:61)
>
>             at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.xmlbeans.XmlException: error: Unexpected element:
> CDATA
>             at
> org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3471)
>             at
> org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:706)
>             at
> org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:690)
>             at
> org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:677)
>             at
> org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(
> SchemaTypeLoaderBase.java:208)
>
>             at
> org.apache.xmlbeans.XmlObject$Factory.parse(XmlObject.java:633)
>             at
> org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.parse(
> XmlBeansUtil.java:133)
>
>             at
> org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.createModule(
> TomcatModuleBuilder.java:144)
>
>             ... 41 more
> Caused by: org.xml.sax.SAXParseException: Unexpected element: CDATA
>             at
> org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Piccolo.java
> :1038)
>
>             at
> org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:723)
>             at
> org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3439)
>             ... 48 more
>
> --
> View this message in context:
> http://www.nabble.com/Installing-Apache-Solr-into-Geronimo-tp15873149s134p15873149.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>


-- 
~Jason Warner

Reply via email to