Re: JSPGenerator encoding problem

2002-02-07 Thread yuryx

Piroumian, Konstantin wrote:

>Another idea:
>
><%@ page language="java" encoding="koi8-r"%>
>
Hi Konstantin!
with this idea I have next exception
/org.apache.cocoon.ProcessingException: ServletException in 
JspGenerator.generate()/

>
>
>or something like
>
><%@ page language="java" %>
><% response.setContentType("text/xml; charset=KOI8-r"); %>
>
>If you can send your JSP page to me I can take a look at it.
>
My simple jsp page:

<%@ page language="java" 
import="java.text.SimpleDateFormat,java.util.*,java.sql.*"%>



<%
out.println("ÐÒÉ×ÅÔ!");
%>
   


>
>
>- Original Message -
>From: "yuryx" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, February 08, 2002 9:46 AM
>Subject: Re: JSPGenerator encoding problem
>
>
>Thanx for ideas ,Vadim.
>But I can't undestand how declare JSP encoding.
>
>instead of <%out.println("");%> I try
> in sample.jsp
>but again it doesn't work :(
>Yury
>
>Vadim Gritsenko wrote:
>
>>Your JSP is not valid. It does not declares JSP encoding as it should.
>>Obviously JSP runtime is unable to read characters correctly.
>>
>>Regards,
>>Vadim
>>
>>>-Original Message-
>>>From: yuryx [mailto:[EMAIL PROTECTED]]
>>>Sent: Thursday, February 07, 2002 1:06 PM
>>>To: [EMAIL PROTECTED]
>>>Subject: Re: JSPGenerator encoding problem
>>>
>>>Without transformation I have
>>>
>>>
>>>
>>>
>>>
>>>ÐÒÉ×ÅÔ!
>>>
>>>
>>>
>>>
>>>
>>>
>>>Problem with generation, I know...
>>>
>>>Piroumian, Konstantin wrote:
>>>
Is it the problem of JSPGenerator or maybe this happens during
transformation or serialization? Try to remove the transformer from

>>the
>>
pipeline or replace JSPGenerator with FileGenerator and use static

>>content
>>
in KOI8-r to find out what is the cause of the problem.

Regards,
  Konstantin Piroumian

- Original Message -
From: "yuryx" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 07, 2002 7:50 PM
Subject: JSPGenerator encoding problem


Hello all!

I have following problem.
JSPGenerator doesn't normally encoding non english  characters.
Simple sample:
sample.jsp:
<%out.println("");%>
<%@ page language="java"
import="java.text.SimpleDateFormat,java.util.*,java.sql.*"%>


  
  <%out.println("ÐÒÉ×ÅÔ!");%>
  


sample.xsl:

>>>xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
  xmlns:xsp-request="http://apache.org/xsp/request/2.0";


 
  
   

   
  
  
   
  
 



  



I have following  line in sitemap:
>>>src="org.apache.cocoon.generation.JspGenerator"
logger="sitemap.generator.jsp" label="content,data">
  KOI8-R

...and...
 
   
   
   
  

After generation I have next:








???ÐÒÉ×ÅÔ! ???






Can anyone help me?
Thanx
Yury



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


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

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





<%@ page lang

Re: JSPGenerator encoding problem

2002-02-07 Thread yuryx

Hi Peter!
I try your recomendation
but it don't  solved my problem :(
Encoding problem in Generator , or, maybe, in jasper compiller...
Yury
Peter Schwenke wrote:

>Hi Yury,
>
>Have you tried 
>
>
>  
>   src="org.apache.cocoon.serialization.LinkSerializer"/>
>   src="org.apache.cocoon.serialization.XMLSerializer"
>   pool-max="32" pool-min="16" pool-grow="4"/>
>   src="org.apache.cocoon.serialization.HTMLSerializer">
>   koi8-r   < That is, put the koi8-r encoding here
>   
>
>
>   ...Peter
> 
>yuryx writes:
> > Without transformation I have
> > 
> > 
> > 
> > 
> > 
> > ÐÒÉ×ÅÔ!
> > 
> > 
> > 
> > 
> > 
> > 
> > Problem with generation, I know...
> > 
> > Piroumian, Konstantin wrote:
> > 
> > >Is it the problem of JSPGenerator or maybe this happens during
> > >transformation or serialization? Try to remove the transformer from the
> > >pipeline or replace JSPGenerator with FileGenerator and use static content
> > >in KOI8-r to find out what is the cause of the problem.
> > >
> > >Regards,
> > >Konstantin Piroumian
> > >
> > >- Original Message -
> > >From: "yuryx" <[EMAIL PROTECTED]>
> > >To: <[EMAIL PROTECTED]>
> > >Sent: Thursday, February 07, 2002 7:50 PM
> > >Subject: JSPGenerator encoding problem
> > >
> > >
> > >Hello all!
> > >
> > >I have following problem.
> > >JSPGenerator doesn't normally encoding non english  characters.
> > >Simple sample:
> > >sample.jsp:
> > ><%out.println("");%>
> > ><%@ page language="java"
> > >import="java.text.SimpleDateFormat,java.util.*,java.sql.*"%>
> > >
> > >
> > >
> > ><%out.println("привет!");%>
> > >
> > >
> > >
> > >sample.xsl:
> > >
> > > > >xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
> > >xmlns:xsp-request="http://apache.org/xsp/request/2.0";
> > >
> > >  
> > >   
> > >
> > > 
> > >  
> > > 
> > >
> > >
> > > 
> > >
> > >   
> > >  
> > >
> > >  
> > >
> > >  
> > >
> > >
> > >I have following  line in sitemap:
> > > > >src="org.apache.cocoon.generation.JspGenerator"
> > >logger="sitemap.generator.jsp" label="content,data">
> > >KOI8-R
> > >
> > >...and...
> > >   
> > > 
> > > 
> > > 
> > >
> > >
> > >After generation I have next:
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >???ÐÒÉ×ÅÔ! ???
> > >
> > >
> > >
> > >
> > >
> > >
> > >Can anyone help me?
> > >Thanx
> > >Yury
> > >
> > >
> > >
> > >-
> > >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]>
> > >
> > >
> > >-
> > >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]>
> > >
> > 
> > 
> > 
> > 
> > -
> > 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]>
>




-
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: JSPGenerator encoding problem

2002-02-07 Thread Piroumian, Konstantin

Another idea:

<%@ page language="java" encoding="koi8-r"%>

or something like

<%@ page language="java" %>
<% response.setContentType("text/xml; charset=KOI8-r"); %>

If you can send your JSP page to me I can take a look at it.

- Original Message -
From: "yuryx" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 08, 2002 9:46 AM
Subject: Re: JSPGenerator encoding problem


Thanx for ideas ,Vadim.
But I can't undestand how declare JSP encoding.

instead of <%out.println("");%> I try
 in sample.jsp
but again it doesn't work :(
Yury

Vadim Gritsenko wrote:

>Your JSP is not valid. It does not declares JSP encoding as it should.
>Obviously JSP runtime is unable to read characters correctly.
>
>Regards,
>Vadim
>
>>-Original Message-
>>From: yuryx [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, February 07, 2002 1:06 PM
>>To: [EMAIL PROTECTED]
>>Subject: Re: JSPGenerator encoding problem
>>
>>Without transformation I have
>>
>>
>>
>>
>>
>>ÐÒÉ×ÅÔ!
>>
>>
>>
>>
>>
>>
>>Problem with generation, I know...
>>
>>Piroumian, Konstantin wrote:
>>
>>>Is it the problem of JSPGenerator or maybe this happens during
>>>transformation or serialization? Try to remove the transformer from
>>>
>the
>
>>>pipeline or replace JSPGenerator with FileGenerator and use static
>>>
>content
>
>>>in KOI8-r to find out what is the cause of the problem.
>>>
>>>Regards,
>>>   Konstantin Piroumian
>>>
>>>- Original Message -
>>>From: "yuryx" <[EMAIL PROTECTED]>
>>>To: <[EMAIL PROTECTED]>
>>>Sent: Thursday, February 07, 2002 7:50 PM
>>>Subject: JSPGenerator encoding problem
>>>
>>>
>>>Hello all!
>>>
>>>I have following problem.
>>>JSPGenerator doesn't normally encoding non english  characters.
>>>Simple sample:
>>>sample.jsp:
>>><%out.println("");%>
>>><%@ page language="java"
>>>import="java.text.SimpleDateFormat,java.util.*,java.sql.*"%>
>>>
>>>
>>>   
>>>   <%out.println("ÐÒÉ×ÅÔ!");%>
>>>   
>>>
>>>
>>>sample.xsl:
>>>
>xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
>>>   xmlns:xsp-request="http://apache.org/xsp/request/2.0";
>>>
>>> 
>>>  
>>>   
>>>
>>> 
>>>
>>>   
>>>   
>>>
>>>   
>>>  
>>> 
>>>
>>> 
>>>   
>>> 
>>>
>>>
>>>I have following  line in sitemap:
>src="org.apache.cocoon.generation.JspGenerator"
>>>logger="sitemap.generator.jsp" label="content,data">
>>>   KOI8-R
>>>
>>>...and...
>>>  
>>>
>>>
>>>
>>>   
>>>
>>>After generation I have next:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>???ÐÒÉ×ÅÔ! ???
>>>
>>>
>>>
>>>
>>>
>>>
>>>Can anyone help me?
>>>Thanx
>>>Yury
>>>
>>>
>>>
>>>-
>>>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]>
>>>
>>>
>>>-
>>>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]>
>>>
>>
>>
>>
>>-
>>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]>
>>
>
>
>-
>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]>
>




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


-
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: JSPGenerator encoding problem

2002-02-07 Thread yuryx

Thanx for ideas ,Vadim.
But I can't undestand how declare JSP encoding.

instead of <%out.println("");%> I try 
 in sample.jsp
but again it doesn't work :(
Yury

Vadim Gritsenko wrote:

>Your JSP is not valid. It does not declares JSP encoding as it should.
>Obviously JSP runtime is unable to read characters correctly.
>
>Regards,
>Vadim
>
>>-Original Message-
>>From: yuryx [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, February 07, 2002 1:06 PM
>>To: [EMAIL PROTECTED]
>>Subject: Re: JSPGenerator encoding problem
>>
>>Without transformation I have
>>
>>
>>
>>
>>
>>ÐÒÉ×ÅÔ!
>>
>>
>>
>>
>>
>>
>>Problem with generation, I know...
>>
>>Piroumian, Konstantin wrote:
>>
>>>Is it the problem of JSPGenerator or maybe this happens during
>>>transformation or serialization? Try to remove the transformer from
>>>
>the
>
>>>pipeline or replace JSPGenerator with FileGenerator and use static
>>>
>content
>
>>>in KOI8-r to find out what is the cause of the problem.
>>>
>>>Regards,
>>>   Konstantin Piroumian
>>>
>>>- Original Message -
>>>From: "yuryx" <[EMAIL PROTECTED]>
>>>To: <[EMAIL PROTECTED]>
>>>Sent: Thursday, February 07, 2002 7:50 PM
>>>Subject: JSPGenerator encoding problem
>>>
>>>
>>>Hello all!
>>>
>>>I have following problem.
>>>JSPGenerator doesn't normally encoding non english  characters.
>>>Simple sample:
>>>sample.jsp:
>>><%out.println("");%>
>>><%@ page language="java"
>>>import="java.text.SimpleDateFormat,java.util.*,java.sql.*"%>
>>>
>>>
>>>   
>>>   <%out.println("ÐÒÉ×ÅÔ!");%>
>>>   
>>>
>>>
>>>sample.xsl:
>>>
>xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
>>>   xmlns:xsp-request="http://apache.org/xsp/request/2.0";
>>>
>>> 
>>>  
>>>   
>>>
>>> 
>>>
>>>   
>>>   
>>>
>>>   
>>>  
>>> 
>>>
>>> 
>>>   
>>> 
>>>
>>>
>>>I have following  line in sitemap:
>src="org.apache.cocoon.generation.JspGenerator"
>>>logger="sitemap.generator.jsp" label="content,data">
>>>   KOI8-R
>>>
>>>...and...
>>>  
>>>
>>>
>>>
>>>   
>>>
>>>After generation I have next:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>???ÐÒÉ×ÅÔ! ???
>>>
>>>
>>>
>>>
>>>
>>>
>>>Can anyone help me?
>>>Thanx
>>>Yury
>>>
>>>
>>>
>>>-
>>>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]>
>>>
>>>
>>>-
>>>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]>
>>>
>>
>>
>>
>>-
>>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]>
>>
>
>
>-
>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]>
>




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




Problem in accessing cocoon on weblogic

2002-02-07 Thread S Manoj

Hi,
I couldnt register my name to the cocoon-user list..so posting this
from my personal mailid. Please reply me on the mailid itself.
I am facing the following exception when i deploy cocoon on weblogic 6.1
: -
I guess, the same problem was posted by
Christophe de Kerviler on Mon, 25 Jun 2001 18:17:09 +0200
Can anyone or Chrstophe help me to find the solution of this. Guess that
Christophe has found the solution .
here is the exception on web browser: -

Cocoon 2 - Internal server error



type internal-server-error

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

request-uri

/hpws/cocoon/Soap/Discovery

exception

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

path-info

cocoon/Soap/Discovery

stacktrace

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:278)

 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:192)

 at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
 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:124)

 at
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:144)

 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:324)

 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:275)

 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:192)

 at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
 at java.lang.Thread.run(Thread.java:484)




--
Manoj Seth


  Hewlett-Packard,
  India Software Operation,
  30-c, I Floor,
  Cunningham Road,
  Bangalore - 560 052.
  Ph: 2051190




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




cocoon sitemap to match all xml files?

2002-02-07 Thread Vishal Khatnani

Hi,

I would like to add a configuration on my sitemap that will match all
xml files on my server and render using the appropriate stylesheet. I
want it to look at the stylesheet specified in the xml file, and use
that.

Before rendering, cocoon should look at the xml file, and see which one
to use by figuring out what type of request it is. As far as I know, you
specify in the xml file which xsl stylesheet to use according to the
request. In this way, I can use different stylesheet names, (e.g.
style-wap, style-web,etc.) and use the one which is appropriate.

e.g: in the xml file:




Also, do you need  in your xml file? I
have migrated to cocoon 2 and you had to have this line in your xml
files but do we need them in the latest version of cocoon?

Please let me know,
Thanks!

-- 
Vishal Khatnani  -- x74287
Applications Support/Sys Admin
Infrastructure Support Group (ESIT)
Sun Microsystems, Inc.

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




a question on xsp and a question on parameterizing xslt

2002-02-07 Thread Donald Ball

hi guys, long time no see. if anyone's curious where i've been, see the
apologetic post to cocoon-dev i just sent in. now, on to my questions. :)

1. a long while back, we had some discussion on whether or not one should
be able to send a redirect from an xsp page. i'd thought the eventual
consensus was that we should, but i guess i was wrong, since the response
logicsheet doesn't seem to provide any way to send a redirect, nor does
the Response interface provide a redirect method. however, one of the c2
docs _does_ reference such a method:

http://xml.apache.org/cocoon/userdocs/concepts/actions.html

compares and contrasts xsp pages and actions. the xsp page it contains has
the following snippet:


mypool

SELECT userid FROM users
WHERE name=name
AND password=password


userid = 








the alleged messiness of the code notwithstanding (;)), it seems to be a
common development idiom to want to redirect the user to a different url
or pipeline if something goes awry in an xsp page (the user can't login to
the database, the user doesn't have permission to do something, etc.) if
one cannot send a redirect from an xsp page in c2, can one switch
pipelines based on a flow control statement in an xsp page?

naturally, i can see that one could refactor and use actions to do the
pipeline switching and/or redirecting instead, but i still can't see any
good reason to prohibit early exit from a pipeline, via sendRedirect or
sendError from any component, including xsp pages. it's not always
desirable to factor to split the flow control stuff out of xsp pages into
actions. or is it?

2. in developing my own standalone j2ee webapps using trax, i quickly
realized that if you don't know at what url your webapp is going to be
mounted, you can't use absolute links to resources in your webapp, e.g.
images, javascript libraries, etc. but strictly using relative paths in
your xslt stylesheets when referencing those resources is not only a real
pita, it's impossible if that stylesheet if used in the construction of
urls that appear at different depths in the urlspace. the easy solution is
to parameterize the stylesheet with the context path information:




i presume c2 does not already parameterize stylesheets with this datum by
default. does anyone know how you would easily add that parameter to all,
or a certain class, of xslt transformations? also, i presume that others
have encountered this problem. is there an alternate solution anyone has
used that's better?

- donald


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




can't extend AbstractDOMTransformer, aditional info

2002-02-07 Thread Thorsten Mauch

in the sitemap.log I found:
org.apache.cocoon.ProcessingException: 
Could not read resource
file:/C:/tomcat/webapps/cocoon/chiba/sapdb.xml:
java.lang.NullPointerException
at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:209)
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:355)
at
org.apache.cocoon.www.chiba.sitemap_xmap.matchN1002B(sitemap_xmap.java:461)
at
org.apache.cocoon.www.chiba.sitemap_xmap.process(sitemap_xmap.java:369)
at
org.apache.cocoon.www.chiba.sitemap_xmap.process(sitemap_xmap.java:312)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:180)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:127)
at
org.apache.cocoon.www.sitemap_xmap.matchN102CF(sitemap_xmap.java:3617)
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2626)
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2432)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:180)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:127)
at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:144)
at org.apache.cocoon.Cocoon.process(Cocoon.java:582)

-Ursprüngliche Nachricht-
Von: Thorsten Mauch [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 7. Februar 2002 23:30
An: '[EMAIL PROTECTED]'
Betreff: can't extend AbstractDOMTransformer, was Could not read
resource file


Hi all 
You may seen my previous messages. Now I
can explain my exact environment.
Under win2000 I installed
a new version from
Tomcat 4.01
and Cocoon 2.0.1
jdk1.3.1

I wrote a simple Transformer that extends AbstractDOMTransformer:

public class XFormTrans extends AbstractDOMTransformer {
  protected Document transform(Document doc) {
return doc;
  }
}

if i add this transformer to the sitemap:







the sitemap is setuped correctly, but if I access the the pipe
I get a error message:

type fatal
message Could not read resource
file:/C:/tomcat/webapps/cocoon/chiba/buglet.xml
description org.apache.cocoon.ProcessingException: Could not read resource
file:/C:/tomcat/webapps/cocoon/chiba/buglet.xml:
java.lang.NullPointerException
sender org.apache.cocoon.servlet.CocoonServlet

If I exchange the domtransfomer with the xslt-transformer 
no error occour.

I tried also Tomcat 4.0 and jdk 1.3, 1.4 beta3 
with the same result.

At least any ideas in what where I can seek
this error ?

thanx thorsten


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

-
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: Problem with Actions (C2)

2002-02-07 Thread Andre Thenot

On Thursday, February 7, 2002, at 04:06 , Vadim Gritsenko wrote:

> Make a change:
(snip)
>>src="docs/samples/xsp/{../1}.xsp"/>
(snip)
> Note that {1} replaced with {../1}.
> It's like a path. Actions/matchers are like nodes.

Yeehaa! Thanks a lot! Now that I look back in the docs, it 
_does_ say to use {../1}. Sorry... I've been staring at that 
code all day long. :-(
   However, there's an error in that same page ("Creating and 
using actions") that took me a while to see: to get the value 
back from the action, the XSP in the example should contain:



instead of:



Now, I'm so excited that it works!
Thanks you s much!!!

Andre.


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




can't extend AbstractDOMTransformer, was Could not read resource file

2002-02-07 Thread Thorsten Mauch

Hi all 
You may seen my previous messages. Now I
can explain my exact environment.
Under win2000 I installed
a new version from
Tomcat 4.01
and Cocoon 2.0.1
jdk1.3.1

I wrote a simple Transformer that extends AbstractDOMTransformer:

public class XFormTrans extends AbstractDOMTransformer {
  protected Document transform(Document doc) {
return doc;
  }
}

if i add this transformer to the sitemap:







the sitemap is setuped correctly, but if I access the the pipe
I get a error message:

type fatal
message Could not read resource
file:/C:/tomcat/webapps/cocoon/chiba/buglet.xml
description org.apache.cocoon.ProcessingException: Could not read resource
file:/C:/tomcat/webapps/cocoon/chiba/buglet.xml:
java.lang.NullPointerException
sender org.apache.cocoon.servlet.CocoonServlet

If I exchange the domtransfomer with the xslt-transformer 
no error occour.

I tried also Tomcat 4.0 and jdk 1.3, 1.4 beta3 
with the same result.

At least any ideas in what where I can seek
this error ?

thanx thorsten


-
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: Getting dbxml to work with Cocoon and tomcat 4

2002-02-07 Thread Vadim Gritsenko

> From: Michael Homeijer [mailto:[EMAIL PROTECTED]]
> 
> Hi,
> 
> Can anybody give me some hints on how to get dbxml to work with cocoon
and
> tomcat 4. I tried placing jars in just about any location that could
make
> sense, but I can't get it working completely.
> (OpenOrb is the initial problem, it cannot find its properties in the
jar in
> web-inf/lib).

What you are trying to do with it?

To run Cocoon as dbXML client you need only dbxml.jar and juggernaut.jar
(not sure about the spelling - it's gone from xindice), and fire up
dbXML server on the local box. Then it will work out of the box (no
config file changes)

Vadim



-
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: Problem with Actions (C2)

2002-02-07 Thread Vadim Gritsenko

> From: Andre Thenot [mailto:[EMAIL PROTECTED]]
> 
> Hi,
> 
> I've looked in the docs and in the archives but I can't find out
> why I'm having trouble with actions in Cocoon 2.0 (binary
> version). Here's what I did:
> 
> 1. I created a HelloPoohAction.java, almost identical to the one
> in the "Creating and using actions" docs, except that I added
> import statements for Redirector and SourceResolver, and the
> act() method contains:
> 
>Map sitemapParams = new HashMap();
>sitemapParams.put("mySiteParamValue", "Eeyore");
>Request request = (Request)
objectModel.get(Constants.REQUEST_OBJECT);
>request.setAttribute("myname", "Tigger");
>return sitemapParams;
> 
> 2. I compiled this file and placed the class file into a
> sub-directory of WEB-INF/classes (to match the package).
> 
> 3. I stopped Tomcat (4.0.1), and removed Cocoon's work directory
> (just in case anything was cached).
> 
> 4. At the top of my sitemap, I have in the  section:
> 
>  src="com.newhomesdirect.web.HelloPoohAction"/>
> 
> and my  section looks like this:
> 

Make a change:

> 
>  
>   
>   
> value="docs/samples/xsp/{../1}.xsp"/>
>   
>  
>  
> 

Note that {1} replaced with {../1}.
It's like a path. Actions/matchers are like nodes.

Vadim



-
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: javaservlet xml cocoon

2002-02-07 Thread Vishal Khatnani

Hi,

Thanks for your help I will install cocoon 2. Can you send me some
examples? e.g source code

Thanks,
Vishal




Joseph Jupin wrote:
> 
> are you calling the servlet first and having it talk to
> cocoon?  If so, then you need to use the  type="stream"> pipeline to capture the output and then
> have it processed by the rest of the pipeline - this is
> what I do with my stuff  (plus some other URLConnection
> setup stuff in the servlet)...  If you need an example,
> please let me know...
> 
> peace.  JOe...
> 
> On Thu, 07 Feb 2002 11:20:09 -0700
>   Vishal Khatnani <[EMAIL PROTECTED]> wrote:
> >Hi,
> >
> >The problem im having is with cocoon and java servlets. I
> >am using
> >cocoon with iplanet web server and i can successfully
> >view static xml
> >pages. The problem is that my java servlet prints xml
> >output, and it
> >doesn't get passed to cocoon. All i get is a blank page.
> >However, when i
> >go to "view source" on my browser, I can see the xml
> >output but it's not
> >being passed to cocoon. I did a lot of searching over the
> >net and found
> >something regarding a producer class that passes the out
> >stream to
> >cocoon... but I couldn't really understand it.
> >
> >Please email me with ideas, links to source code, etc.
> >
> >Greatly appreciated...
> >
> >Thanks in advance.
> >
> >--
> >Vishal Khatnani  -- x74287
> >Applications Support/Sys Admin
> >Infrastructure Support Group (ESIT)
> >Sun Microsystems, Inc.
> >
> >-
> >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]>
> >
> 
> -
> 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]>

-- 
Vishal Khatnani  -- x74287
Applications Support/Sys Admin
Infrastructure Support Group (ESIT)
Sun Microsystems, Inc.

-
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: Serving wbmp images in cocoon

2002-02-07 Thread Ivan Rubin Ayma

check the logs on cocoon to see if it is serving it.

do you have a  in your sitemap?

-Mensaje original-
De: Sean Malone [mailto:[EMAIL PROTECTED]]
Enviado el: jueves, 07 de febrero de 2002 17:38
Para: [EMAIL PROTECTED]
Asunto: Serving wbmp images in cocoon


Hi, I am using cocoon to deliver wml, in one of my stylesheets i have

this does not seem to work from cocoon, I always get the alt text. Any
ideas
?

Thanking you in anticipation


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


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




Serving wbmp images in cocoon

2002-02-07 Thread Sean Malone

Hi, I am using cocoon to deliver wml, in one of my stylesheets i have 
this does not seem to work from cocoon, I always get the alt text. Any ideas
?

Thanking you in anticipation


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




Problem with Actions (C2)

2002-02-07 Thread Andre Thenot

Hi,

I've looked in the docs and in the archives but I can't find out 
why I'm having trouble with actions in Cocoon 2.0 (binary 
version). Here's what I did:

1. I created a HelloPoohAction.java, almost identical to the one 
in the "Creating and using actions" docs, except that I added 
import statements for Redirector and SourceResolver, and the 
act() method contains:

   Map sitemapParams = new HashMap();
   sitemapParams.put("mySiteParamValue", "Eeyore");
   Request request = (Request) objectModel.get(Constants.REQUEST_OBJECT);
   request.setAttribute("myname", "Tigger");
   return sitemapParams;

2. I compiled this file and placed the class file into a 
sub-directory of WEB-INF/classes (to match the package).

3. I stopped Tomcat (4.0.1), and removed Cocoon's work directory 
(just in case anything was cached).

4. At the top of my sitemap, I have in the  section:



and my  section looks like this:


 
  
  
   
  
 
 


5. I started Tomcat and pulled up the Cocoon welcome page. No 
problem here. I checked the logs and I have:

DEBUG   (2002-02-07) 14:58.41:890   [cocoon  ] (/cocoon/welcome) 
HttpProcessor[8080][1]/ExcaliburComponentSelector: Adding 
com.newhomesdirect.web.HelloPoohAction for hello-pooh

so I see it found my class.

6. In a web browser, I do a request for /cocoon/xsp/simple and 
get a Resource Not Found error. Again, I check the logs, and 
this time I see that it instantiated my class all right, and I 
even see the parameter values:

DEBUG   (2002-02-07) 15:01.07:982   [cocoon  ] 
(/cocoon/xsp/simple) HttpProcessor[8080][1]/sitemap_xmap: Action 
hello-pooh
DEBUG   (2002-02-07) 15:01.07:983   [cocoon  ] 
(/cocoon/xsp/simple) HttpProcessor[8080][1]/AbstractSitemap:
Current Sitemap Parameters:
PARAM: 'mySiteParamValue' VALUE: 'Eeyore'
PARAM: '../1' VALUE: 'simple'
PARAM: '../0' VALUE: 'xsp/simple'

but right after that, I see:

DEBUG   (2002-02-07) 15:01.07:983   [cocoon  ] 
(/cocoon/xsp/simple) HttpProcessor[8080][1]/sitemap_xmap: 
Source=docs/samples/xsp/{1}.xsp
WARN(2002-02-07) 15:01.07:984   [cocoon  ] 
(/cocoon/xsp/simple) HttpProcessor[8080][1]/AbstractSitemap: 
Substitute: value not found for 1 while evaluating 
docs/samples/xsp/{1}.xsp
...snip...
DEBUG   (2002-02-07) 15:01.07:989   [cocoon  ] 
(/cocoon/xsp/simple) HttpProcessor[8080][1]/URLFactoryImpl: 
Making URL from 
file:/web/tomcat/webapps/cocoon/docs/samples/xsp/.xsp

Which explains the error on the web browser. But why does the 
parameter "1" just disappear like that?
If this is documented somewhere please throw me a URL; if not, 
does anyone have any suggestions?

Thanks in advance!

Andre.


-
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: javaservlet xml cocoon

2002-02-07 Thread Joseph Jupin

oh - I'm using Cocoon 2.0.1...  sorry.
peace.  JOe...

On Thu, 07 Feb 2002 11:22:52 -0700
  Vishal Khatnani <[EMAIL PROTECTED]> wrote:
>I am using cocoon 1.8 by the way.
>
>Vishal Khatnani wrote:
>> 
>> Hi,
>> 
>> The problem im having is with cocoon and java servlets. 
>>I am using
>> cocoon with iplanet web server and i can successfully 
>>view static xml
>> pages. The problem is that my java servlet prints xml 
>>output, and it
>> doesn't get passed to cocoon. All i get is a blank page. 
>>However, when i
>> go to "view source" on my browser, I can see the xml 
>>output but it's not
>> being passed to cocoon. I did a lot of searching over 
>>the net and found
>> something regarding a producer class that passes the out 
>>stream to
>> cocoon... but I couldn't really understand it.
>> 
>> Please email me with ideas, links to source code, etc.
>> 
>> Greatly appreciated...
>> 
>> Thanks in advance.
>> 
>> --
>> Vishal Khatnani  -- x74287
>> Applications Support/Sys Admin
>> Infrastructure Support Group (ESIT)
>> Sun Microsystems, Inc.
>> 
>> -
>> 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]>
>
>-- 
>Vishal Khatnani  -- x74287
>Applications Support/Sys Admin
>Infrastructure Support Group (ESIT)
>Sun Microsystems, Inc.
>
>-
>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]>
>


-
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: javaservlet xml cocoon

2002-02-07 Thread Joseph Jupin

are you calling the servlet first and having it talk to 
cocoon?  If so, then you need to use the  pipeline to capture the output and then 
have it processed by the rest of the pipeline - this is 
what I do with my stuff  (plus some other URLConnection 
setup stuff in the servlet)...  If you need an example, 
please let me know...

peace.  JOe...

On Thu, 07 Feb 2002 11:20:09 -0700
  Vishal Khatnani <[EMAIL PROTECTED]> wrote:
>Hi,
>
>The problem im having is with cocoon and java servlets. I 
>am using
>cocoon with iplanet web server and i can successfully 
>view static xml
>pages. The problem is that my java servlet prints xml 
>output, and it
>doesn't get passed to cocoon. All i get is a blank page. 
>However, when i
>go to "view source" on my browser, I can see the xml 
>output but it's not
>being passed to cocoon. I did a lot of searching over the 
>net and found
>something regarding a producer class that passes the out 
>stream to
>cocoon... but I couldn't really understand it.
>
>Please email me with ideas, links to source code, etc.
>
>Greatly appreciated... 
>
>Thanks in advance.
>
>-- 
>Vishal Khatnani  -- x74287
>Applications Support/Sys Admin
>Infrastructure Support Group (ESIT)
>Sun Microsystems, Inc.
>
>-
>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]>
>


-
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: devnce independence

2002-02-07 Thread Vadim Gritsenko

Browser selector is in the sitemap.xmap since the day one. Read also
user documentation on the Cocoon site.

Vadim 

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 1:46 PM
> To: [EMAIL PROTECTED]
> Subject: devnce independence
> 
> It is well documented that you can use the http header information to
find
> out what device is sending the request and then tailor the page to
that
> device.
> However I have found many examples that use ASP to look at the http
header
> information but none on cocoon. Just wondering if anyone can help me
make
> a start at setting up cocoon to find out what the device is and then
provide
> the appropriate content.
> 
> Cheers
> 
> andy


-
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: external cgi

2002-02-07 Thread Vadim Gritsenko

See Cinclude and Xinclude transformers. Check out aggregation examples,
including aggregate.xsp.

Regular FileGenerator is good enough for you also, check out samples in
the sub sitemap (http://localhost:8080/cocoon/sub/)

Vadim

> -Original Message-
> From: Ratty [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 10:25 AM
> To: [EMAIL PROTECTED]
> Subject: external cgi
> 
> Hi!
> 
> Can anyone answer me - how can i call from xsp page external cgi
program ?
> I dont need redirect to that page - i only need output what it
generate
> which would be processed in Cocoon
> Or may be i must write some generator which would read output of this
cgi
> and create xml?
> 
> Thanx for any suggestions
> Igor Sazhnev


-
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: JSPGenerator encoding problem

2002-02-07 Thread Vadim Gritsenko

Your JSP is not valid. It does not declares JSP encoding as it should.
Obviously JSP runtime is unable to read characters correctly.

Regards,
Vadim

> -Original Message-
> From: yuryx [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 1:06 PM
> To: [EMAIL PROTECTED]
> Subject: Re: JSPGenerator encoding problem
> 
> Without transformation I have
> 
> 
> 
> 
> 
> ÐÒÉ×ÅÔ!
> 
> 
> 
> 
> 
> 
> Problem with generation, I know...
> 
> Piroumian, Konstantin wrote:
> 
> >Is it the problem of JSPGenerator or maybe this happens during
> >transformation or serialization? Try to remove the transformer from
the
> >pipeline or replace JSPGenerator with FileGenerator and use static
content
> >in KOI8-r to find out what is the cause of the problem.
> >
> >Regards,
> >Konstantin Piroumian
> >
> >- Original Message -
> >From: "yuryx" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Thursday, February 07, 2002 7:50 PM
> >Subject: JSPGenerator encoding problem
> >
> >
> >Hello all!
> >
> >I have following problem.
> >JSPGenerator doesn't normally encoding non english  characters.
> >Simple sample:
> >sample.jsp:
> ><%out.println("");%>
> ><%@ page language="java"
> >import="java.text.SimpleDateFormat,java.util.*,java.sql.*"%>
> >
> >
> >
> ><%out.println("ÐÒÉ×ÅÔ!");%>
> >
> >
> >
> >sample.xsl:
> >
> > >xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
> >xmlns:xsp-request="http://apache.org/xsp/request/2.0";
> >
> >  
> >   
> >
> > 
> >  
> > 
> >
> >
> > 
> >
> >   
> >  
> >
> >  
> >
> >  
> >
> >
> >I have following  line in sitemap:
> > >src="org.apache.cocoon.generation.JspGenerator"
> >logger="sitemap.generator.jsp" label="content,data">
> >KOI8-R
> >
> >...and...
> >   
> > 
> > 
> > 
> >
> >
> >After generation I have next:
> >
> >
> >
> >
> >
> >
> >
> >
> >???ÐÒÉ×ÅÔ! ???
> >
> >
> >
> >
> >
> >
> >Can anyone help me?
> >Thanx
> >Yury
> >
> >
> >
> >-
> >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]>
> >
> >
> >-
> >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]>
> >
> 
> 
> 
> 
> -
> 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]>


-
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: profiling

2002-02-07 Thread Vadim Gritsenko

> From: Jozsa Kristof [mailto:[EMAIL PROTECTED]]
> 
> Hi,
> 
> Today I've redesigned my sitemap structure, so it's much cleaner (for
humans
> at least;), but since then, page access had slowed down significally.
An
> avarage (cached) page comes up in ~1.8 sec (mesaured with 'time wget
..'),
> and this is horrible slow, even comparing to the yesterday results.
> 
> After switching to Cocoon 2.0.1 about a week ago, I noticed some
profiler
> tool built in. If I would like to profile the page access to find out
what
> got slower, but how do I do it exactly? I switch on the profiler
> uncommenting  in cocoon.xconf, and..?

1. Enable profiler (search for profiler in the cocoon.xconf), several
components needs to be configured.
2. Add ProfilerGenerator to the generators in the sitemap.xmap (read
source files if there is no documentation)
3. Have pipeline with the profiler generator to see profiler results
4. Exercise your app
5. Access profiler results (pipeline from (3))
6. Write documentation for the profiler and send to the developers list

PS: Profiler won't help you much with the sitemap, it will show only
execution time for the every step of the every pipeline.

PPS: Profiler slows down the system - which is obvious

Vadim


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




devnce independence

2002-02-07 Thread as_black

It is well documented that you can use the http header information to find
out what device is sending the request and then tailor the page to that
device.
However I have found many examples that use ASP to look at the http header
information but none on cocoon. Just wondering if anyone can help me make
a start at setting up cocoon to find out what the device is and then provide
the appropriate content.

Cheers

andy





-
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: javaservlet xml cocoon

2002-02-07 Thread Vishal Khatnani

I am using cocoon 1.8 by the way.

Vishal Khatnani wrote:
> 
> Hi,
> 
> The problem im having is with cocoon and java servlets. I am using
> cocoon with iplanet web server and i can successfully view static xml
> pages. The problem is that my java servlet prints xml output, and it
> doesn't get passed to cocoon. All i get is a blank page. However, when i
> go to "view source" on my browser, I can see the xml output but it's not
> being passed to cocoon. I did a lot of searching over the net and found
> something regarding a producer class that passes the out stream to
> cocoon... but I couldn't really understand it.
> 
> Please email me with ideas, links to source code, etc.
> 
> Greatly appreciated...
> 
> Thanks in advance.
> 
> --
> Vishal Khatnani  -- x74287
> Applications Support/Sys Admin
> Infrastructure Support Group (ESIT)
> Sun Microsystems, Inc.
> 
> -
> 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]>

-- 
Vishal Khatnani  -- x74287
Applications Support/Sys Admin
Infrastructure Support Group (ESIT)
Sun Microsystems, Inc.

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




javaservlet xml cocoon

2002-02-07 Thread Vishal Khatnani

Hi,

The problem im having is with cocoon and java servlets. I am using
cocoon with iplanet web server and i can successfully view static xml
pages. The problem is that my java servlet prints xml output, and it
doesn't get passed to cocoon. All i get is a blank page. However, when i
go to "view source" on my browser, I can see the xml output but it's not
being passed to cocoon. I did a lot of searching over the net and found
something regarding a producer class that passes the out stream to
cocoon... but I couldn't really understand it.

Please email me with ideas, links to source code, etc.

Greatly appreciated... 

Thanks in advance.

-- 
Vishal Khatnani  -- x74287
Applications Support/Sys Admin
Infrastructure Support Group (ESIT)
Sun Microsystems, Inc.

-
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: problem with the connection pool

2002-02-07 Thread Bertrand Delacretaz

On Thursday 07 February 2002 16:35, LEBRETON Philippe wrote:
> In my cocoon.xconf i have declare a connection pool with a database
> install in other host.
> When this host backup the database, the database is down and on my
> cocoon, the connection pool does work.
> how i can restart only the connection pool but not cocoon?

What version of Cocoon are you using?
We tested this a while ago (I'm not sure with which version though, 
might have been 2.0.1.dev) and Cocoon seemed to be able to restore the 
connection automatically, but now we have the same problem that you 
have (with 2.0 release) at a customer's site.

-- 
 -- Bertrand Delacrétaz, www.codeconsult.ch
 -- web technologies consultant - OO, Java, XML, C++






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




external cgi

2002-02-07 Thread Ratty

Hi!

Can anyone answer me - how can i call from xsp page external cgi program ?
I dont need redirect to that page - i only need output what it generate
which would be processed in Cocoon
Or may be i must write some generator which would read output of this cgi
and create xml?

Thanx for any suggestions
Igor Sazhnev


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




[Livesites] Cocoon2 http://www.g-ne.de

2002-02-07 Thread Michael Simon

Hi!

Under the URL http://www.g-ne.de (G-NE group for net-intelligence GmbH.
Germany) you can find a running coocon 2. It is much like the cocoon
documentation examples. The only language available at the moment is german,
sorry. But we plan to make it available at least in english too. The site
itself will be growing, also with dynamic content. If someone is interested
in how it was made, please PM.
I hope I can find time to contribute in the near future.Cocoon is a great
project.

Have a nice day
Michael



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




Competition: Cocoon in php

2002-02-07 Thread Koen Pellegrims

Guys,

has anyone seen this (http://www.interakt.ro/products/Krysalis/)?

it seems to be a publishing framework in php and the developers have
really (and I mean *really*) been inspired by Cocoon 2...


regards,

Koen.


-
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: webDAV

2002-02-07 Thread Koen Pellegrims

Normally, the webDAV servlet will be enabled on Tomcat. The servlet makes
all files under ${TOMCAT_HOME}/webapps/webdav available to a webdav
client.
The easiest way to make your cocoon files accessible is to put a symbolic
link in this directory and make it point to the Cocoon documents
directory...

On Thu, 7 Feb 2002, Bert Van Kets wrote:

> I'd like to use Tomcat's webDAV with Cocoon.  I've been trying all kinds of
> configurations, but can't get it running.
> How do I configure the webdav servlet in Tomcat, together with the cocoon
> servlet ?  I know it's more a Tomcat question, but I can't seem to find a
> Tomcat list.
> I've copied the servlet definition from the webdav sample web.xml file to
> the web.xml file in the cocoon webapp, but then I get errors in the tomcat
> log file saying the servlet can't be initialized.
> Any suggestions?
> Bert
>
>
> -
> 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]>
>
>


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




Tomcat on RedHat 7.0

2002-02-07 Thread MAHE Vincent FTRD/DIH/REN



I installed tomcat 
4.0 on a redhat 7.0 with apache and jdk 1.3. 
 
When I launch 
startup.sh, I always get a big core file in my bin directory and, as a result, 
nothing when I test http://localhost:8080/
 
Does any one know if there are some problems with redhat 7.0 
and jdk1.3 ? Or some other thing to know ...
 
Thanks.
Vincent

-
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: JSPGenerator encoding problem

2002-02-07 Thread yuryx

Without transformation I have





ÐÒÉ×ÅÔ!






Problem with generation, I know...

Piroumian, Konstantin wrote:

>Is it the problem of JSPGenerator or maybe this happens during
>transformation or serialization? Try to remove the transformer from the
>pipeline or replace JSPGenerator with FileGenerator and use static content
>in KOI8-r to find out what is the cause of the problem.
>
>Regards,
>Konstantin Piroumian
>
>- Original Message -
>From: "yuryx" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, February 07, 2002 7:50 PM
>Subject: JSPGenerator encoding problem
>
>
>Hello all!
>
>I have following problem.
>JSPGenerator doesn't normally encoding non english  characters.
>Simple sample:
>sample.jsp:
><%out.println("");%>
><%@ page language="java"
>import="java.text.SimpleDateFormat,java.util.*,java.sql.*"%>
>
>
>
><%out.println("ÐÒÉ×ÅÔ!");%>
>
>
>
>sample.xsl:
>
>xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
>xmlns:xsp-request="http://apache.org/xsp/request/2.0";
>
>  
>   
>
> 
>  
> 
>
>
> 
>
>   
>  
>
>  
>
>  
>
>
>I have following  line in sitemap:
>src="org.apache.cocoon.generation.JspGenerator"
>logger="sitemap.generator.jsp" label="content,data">
>KOI8-R
>
>...and...
>   
> 
> 
> 
>
>
>After generation I have next:
>
>
>
>
>
>
>
>
>???ÐÒÉ×ÅÔ! ???
>
>
>
>
>
>
>Can anyone help me?
>Thanx
>Yury
>
>
>
>-
>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]>
>
>
>-
>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]>
>




-
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: JSPGenerator encoding problem

2002-02-07 Thread Piroumian, Konstantin

Is it the problem of JSPGenerator or maybe this happens during
transformation or serialization? Try to remove the transformer from the
pipeline or replace JSPGenerator with FileGenerator and use static content
in KOI8-r to find out what is the cause of the problem.

Regards,
Konstantin Piroumian

- Original Message -
From: "yuryx" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 07, 2002 7:50 PM
Subject: JSPGenerator encoding problem


Hello all!

I have following problem.
JSPGenerator doesn't normally encoding non english  characters.
Simple sample:
sample.jsp:
<%out.println("");%>
<%@ page language="java"
import="java.text.SimpleDateFormat,java.util.*,java.sql.*"%>



<%out.println("ÐÒÉ×ÅÔ!");%>



sample.xsl:

http://www.w3.org/1999/XSL/Transform";>
xmlns:xsp-request="http://apache.org/xsp/request/2.0";

  
   

 
  
 


 

   
  

  

  


I have following  line in sitemap:

KOI8-R

...and...
   
 
 
 


After generation I have next:








???ÐÒÉ×ÅÔ! ???






Can anyone help me?
Thanx
Yury



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


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




JSPGenerator encoding problem

2002-02-07 Thread yuryx

Hello all!

I have following problem.
JSPGenerator doesn't normally encoding non english  characters.
Simple sample:
sample.jsp:
<%out.println("");%>
<%@ page language="java" 
import="java.text.SimpleDateFormat,java.util.*,java.sql.*"%>



<%out.println("ÐÒÉ×ÅÔ!");%>



sample.xsl:

http://www.w3.org/1999/XSL/Transform";>
xmlns:xsp-request="http://apache.org/xsp/request/2.0";

  
   

 
  
 


 

   
  
   
  

  


I have following  line in sitemap:

KOI8-R

...and...
   
 
 
 
   

After generation I have next:








???ÐÒÉ×ÅÔ!   ???






Can anyone help me?
Thanx
Yury



-
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: sitemap include/import

2002-02-07 Thread Nicola Ken Barozzi

From: "Jozsa Kristof" <[EMAIL PROTECTED]>

> Is there such a sitemap tag available/implemented to include/import
text
> files? It'd be nice to place eg. every pipeline of the sitemap in a
separate
> file to be able to edit them paralelly..

As with any xml file, you can include external entities, as many as you
wish.
General xml example:



]>


  &my-file-contents;
 

--
Nicola Ken Barozzi [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-


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




problem with the connection pool

2002-02-07 Thread LEBRETON Philippe

In my cocoon.xconf i have declare a connection pool with a database
install in other host.
When this host backup the database, the database is down and on my
cocoon, the connection pool does work.
how i can restart only the connection pool but not cocoon?

Thanks

Philippe LEBRETON


-
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: HowTo Cocoon pages

2002-02-07 Thread Mohamed El-Refaey

Hi
I just try to configure and run the example of cocoon2 and tomcat 4 u made
on JBuilder 5 and followed all the configuration instruction u put in the
project and it rais an internal server error. I wish u tell me how to solve
this problem.

Thanx
Mohamed

- Original Message -
From: "DURDINA Michal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 06, 2002 4:42 PM
Subject: HowTo Cocoon pages


> Hello Cocoon users,
>
> I have just completed few tutorial pages along with examples about
> developing applications in Cocoon2. The location is
> http://durdo.miesto.sk/Cocoon2HowTo/index.html.
>
> At the time these pages consist of only 3 articles:
> * Subsitemap - creating the empty project before you move on
> * Data connection - connecting to DBMS, generating XML document with data
> from database
> * JBuilder for Cocoon developing - overview of JBuilder in scope of
Cocoon2
> developing, settings, hints, web application example
>
> These articles evolved with time, the last one is most comprehensive and
> contains working example of simple Cocoon2 web application.
>
> Tech info: All docs are written using Apache Documentation DTD and can be
> easily integrated to greater documentation. If anybody has similar pages
we
> can merge or has better repository (domain) for these pages, please
contact
> me.
>
> With regards,
>
> -- MisoD --
> Michal Durdina - [EMAIL PROTECTED]
>
> -
> 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]>
>
>


-
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: JSPGenerator problem

2002-02-07 Thread MOODAD (Shadi LB Soft)

Hi
in fact yes it points to the jsp pages but this is an typing error.
until now i didn't find the solution

Chitharanjan Das wrote:

> Hello,
>     Shouldn't your generator point to JSP pages
> 
>
> Regds,
> Chiths
>
> -Original Message-
> From: MOODAD (Shadi LB Soft) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 06, 2002 10:55 PM
> To: cocoon-dev; [EMAIL PROTECTED]
> Subject: JSPGenerator problem
>
> Hi,
> I'm trying to execute a jsp file under cocoon but I have a small porblem
> that i didn't found a solution.
> I'm using this configuration:
>   
>    
>     
>     
>     
>    
>   
> so when executing a jsp I got the following error:
> org.xml.sax.SAXParseException: Document root element is missing.
>     at
> org.apache.cocoon.components.parser.JaxpParser.fatalError(JaxpParser.jav
> a:182)
>     at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3038)
>     at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3023)
> but the jsp is a well formed xml and it execute from the tomcat.
> so i trace the error in the code of the JSPGenerator.class and I found
> that the request URI is correct but the size of the
> httpRequest.getInputStream().available() is = 0.? strange.
> I'll be very thanxfull if someone have an ideas on that problem or could
> give me some hints to the solution.
> thanx in advance
> --
> Soft Solutions, Liban
> Net Developper
> Moodad Shadi
> www.softsolutions.fr
>  
>
> -
> 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]>

--
Soft Solutions, Liban
Net Developper
Moodad Shadi

www.softsolutions.fr
 


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




sitemap include/import

2002-02-07 Thread Jozsa Kristof

Is there such a sitemap tag available/implemented to include/import text
files? It'd be nice to place eg. every pipeline of the sitemap in a separate
file to be able to edit them paralelly..

Christopher
-- 
.Digital.Yearning.for.Networked.Assassination.and.Xenocide

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




profiling

2002-02-07 Thread Jozsa Kristof

Hi,

Today I've redesigned my sitemap structure, so it's much cleaner (for humans
at least;), but since then, page access had slowed down significally. An
avarage (cached) page comes up in ~1.8 sec (mesaured with 'time wget ..'),
and this is horrible slow, even comparing to the yesterday results.

After switching to Cocoon 2.0.1 about a week ago, I noticed some profiler
tool built in. If I would like to profile the page access to find out what
got slower, but how do I do it exactly? I switch on the profiler
uncommenting  in cocoon.xconf, and..?

thx,
Christopher
-- 
.Digital.Yearning.for.Networked.Assassination.and.Xenocide

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




AW: Could not read resource file

2002-02-07 Thread Thorsten Mauch

Hi 
meanwhile I know a little bit more.
The error only orccure with a Transformer 
that extends AbstractDOMTransformer exist
in the pipe.
To be sure that is not related to my code 
i implement a simplest thinkable DOMTransformer:

public class XFormTrans extends AbstractDOMTransformer {

  public XFormTrans() {
  }
  protected Document transform(Document doc) {
return doc;
  }
}

with this transformer the error occur, with xslt transformer
it don't




-Ursprüngliche Nachricht-
Von: Thorsten Mauch [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 7. Februar 2002 02:14
An: '[EMAIL PROTECTED]'
Betreff: Could not read resource file


Hi All 
I upgraded from cocoon 2 rc1 to version 2.01.
with rc1 everything was ok, but now i get:
type fatal
message Could not read resource
file:/C:/tomcat/webapps/cocoon/chiba/buglet.xml
description org.apache.cocoon.ProcessingException: Could not read resource
file:/C:/tomcat/webapps/cocoon/chiba/buglet.xml:
java.lang.NullPointerException
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri
/cocoon/chiba/buglet.view
path-info
chiba/buglet.view



The error message makes no sense because 
the file realy exist
C:/tomcat/webapps/cocoon/chiba/buglet.xml

my sitemap looks like:



  



Thx Thorsten



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

-
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: JSPGenerator problem

2002-02-07 Thread Chitharanjan Das

Hello,
Shouldn't your generator point to JSP pages


Regds,
Chiths

-Original Message-
From: MOODAD (Shadi LB Soft) [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 06, 2002 10:55 PM
To: cocoon-dev; [EMAIL PROTECTED]
Subject: JSPGenerator problem

Hi, 
I'm trying to execute a jsp file under cocoon but I have a small porblem
that i didn't found a solution. 
I'm using this configuration: 
   
    
     
     
     
    
   
so when executing a jsp I got the following error: 
org.xml.sax.SAXParseException: Document root element is missing. 
    at
org.apache.cocoon.components.parser.JaxpParser.fatalError(JaxpParser.jav
a:182) 
    at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3038) 
    at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3023) 
but the jsp is a well formed xml and it execute from the tomcat. 
so i trace the error in the code of the JSPGenerator.class and I found
that the request URI is correct but the size of the
httpRequest.getInputStream().available() is = 0.? strange. 
I'll be very thanxfull if someone have an ideas on that problem or could
give me some hints to the solution. 
thanx in advance 
-- 
Soft Solutions, Liban 
Net Developper 
Moodad Shadi 
www.softsolutions.fr 
 


-
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: Not able to start cocoon

2002-02-07 Thread java guru

hi.,
 This is most generic error u have posted here and
nothing can be concluded from this. As numerous other
mail lists points from archive, the sitemap needs to
be compiled by cocoon before it starts its operation. 

 Any error in the sitemap sytax or the components
specified in the sitemap having trouble would result
in sitemap NOT GETTING compiled and hence u see this
error. But solution most of the time is simple..

  Please  CHECK your log as the ERROR SUGGESTS. Read
it line by line.. all along u will see whats going on
.. and u will at some point see any trouble cocoon
encounterd during sitemap compilation.. Try to fix
THAT trouble or post it mailing list..


hope this helps

 --- Rabi Shankar <[EMAIL PROTECTED]> wrote: > hi
everybody,
>   i am usinng Cocoon 2 and tomcat 3.2.4.
>   i tried giving http://localhost:8080/cocoon in the
> browser and i get the following error
> Cocoon 2 - Internal server error
> exception
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not available. Please check
> logs for the exact error.
> stacktrace
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not available. Please check
> logs for the exact error.
>   at
>
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:244)
>   at
>
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:109)
>   at
> org.apache.cocoon.Cocoon.process(Cocoon.java:514)
>   at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:647)
>   at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>   at
>
org.apache.tomcat.core.Handler.service(Handler.java:287)
>   at
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>   at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
>   at
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
>   at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
>   at
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>   at
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>   at java.lang.Thread.run(Thread.java:484)
> could someone help me out.
> thanx in advance
> rgds,
> Rabi
> 
> 
>  

=
Thanks and have great day
srini


Looking for a job?  Visit Yahoo! India Careers
  Visit http://in.careers.yahoo.com

-
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: Problem with cocoon2.0 on tomcat 4.0.1

2002-02-07 Thread Vadim Gritsenko

> From: Anil_Kandula [mailto:[EMAIL PROTECTED]]
> 
> Hi All,
>   I have downloaded cocoon2.0 cvs 

2.0 or 2.0.2-dev?



> ERROR   (2002-02-07) 18:00.00:380   [sitemap] (/cocoon/)
> HttpProcessor[8080][4]/Handler: Error compiling sitemap
> java.lang.NoSuchFieldError: manager
>   at

Read archives.

Vadim


-
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: odd problem with transformer

2002-02-07 Thread Vadim Gritsenko

> From: Johannes Schwarz [mailto:[EMAIL PROTECTED]]
> 
> Hi List!
> 
> I programmed a directory scanner.
> It scans a directory structure and builds a tree structure from the
> files, which match given filter name.

You know, directory generator supplied with Cocoon does exactly the
same, and more: there are image and MP3 directory generators also.

Vadim



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




Docbook stylesheets and FOP ?

2002-02-07 Thread Yann Secq

Hi, I'm trying to publish DocBook documents with Cocoon.
I have a small document sample (test.xml) that is quite
simple.
I tried to transform it using Norman Walsh stylesheets and
Xalan : it worked and produced test.fo (see attachment).
When I try to use fo2pdf on this file, my request never
returns and my HDs is filled with tomcat log with this error :

2002-02-07 13:45:21 ERROR   (2002-02-07) 13:45.21:886   [fop ] 
(/cocoon/docbook/testfo) HttpProcessor[8080][4]/MessageHandler: >

2002-02-07 13:45:21 ERROR   (2002-02-07) 13:45.21:887   [fop ] 
(/cocoon/docbook/testfo) HttpProcessor[8080][4]/MessageHandler: >

2002-02-07 13:45:21 ERROR   (2002-02-07) 13:45.21:887   [fop ] 
(/cocoon/docbook/testfo) HttpProcessor[8080][4]/MessageHandler: >

2002-02-07 13:45:21 ERROR   (2002-02-07) 13:45.21:888   [fop ] 
(/cocoon/docbook/testfo) HttpProcessor[8080][4]/MessageHandler: >

Has anyone experienced this kind of behavior ? Has anyone has
tried to publish DocBook documents with Cocoon (HTML and PDF) ?
(the HTML output works perfectly :)

Thanks, yann.

-- 
  / Yann SECQEquipe SMAC   [EMAIL PROTECTED] \
| Multi-Agent Systems Modeling & Agent Oriented Programming |
  \ http://www.lifl.fr/SMAChttp://www.lifl.fr/~secq /



http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd";>


foo

bar


foo






foo
bar




bar


bar







foo
foo


Some appropriate definition goes here.









http://www.w3.org/1999/XSL/Format"; text-align="justify" 
font-size="10pt" font-family="Times Roman">





















































































foo



foo









Table of Contents


1 bar
  





 Glossary
  











List of Tables


1.1 bar
  










Chapter 1. bar










Chapter 1. 
bar



foo






foo




bar






bar






bar
















Glossary





foo






Some appropriate definition goes here.










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


Problem with cocoon2.0 on tomcat 4.0.1

2002-02-07 Thread Anil_Kandula

Hi All,
I have downloaded cocoon2.0 cvs and deployed it on tomcat 4.0.1.
When i am accessing http://localhost:8080/cocoon/. I am getting the
following problem - 
cocoon2 - Internal server error
type fatal
message The sitemap handler's sitemap is not available. Please check logs
for the exact error.
description org.apache.cocoon.ProcessingException: The sitemap handler's
sitemap is not available. Please check logs for the exact error.
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri
/cocoon/
path-info

I've checked in the error.log and found the following - 

ERROR   (2002-02-07) 18:00.00:380   [sitemap] (/cocoon/)
HttpProcessor[8080][4]/Handler: Error compiling sitemap
java.lang.NoSuchFieldError: manager
at
org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:350)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:172)
at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:84)
at
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerat
or(GeneratorSelector.java:183)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addComp
iledComponent(ProgramGeneratorImpl.java:404)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:235)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:275)
at java.lang.Thread.run(Thread.java:484)
ERROR   (2002-02-07) 18:00.00:380   [access] (/cocoon/)
HttpProcessor[8080][4]/CocoonServlet: Problem with servlet
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available. Please check logs for the exact error.
at
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:323)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:185)
at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:188)
at org.apache.cocoon.Cocoon.process(Cocoon.java:572)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:850)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:201)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1011)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
)
at java.lang.Thread.run(Thread.java:484)


could someone help me out.
thanks in advance
Thanks & Regards,
Anil.K
** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and m

RE: Not able to start cocoon

2002-02-07 Thread Rabi Shankar
Title: RE: Not able to start cocoon






hi luca,

  thanx for u r suggestion.  i could find out the problem and solve it.( i was stupid enought not to put xalan in the lib directory of tomcat).  

and sorry about those bold fonts.

rgds,

Rabi


-Original Message-

From:   Luca Morandini [SMTP:[EMAIL PROTECTED]]

Sent:   Thursday, February 07, 2002 5:18 PM

To: [EMAIL PROTECTED]

Subject:    RE: Not able to start cocoon


Rabi,


look into cocoon.log.x and/or components.log.x, usually these logs

contain more detailed information than the stacktrace displayed in the

browser.


Best regards,


P.S.

Next time, please, use plain text.



-

   Luca Morandini

   GIS Consultant

  [EMAIL PROTECTED]

http://utenti.tripod.it/lmorandini/index.html

-


-Original Message-

From: Rabi Shankar [mailto:[EMAIL PROTECTED]]

Sent: Thursday, February 07, 2002 12:39 PM

To: [EMAIL PROTECTED]

Subject: Not able to start cocoon



hi everybody,

  i am usinng Cocoon 2 and tomcat 3.2.4.

  i tried giving http://localhost:8080/cocoon in the browser and i get the

following error

Cocoon 2 - Internal server error

exception

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not

available. Please check logs for the exact error.

stacktrace

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not

available. Please check logs for the exact error.

    at

org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:244)

    at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:109)

    at org.apache.cocoon.Cocoon.process(Cocoon.java:514)

    at

org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:647)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    at

org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

    at org.apache.tomcat.core.Handler.service(Handler.java:287)

    at

org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

    at

org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:80

6)

    at

org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)

    at

org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC

onnectionHandler.java:213)

    at

org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

    at

org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)

    at java.lang.Thread.run(Thread.java:484)

could someone help me out.

thanx in advance

rgds,

Rabi



-

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: odd problem with transformer

2002-02-07 Thread tinu

Jozsa Kristof writes:

 > Under linux I use xsltproc, and it shortens the
 > xsl-tinkering/testing/aint-work cycle very much.

Great tool, I didn't know that. An alternative (and dirty)
approach is to intercept the SAX stream in the pipeline and write
it to a file.

Place this into the sitemap (somewhere where a transformer can be
placed, i.e. after a generator or another transformer):


   

  


if you use Xalan (in the Cocoon distribution), the stylesheet
looks like:




 
http://www.w3.org/1999/XSL/Transform";
version="1.0"
xmlns:redirect="org.apache.xalan.lib.Redirect"
extension-element-prefixes="redirect">






  


  = ERROR: Cocoon is not using Xalan, the file could not be saved =

  
  




If you use something else than Xalan, the redirect method is
called differently (see e.g. in Michael Kay's 900 page XSLT
book). And don't forget to cancel these lines from the sitemap,
as it will certainly be slow and non-portable.

Have fun!

Tinu



-
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: Not able to start cocoon

2002-02-07 Thread Luca Morandini

Rabi,

look into cocoon.log.x and/or components.log.x, usually these logs
contain more detailed information than the stacktrace displayed in the
browser.

Best regards,

P.S.
Next time, please, use plain text.


-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-

-Original Message-
From: Rabi Shankar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 12:39 PM
To: [EMAIL PROTECTED]
Subject: Not able to start cocoon


hi everybody,
  i am usinng Cocoon 2 and tomcat 3.2.4.
  i tried giving http://localhost:8080/cocoon in the browser and i get the
following error
Cocoon 2 - Internal server error
exception
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available. Please check logs for the exact error.
stacktrace
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available. Please check logs for the exact error.
at
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:244)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:109)
at org.apache.cocoon.Cocoon.process(Cocoon.java:514)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:80
6)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
could someone help me out.
thanx in advance
rgds,
Rabi


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




Not able to start cocoon

2002-02-07 Thread Rabi Shankar
Title: Not able to start cocoon






hi everybody,

  i am usinng Cocoon 2 and tomcat 3.2.4.

  i tried giving http://localhost:8080/cocoon in the browser and i get the following error

Cocoon 2 - Internal server error

exception

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. Please check logs for the exact error.

stacktrace

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. Please check logs for the exact error.

    at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:244)

    at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:109)

    at org.apache.cocoon.Cocoon.process(Cocoon.java:514)

    at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:647)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

    at org.apache.tomcat.core.Handler.service(Handler.java:287)

    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)

    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)

    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)

    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)

    at java.lang.Thread.run(Thread.java:484)

could someone help me out.

thanx in advance

rgds,

Rabi






Re: odd problem with transformer

2002-02-07 Thread Jozsa Kristof

Hi,

If it works from the sitemap without transformation, then I guess the
problem is with the xsl transformation after. Without knowing the tags you
used in your source, and the xsl file, I cant say much, but I suggest trying
and testing out the transformation from the command line with an appropriate
tool. Under linux I use xsltproc, and it shortens the
xsl-tinkering/testing/aint-work cycle very much.

Christopher


On Thu, Feb 07, 2002 at 11:24:12AM +0100, Johannes Schwarz wrote:
> Hi List!
> 
> I programmed a directory scanner.
> It scans a directory structure and builds a tree structure from the
> files, which match given filter name.
> The first code snippet of my sitemap shows the output without a
> transformation.
> And it operates without any problems (it shows me the directory
> structure in an XML- File).
> 
> My problem occurs, when I want to transform the generated XML, there's
> NO OUTPUT!
> It seems to me, that the transformer doesn't get any data from the
> generator!
> 
> Could the problem be caused by my CACHE settings?
> 
> Help is very appreciated!
> 
> 
> SNIP*
> 
> 
>   
>   src="application/DirScan/content.xsp">
>  value="h:/something/somethingother/andsoon/directorytoscan" />
>  
>  />
>  
>  value="h:/something/somethingother/andsoon/" />
>  
>  
>  
>   
>  
>  
>   
>src="application/DirScan/content.xsp">
>value="h:/something/somethingother/andsoon/directorytoscan" />
> 
>   
> 
>value="h:/something/somethingother/andsoon/" />
>  
>  
> 
>  
>  
>   
> 
> *SNAP**
> 
> 
> Johannes Schwarz
> 
> -
> 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]>
> 

-- 
.Digital.Yearning.for.Networked.Assassination.and.Xenocide

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




PJA on AIX [was: Where is PJA?]

2002-02-07 Thread Moritz Petersen

OK, got it. Must have been a problem with my Internet connection.

Next question: did anyone run PJA on AIX successfully? Are there any
experiences with AIX, IBM WebSphere and PJA? Because it is quite off-topic,
off-list replys are apreciated.

Thank you in advance,

Moritz.

> -Original Message-
> From: Moritz Petersen [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 10:43 AM
> To: [EMAIL PROTECTED]
> Subject: Where is PJA?
>
>
> Hi List,
> this is not a specific Cocoon question, but recently I wanted to download
> the PJA (Pure Java Toolkit) from http://www.eteks.com/pja/en/ but
> unfortunately, the server is not responding. Is there a possibility to
> download the package (especially for IBM AIX)? Or is there any alternative
> to it (especially on IBM AIX)?
>
> Thank you in advance,
>
> Moritz.
>
>
> -
> 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]>
>
>


-
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: HowTo Cocoon pages

2002-02-07 Thread DURDINA Michal

XSLT is quite complex but not hard to learn if you are programmer (maybe
LISP or Prolog programmer :). I have a book XSLT Programmer's Reference from
Michael Kay (Saxon author) with 900pages of great text. But you can find
many tutorials on web i.e. (I used all of them and are good)
http://www.xml101.com/xsl/default.asp
http://www.zvon.org/xxl/XSLTutorial/Output/contents.html
http://www.w3schools.com/xsl/default.asp

XSLT (or XSL if you want) is fundamental language to know when working with
XML in Cocoon (it is not only about stylesheets).

With regards,

-- MisoD --
Michal Durdina - [EMAIL PROTECTED] 

-Original Message-
From: Adrian 'Dagurashibanipal' von Bidder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 9:46 PM
To: [EMAIL PROTECTED]
Subject: Re: HowTo Cocoon pages


On Tue, 2001-02-06 at 16:00, Andreas Hartmann wrote:
> http://www.cocooncenter.de/cocooncenter/tutorials/navigation/tutorial.html

Wow! Phew!

Last week I finally started to do something about a new look for my
website (better: any look at all - fortytwo.ch is not what you'd call
nice right now :-)

I looked at fastcgi (discarded because I'm programming enough C on my
day job already) and axKit (don't really like perl, though) and have now
decided to start with cocoon2.

Looking at the example tells me that you can do everything with it - but
what was missing was a cute little example for somebody who doen't know
more about xslt than that it's about XML.

So a big thank you there!

-- vbi


-
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]>
__ Informacia od NOD32 1.209 (20020130) __

Tato sprava bola preverena systemom NOD32 pre Exchange.
http://www.nod32.com




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




odd problem with transformer

2002-02-07 Thread Johannes Schwarz

Hi List!

I programmed a directory scanner.
It scans a directory structure and builds a tree structure from the
files, which match given filter name.
The first code snippet of my sitemap shows the output without a
transformation.
And it operates without any problems (it shows me the directory
structure in an XML- File).

My problem occurs, when I want to transform the generated XML, there's
NO OUTPUT!
It seems to me, that the transformer doesn't get any data from the
generator!

Could the problem be caused by my CACHE settings?

Help is very appreciated!


SNIP*


  
 

 

 

 
 
 
  
 
 
  
  

  

  

 
 

 
 
  

*SNAP**


Johannes Schwarz

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




Where is PJA?

2002-02-07 Thread Moritz Petersen

Hi List,
this is not a specific Cocoon question, but recently I wanted to download
the PJA (Pure Java Toolkit) from http://www.eteks.com/pja/en/ but
unfortunately, the server is not responding. Is there a possibility to
download the package (especially for IBM AIX)? Or is there any alternative
to it (especially on IBM AIX)?

Thank you in advance,

Moritz.


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