What is the secret...

2002-04-24 Thread Brad Cox

What is the trick to unsubscribing from this list? I've followed 
these instructions dozens of times by now, including direct email to 
the administrator, but the flood just continues.

Yes, this is the address I subscribed with.

>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
-- 
Brad Cox, PhD; [EMAIL PROTECTED] 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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: Cocoon and Jetty

2002-03-02 Thread Brad Cox

At 11:11 AM +0100 3/2/02, giacomo wrote:
>>  After wasting this whole week trying  to get Cocoon out of the box
>>  with not one suggestions from cocoon developers, I'm beginning to get
>>  the message.
>
>Maybe you missed the reply from Vadim. He *is* a cocoon developer.

Then my apologies to Vadim. This was not apparent from his sig.

>Finally my suggestion to you would be try it on another servlet engine
>as my experience is that is usually *does* run out of the box following
>the installation guidlines from the documents.

As I said, the problem is not with Jetty. I've tried it with two 
versions of tomcat with similar results to those reported below.

I'm not interested in "taking anything out" on this list. I'm 
interested in getting my app on the air, while repaying the help I 
did receive (largely) from users with a bread crumb trail to zope, 
which  appears to be a superior alternative to cocoon that DOES work 
out of the box and does have support from its developers. Bye now.

On Friday 01 March 2002 03:17 pm, Anthony W. Marino wrote:
>Under a regular user acct, I've reinstalled the latest cocoon(cvs) dist with
>several different releases of TC4 (4.01,4.02, 4.03, 4.10) with NO positive
>results.
>The above log results remain the same.


-- 
Brad Cox, PhD; [EMAIL PROTECTED] 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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: Cocoon and Jetty ---> Zope

2002-03-01 Thread Brad Cox

After wasting this whole week trying  to get Cocoon out of the box 
with not one suggestions from cocoon developers, I'm beginning to get 
the message.

The following review points to Zope as a way out. Its time to trash 
my investment in Java and rebuild my application in Zope. What a 
bloody waste.

A comparative review of Zope and Cocoon.
http://www.arielpartners.com/arielpartners/content/public/topics/technology/technologyReviews/zopeVsCocoon

-- 
Brad Cox, PhD; [EMAIL PROTECTED] 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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: Cocoon and Jetty??

2002-03-01 Thread Brad Cox

At 1:14 PM -0800 3/1/02, Rob Finneran wrote:
>Well, I'm not really sure, but my hunch still is that it's still picking up
>the either the  crimson stuff or a different version of JAXP (now I really
>don't know much about what I'm talking about!)

I don't think so, see below:

>Somewhere you classpath is picking up something from the wrong libriaries.
>That's why I recommened that you more closely control your classpath. I
>thought I've seen this problem before, if I remember correctly. It occurs
>not only with Jetty, but Tomcat as well. Also, be careful that these API are
>not loaded from your JAVA_HOME/lib/ext directory either.

Will check that next. I've since downloaded tomcat 4.0.2 AND AM 
GETTING EXACTLY THE SAME PROBLEM.

>BTW, the .war should be expanded to the webapps/cocoon directory and not the
>webapps/war/cocoon. But I don't think this is your first problem, In fact I
>would bet that your problem is with completly replacing the Crimson
>processor with Xerces. Try removing cocoon completly and just get Jetty to
>work with Xerces first.

I've been using xerces, xalan and velocity with jetty in my own 
webapps previously so I know jetty works properly with thse. I've 
eliminated everything but cocoon from webapps by now just to be safe.

The jetty DEBUG output explicitly lists the jars its examining:

12:21:25.234 DEBUG  try findClass 
org.apache.jasper.servlet.JspServlet from 

file:/jetty/webapps/cocoon/WEB-INF/lib/javac.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/avalon-scratchpad-20020212.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/xalan-2.3.1.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jakarta-regexp-1.2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/avalon-framework-4.1.2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/logkit-1.0.1.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/commons-collections-1.0.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/xerces.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/xml-apis.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/commons-httpclient-20011012.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/avalon-excalibur-4.1.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/fop-0.20.3rc.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/xmldb-api-2001.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jimi-1.0.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/hsqldb-1.61.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/batik-libs-1.1.1.jar,
file:/jetty/webapps/cocoon 
/WEB-INF/lib/velocity-1.2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/resolver-20020130.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/rhino-1.5r3.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/xt-19991105.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jstyle.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/maybeupload_1-0-5pre3.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/lucene-1.2-rc2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/rdffilter.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jisp_1_0_2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/deli-0.43.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/bsf-2.2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jena-1.3.0.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jtidy-04aug2000r7-dev.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/pizza-1.1.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/cocoon-2.0.2-dev.jar,
file:/jetty/webapps/cocoon/WEB-INF/classes/


>-Original Message-
>From: Brad Cox [mailto:[EMAIL PROTECTED]]
>Sent: Friday, March 01, 2002 8:16 AM
>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Greg
>Wilkins
>Subject: RE: Cocoon and Jetty??
>
>
>At 5:49 PM -0800 2/28/02, Rob Finneran wrote:
>>Hey Brad nice to see you around again,
>
>And thanks for the help! But after making all of your changes, I'm
>still getting exactly the same problem. See possible clue towards the
>end. I've also downloaded the latest version of xerces (was using the
>beta before) and installed that as instructed in jetty/lib and
>cocoon/war/WEB-INF/lib.
>
>At 10:57 AM -0500 3/1/02, Brad Cox wrote:
>>Cocoon 2 - Internal server error
>>type fatal
>>message SAX2 driver class org.apache.xerces.parsers.SAXParser does
>>not implement XMLReader
>>description java.lang.ClassCastException:
>>org.apache.xerces.parsers.StandardParserConfiguration
>>sender org.apache.cocoon.servlet.CocoonServlet
>>source Cocoon servlet
>>stack-trace
>>java.lang.ClassCastException:
>>org.apache.xerces.parsers.StandardParserConfiguration
>>  at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
>>  at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
>>  at
>>org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generat
>eCode(AbstractMarkupLanguage.java:377)
>>  at
>>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.ge

Re: C2/TC4 issues

2002-03-01 Thread Brad Cox

Where did you get TC4.01? All I see at apache.org is TC4.02 and 3.x.

At 12:11 PM -0800 3/1/02, Bruce Perryman wrote:
>OK, here's my deal. I've had similar problems for
>about a week.
>First, Peter Baer (God bless him) did this research
>with  some other folks and found, among other things,
>that TC4.02 doesn't work with C2 and that if you
>install and run as root you'll have problems as well.
>I tried changing ownership/permissions from root to
>another user and had no success.
>I finally started all over, downloading TC4.01 and
>C2(C2.02-dev) from CVS. I built and installed the
>source as a normal user and not as root. It worked.
>My suggestion is first view "Install and run C2+T4 as
>user, not root!" on Cocoon-users and thank Peter. Then
>if you've been doing this as root, start over as a
>normal user and remember. Thank Peter.
>
>Bruce
>--- "Anthony W. Marino" <[EMAIL PROTECTED]>
>wrote:
>>  I've tried TC4.02/TC4.1 with C2.01 and continue to
>>  have problems.  The
>>  following is what my TC "localhost_log" file shows
>>  me:
>>
>>  2002-03-01 14:19:51 StandardManager[/cocoon]:
>>  Seeding of random number
>>  generator has been completed
>>  2002-03-01 14:19:52
>>  StandardWrapper[/cocoon:Cocoon2]: Marking servlet
>>  Cocoon2
>>  as unavailable
>>  2002-03-01 14:19:52 StandardContext[/cocoon]:
>>  Servlet /cocoon threw load()
>>  exception
>>  javax.servlet.ServletException: Wrapper cannot find
>>  servlet class
>>  org.apache.cocoon.servlet.CocoonServlet or a class
>>  it depends on 
>>
>>
>>  JDK1.3.1/SuSE 7.3 2.4.18 kernel.
>>
>>  Can someone please point me in the correct
>>  direction.
>>  Thank You,
>>  Anthony
>>
>>
>-
>>  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:
>>  <[EMAIL PROTECTED]>
>>  For additional commands, e-mail:
>>  <[EMAIL PROTECTED]>
>>
>
>
>__
>Do You Yahoo!?
>Yahoo! Greetings - Send FREE e-cards for every occasion!
>http://greetings.yahoo.com
>
>-
>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: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>

-- 
Brad Cox, PhD; [EMAIL PROTECTED] 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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: Cocoon and Jetty??

2002-03-01 Thread Brad Cox

At 5:49 PM -0800 2/28/02, Rob Finneran wrote:
>Hey Brad nice to see you around again,

And thanks for the help! But after making all of your changes, I'm 
still getting exactly the same problem. See possible clue towards the 
end. I've also downloaded the latest version of xerces (was using the 
beta before) and installed that as instructed in jetty/lib and 
cocoon/war/WEB-INF/lib.

At 10:57 AM -0500 3/1/02, Brad Cox wrote:
>Cocoon 2 - Internal server error
>type fatal
>message SAX2 driver class org.apache.xerces.parsers.SAXParser does 
>not implement XMLReader
>description java.lang.ClassCastException: 
>org.apache.xerces.parsers.StandardParserConfiguration
>sender org.apache.cocoon.servlet.CocoonServlet
>source Cocoon servlet
>stack-trace
>java.lang.ClassCastException: 
>org.apache.xerces.parsers.StandardParserConfiguration
>   at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
>   at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
>   at 
>org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generateCode(AbstractMarkupLanguage.java:377)
>   at 
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:368)
>   at 
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:331)
>   at 
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:294)
>   at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
>   at java.lang.Thread.run(Thread.java:498)

Here's my ~/.jettrc

export JAVA_HOME="/jdk"
export JAVA="$JAVA_HOME/bin/java"
export JETTY_HOME="/jetty"
export JETTY_OPTIONS="-DDEBUG \
 
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl\
 
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl\
 
-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl\
"
export
JAVA_OPTIONS="\
 
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl\
 
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl\
 
-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl\
"

Which (I think) is the same as your instructions. The only thing in 
jetty/webaps at this point is cocoon/war; all my webapps are removed.

[bcox@linux:/jetty/webapps]$ d /jetty/webapps
total 0
lrwxrwxrwx1 bcox wheel  12 Feb 28 11:30 cocoon -> /cocoon/war/

[bcox@linux:/jetty/webapps]$ d /jetty/lib
total 1264
-rw-r--r--1 bcox wheel  474421 Oct 21 08:57 com.sun.net.ssl.jar
-rw-r--r--1 bcox wheel   75163 Feb 28 12:56 javax.servlet.jar
-rw-r--r--1 bcox wheel  277370 Feb 28 12:56 org.apache.jasper.jar
-rw-r--r--1 bcox wheel  453817 Feb 28 12:56 org.mortbay.jetty.jar
lrwxrwxrwx1 bcox wheel  28 Mar  1 10:18 parser.jar -> 
/xerces/build/xercesImpl.jar
lrwxrwxrwx1 bcox wheel  39 Feb 28 16:53 
xalan-2.3.1.jar -> /cocoon/war/WEB-INF/lib/xalan-2.3.1.jar
lrwxrwxrwx1 bcox wheel  31 Mar  1 10:17 
xmlParserAPIs.jar -> /xerces/build/xmlParserAPIs.jar
drwxr-xr-x6 bcox wheel1024 Feb 28 18:29 z

[bcox@linux:/jetty/webapps]$ d /cocoon/war/WEB-INF/lib/
total 14411
-rw-r--r--1 bcox wheel  196490 Feb 28 15:45 
avalon-excalibur-4.1.jar
-rw-r--r--1 bcox wheel   47564 Feb 28 15:45 
avalon-framework-4.1.2.jar
-rw-r--r--1 bcox wheel  242984 Feb 28 15:45 
avalon-scratchpad-20020212.jar
drwxr-xr-x2 bcox wheel1024 Mar  1 10:48 bak
-rw-r--r--1 bcox wheel 2028870 Feb 28 15:45 batik-libs-1.1.1.jar
-rw-r--r--1 bcox wheel  105573 Feb 28 15:45 bsf-2.2.jar
-rw-r--r--1 bcox wheel  926259 Feb 28 15:45 cocoon-2.0.2-dev.jar
-rw-r--r--1 bcox wheel   58798 Feb 28 15:45 
commons-collections-1.0.jar
-rw-r--r--1 bcox wheel   64553 Feb 28 15:45 
commons-httpclient-20011012.jar
-rw-r--r--1 bcox wheel   25882 Feb 28 15:45 deli-0.43.jar
-rw-r--r--1 bcox wheel 1794398 Feb 28 15:45 fop-0.20.3rc.jar
-rw-r--r--1 bcox wheel  180902 Feb 28 15:45 hsqldb-1.61.jar
-rw-r--r--1 bcox wheel   29871 Feb 28 15:45 jakarta-regexp-1.2.jar
-rw-r--r--1 bcox wheel 4929061 Feb 28 15:45 javac.jar
-rw-r--r--1 bcox wheel  613396 Feb 28 15:45 jena-1.3.0.jar
-rw-r--r--1 bcox wheel  455489 Feb 28 15:45 jimi-1.0.jar
-rw-r--r--1 bcox wheel   17592 Feb 28 15:45 jisp_1_0_2.jar
-rw-r--r--1 bcox wheel   25391 Feb 28 15:45 jstyle.jar
-rw-r--r--1 bcox wheel  161826 Feb 28 15:45 
jtidy-04aug2000r7-dev.ja

RE: Cocoon and Jetty??

2002-02-28 Thread Brad Cox

I'm still unable to get cocoon running on jetty. Been at it all day.

I'm using the CVS version of xml-cocoon, built according to 
instructions. I've replaced all xalan, xercse, crimson, and xml-api 
files in /jetty/lib with those from cocoon, and done everything else 
recommended in the article (below). Yes, I've removed the build 
directory (which is in /tmp in jetty's case).

Current symptoms follow. Looks like a classloader problem but danged 
if I can find it.

type fatal

message SAX2 driver class org.apache.xerces.parsers.SAXParser does 
not implement XMLReader

description java.lang.ClassCastException: 
org.apache.xerces.parsers.StandardParserConfiguration

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace

java.lang.ClassCastException: 
org.apache.xerces.parsers.StandardParserConfiguration
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
at 
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generateCode(AbstractMarkupLanguage.java:377)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:368)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:331)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:294)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
at java.lang.Thread.run(Thread.java:498)


request-uri

/cocoon/


path-info

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)
>
>Vadim
>
>>  -Original Message-
>>  From: Brad Cox [mailto:[EMAIL PROTECTED]]
>>  Sent: Thursday, February 28, 2002 9:50 AM
>>  To: [EMAIL PROTECTED]
>>  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:
>>
>>  
>>  /cocoon/*
>>  /cocoon/war/
>>  /jetty/etc/webdefault.xml
>>  false
>>  
>>
>>  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:29

RE: Cocoon and Jetty??

2002-02-28 Thread Brad Cox

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:[EMAIL PROTECTED]]
>>  Sent: Thursday, February 28, 2002 9:50 AM
>>  To: [EMAIL PROTECTED]
>>  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:
>>
>>  
>>  /cocoon/*
>>  /cocoon/war/
>>  /jetty/etc/webdefault.xml
>>  false
>>  
>>
>>  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.

Cocoon and Jetty??

2002-02-28 Thread Brad Cox
dler.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.newInstance(DefaultComponentFactory.java:172)
at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:84)
at 
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:165)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.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.newInstance(DefaultComponentFactory.java:172)
at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:84)
at 
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:165)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.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; [EMAIL PROTECTED] 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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>