You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Annie Dumont <an...@univ-reunion.fr> on 2005/05/10 09:30:13 UTC

Error installing lenya-1.2.2

Hi list,

I am trying to install lenya-1.2.2. and i get this message when i test
it :


HTTP Status 500 - 

________________________________________________________________________

type Exception report

message 

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception 

javax.servlet.ServletException: Servlet.init() for servlet Cocoon threw exception
	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
	org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
	org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
	java.lang.Thread.run(Thread.java:534)

root cause 

java.lang.NoSuchMethodError: org.apache.xerces.xni.grammars.XSGrammar.toXSModel()Lorg/apache/xerces/xs/XSModel;
	com.hp.hpl.jena.datatypes.xsd.XSDDatatype.loadUserDefined(XSDDatatype.java:341)
	com.hp.hpl.jena.datatypes.xsd.XSDDatatype.loadUserDefined(XSDDatatype.java:305)
	com.hp.hpl.deli.VocabularyConfig.parseConfigFile(VocabularyConfig.java:161)
	com.hp.hpl.deli.VocabularyConfig.parseConfigFile(VocabularyConfig.java:175)
	com.hp.hpl.deli.VocabularyConfig.<init>(VocabularyConfig.java:56)
	com.hp.hpl.deli.Vocabulary.<init>(Vocabulary.java:42)
	com.hp.hpl.deli.Workspace$1CreateWorkspace.<init>(Workspace.java:176)
	com.hp.hpl.deli.Workspace.configure(Workspace.java:319)
	org.apache.cocoon.components.deli.DeliImpl.initialize(DeliImpl.java:117)
	org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
	org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:277)
	org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
	org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:522)
	org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:541)
	org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
	org.apache.cocoon.Cocoon.initialize(Cocoon.java:280)
	org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
	org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1382)
	org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:480)
	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
	org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
	org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
	java.lang.Thread.run(Thread.java:534)


Technical precisions
====================
system : 2.4.20-gentoo-r6
sun-jdk-1.4.2-06-b03
cocoon-2.1.6
tomcat-5.0.27-r4

Method used
===========
As written in  INSTALL-SRC.txt
- i unpacked cocoon (in /usr/share/cocoon)
- i unpacked lenya (in /usr/share/lenya)
- copied the local.build.properties and local.blocks properties of lenya in the cocoon directory
- built cocoon with ./build.sh
- built lenya after copying build.properties in local.builproperties and set cocoon directory, wepapp server, tomcat directory and tomcat webapp directory

Another lenya (olderversion) is running on the same machine on another tomcat webappdirectory : can it be a sort of conflict ?

Best regards.

Annie Dumont
University of Reunion Island




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Error installing lenya-1.2.2

Posted by Annie Dumont <an...@univ-reunion.fr>.
Le mardi 10 mai 2005 à 10:04 -0400, Gregor J. Rothfuss a écrit :
> Annie Dumont wrote:

> you need to copy endorsed libraries to tomcat as described here:
> 
> http://lenya.apache.org/1_2_x/installation/source_version.html#Install+with+Tomcat

Thank you very much for the link. The endorsed library where in the good
place, but there were other instances in other directories to remove, as
explained in the document. Now it works perfectly !

Best regards.

annie


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Error installing lenya-1.2.2

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Annie Dumont wrote:
> Hi list,
> 
> I am trying to install lenya-1.2.2. and i get this message when i test
> it :

you need to copy endorsed libraries to tomcat as described here:

http://lenya.apache.org/1_2_x/installation/source_version.html#Install+with+Tomcat

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Error installing lenya-1.2.2

Posted by Annie Dumont <an...@univ-reunion.fr>.
Hi list,

it seems to have many problems with our tomcat today.
After some stops and starts, no more message, but no lenya publication
too.
i get this :

Directory Listing For /

________________________________________________________________________
                                Filename
                                       Size
                                   Last Modified
                            global-sitemap.xmap
                                         17.8 kb
                                Tue, 10 May 2005
                                    05:57:25 GMT
                                  lenya/
                                                
                                Tue, 10 May 2005
                                    05:57:26 GMT
                               not-found.xml
                                          0.8 kb
                                Tue, 10 May 2005
                                    05:57:25 GMT
                                resources/
                                                
                                Tue, 10 May 2005
                                    05:57:26 GMT
                               sitemap.xmap
                                         33.0 kb
                                Tue, 10 May 2005
                                    05:57:26 GMT
                               stylesheets/
                                                
                                Tue, 10 May 2005
                                    05:57:23 GMT
                                test-suite/
                                                
                                Tue, 10 May 2005
                                    05:57:25 GMT
                                welcome.xml
                                          0.9 kb
                                Tue, 10 May 2005
                                    05:57:26 GMT
                               welcome.xslt
                                          2.3 kb
                                Tue, 10 May 2005
                                    05:57:26 GMT


Maybe it misses something to get the lenya default publication running.
Error by setting lenya/build.sh ?
Any idea to fix the problem ?

Regards,

annie

Le mardi 10 mai 2005 à 11:30 +0400, Annie Dumont a écrit :
> Hi list,
> 
> I am trying to install lenya-1.2.2. and i get this message when i test
> it :
> 
> 
> HTTP Status 500 - 
> 
> ________________________________________________________________________
> 
> type Exception report
> 
> message 
> 
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
> 
> exception 
> 
> javax.servlet.ServletException: Servlet.init() for servlet Cocoon threw exception
> 	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> 	org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> 	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> 	org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 	org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> 	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 	java.lang.Thread.run(Thread.java:534)
> 
> root cause 
> 
> java.lang.NoSuchMethodError: org.apache.xerces.xni.grammars.XSGrammar.toXSModel()Lorg/apache/xerces/xs/XSModel;
> 	com.hp.hpl.jena.datatypes.xsd.XSDDatatype.loadUserDefined(XSDDatatype.java:341)
> 	com.hp.hpl.jena.datatypes.xsd.XSDDatatype.loadUserDefined(XSDDatatype.java:305)
> 	com.hp.hpl.deli.VocabularyConfig.parseConfigFile(VocabularyConfig.java:161)
> 	com.hp.hpl.deli.VocabularyConfig.parseConfigFile(VocabularyConfig.java:175)
> 	com.hp.hpl.deli.VocabularyConfig.<init>(VocabularyConfig.java:56)
> 	com.hp.hpl.deli.Vocabulary.<init>(Vocabulary.java:42)
> 	com.hp.hpl.deli.Workspace$1CreateWorkspace.<init>(Workspace.java:176)
> 	com.hp.hpl.deli.Workspace.configure(Workspace.java:319)
> 	org.apache.cocoon.components.deli.DeliImpl.initialize(DeliImpl.java:117)
> 	org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
> 	org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:277)
> 	org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
> 	org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:522)
> 	org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:541)
> 	org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
> 	org.apache.cocoon.Cocoon.initialize(Cocoon.java:280)
> 	org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
> 	org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1382)
> 	org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:480)
> 	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> 	org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> 	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> 	org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 	org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> 	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 	java.lang.Thread.run(Thread.java:534)
> 
> 
> Technical precisions
> ====================
> system : 2.4.20-gentoo-r6
> sun-jdk-1.4.2-06-b03
> cocoon-2.1.6
> tomcat-5.0.27-r4
> 
> Method used
> ===========
> As written in  INSTALL-SRC.txt
> - i unpacked cocoon (in /usr/share/cocoon)
> - i unpacked lenya (in /usr/share/lenya)
> - copied the local.build.properties and local.blocks properties of lenya in the cocoon directory
> - built cocoon with ./build.sh
> - built lenya after copying build.properties in local.builproperties and set cocoon directory, wepapp server, tomcat directory and tomcat webapp directory
> 
> Another lenya (olderversion) is running on the same machine on another tomcat webappdirectory : can it be a sort of conflict ?
> 
> Best regards.
> 
> Annie Dumont
> University of Reunion Island
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org