cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Mazouz <alexandre.maz...@gmail.com>
Subject Re: Java/XSP/ClassPath and Internal Server Error
Date Thu, 23 Apr 2009 09:51:02 GMT

Hi,

The version of the JRE was different between the compilation and execution.

Now, that I have the same version, I have no problem.

Thanks,
Alexandre

Alexandre Mazouz wrote:
> 
> Hello all,
> 
> Since 2 weeks, I am trying to fix a part of my application (Search) and i
> can not find a solution.
> 
> I have made a new Search (with new features) and the compilation gives me
> 0 errors and 0 warnings.
> 
> When I try to use Search, Firebug launch an error and nothing happen: 
> 
> http://127.0.0.1:1234/dy/search?q=*&d=bv/steelships/steelships_2009&e=TCHAP&c=bv/steelships/steelships_2009&m=1&n=20&s=0
  
> 500 Internal Server Error
> 
> Trace :
> -------
> 
> <html><head><title>Internal Server Error</title><style><!--body
{
> background-color: white; color: black
> ; font-family: verdana, helvetica, sanf serif;}h1 {color: #336699; margin:
> 0px 0px 20px 0px; border-width
> : 0px 0px 1px 0px; border-style: solid; border-color: #336699;}p.footer {
> color: #336699; border-width
> : 1px 0px 0px 0px; border-style: solid; border-color: #336699; }span
> {color: #336699;}pre {padding-left
> : 20px;}a:link {font-weight: bold; color: #336699;}a:visited {color:
> #336699; }a:hover {color: #800000
> ; background-color: #ffff80;}a:active {color:
> #006666;}--></style></head><body><h1>Internal Server Error
> </h1><p>Message: Error compiling search_xsp:
> ERROR 1 (C:\Documents and Settings\amazouz\Local
> Settings\Temp\Jetty__1234__\cocoon-files\org\webapp
> \__\search\search_xsp.java):
> ...
>     import org.exist.storage.serializers.Serializer;
>     
>     import org.apache.excalibur.xml.sax.SAXParser;
>     
> 
> // start error (lines 80-80) &quot; cannot access
> org.dynaprism.xsp.search.searchExprProcessor&quot;
>     import org.dynaprism.xsp.search.searchExprProcessor;
> 
> // end error
>     
> 
>     public class search_xsp extends XSPGenerator {
>         // Files this XSP depends on
> 
> ...
> Line 80, column -1:  cannot access
> org.dynaprism.xsp.search.searchExprProcessor
> Line 0, column 0: 
> 1 error
> </p><p>Description: org.apache.cocoon.ProcessingException: Language
> Exception: org.apache
> .cocoon.components.language.LanguageException: Error compiling search_xsp:
> ERROR 1 (C:\Documents and Settings\amazouz\Local
> Settings\Temp\Jetty__1234__\cocoon-files\org\webapp
> \__\search\search_xsp.java):
> ...
>     import org.exist.storage.serializers.Serializer;
>     
>     import org.apache.excalibur.xml.sax.SAXParser;
>     
> 
> // start error (lines 80-80) &quot; cannot access
> org.dynaprism.xsp.search.searchExprProcessor&quot;
>     import org.dynaprism.xsp.search.searchExprProcessor;
> 
> // end error
>     
> 
>     public class search_xsp extends XSPGenerator {
>         // Files this XSP depends on
> 
> ...
> Line 80, column -1:  cannot access
> org.dynaprism.xsp.search.searchExprProcessor
> Line 0, column 0: 
> 1 error
> </p><p>Sender: org.apache.cocoon.servlet.CocoonServlet</p><p>Source:
> Cocoon
> 
> Servlet</p><p>cause<pre>org.apache.cocoon.components.language.LanguageException:
> Error
>  compiling search_xsp:
> ERROR 1 (C:\Documents and Settings\amazouz\Local
> Settings\Temp\Jetty__1234__\cocoon-files\org\webapp
> \__\search\search_xsp.java):
> ...
>     import org.exist.storage.serializers.Serializer;
>     
>     import org.apache.excalibur.xml.sax.SAXParser;
>     
> 
> // start error (lines 80-80) &quot; cannot access
> org.dynaprism.xsp.search.searchExprProcessor&quot;
>     import org.dynaprism.xsp.search.searchExprProcessor;
> 
> // end error
>     
> 
>     public class search_xsp extends XSPGenerator {
>         // Files this XSP depends on
> 
> ...
> Line 80, column -1:  cannot access
> org.dynaprism.xsp.search.searchExprProcessor
> Line 0, column 0: 
> 1 error
> </pre></p><p>full exception chain
> stacktrace<pre>org.apache.cocoon.ProcessingException:
>  Language Exception:
> org.apache.cocoon.components.language.LanguageException: Error compiling
> search_xsp
> :
> ERROR 1 (C:\Documents and Settings\amazouz\Local
> Settings\Temp\Jetty__1234__\cocoon-files\org\webapp
> \__\search\search_xsp.java):
> ...
>     import org.exist.storage.serializers.Serializer;
>     
>     import org.apache.excalibur.xml.sax.SAXParser;
>     
> 
> // start error (lines 80-80) &quot; cannot access
> org.dynaprism.xsp.search.searchExprProcessor&quot;
>     import org.dynaprism.xsp.search.searchExprProcessor;
> 
> // end error
>     
> 
>     public class search_xsp extends XSPGenerator {
>         // Files this XSP depends on
> 
> ...
> Line 80, column -1:  cannot access
> org.dynaprism.xsp.search.searchExprProcessor
> Line 0, column 0: 
> 1 error
> 
> 	at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loadProgram(ProgramGeneratorImpl
> .java:409)
> 	at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java
> :280)
> 	at
> org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:170)
> 	at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline
> .java:385)
> 	at
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline
> .java:620)
> 	at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline
> .java:503)
> 	at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline
> .java:455)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:46)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode
> .java:130)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :234)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :176)
> 	at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:46)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode
> .java:130)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :234)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :176)
> 	at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:46)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode
> .java:130)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :234)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :176)
> 	at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
> 	at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:405)
> 	at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:472)
> 	at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:525)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1457)
> 	at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:514)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1409)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:889)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:829)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:998)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:846)
> 	at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:345)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:530)
> Caused by: org.apache.cocoon.components.language.LanguageException: Error
> compiling search_xsp:
> ERROR 1 (C:\Documents and Settings\amazouz\Local
> Settings\Temp\Jetty__1234__\cocoon-files\org\webapp
> \__\search\search_xsp.java):
> ...
>     import org.exist.storage.serializers.Serializer;
>     
>     import org.apache.excalibur.xml.sax.SAXParser;
>     
> 
> // start error (lines 80-80) &quot; cannot access
> org.dynaprism.xsp.search.searchExprProcessor&quot;
>     import org.dynaprism.xsp.search.searchExprProcessor;
> 
> // end error
>     
> 
>     public class search_xsp extends XSPGenerator {
>         // Files this XSP depends on
> 
> ...
> Line 80, column -1:  cannot access
> org.dynaprism.xsp.search.searchExprProcessor
> Line 0, column 0: 
> 1 error
> 
> 	at
> org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:226
> )
> 	at
> org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage
> .java:173)
> 	at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loadProgram(ProgramGeneratorImpl
> .java:399)
> 	... 52 more
> org.apache.cocoon.components.language.LanguageException: Error compiling
> search_xsp:
> ERROR 1 (C:\Documents and Settings\amazouz\Local
> Settings\Temp\Jetty__1234__\cocoon-files\org\webapp
> \__\search\search_xsp.java):
> ...
>     import org.exist.storage.serializers.Serializer;
>     
>     import org.apache.excalibur.xml.sax.SAXParser;
>     
> 
> // start error (lines 80-80) &quot; cannot access
> org.dynaprism.xsp.search.searchExprProcessor&quot;
>     import org.dynaprism.xsp.search.searchExprProcessor;
> 
> // end error
>     
> 
>     public class search_xsp extends XSPGenerator {
>         // Files this XSP depends on
> 
> ...
> Line 80, column -1:  cannot access
> org.dynaprism.xsp.search.searchExprProcessor
> Line 0, column 0: 
> 1 error
> 
> 	at
> org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:226
> )
> 	at
> org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage
> .java:173)
> 	at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loadProgram(ProgramGeneratorImpl
> .java:399)
> 	at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java
> :280)
> 	at
> org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:170)
> 	at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline
> .java:385)
> 	at
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline
> .java:620)
> 	at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline
> .java:503)
> 	at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline
> .java:455)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:46)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode
> .java:130)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :234)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :176)
> 	at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:46)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode
> .java:130)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :234)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :176)
> 	at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:46)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode
> .java:130)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :234)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :176)
> 	at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
> 	at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:405)
> 	at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:472)
> 	at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:525)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1457)
> 	at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:514)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1409)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:889)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:829)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:998)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:846)
> 	at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:345)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:530)
> </pre></p><p>Request
> URI<pre>dy/search</pre></p><p>stacktrace<pre>org.apache
> .cocoon.components.language.LanguageException: Error compiling search_xsp:
> ERROR 1 (C:\Documents and Settings\amazouz\Local
> Settings\Temp\Jetty__1234__\cocoon-files\org\webapp
> \__\search\search_xsp.java):
> ...
>     import org.exist.storage.serializers.Serializer;
>     
>     import org.apache.excalibur.xml.sax.SAXParser;
>     
> 
> // start error (lines 80-80) &quot; cannot access
> org.dynaprism.xsp.search.searchExprProcessor&quot;
>     import org.dynaprism.xsp.search.searchExprProcessor;
> 
> // end error
>     
> 
>     public class search_xsp extends XSPGenerator {
>         // Files this XSP depends on
> 
> ...
> Line 80, column -1:  cannot access
> org.dynaprism.xsp.search.searchExprProcessor
> Line 0, column 0: 
> 1 error
> 
> 	at
> org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:226
> )
> 	at
> org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage
> .java:173)
> 	at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loadProgram(ProgramGeneratorImpl
> .java:399)
> 	at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java
> :280)
> 	at
> org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:170)
> 	at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline
> .java:385)
> 	at
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline
> .java:620)
> 	at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline
> .java:503)
> 	at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline
> .java:455)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:46)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode
> .java:130)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :234)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :176)
> 	at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:46)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode
> .java:130)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :234)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :176)
> 	at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:46)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode
> .java:130)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode
> .java:68)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :234)
> 	at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java
> :176)
> 	at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
> 	at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:405)
> 	at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:472)
> 	at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:525)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1457)
> 	at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:514)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1409)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:889)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:829)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:998)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:846)
> 	at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:345)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:530)
> </pre></p><p>request-uri<pre>/dy/search</pre></p><p
class='footer'>
> 
> Apache Cocoon 2.1.7</p></body></html>
> 
> All my application has always worked well.
> 
> I have tried to replace the jar of the Search by an old one, it works
> without a problem.
> 
> My XSP begins like this :
> <xsp:page language="java"
>   xmlns:xsp="http://apache.org/xsp"
>   xmlns:xdb="http://exist-db.org/xmldb/1.0"
>   xmlns:dy="http://www.dynaprism.org/dy/1.0"
>   xmlns:exist="http://exist.sourceforge.net/NS/exist"
>   
>>
> 
>    <xsp:structure>
>    
> <xsp:include>org.dynaprism.xsp.search.searchExprProcessor</xsp:include>
>    </xsp:structure>
> [...]
> 
> I do not understand why  he "cannot access
> org.dynaprism.xsp.search.searchExprProcessor" because the jar is in the
> right folder following the classpath :
> [...]
> wrapper.java.library.path.3="../ServerEdition/app/exist/lib/optional"
> 
> If somebody has an idea, it will help me a lot.
> 
> Thanks,
> Alexandre
> 

-- 
View this message in context: http://www.nabble.com/Java-XSP-ClassPath-and-Internal-Server-Error-tp23175534p23193757.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message