cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brad Cox <b...@virtualschool.edu>
Subject RE: Cocoon and Jetty??
Date Thu, 28 Feb 2002 18:42:22 GMT
At 11:02 AM -0500 2/28/02, Vadim Gritsenko wrote:
>Apparently you had previous version of Cocoon.
>http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101183982808469&w=2
>Read solution number (6)

Thanks. But re: Do not forget to remove Cocoon's working directory!!!

Where is cocoon's working directory?


>>  -----Original Message-----
>>  From: Brad Cox [mailto:bcox@virtualschool.edu]
>>  Sent: Thursday, February 28, 2002 9:50 AM
>>  To: cocoon-users@xml.apache.org
>>  Subject: Cocoon and Jetty??
>>
>>  I'm new to cocoon. Just downloaded it yesterday and can't get it to
>run.
>>
>>  AFAIK Jetty doesn't expand wars, so I expanded it manually into
>>  /cocoon/war. /cocoon and /jetty are symlinks to /usr/local/realdir.
>>  Configured jetty to treat /cocoon/war as a webapp as always. In
>>  particular, in /etc/jetty.xml:
>>
>>  	<Call name="addWebApplication">
>>  		<Arg>/cocoon/*</Arg>
>>  		<Arg>/cocoon/war/</Arg>
>>  		<Arg>/jetty/etc/webdefault.xml</Arg>
>>  		<Arg type="boolean">false</Arg>
>>  	</Call>
>>
>>  and in apache's httpd.conf add.
>>
>>  	ProxyPass /cocoon http://localhost:8080/cocoon
>>
>>  I built cocoon as described in the install, modified to use jetty
>>  instead of tomcat:
>>
>>  	./build.sh  -Dinclude.webapp.libs=yes
>>  -Dinstall.war=/jetty/webapps webapp
>>
>>  The Jetty logs are normal except that they now show Server 1.6 on the
>>  air, hit ^C to abort, presumably from cocoon.
>>
>>  All this on Linux RH 7.0, Jetty (latest), and IBM SDK 1.3.1 (latest).
>>  For Cocoon, same results with the release version and via CVS
>>  checkout/rebuild.
>>
>>  Can someone help me get on the air?
>>
>>  sitemap.log
>>
>>  ERROR   (2002-02-28) 09:28.11:234   [sitemap](/cocoon/)
>>  SocketListener-0/Handler: Error compiling sitemap
>>  java.lang.NoSuchFieldError:
>>  org.apache.cocoon.sitemap.AbstractSitemap: field manager not found
>>  	at
>org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:347)
>>  	at
>>
>org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc
>e(Defa
>>  ultComponentFactory.java:172)
>>  	at
>>
>org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial
>ize(Th
>>  readSafeComponentHandler.java:84)
>>  	at
>>
>org.apache.cocoon.components.language.generator.GeneratorSelector.addGen
>erator
>>  (GeneratorSelector.java:165)
>>  	at
>>
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
>d(Prog
>>  ramGeneratorImpl.java:251)
>>  	at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
>>  	at java.lang.Thread.run(Thread.java:498)
>>
>>  error.log
>>  ERROR   (2002-02-28) 09:28.11:269[access](/cocoon/)
>>  SocketListener-0/CocoonServlet: Problem with servlet
>>  org.apache.cocoon.ProcessingException: Error compiling sitemap:
>>  java.lang.NoSuchFieldError:
>>  org.apache.cocoon.sitemap.AbstractSitemap: field manager not found
>>  	at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
>>  	at java.lang.Thread.run(Thread.java:498)
>>  java.lang.NoSuchFieldError:
>>  org.apache.cocoon.sitemap.AbstractSitemap: field manager not found
>>  	at
>org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:347)
>>  	at
>>
>org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc
>e(Defa
>>  ultComponentFactory.java:172)
>>  	at
>>
>org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial
>ize(Th
>>  readSafeComponentHandler.java:84)
>>  	at
>>
>org.apache.cocoon.components.language.generator.GeneratorSelector.addGen
>erator
>>  (GeneratorSelector.java:165)
>>  	at
>>
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
>d(Prog
>>  ramGeneratorImpl.java:251)
>>  	at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
>>  	at java.lang.Thread.run(Thread.java:498)
>>  java.lang.NoSuchFieldError:
>>  org.apache.cocoon.sitemap.AbstractSitemap: field manager not found
>>  	at
>org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:347)
>>  	at
>>
>org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc
>e(Defa
>>  ultComponentFactory.java:172)
>>  	at
>>
>org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial
>ize(Th
>>  readSafeComponentHandler.java:84)
>>  	at
>>
>org.apache.cocoon.components.language.generator.GeneratorSelector.addGen
>erator
>>  (GeneratorSelector.java:165)
>>  	at
>>
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
>d(Prog
>>  ramGeneratorImpl.java:251)
>>  	at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
>>  	at java.lang.Thread.run(Thread.java:498)
>>
>>  access.log
>>  INFO    (2002-02-28) 09:27.47:710   [access](/cocoon/)
>>  SocketListener-1/CocoonServlet: '' Processed by Apache Cocoon
>>  2.0.2-dev in 410 milliseconds.
>>  DEBUG   (2002-02-28) 09:28.11:167   [access](/cocoon/)
>>  SocketListener-0/AbstractEnvironment: Resolving 'sitemap.xmap' in
>>  context 'file:/cocoon/war/'
>>  DEBUG   (2002-02-28) 09:28.11:168   [access](/cocoon/)
>>  SocketListener-0/AbstractEnvironment: Resolved to
>>  'file:/cocoon/war/sitemap.xmap'
>>  DEBUG   (2002-02-28) 09:28.11:168   [access](/cocoon/)
>>  SocketListener-0/AbstractEnvironment: Resolving '' in context
>>  'file:/cocoon/war/'
>>  DEBUG   (2002-02-28) 09:28.11:169   [access](/cocoon/)
>>  SocketListener-0/AbstractEnvironment: Resolved to 'file:/cocoon/war/'
>>  ERROR   (2002-02-28) 09:28.11:250   [access](/cocoon/)
>>  SocketListener-0/CocoonServlet: Problem with servlet
>>  org.apache.cocoon.ProcessingException: Error compiling sitemap:
>>  java.lang.NoSuchFieldError:
>>  org.apache.cocoon.sitemap.AbstractSitemap: field manager not found
>>  	at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
>>  	at java.lang.Thread.run(Thread.java:498)
>>  java.lang.NoSuchFieldError:
>>  org.apache.cocoon.sitemap.AbstractSitemap: field manager not found
>>  	at
>org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:347)
>>  	at
>>
>org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc
>e(Defa
>>  ultComponentFactory.java:172)
>>  	at
>>
>org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial
>ize(Th
>>  readSafeComponentHandler.java:84)
>>  	at
>>
>org.apache.cocoon.components.language.generator.GeneratorSelector.addGen
>erator
>>  (GeneratorSelector.java:165)
>>  	at
>>
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
>d(Prog
>>  ramGeneratorImpl.java:251)
>>  	at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
>>  	at java.lang.Thread.run(Thread.java:498)
>>  java.lang.NoSuchFieldError:
>>  org.apache.cocoon.sitemap.AbstractSitemap: field manager not found
>>  	at
>org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:347)
>>  	at
>>
>org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc
>e(Defa
>>  ultComponentFactory.java:172)
>>  	at
>>
>org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial
>ize(Th
>>  readSafeComponentHandler.java:84)
>>  	at
>>
>org.apache.cocoon.components.language.generator.GeneratorSelector.addGen
>erator
>>  (GeneratorSelector.java:165)
>>  	at
>>
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
>d(Prog
>>  ramGeneratorImpl.java:251)
>>  	at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
>>  	at java.lang.Thread.run(Thread.java:498)
>>  INFO    (2002-02-28) 09:28.11:391   [access](/cocoon/)
>>  SocketListener-0/CocoonServlet: '' Processed by Apache Cocoon
>>  2.0.2-dev in 303 milliseconds.
>>
>>
>>  --
>>  Brad Cox, PhD; bcox@virtualschool.edu 703 361 4751
>>  o For industrial age goods there were checks and credit cards.
>>      For everything else there is http://virtualschool.edu/mybank
>>  o Java Interactive Learning Environment http://virtualschool.edu/jile
>>  o Java Web Application Architecture: http://virtualschool.edu/jwaa
>>
>>
>>
>>  ---------------------------------------------------------------------
>>  Please check that your question has not already been answered in the
>>  FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>>  To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
>>  For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

-- 
Brad Cox, PhD; bcox@virtualschool.edu 703 361 4751
o For industrial age goods there were checks and credit cards.
    For everything else there is http://virtualschool.edu/mybank
o Java Interactive Learning Environment http://virtualschool.edu/jile
o Java Web Application Architecture: http://virtualschool.edu/jwaa



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message