RE: Jetty and Cocoon2, help?

2002-03-12 Thread Vadim Gritsenko

Now it works. You may have issue with redirects, but otherwise it is
working.

PS If you find a problem why redirect does not work as it should, feel
free to send patches.

Vadim

 From: Skansen [mailto:[EMAIL PROTECTED]]
 
 see below
 
 - Original Message -
 From: Vadim Gritsenko [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, March 11, 2002 11:59 PM
 Subject: RE: Jetty and Cocoon2, help?
 
 
   From: Skansen [mailto:[EMAIL PROTECTED]]
  
   I've found the empty pipeline and corrected it and  instead  the
   following was recivied when accessing localhost:8080/cocoon/
 
  Are you sure you had trailing slash?
 
 yes
 
   HTTP ERROR: 404 Could not find resource for /welcome
   RequestURI=/welcome
  
   the url was also rewritten as localhost:8080/welcome
  
   Updated from the CVS and also got the above respons
  
  
   Any clue for the next step?
 
  1. I would like to see other log files also. The one you sent does
not
  indicate any error.
  2. Try http://localhost:8080/cocoon/welcome
 
 number 2 above gives the cocoon start page.
 


-
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: Jetty and Cocoon2, help?

2002-03-12 Thread Skansen

Thank you very much for all the help and assistens.

I got one last question regarding the extra-classpath

Why is it required to do the steps in presented in

 http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=101509865506696w=2

which i interperted as follows.
* copy xalan, xerces, xml-apis, batik to a directory 
* add jars in the above directory to the classpath for jetty

* remove xt from the cocoon servlet

* uncomment extra-classpath in web.xml and add the path to above jars
* do clean build
* remove the above mentioned jars from the servlet

Once again thanks YOU very much.

;-)akob

- Original Message - 
From: Vadim Gritsenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 2:51 PM
Subject: RE: Jetty and Cocoon2, help?


 Now it works. You may have issue with redirects, but otherwise it is
 working.
 
 PS If you find a problem why redirect does not work as it should, feel
 free to send patches.
 
 Vadim
 
  From: Skansen [mailto:[EMAIL PROTECTED]]
  
  see below
  
  - Original Message -
  From: Vadim Gritsenko [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, March 11, 2002 11:59 PM
  Subject: RE: Jetty and Cocoon2, help?
  
  
From: Skansen [mailto:[EMAIL PROTECTED]]
   
I've found the empty pipeline and corrected it and  instead  the
following was recivied when accessing localhost:8080/cocoon/
  
   Are you sure you had trailing slash?
  
  yes
  
HTTP ERROR: 404 Could not find resource for /welcome
RequestURI=/welcome
   
the url was also rewritten as localhost:8080/welcome
   
Updated from the CVS and also got the above respons
   
   
Any clue for the next step?
  
   1. I would like to see other log files also. The one you sent does
 not
   indicate any error.
   2. Try http://localhost:8080/cocoon/welcome
  
  number 2 above gives the cocoon start page.
  
 
 
 -
 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]
 


-
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: Jetty and Cocoon2, help?

2002-03-12 Thread Vadim Gritsenko

 From: Skansen [mailto:[EMAIL PROTECTED]]
 
 Thank you very much for all the help and assistens.
 
 I got one last question regarding the extra-classpath
 
 Why is it required to do the steps in presented in

In two words: classloading issues.
More detailed answer: AFAIU, some servlet engine (newer ones) prevent
webapp from loading some xml classes in the webapp's classloader but
forces to use classes loaded by the servlet engine; this causes
ClassCastException.


 
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=101509865506696w=2
 
 which i interperted as follows.
 * copy xalan, xerces, xml-apis, batik to a directory
 * add jars in the above directory to the classpath for jetty
 
 * remove xt from the cocoon servlet
 
 * uncomment extra-classpath in web.xml and add the path to above jars

Java compiler has to know were the classes are on the hard drive.


 * do clean build
 * remove the above mentioned jars from the servlet

They are not needed anymore because of extra-classpath.
 
Vadim

 Once again thanks YOU very much.
 
 ;-)akob
 
 - Original Message -
 From: Vadim Gritsenko [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, March 12, 2002 2:51 PM
 Subject: RE: Jetty and Cocoon2, help?
 
 
  Now it works. You may have issue with redirects, but otherwise it is
  working.
 
  PS If you find a problem why redirect does not work as it should,
feel
  free to send patches.
 
  Vadim
 
   From: Skansen [mailto:[EMAIL PROTECTED]]
  
   see below
  
   - Original Message -
   From: Vadim Gritsenko [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Monday, March 11, 2002 11:59 PM
   Subject: RE: Jetty and Cocoon2, help?
  
  
 From: Skansen [mailto:[EMAIL PROTECTED]]

 I've found the empty pipeline and corrected it and  instead
the
 following was recivied when accessing localhost:8080/cocoon/
   
Are you sure you had trailing slash?
   
   yes
   
 HTTP ERROR: 404 Could not find resource for /welcome
 RequestURI=/welcome

 the url was also rewritten as localhost:8080/welcome

 Updated from the CVS and also got the above respons


 Any clue for the next step?
   
1. I would like to see other log files also. The one you sent
does
  not
indicate any error.
2. Try http://localhost:8080/cocoon/welcome
  
   number 2 above gives the cocoon start page.
  
 
 
 
-
  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]
 
 
 
 -
 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]


-
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: Jetty and Cocoon2, help?

2002-03-11 Thread Vadim Gritsenko

I've seen this with Tomcat 4.0.2... Try adding extra-classpath and
removing xml jars from the cocoon's WEB-INF as described in cocoon +
tomcat 4.02+ installation instructions - published here on the list with
the prefix [SOLUTION]. It may help.

Regards,
Vadim

 -Original Message-
 From: Skansen [mailto:[EMAIL PROTECTED]]
 Sent: Monday, March 11, 2002 1:22 PM
 To: [EMAIL PROTECTED]
 Subject: Jetty and Cocoon2, help?
 
 Hello,
 
 I have been tracking this list for a while and is just starting to use
 coocoon2.
 
 My problem is that i'm not able to get cocoon2 running with jetty.
 I think i'm missing som jar or have configuered the parser wrong.
 
 Can anbody help me or should i give tomcat a try instead.
 
 regards
 
 //Jakob
 
 * I have succesfully downloaded from cvs and compiled cocoon 2.
 * I have read the posted information about jetty and cocoon2.
 * I'm  running jetty4 from cvs sources.
 
 * The classpath configuration is as follows:
 
 rem ===
 rem == set CLASSPATH
 rem ===
 echo ..Set classpath
 set CP=%JETTY_HOME%\lib\javax.servlet.jar
 set CP=%CP%;%JETTY_HOME%\lib\javax.servlet.jar
 set CP=%CP%;%JETTY_HOME%\lib\org.mortbay.jetty.jar
 rem set CP=%CP%;%JETTY_HOME%\lib\javax.xml.jaxp.jar
 set CP=%CP%;%JETTY_HOME%\cocoon-lib\xercesImpl.jar//from cocoon2
lib
 set CP=%CP%;%JETTY_HOME%\cocoon-lib\xml-APIs.jar// from
cocoon2 lib
 set CP=%CP%;%JETTY_HOME%\cocoon-lib\xalan.jar   // from
cocoon2
 lib
 rem set CP=%CP%;%JETTY_HOME%\lib\org.apache.crimson.jar
 set CP=%CP%;%JETTY_HOME%\lib\org.apache.jasper.jar
 set CP=%CP%;%JETTY_HOME%\lib\com.sun.net.ssl.jar
 set CP=%CP%;%JAVA_HOME%\lib\tools.jar
 set CP=%CP%
 
 * i have installed and unpacked cocoon2 in jetty/webapps
 
 * the commandline arguments is as follows:
 %JAVA_HOME%\bin\java
 -

Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Documen
tBuild
 erFactoryImpl
 -

Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFact
oryImp
 l
 -

Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.Trans
former
 FactoryImpl
 
 -cp %CP% org.mortbay.jetty.Server %ARGS%
 
 
 * when i start cocoon and acces it as htttp://localhost:8080/cocoon/
 i get
 the following respons in the browser
 
 
 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.gene
rateCo
 de(AbstractMarkupLanguage.java:377)
  at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen
erateR
 esource(ProgramGeneratorImpl.java:365)
  at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
ateRes
 ource(ProgramGeneratorImpl.java:328)
  at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(Prog
 ramGeneratorImpl.java:291)
  at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
  at java.lang.Thread.run(Thread.java:484)
 
 request-uri
 
 /cocoon/
 
 path-info
 
 
 * see atached files for errorlogs.


-
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: Jetty and Cocoon2, help?

2002-03-11 Thread Skansen

Thank for the prompt reply

I've not found the [solution] thread yout refer to and not the insatalltion 
insturcitons either.

I did find a lot about 4.02 and cocoon but i didn't give me any clue.

I dont follow you on:

* add extra-classpath
* removing xml jars

could your explain a bit more, please.

//Jakob

- Original Message - 
From: Vadim Gritsenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 11, 2002 7:35 PM
Subject: RE: Jetty and Cocoon2, help?


 I've seen this with Tomcat 4.0.2... Try adding extra-classpath and
 removing xml jars from the cocoon's WEB-INF as described in cocoon +
 tomcat 4.02+ installation instructions - published here on the list with
 the prefix [SOLUTION]. It may help.
 
 Regards,
 Vadim
 
  -Original Message-
  From: Skansen [mailto:[EMAIL PROTECTED]]
  Sent: Monday, March 11, 2002 1:22 PM
  To: [EMAIL PROTECTED]
  Subject: Jetty and Cocoon2, help?
  
  Hello,
  
  I have been tracking this list for a while and is just starting to use
  coocoon2.
  
  My problem is that i'm not able to get cocoon2 running with jetty.
  I think i'm missing som jar or have configuered the parser wrong.
  
  Can anbody help me or should i give tomcat a try instead.
  
  regards
  
  //Jakob
  
  * I have succesfully downloaded from cvs and compiled cocoon 2.
  * I have read the posted information about jetty and cocoon2.
  * I'm  running jetty4 from cvs sources.
  
  * The classpath configuration is as follows:
  
  rem ===
  rem == set CLASSPATH
  rem ===
  echo ..Set classpath
  set CP=%JETTY_HOME%\lib\javax.servlet.jar
  set CP=%CP%;%JETTY_HOME%\lib\javax.servlet.jar
  set CP=%CP%;%JETTY_HOME%\lib\org.mortbay.jetty.jar
  rem set CP=%CP%;%JETTY_HOME%\lib\javax.xml.jaxp.jar
  set CP=%CP%;%JETTY_HOME%\cocoon-lib\xercesImpl.jar//from cocoon2
 lib
  set CP=%CP%;%JETTY_HOME%\cocoon-lib\xml-APIs.jar// from
 cocoon2 lib
  set CP=%CP%;%JETTY_HOME%\cocoon-lib\xalan.jar   // from
 cocoon2
  lib
  rem set CP=%CP%;%JETTY_HOME%\lib\org.apache.crimson.jar
  set CP=%CP%;%JETTY_HOME%\lib\org.apache.jasper.jar
  set CP=%CP%;%JETTY_HOME%\lib\com.sun.net.ssl.jar
  set CP=%CP%;%JAVA_HOME%\lib\tools.jar
  set CP=%CP%
  
  * i have installed and unpacked cocoon2 in jetty/webapps
  
  * the commandline arguments is as follows:
  %JAVA_HOME%\bin\java
  -
 
 Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Documen
 tBuild
  erFactoryImpl
  -
 
 Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFact
 oryImp
  l
  -
 
 Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.Trans
 former
  FactoryImpl
  
  -cp %CP% org.mortbay.jetty.Server %ARGS%
  
  
  * when i start cocoon and acces it as htttp://localhost:8080/cocoon/
  i get
  the following respons in the browser
  
  
  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.gene
 rateCo
  de(AbstractMarkupLanguage.java:377)
   at
 
 org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen
 erateR
  esource(ProgramGeneratorImpl.java:365)
   at
 
 org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
 ateRes
  ource(ProgramGeneratorImpl.java:328)
   at
 
 org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
 d(Prog
  ramGeneratorImpl.java:291)
   at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
   at java.lang.Thread.run(Thread.java:484)
  
  request-uri
  
  /cocoon/
  
  path-info
  
  
  * see atached files for errorlogs.
 
 
 -
 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]
 


-
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: Jetty and Cocoon2, help?

2002-03-11 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Jetty and Cocoon2, help?





 Thank for the prompt reply
 
 I've not found the [solution] thread yout refer to and not 
 the insatalltion insturcitons either.


[SOLUTION] thread starts here:


http://www.mail-archive.com/cocoon-users@xml.apache.org/msg08784.html





RE: Jetty and Cocoon2, help?

2002-03-11 Thread Vadim Gritsenko

You are on the right path.

From the core.log:
---
WARN(2002-03-11) 21:17.41:210   [core.xslt-processor](/cocoon/)
SocketListener-0/TraxErrorHandler: Error in TraxTransformer:
jar:file:/C:/CVS2/Jetty/webapps/cocoon/WEB-INF/lib/cocoon-2.0.2-dev.jar!
/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl;
Line 1797; Column 34; 
; SystemID:
jar:file:/C:/CVS2/Jetty/webapps/cocoon/WEB-INF/lib/cocoon-2.0.2-dev.jar!
/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl;
Line#: 1797; Column#: 34
javax.xml.transform.TransformerException: Sitemap pipeline must have at
least one of: map:generate, map:aggregate, map:read, map:mount,
map:redirect-to, map:call.
---

Fix the error in the sitemap and try again. You have empty
map:pipeline/ somewhere in the sitemap.xmap.

PS If you have Saturdday/Sunday's CVS version of Cocoon - update it.

Vadim


 From: Skansen [mailto:[EMAIL PROTECTED]]
 
 I've followed the instructions in
 
 
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=101509865506696w=2
 
 which i interperted as follows.
 * copy xalan, xerces, xml-apis, batik to a directory
 * add jars in the above directory to the classpath for jetty
 * remove xt from the cocoon servlet
 
 * uncomment extra-classpath in web.xml and add the path to above jars
 * do clean build
 * remove the above mentioned jars from the servlet
 
 When i've done the above i get a new error which i haven't the slitest
clue
 at:
 
 Cocoon 2 - Internal server error
 
 type fatal
 
 message Language Exception
 
 description org.apache.cocoon.ProcessingException: Language Exception:
 org.apache.cocoon.components.language.LanguageException: Could not
load class
 for program 'org\apache\cocoon\www\sitemap_xmap' due to a
 java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap
 
 sender org.apache.cocoon.servlet.CocoonServlet
 
 source Cocoon servlet
 
 stack-trace
 
 org.apache.cocoon.ProcessingException: Language Exception:
 org.apache.cocoon.components.language.LanguageException: Could not
load class
 for program 'org\apache\cocoon\www\sitemap_xmap' due to a
 java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap
  at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
ateRes
 ource(ProgramGeneratorImpl.java:335)
  at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(Prog
 ramGeneratorImpl.java:291)
  at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
  at java.lang.Thread.run(Thread.java:484)
 org.apache.cocoon.components.language.LanguageException: Could not
load class
 for program 'org\apache\cocoon\www\sitemap_xmap' due to a
 java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap
  at

org.apache.cocoon.components.language.programming.java.JavaLanguage.load
Progra
 m(JavaLanguage.java:186)
  at

org.apache.cocoon.components.language.programming.CompiledProgrammingLan
guage.
 load(CompiledProgrammingLanguage.java:201)
  at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen
erateR
 esource(ProgramGeneratorImpl.java:383)
  at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
ateRes
 ource(ProgramGeneratorImpl.java:328)
  at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(Prog
 ramGeneratorImpl.java:291)
  at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
  at java.lang.Thread.run(Thread.java:484)
 
 request-uri
 
 /cocoon/
 
 path-info
 
 
 - Original Message -
 From: Vadim Gritsenko [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, March 11, 2002 8:44 PM
 Subject: RE: Jetty and Cocoon2, help?
 
 
   From: Skansen [mailto:[EMAIL PROTECTED]]
  
   Thank for the prompt reply
  
   I've not found the [solution] thread yout refer to and not the
   insatalltion insturcitons either.
 
  Here it is:
 
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=101509865506696w=2
 
 
   I did find a lot about 4.02 and cocoon but i didn't give me any
clue.
  
   I dont follow you on:
  
   * add extra-classpath
   * removing xml jars
  
   could your explain a bit more, please.
 
  See in the link above. Hope it helps.
 
  Vadim

snip/


-
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: Jetty and Cocoon2, help?

2002-03-11 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Jetty and Cocoon2, help?





 PS If you have Saturdday/Sunday's CVS version of Cocoon - update it.
 


I build the 20020310231733 (for the sake of your eyes - Sunday 10th, 23:17:33) snapshot late last night...if everything seems to be working on my end, should I worry about the above statement?

-Tom





RE: Jetty and Cocoon2, help?

2002-03-11 Thread Vadim Gritsenko

No :)
That's in regard to error he got.

Vadim

-Original Message-
From: von Schwerdtner, Thomas (GXS, FPI)
[mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 11, 2002 3:56 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Jetty and Cocoon2, help?

 PS If you have Saturdday/Sunday's CVS version of Cocoon - update it. 
 
I build the 20020310231733 (for the sake of your eyes - Sunday 10th,
23:17:33) snapshot late last night...if everything seems to be working
on my end, should I worry about the above statement?
-Tom 


-
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: Jetty and Cocoon2, help?

2002-03-11 Thread Skansen

I've found the empty pipeline and corrected it and  instead  the following was 
recivied when
accessing localhost:8080/cocoon/

HTTP ERROR: 404 Could not find resource for /welcome
RequestURI=/welcome

the url was also rewritten as localhost:8080/welcome

Updated from the CVS and also got the above respons


Any clue for the next step?


//Jakob

- Original Message - 
From: Vadim Gritsenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 11, 2002 9:45 PM
Subject: RE: Jetty and Cocoon2, help?


 You are on the right path.
 
 From the core.log:
 ---
 WARN(2002-03-11) 21:17.41:210   [core.xslt-processor](/cocoon/)
 SocketListener-0/TraxErrorHandler: Error in TraxTransformer:
 jar:file:/C:/CVS2/Jetty/webapps/cocoon/WEB-INF/lib/cocoon-2.0.2-dev.jar!
 /org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl;
 Line 1797; Column 34; 
 ; SystemID:
 jar:file:/C:/CVS2/Jetty/webapps/cocoon/WEB-INF/lib/cocoon-2.0.2-dev.jar!
 /org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl;
 Line#: 1797; Column#: 34
 javax.xml.transform.TransformerException: Sitemap pipeline must have at
 least one of: map:generate, map:aggregate, map:read, map:mount,
 map:redirect-to, map:call.
 ---
 
 Fix the error in the sitemap and try again. You have empty
 map:pipeline/ somewhere in the sitemap.xmap.
 
 PS If you have Saturdday/Sunday's CVS version of Cocoon - update it.
 
 Vadim
 
 
  From: Skansen [mailto:[EMAIL PROTECTED]]
  
  I've followed the instructions in
  
  
 http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=101509865506696w=2
  
  which i interperted as follows.
  * copy xalan, xerces, xml-apis, batik to a directory
  * add jars in the above directory to the classpath for jetty
  * remove xt from the cocoon servlet
  
  * uncomment extra-classpath in web.xml and add the path to above jars
  * do clean build
  * remove the above mentioned jars from the servlet
  
  When i've done the above i get a new error which i haven't the slitest
 clue
  at:
  
  Cocoon 2 - Internal server error
  
  type fatal
  
  message Language Exception
  
  description org.apache.cocoon.ProcessingException: Language Exception:
  org.apache.cocoon.components.language.LanguageException: Could not
 load class
  for program 'org\apache\cocoon\www\sitemap_xmap' due to a
  java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap
  
  sender org.apache.cocoon.servlet.CocoonServlet
  
  source Cocoon servlet
  
  stack-trace
  
  org.apache.cocoon.ProcessingException: Language Exception:
  org.apache.cocoon.components.language.LanguageException: Could not
 load class
  for program 'org\apache\cocoon\www\sitemap_xmap' due to a
  java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap
   at
 
 org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
 ateRes
  ource(ProgramGeneratorImpl.java:335)
   at
 
 org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
 d(Prog
  ramGeneratorImpl.java:291)
   at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
   at java.lang.Thread.run(Thread.java:484)
  org.apache.cocoon.components.language.LanguageException: Could not
 load class
  for program 'org\apache\cocoon\www\sitemap_xmap' due to a
  java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap
   at
 
 org.apache.cocoon.components.language.programming.java.JavaLanguage.load
 Progra
  m(JavaLanguage.java:186)
   at
 
 org.apache.cocoon.components.language.programming.CompiledProgrammingLan
 guage.
  load(CompiledProgrammingLanguage.java:201)
   at
 
 org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen
 erateR
  esource(ProgramGeneratorImpl.java:383)
   at
 
 org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
 ateRes
  ource(ProgramGeneratorImpl.java:328)
   at
 
 org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
 d(Prog
  ramGeneratorImpl.java:291)
   at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
   at java.lang.Thread.run(Thread.java:484)
  
  request-uri
  
  /cocoon/
  
  path-info
  
  
  - Original Message -
  From: Vadim Gritsenko [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, March 11, 2002 8:44 PM
  Subject: RE: Jetty and Cocoon2, help?
  
  
From: Skansen [mailto:[EMAIL PROTECTED]]
   
Thank for the prompt reply
   
I've not found the [solution] thread yout refer to and not the
insatalltion insturcitons either.
  
   Here it is:
  
 http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=101509865506696w=2
  
  
I did find a lot about 4.02 and cocoon but i didn't give me any
 clue.
   
I dont follow you on:
   
* add extra-classpath
* removing xml jars
   
could your explain a bit more, please.
  
   See in the link above. Hope it helps.
  
   Vadim
 
 snip

RE: Jetty and Cocoon2, help?

2002-03-11 Thread Vadim Gritsenko

 From: Skansen [mailto:[EMAIL PROTECTED]]
 
 I've found the empty pipeline and corrected it and  instead  the 
 following was recivied when accessing localhost:8080/cocoon/

Are you sure you had trailing slash?

 
 HTTP ERROR: 404 Could not find resource for /welcome
 RequestURI=/welcome
 
 the url was also rewritten as localhost:8080/welcome
 
 Updated from the CVS and also got the above respons
 
 
 Any clue for the next step?

1. I would like to see other log files also. The one you sent does not
indicate any error.
2. Try http://localhost:8080/cocoon/welcome

Vadim

 
 //Jakob
 

snip/


-
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: Jetty and Cocoon2, help?

2002-03-11 Thread Skansen

see below

- Original Message - 
From: Vadim Gritsenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 11, 2002 11:59 PM
Subject: RE: Jetty and Cocoon2, help?


  From: Skansen [mailto:[EMAIL PROTECTED]]
  
  I've found the empty pipeline and corrected it and  instead  the 
  following was recivied when accessing localhost:8080/cocoon/
 
 Are you sure you had trailing slash?
 
yes
  
  HTTP ERROR: 404 Could not find resource for /welcome
  RequestURI=/welcome
  
  the url was also rewritten as localhost:8080/welcome
  
  Updated from the CVS and also got the above respons
  
  
  Any clue for the next step?
 
 1. I would like to see other log files also. The one you sent does not
 indicate any error.
 2. Try http://localhost:8080/cocoon/welcome

number 2 above gives the cocoon start page.

 
 Vadim
 
  
  //Jakob
  
 
 snip/
 
 
 -
 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]
 



access.log
Description: Binary data


sitemap.log
Description: Binary data


core.log
Description: Binary data

-
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]