Re: Serializig and LF: Problem

2002-09-30 Thread Skansen

Yes My full name is Jakob.

Is it so that Cocoon use the cache in the Work Directory when working with the command 
line tool.

//Jakob
- Original Message - 
From: "Luca Morandini" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 28, 2002 12:27 AM
Subject: RE: Serializig and LF: Problem


> Jakob (is that your name ?),
> 
> I meant the Cocoon's cache, not the browser's one.
> 
> Best regards,
> 
> - 
>Luca Morandini 
>GIS Consultant 
>   [EMAIL PROTECTED] 
> http://utenti.tripod.it/lmorandini/index.html 
> -----
>  
> 
> > -Original Message-
> > From: Skansen [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, September 28, 2002 12:08 AM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: Serializig and LF: Problem
> > 
> > 
> > It can't be the Cache because i used the Comandline.
> > 
> > //Jakob
> > - Original Message - 
> > From: "Luca Morandini" <[EMAIL PROTECTED]>
> > To: "Cocoon-users" <[EMAIL PROTECTED]>
> > Sent: Thursday, September 26, 2002 10:35 PM
> > Subject: RE: Serializig and LF: Problem
> > 
> > 
> > > Skansen,
> > > 
> > > hold on a second...
> > > 
> > > The indent tag recognizes only the "yes" value and the "non yes" values... I 
>mean, whatever you put into it would do 
> > the trick (as
> > > long as it is not "yes"): if you try "foo" it will work just as well as "no" or 
>"1".
> > > 
> > > Why it didn't work before ? Because you forgot to "touch" the XML source 
>document after changing the indent tag, hence, 
> > the result
> > > was retrieved from cache: don't worry, I did the same mistake myself :(
> > > 
> > > Ok, now I think this has been solved for good.
> > > 
> > > Best regards,
> > > 
> > > -
> > >Luca Morandini
> > >GIS Consultant
> > >   [EMAIL PROTECTED]
> > > http://utenti.tripod.it/lmorandini/index.html
> > > -
> > > 
> > > 
> > > > -Original Message-
> > > > From: Skansen [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, September 26, 2002 8:19 PM
> > > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > > Subject: Re: Serializig and LF: Problem
> > > >
> > > >
> > > > Thanks :)
> > > >
> > > > The tip on indent dit it but it should be put in the HTML serializer as 
>1
> > > >
> > > > Still got a one loose end were do it put  "http://www.w3.org/TR/xslt#strip";?
> > > >
> > > >
> > > > Regards
> > > >
> > > >
> > > >  Jakob
> > > >
> > > >
> > > > P.S
> > > > sitemap.xmp Before 1 was added to the serializer.
> > > >
> > > > --- Transformer ---
> > > >   
> > > >src="org.apache.cocoon.transformation.TraxTransformer">
> > > > false
> > > > false
> > > >
> > > >   
> > > >
> > > > --- Serializer ---
> > > > src="org.apache.cocoon.serialization.HTMLSerializer">
> > > >  ISO-8859-1
> > > >
> > > >
> > > > --- Resource ---
> > > > 
> > > >  
> > > >   
> > > >  
> > > >  
> > > > 
> > > >
> > > > --- part of Pipline ---
> > > >
> > > > 
> > > > 
> > > >  
> > > >   
> > > >   
> > > >  
> > > > 
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > - Original Message -
> > > > From: "Luca Morandini" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Thursday, September 26, 2002 3:44 PM
> > > > Subject: RE: Serializig and LF: Problem
> > > >
> > > >
> > > > > 
> > > > > > Must admit that I have not n

Re: Serializig and LF: Problem

2002-09-27 Thread Skansen

It can't be the Cache because i used the Comandline.

//Jakob
- Original Message - 
From: "Luca Morandini" <[EMAIL PROTECTED]>
To: "Cocoon-users" <[EMAIL PROTECTED]>
Sent: Thursday, September 26, 2002 10:35 PM
Subject: RE: Serializig and LF: Problem


> Skansen,
> 
> hold on a second...
> 
> The indent tag recognizes only the "yes" value and the "non yes" values... I mean, 
>whatever you put into it would do the trick (as
> long as it is not "yes"): if you try "foo" it will work just as well as "no" or "1".
> 
> Why it didn't work before ? Because you forgot to "touch" the XML source document 
>after changing the indent tag, hence, the result
> was retrieved from cache: don't worry, I did the same mistake myself :(
> 
> Ok, now I think this has been solved for good.
> 
> Best regards,
> 
> -
>Luca Morandini
>GIS Consultant
>   [EMAIL PROTECTED]
> http://utenti.tripod.it/lmorandini/index.html
> -
> 
> 
> > -Original Message-
> > From: Skansen [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 26, 2002 8:19 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: Serializig and LF: Problem
> >
> >
> > Thanks :)
> >
> > The tip on indent dit it but it should be put in the HTML serializer as 
>1
> >
> > Still got a one loose end were do it put  "http://www.w3.org/TR/xslt#strip";?
> >
> >
> > Regards
> >
> >
> >  Jakob
> >
> >
> > P.S
> > sitemap.xmp Before 1 was added to the serializer.
> >
> > --- Transformer ---
> >   
> >src="org.apache.cocoon.transformation.TraxTransformer">
> > false
> > false
> >
> >   
> >
> > --- Serializer ---
> > src="org.apache.cocoon.serialization.HTMLSerializer">
> >  ISO-8859-1
> >
> >
> > --- Resource ---
> > 
> >  
> >   
> >  
> >  
> > 
> >
> > --- part of Pipline ---
> >
> > 
> > 
> >  
> >   
> >   
> >  
> > 
> >
> >
> >
> >
> >
> > - Original Message -
> > From: "Luca Morandini" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, September 26, 2002 3:44 PM
> > Subject: RE: Serializig and LF: Problem
> >
> >
> > > 
> > > > Must admit that I have not noticed that from the first sight. :)
> > > 
> > >
> > > Vadim, you corrected me many times, let me return the favour once in a while ;)
> > >
> > > 
> > > > But I would try indent=no anyway.
> > > 
> > >
> > > I tried that to no avail (it was my first thought, too).
> > >
> > > 
> > > > >Anyway, a "span" will save the day :)
> > > > >
> > > >
> > > > Will it? There should be no difference in behaviour - which means that
> > > > this is an issue with serializer.
> > > 
> > >
> > > I guess it will, since  does't break HTML text as  does... though it 
>is included in a ... hmmm... don't
> > really know.
> > >
> > > Anyway, the behaviour of Xalan (or the Serializer) begs further investigations.
> > >
> > > Best regards,
> > >
> > > -
> > >Luca Morandini
> > >GIS Consultant
> > >   [EMAIL PROTECTED]
> > > http://utenti.tripod.it/lmorandini/index.html
> > > -
> > >
> > >
> > > > -Original Message-
> > > > From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, September 26, 2002 3:29 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Re: Serializig and LF: Problem
> > > >
> > > >
> > > > Luca Morandini wrote:
> > > >
> > > > >Vadim,
> > > > >
> > > > >I think the problem is not related to indentation, since the HTML output 
>appears to have no indentation; moreover, I presume
> > > > >strip-space will be of no use, since there are no spaces to strip in the 
>input elemen

Re: Serializig and LF: Problem

2002-09-26 Thread Skansen

Thanks :)

The tip on indent dit it but it should be put in the HTML serializer as 
1

Still got a one loose end were do it put  "http://www.w3.org/TR/xslt#strip";?


Regards


 Jakob


P.S
sitemap.xmp Before 1 was added to the serializer.

--- Transformer ---
  
   
false
false
   
  

--- Serializer ---

 ISO-8859-1
   

--- Resource ---

 
  
 
 


--- part of Pipline ---



 
  
  
 






- Original Message - 
From: "Luca Morandini" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 26, 2002 3:44 PM
Subject: RE: Serializig and LF: Problem


> 
> > Must admit that I have not noticed that from the first sight. :)
> 
> 
> Vadim, you corrected me many times, let me return the favour once in a while ;)
> 
> 
> > But I would try indent=no anyway.
> 
> 
> I tried that to no avail (it was my first thought, too).
> 
> 
> > >Anyway, a "span" will save the day :)
> > >
> > 
> > Will it? There should be no difference in behaviour - which means that 
> > this is an issue with serializer.
> 
> 
> I guess it will, since  does't break HTML text as  does... though it is 
>included in a ... hmmm... don't really know.
> 
> Anyway, the behaviour of Xalan (or the Serializer) begs further investigations.
> 
> Best regards,
> 
> - 
>Luca Morandini 
>GIS Consultant 
>   [EMAIL PROTECTED] 
> http://utenti.tripod.it/lmorandini/index.html 
> -
>  
> 
> > -Original Message-
> > From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 26, 2002 3:29 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Serializig and LF: Problem
> > 
> > 
> > Luca Morandini wrote:
> > 
> > >Vadim,
> > >
> > >I think the problem is not related to indentation, since the HTML output appears 
>to have no indentation; moreover, I presume
> > >strip-space will be of no use, since there are no spaces to strip in the input 
>elements.
> > >
> > >Look, the XSL fragment, according to Skansen, is:
> > >
> > > > 
>>name="href">index.htmlHome
> > >
> > 
> > Must admit that I have not noticed that from the first sight. :)
> > But I would try indent=no anyway.
> > 
> > 
> > >And the result is:
> > >
> > >
> > >
> > >Home
> > >
> > >
> > >
> > >Which, IMHO, cannot be, given the afore-mentioned XSL fragment: therefore this 
>might be a Xalan bug.
> > >
> > >Anyway, a "span" will save the day :)
> > >
> > 
> > Will it? There should be no difference in behaviour - which means that 
> > this is an issue with serializer.
> > 
> > Vadim
> > 
> > 
> > >Best regards,
> > >
> > >-----
> > >   Luca Morandini
> > >   GIS Consultant
> > >  [EMAIL PROTECTED]
> > >http://utenti.tripod.it/lmorandini/index.html
> > >-
> > >
> > >
> > >  
> > >
> > >>-Original Message-
> > >>From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> > >>Sent: Thursday, September 26, 2002 2:41 PM
> > >>To: [EMAIL PROTECTED]
> > >>Subject: Re: Serializig and LF: Problem
> > >>
> > >>
> > >>Vadim Gritsenko wrote:
> > >>
> > >>
> > >>
> > >>>Skansen wrote:
> > >>>
> > >>>  
> > >>>
> > >>>>Hello
> > >>>>
> > >>>>When using the XSL stylesheet below cocoon gives the output below.
> > >>>>
> > >>>>The problem is that after a  or a  i can't have a LF or CR.
> > >>>>If there is one i get aditional height in the row. (which is bad)
> > >>>>
> > >>>>What i would like to get is:
> > >>>>
> > >>>>
> > >>>>...
> > >>>>
> > >>>>Any idea how.
> > >>>>
> > >>>>
> > >>>1. Put this on one line http://www.w3.org/TR/xslt#strip

> > >>>2. http://www.w3.org/TR/xslt#strip
> >

Serializig and LF: Problem

2002-09-25 Thread Skansen

Hello

When using the XSL stylesheet below cocoon gives the output below.

The problem is that after a  or a  i can't have a LF or CR.
If there is one i get aditional height in the row. (which is bad)

What i would like to get is:


...

Any idea how.

I'm using cocoon from 20020826 on vm1.3 
I tried the output in Mozilla 1.1 and IE 5.5. With a stylesheet and 
... around it.

P.S
Cocoon reverse the attributes on output :)


Jakob

>XSL Transformation


http://www.w3.org/1999/XSL/Transform";>

  



 
  
  

  
 
 
index.htmlHome
   
xb-.html
   
 
 
  

  
 







-> Output from Cocoon










Home












-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: lauching error for cocoon

2002-03-12 Thread Skansen
Title: lauching error for cocoon



From the help i got on this list with "Jetty and 
Coccoon2, help?"
 
I think it has something to do with an empty 
pipline.
 
Se the answers to "Jetty and 
Cocoon2,help?"
 
//Jakob
 

  - Original Message - 
  From: 
  Cernuto 
  Michele 
  To: '[EMAIL PROTECTED]' 
  
  Sent: Tuesday, February 05, 2002 3:19 
  PM
  Subject: lauching error for cocoon
  
  I've got this error launching cocoon. 
  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
  What's that ? Please reply me soon Your 
  Gionny 
  Michele Cernuto 02 61806273 [EMAIL PROTECTED] www.axioma.it 


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-users&m=101509865506696&w=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-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
> > 
> 
> 
> 
> 
> -
> 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]>


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
>  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-users&m=101509865506696&w=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
> >

Re: Jetty and Cocoon2, help?

2002-03-11 Thread Skansen

I've followed the instructions in 

> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101509865506696&w=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.createResource(ProgramGeneratorImpl.java:335)
 at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.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.loadProgram(JavaLanguage.java:186)
 at 
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:201)
 at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:383)
 at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:328)
 at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.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-users&m=101509865506696&w=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
> 
> 
> > //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
> > > >
> >

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(Han

Jetty and Cocoon2, help?

2002-03-11 Thread Skansen

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.DocumentBuilderFactoryImpl
 
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl 
-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
 

-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.generateCode(AbstractMarkupLanguage.java:377)
 at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:365)
 at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:328)
 at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.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.



error.log
Description: Binary data


access.log
Description: Binary data


sitemap.log
Description: Binary data

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>