Re: pipeline dependencies

2003-06-20 Thread Ali Mesbah
As quoted from Upayavira <[EMAIL PROTECTED]>:
> Ali,
> 
> Have you seen:
> 
> http://wiki.cocoondev.org/Wiki.jsp?page=MetaStylesheets
> 
> Maybe that'll help.

It works indeed. I see what I was doing wrong; 
In my Meta_output at some places I had something like:


  <xsl:apply-templates>
<xsl:with-param name="path" select="$root"/>
  </xsl:apply-templates>


This works if you save the output on filesystem and read it again but not using
it directly via Cocoon protocol. The trick is to create elements explicitely instead 
of using xsl:text:


  
    path

  $root
 
  


Thanks Upayavira for helping out,

Ali

> Regards, Upayavira
> 
> On 20 Jun 2003 at 11:16, Ali Mesbah wrote:
> 
> > As quoted from Upayavira <[EMAIL PROTECTED]>:
> > > Another way you can do it is read your original content from disc,
> > > then transform it into something like:
> > > 
> > > 
> > >   
> > > Blah
> > >   
> > >   Blah
> > > 
> > > 
> > > This way you repeat your content twice, once to go into the SWT, and
> > > once to go on to the output. Your following transformer then just
> > > strips out any nodes in the SWT namespace.
> > > 
> > > Make sense?
> > > 
> > > Can you explain a little more _why_ you want to be writing to disk?
> > > That'll help me understand how best you can achieve your
> > > requirements.
> > 
> > The thing is I generate a stylesheet in B which is used in A (and in
> > other pipelines):
> > 
> > 
> >   
> >   
> >   
> > 
> > 
> > Note that the output of B is a stylesheet (say output.xsl).
> > 
> > Then the first thing that comes to mind is using the Cocoon protocol
> > to read this output.xsl as the src of the transformer in A:
> > 
> > 
> >   
> >   
> >   
> > 
> > 
> > But unfortunately this does not work. (I have posted messages on this
> > matter a few days ago). The output of A is not what it should be at
> > all. 
> > 
> > So I thought a workaround is to write the output.xsl to file and then
> > read it in A. But then I had the issue of dependencies
> > 
> > I hope i have been clear enough. By the way have you ever tried to use
> > cocoon:/ as the src of a Transformer?
> > 
> > Thanks,
> > Ali
> > 
> > > Regards, Upayavira
> > > 
> > > 
> > > 
> > >   
> > >   

Re: pipeline dependencies

2003-06-20 Thread Ali Mesbah
As quoted from Upayavira <[EMAIL PROTECTED]>:
> Another way you can do it is read your original content from disc, then transform it 
> into something like:
> 
> 
>   
> Blah
>   
>   Blah
> 
> 
> This way you repeat your content twice, once to go into the SWT, and once to go on 
> to the output. Your following transformer then just strips out any nodes in the SWT 
> namespace.
> 
> Make sense?
> 
> Can you explain a little more _why_ you want to be writing to disk? That'll help me 
> understand how best you can achieve your requirements.

The thing is I generate a stylesheet in B which is used in A (and in other
pipelines):


  
  
  


Note that the output of B is a stylesheet (say output.xsl).

Then the first thing that comes to mind is using the Cocoon protocol to read
this output.xsl as the src of the transformer in A:


  
  
  

  
But unfortunately this does not work. (I have posted messages on this matter a
few days ago). The output of A is not what it should be at all. 

So I thought a workaround is to write the output.xsl to file and then read it in
A. But then I had the issue of dependencies

I hope i have been clear enough. By the way have you ever tried to use cocoon:/
as the src of a Transformer?

Thanks,
Ali

> Regards, Upayavira
> 
> 
> 
>   
>   

Re: pipeline dependencies

2003-06-20 Thread Ali Mesbah
As quoted from Upayavira <[EMAIL PROTECTED]>:
> > Is it possible to define pipeline dependencies in the sitemap? 
> > 
> > Imagine I have two pipelines A and B. 
> > Pipeline B has a SourceWritingTransformer and all it does is writing a
> > generated document on the filesystem. Pipeline A has its own generator
> > and transformer but it depends on the document written by B. So A
> > denpends on B. In other words when A is called B has to be called
> > first but the output of A sould be serialized to the browser (and not
> > the output of B).
> 
> You could try just including pipeline B in with pipeline A using cocoon:, e.g.
> 
> 
>   
>   
>   
> 
> 
> 
>   
> 
> 
>   
>   
>   
> 
> 
> If you can get pipeline B to cache, then it will only write if the source of that 
> pipeline 
> has changed.
> 
> Then, if necessary, you can ignore the aggregated output from pipeline B, but it is 
> just 
> there to enforce the dependency.
> 
> All depends upon the caching of the SourceWritingTransformer. 
> 

Thanks Upayavira. 
I think with the current implementation that is the only
possible way of doing it. Although it's not efficient (you dont actually want to
aggregate), it serves the purpose.



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

-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

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



Re: pipeline dependencies

2003-06-20 Thread Ali Mesbah
As quoted from "Carmona Perez, David" <[EMAIL PROTECTED]>:
> Create a simple selector to check if the file exists, and if it doesn't call 
> pipeline A.

Well it is not that simple. Checking to see if the file exists is not enough
because the file made by B is dynamic and it has to be re-made if A is
called.

Ali

> 
> David
> 
> -Mensaje original-
> De: Ali Mesbah [mailto:[EMAIL PROTECTED]
> Enviado el: jueves, 19 de junio de 2003 14:10
> Para: [EMAIL PROTECTED]
> Asunto: pipeline dependencies
> 
> Hi,
> Is it possible to define pipeline dependencies in the sitemap?
> 
> Imagine I have two pipelines A and B.
> Pipeline B has a SourceWritingTransformer and all it does is writing a generated
> document on the filesystem.
> Pipeline A has its own generator and transformer but it depends on the document
> written by B. So A denpends on B. In other words when A is called B has to be
> called first but the output of A sould be serialized to the browser (and not the
> output of B).
> 
> 
> Thanks,
> Ali
> 
> 
> --
> -- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

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



pipeline dependencies

2003-06-19 Thread Ali Mesbah
Hi,
Is it possible to define pipeline dependencies in the sitemap? 

Imagine I have two pipelines A and B. 
Pipeline B has a SourceWritingTransformer and all it does is writing a generated
document on the filesystem. 
Pipeline A has its own generator and transformer but it depends on the document
written by B. So A denpends on B. In other words when A is called B has to be
called first but the output of A sould be serialized to the browser (and not the
output of B).


Thanks,
Ali


-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

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



Re: Writing to filesystem

2003-06-16 Thread Ali Mesbah
As quoted from Geoff Howard <[EMAIL PROTECTED]>:
> It is complaining about the whitespace nodes between source:frament and 
> title.
> You'll get this anytime you overwrite a whole document.  To fix, just do 
> something
> like:
> 
> ...
>   SourceWritingTransformer Test Result 
> 1
> ...

Wonderful. Thanks it works :) 


> At 08:39 AM 6/16/2003, you wrote:
> >As quoted from Upayavira <[EMAIL PROTECTED]>:
> >> > Hi,
> >> >
> >> > What is the best way to write the output of a Transformer (in a
> >> > pipeline) into a file (e.g. /resources/bla.xml) on the filesystem?
> >>
> >> Check out the SourceWritingTransformer.
> >
> >I am checking it out. thanks. I'm getting an error though:
> >
> >failedThere was a problem manipulating your document: 
> >org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to 
> >insert a node where it is not permitted. 
> >writenonefile:/resources/result.xml
> >
> >
> >My xml source (called test.xml):
> >
> >
> >http://apache.org/cocoon/source/1.0";>
> >  context://resources/result.xml
> >  
> >SourceWritingTransformer Test Result 1
> >  
> >
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

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



Re: Writing to filesystem

2003-06-16 Thread Ali Mesbah
As quoted from Upayavira <[EMAIL PROTECTED]>:
> > Hi,
> > 
> > What is the best way to write the output of a Transformer (in a
> > pipeline) into a file (e.g. /resources/bla.xml) on the filesystem?
> 
> Check out the SourceWritingTransformer.

I am checking it out. thanks. I'm getting an error though:

failedThere was a problem manipulating your document: org.w3c.dom.DOMException: 
HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. 
writenonefile:/resources/result.xml


My xml source (called test.xml): 


http://apache.org/cocoon/source/1.0";>
  context://resources/result.xml 
  
SourceWritingTransformer Test Result 1




My pileline:

  
  
  



sourcewriter:

  
 
  


what am I doing wrong?

Thanks,
Ali

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

-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

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



Writing to filesystem

2003-06-16 Thread Ali Mesbah
Hi,

What is the best way to write the output of a Transformer (in a pipeline) into
a file (e.g. /resources/bla.xml) on the filesystem?

Thanks,
Ali
-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

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



Re: strange transform behavior

2003-06-13 Thread Ali Mesbah

I also found somewhat the same problem with Transformers. 

I have a pipeline which makes a stylesheet. I want to use that generated
stylesheet as the input of a transformer in a second pipeline. The result of the
second pipeline is indeed strange and not what it should be. I tried it with Cocoon 
1.0.4 and later with (CVS) Cocoon 1.2 but the outcome is the same. 
Is this a known bug?

Thanks,
Ali
-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

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



Little problem

2003-06-13 Thread Mustafa Ali, Halgurt








Hi,

 

I have a xml data and a style
sheet, everything is working properly, the I put my xml data on a remot server, I changed my sitemap.xmap
and pointed to the xml file with an URL, now I am just getting all the text in
the xml file, cocoon ignores the roles which I wrote in the style sheet. Can
somebody give some hints please? It will be very nice from you.

 

Many thanks,

 






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

Exception JSPReader.generate()

2003-06-11 Thread Ali Mesbah
Hi all,
I get the following error when I try to run the JSP samples. I have Cocoon 2.1
and I run it as a servlet (which uses Jetty):

"org.apache.cocoon.ProcessingException: Exception JSPReader.generate():
java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet"

The jsp-engine is defined as follows in the cocoon.xconf: 


  
  
 

This is for when you run Cocoon as a webapp under Tomcat I assume. But what
should it be when Cocoon runs as a standalone servlet (./cocoon servlet)?

Thanks,
-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

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



Re: Document function

2003-06-09 Thread ali
Hello Joerg,
I am using 2.1 and indeed XSLTC is the default processor.
I changed it to Xalan and it works great. Thanks alot.

Ali

> what Cocoon version do you use - or if you know, do you use XSLTC or
> Xalan? There seems to be a bug for top level xsl:variable and document()
>  when using XSLTC:
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20381.
>
> XSLTC is the default processor in 2.1, while it is Xalan in 2.0. You can
>  switch between both.
>
> Joerg
>
> Ali Mesbah wrote:
>> Hi all,
>> I'm getting a strange "XML Parsing Error: syntax error" from Cocoon
>> while I try to transform an XML document with an XSLT which uses the
>> Document function.
>>
>> XSLT (metaoutput.xsl):
>> 
>>
>> >   xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
>>   
>>   
>>
>>   
>>   
>>
>>  ...
>>
>> Error:
>> XML Parsing Error: syntax error
>> Location: http://localhost:/metaoutput
>> Line Number 2, Column 1:
>>
>> There is no Error message logged. This is what I get on the browser.
>> Does it have something to do with Xalan? Any ideas?
>>
>> Thanks,
>> Ali
>
>
> - To
> unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




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



Document function

2003-06-09 Thread Ali Mesbah
Hi all,
I'm getting a strange "XML Parsing Error: syntax error" from Cocoon while I try
to transform an XML document with an XSLT which uses the Document function. 

XSLT (metaoutput.xsl):


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

  
  

 ...

Error:
XML Parsing Error: syntax error
Location: http://localhost:/metaoutput
Line Number 2, Column 1:

There is no Error message logged. This is what I get on the browser. 
Does it have something to do with Xalan? Any ideas?

Thanks,
Ali

-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

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



Re: internal pipeline

2003-06-05 Thread Ali Mesbah
Andreas,

As quoted from Andreas Hartmann <[EMAIL PROTECTED]>:
> Hi Ali,
> 
> Ali Mesbah wrote:
> 
> >Hi all,
> >I have a problem and don't know if it is a bug in Cocoon or if I'm doing
> >something wrong. 
> >
> >What I have is a pipeline which transforms an XML (source) file into an 
> >XSLT
> >(target) stylesheet:
> >
> >
> >  
> >  
> >  
> >
> >
> >
> >now I'd like to use the output as the source of another pipeline:
> >
> >
> >  
> >  
> >  
> >
> >
> >
> >I don't get any errors but the HTML output of the "view" pipeline is not 
> >the
> >expected (I have checked the output of the first pipeline and that is 
> >correct. I
> >assume it has something to do with the way I use "cocoon:/..." as the 
> >source of
> >the second transformer). Any ideas?
> 
> Your pipelines look OK (if I didn't miss anything). You're using
> the cocoon: protocol correctly. I also tried this kind of "stylesheet
> generation" (using XSP) and it worked very well. So I guess your
> problem is somewhere in the last transformation step.
> 
> You can try to set the log level to DEBUG and look at the sitemap
> log to see if the correct steps are executed.

No. There is a major difference between the log information when the "xms/test"
pipeline is called directly and when it is called by the second pipeline through
the Cocoon: protocol. 
I even added a LOG Transformer after the first pipeline; when using Cocoon:
protocol, this log file remains empty:
([setup]  [Thu Jun 05 11:59:01 CEST 2003] --)

while when called directly it is filled by all the right steps.

> The next debugging step could be to save the output of your first
> pipeline as an XSLT file and to use this directly without the
> cocoon: protocol.

Did that too. And indeed when I save the output of the first pipeline and use it
as a normal source for the second (view) pipeline it goes as wished. 

So I think my assumption was correct that it has to do with the use of the
Cocoon: protocol as the src of a transformer. Have you ever by the way used it in
this way too (Cocoon: as the src of XSLT (not XSP) via pipelines)? 

> HTH,
> Andreas

-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

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



internal pipeline

2003-06-05 Thread Ali Mesbah

Hi all,
I have a problem and don't know if it is a bug in Cocoon or if I'm doing
something wrong. 

What I have is a pipeline which transforms an XML (source) file into an XSLT
(target) stylesheet:


  
  
  



now I'd like to use the output as the source of another pipeline:


  
  
  



I don't get any errors but the HTML output of the "view" pipeline is not the
expected (I have checked the output of the first pipeline and that is correct. I
assume it has something to do with the way I use "cocoon:/..." as the source of
the second transformer). Any ideas?

Thanks,

-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

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



jTidy

2003-06-02 Thread Mustafa Ali, Halgurt








Hallo,

 

I am wrote a configuration
file for configuring jTidy like that:

 

//configuration file for html Tidy

 

asxml = yes

doctyp = omit

indent = auto

numeric-entities = yes

fix-bachslash
= yes

drop-font = yes

 

then I saves it as Tidyconf.txt in the same Direktory like my sitemap.xmap.
My sitemap.xmap looks like below:

 

 

 version="1.0"?>

 



 

  

    

 

  

  

 

  

  

    Tidyconfig.txt

   
jtidy-config>

  map:generator>

 

    map:generators>

 

    

    

  

  

    

    map:transformers>

 

    

 

  

  

 

  

 

  

  

    //WAPFORUM//DTD
WML 1.1//ENdoctype-public>

    http://www.wapforum.org/DTD/wml_1.1.xml

  map:serializer>

  

    map:serializers>

 

    

 

  

  

 

    map:matchers>

    

    

      

        

      map:readers>

 

  map:components>

 

 


    

 

  

  

    

    

  map:match>

 

  

  

    

    

 

    

    

  map:match>

 

  

  

    

    

    

  map:match>

  

  

   

   

   map:match>

 

   

   

       

   ...

   map:read>

   map:match>

 

   

        

        

      map:handle-errors>

      

    map:pipeline>

  map:pipelines>

map:sitemap>

 

but I get when I want to browse it this error message:
Language Exception

 

Can anybody help me please? Am
I doing something wrong?

 

Many thanks,

Halgurt

 






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

Tidy.property

2003-05-30 Thread Mustafa Ali, Halgurt








Hi,

 

Can somebody shortly tell me how
to set tidy.properties in the cocoon sitemap.xmap? 

 

Many thanks,

Halgurt






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

Re: escaping xml tags

2003-04-04 Thread Ali Mesbah
> As quoted from Lionel Crine <[EMAIL PROTECTED]>:
> > document returned is escaped -> What does that mean?
> 
 I would expect:
 
 
 http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="person.xsd"
xmlns:src="http://xml.apache.org/xindice/Query";
src:col="/db/person"
src:key="632dd5400392cab700f4103a2d4f">
  
  Marc
  Jansen
  07503816784
  Laan 12
  1970-01-21
 

 but I get (this is what I call escaped):

 <?xml version="1.0"?>
 <person xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="person.xsd"
xmlns:src="http://xml.apache.org/xindice/Query";
src:col="/db/person"
src:key="632dd5400392cab700f4103a2d4f">
  
  <name>Marc<name>
  <last_name>Jansen</last_name>
  <phone>07503816784</phone>
  <address>Laan 12</address>
  <date_of_birth>1970-01-21</date_of_birth>
 </persongt;
 
 
> > Lionel
> > 
> > 
> > At 13:53 04/04/2003 +0200, you wrote:
> > >I have an XSP which returns an XML document from the Xindice database.
> > >
> > >result = get the document from Xindice;
> > >
> > >result
> > >
> > >It goes all well except that the document returned is escaped so it is not
> > >actually XML anymore. Does anyone know how to tell XSP not to escape the 
> > >result?
> > >
> > >Thanks,
> > >Ali
> > >
> > >
> > >--
> > >-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600
> > >
> > >-
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > -----
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> -- 
> -- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

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



Re: escaping xml tags

2003-04-04 Thread Ali Mesbah
As quoted from Lionel Crine <[EMAIL PROTECTED]>:
> document returned is escaped -> What does that mean?

I would expect:


http://www.w3.org/2001/XMLSchema-instance";
   xsi:noNamespaceSchemaLocation="person.xsd"
   xmlns:src="http://xml.apache.org/xindice/Query";
   src:col="/db/person"
   src:key="632dd5400392cab700f4103a2d4f">
 
 Marc
 Jansen
 07503816784
 Laan 12
 1970-01-21


<?xml version="1.0"?>
<person xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xsi:noNamespaceSchemaLocation="person.xsd"
   xmlns:src="http://xml.apache.org/xindice/Query";
   src:col="/db/person"
   src:key="632dd5400392cab700f4103a2d4f">
 
 <name>Marc<name>
 <last_name>Jansen</last_name>
 <phone>07503816784</phone>
 <address>Laan 12</address>
 <date_of_birth>1970-01-21</date_of_birth>
</persongt;


> Lionel
> 
> 
> At 13:53 04/04/2003 +0200, you wrote:
> >I have an XSP which returns an XML document from the Xindice database.
> >
> >result = get the document from Xindice;
> >
> >result
> >
> >It goes all well except that the document returned is escaped so it is not
> >actually XML anymore. Does anyone know how to tell XSP not to escape the 
> >result?
> >
> >Thanks,
> >Ali
> >
> >
> >--
> >-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600
> >
> >-----
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

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



escaping xml tags

2003-04-04 Thread Ali Mesbah
I have an XSP which returns an XML document from the Xindice database.

result = get the document from Xindice;

result

It goes all well except that the document returned is escaped so it is not
actually XML anymore. Does anyone know how to tell XSP not to escape the result?

Thanks,
Ali


-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

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



Dynamic sitemap

2003-04-04 Thread Ali Mesbah

Hallo,
I need to add new pipelines to the sitemap dynamically. Is there any way of
doing this??

Thanks,
-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

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



Which XML parser for docbook?

2003-03-03 Thread Saqib . N . Ali
Hi All,

I am using the latest build of Tomcat 4 and Cocoon 2, I was wondering which
is XML parser is best for parsing docbook content?

Thanks

In Peace,
Saqib Ali

"I fear, if I rebel against my Lord, the retribution of an Awful Day (The
Day of Resurrection)" Al-Quran 6:15
http://www.seagate.cc/blog/



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



AW: Debug

2003-02-17 Thread Mustafa Ali, Halgurt









And
can you tel me please where can I read the generated
information? I did what you told me

 

-Ursprüngliche Nachricht-
Von: Hong Gia Dinh
[mailto:[EMAIL PROTECTED]] 
Gesendet: Montag, 17. Februar 2003
10:51
An: [EMAIL PROTECTED]
Betreff: RE: Debug

 



in the
page you want to debug , dont forget to add the namespace :





http://apache.org/xsp/log/2.0>





    then you can use :





    This is debug Line 1 





    and for codes :





    





    int i= 4;





    getLogger()debug("This variable is : "+i); (for example)





    





 





and in
the sitemap :





before
your transform page :











    





    











 





try
it!!!





goodluck





GD





-Original Message-
From: Mustafa Ali, Halgurt
[mailto:[EMAIL PROTECTED]]
Sent: 17 February 2003 16:21
To: [EMAIL PROTECTED]
Subject: Debug

Hi@all

 

Can
anyone tell me how to debug cocoon und get the debugging information generated?
I am using cocoon2 on Win.XP with JDK1.4..

 

Many
thanks,

Halgurt








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

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


Debug

2003-02-17 Thread Mustafa Ali, Halgurt








Hi@all

 

Can anyone tell me how to
debug cocoon und get the debugging information generated? I am using cocoon2 on
Win.XP with JDK1.4..

 

Many thanks,

Halgurt






-
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: AW: Error

2003-02-04 Thread Mustafa Ali, Halgurt

Thanks. I found the problem-source. I types sylesheet instead of stylesheet..

On Tue, 4 Feb 2003, Mustafa Ali, Halgurt wrote:

> It doesn´t make a different, wether
> file:/C:/jakarta-tomcat-5.0/jakarta-tomcat-5.0/webapps/cocoon/workshop,
> or file://C:/jakarta-tomcat-5. ?!

Yes it makes a difference, but after a look into the specs
http://www.ietf.org/rfc/rfc2396.txt, I see that file:/c:/
is correct :-/


> On Tue, 4 Feb 2003, Mustafa Ali, Halgurt wrote:
>
> > Hello,
> >
> > can somebody help me, I wrote an simple example with ohne stylesheet and
> > one source document and I placed them under CocoonRoot/workshop, zhis
> > ist he Error-message:
> >
> > Caused by: org.apache.excalibur.source.SourceNotFoundException: Resource
> > not found
> > file:/C:/jakarta-tomcat-5.0/jakarta-tomcat-5.0/webapps/cocoon/workshop/s
> > ylesheets/tx-xml2html.xsl
>
> The transformer couldn't get tx-xml2html.xsl .
>
> BTW, shouldn't it be called file://C:/jakarta-tomcat-5. ?!
>
> Stephan Michels.


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

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


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

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




AW: Error

2003-02-04 Thread Mustafa Ali, Halgurt








It doesn´t
make a different, wether file:/C:/jakarta-tomcat-5.0/jakarta-tomcat-5.0/webapps/cocoon/workshop,
or file://C:/jakarta-tomcat-5.
?!

 

On Tue, 4
 Feb 2003, Mustafa Ali, Halgurt wrote:

 

> Hello,

>

> can somebody help me, I wrote an simple example with ohne
stylesheet and

> one source document and I placed them under CocoonRoot/workshop,
zhis

> ist he Error-message:

>

> Caused by: org.apache.excalibur.source.SourceNotFoundException:
Resource

> not found

>
file:/C:/jakarta-tomcat-5.0/jakarta-tomcat-5.0/webapps/cocoon/workshop/s

> ylesheets/tx-xml2html.xsl

 

The transformer couldn't get tx-xml2html.xsl .

 

BTW, shouldn't it be called file://C:/jakarta-tomcat-5. ?!

 

Stephan Michels.

 

 

-

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. <http://xml.apache.org/cocoon/faq/index.html>

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


Error

2003-02-04 Thread Mustafa Ali, Halgurt








 

 

 

Hello,

 

can somebody help me, I wrote
an simple example with ohne stylesheet and one source document and I placed
them under CocoonRoot/workshop, zhis ist he Error-message:

 

type fatal

message Unable
to get transformer handler for sylesheets/tx-xml2html.xsl

description org.apache.cocoon.ProcessingException:
Unable to get transformer handler for sylesheets/tx-xml2html.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException:
Exception in creating Transform Handler

sender
org.apache.cocoon.servlet.CocoonServlet

source
Cocoon servlet

stack-trace

org.apache.cocoon.ProcessingException: Unable to get transformer handler for sylesheets/tx-xml2html.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler    at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:346)    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:391)    at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:538)    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:497)    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:463)    at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:148)    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)    at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)    at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317)    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299)    at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:134)    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)    at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)    at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317)    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299)    at org.apache.cocoon.Cocoon.process(Cocoon.java:600)    at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1104)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:194)    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:490)    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:996)    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:490)    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:996)    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2570)    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)    at org.apache.catalina.core.StandardValveContex

Error

2003-02-04 Thread Mustafa Ali, Halgurt








Hello,

 

can somebody help me, I wrote an simple example with ohne stylesheet and one source
document and I placed them under CocoonRoot/workshop,
zhis ist he Error-message:

 

type fatal

message Unable
to get transformer handler for sylesheets/tx-xml2html.xsl

description org.apache.cocoon.ProcessingException:
Unable to get transformer handler for sylesheets/tx-xml2html.xsl:
org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating
Transform Handler

sender
org.apache.cocoon.servlet.CocoonServlet

source
Cocoon servlet

stack-trace

org.apache.cocoon.ProcessingException: Unable to get transformer handler for sylesheets/tx-xml2html.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler    at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:346)    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:391)    at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:538)    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:497)    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:463)    at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:148)    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)    at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)    at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317)    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299)    at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:134)    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)    at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)    at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317)    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299)    at org.apache.cocoon.Cocoon.process(Cocoon.java:600)    at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1104)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:194)    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:490)    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:996)    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:490)    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:996)    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2570)    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)    at org.apache.catalina.core.StandardValveContext.invokeN

Cocoon2

2003-01-24 Thread Mustafa Ali, Halgurt








Hello,

 

I am trying to configer cocoon-2.0.4 under win XP with tomcat-5, but i am really stuck, I do´nt know
what to do, I get the message servlet cocoon2 is not
available. Can you please tell me how I can configer
cocoon-2.0.4 with tomcat-5 apache http Server-2.0.43. 

 

Thank you very much for help;

Halgurt






-
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 matcher woes

2003-01-17 Thread Saqib . N . Ali

Hi Konstantin,
Thanks :) That is exactly what I was looking for. My sitemap looks as
follows:






And it can process request such as:
"http://my.xml.server:8080/cocoon/mount/rssfeed/http://www.xmlhack.com/rss.php";

In Peace,
Saqib Ali



   

"Konstantin

Piroumian"   To: <[EMAIL PROTECTED]> 

   Subject: Re: sitemap matcher woes 

No Phone Info  

Available  

   

01/17/2003 

01:47 AM   

Please 

respond to 

cocoon-users   

   

   





From: <[EMAIL PROTECTED]>

> Hi All,
>
> Currently my sitemap is setup like the following:
>
> 
> http://www.w3.org/2000/08/w3c-synd/home.rss"/>
> 
> 
> 
>
> So when I type the following line in my browser:
> http://my.server.com:8080/cocoon/mount/test/w3c.rss
>
> It gets me the content of the W3C RSS feed
>
>
> However, I wanna to configure my sitemap such that, when I request:
> http://my.server.com:8080/cocoon/mount/test/
> http://www.w3.org/2000/08/w3c-synd/home.rss
>
> It should work as well. So I tried to write the following:
>
> 
> 
> 
> 
> 
>
> But it doesn't work. Any ideas?
>
> Theoratically it should work... right???

No, it shouldn't. The '*' matches only a file name and not a path. Probably
you are looking for something like below:

 - this will match any path/file.rss
or
 - this will match any request without a path or a
file (default matcher)
or
 - this will match any path.

and so on.

Konstantin



>
> In Peace,
> Saqib Ali
>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>


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

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





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

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




sitemap matcher woes

2003-01-16 Thread Saqib . N . Ali
Hi All,

Currently my sitemap is setup like the following:


http://www.w3.org/2000/08/w3c-synd/home.rss"/>




So when I type the following line in my browser:
http://my.server.com:8080/cocoon/mount/test/w3c.rss

It gets me the content of the W3C RSS feed


However, I wanna to configure my sitemap such that, when I request:
http://my.server.com:8080/cocoon/mount/test/
http://www.w3.org/2000/08/w3c-synd/home.rss

It should work as well. So I tried to write the following:







But it doesn't work. Any ideas?

Theoratically it should work... right???

In Peace,
Saqib Ali



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

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




Hi

2002-04-10 Thread Ali, Farhan



Hi,
 Can anybody send me multiple samples of xsl along with xml files for
generation of PDF's in Cocoon2.0.2
 So that i could be see the source code of multiple samples
 If there is any link of samples than plz send me the url
 
Thanks
Farhan

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




Error running Cocoon2 on WebSphere 4.0

2002-04-09 Thread Ali, Farhan


Hi,
  While running Cocoon2 on WebSphere 4.0 i am getting this error in
access.log. Plz help me out for this error. Its not finding some resource
related to Cocoon in matcher or in pipeline. Do i have to edit sitemap file.

  Or Can i atleast make this Cocoon2 runing small testing application

Thanks 
Farhan



access.log
DEBUG   (2002-04-09) 10:18.00:740   [access](Unknown-URI)
Unknown-thread/CocoonServlet: getRealPath for /:
d:\WebSphere\AppServer\installedApps\CocoonApp.ear/cocoon.war
DEBUG   (2002-04-09) 10:18.00:740   [access](Unknown-URI)
Unknown-thread/CocoonServlet: URL for Root:
file:/d:/WebSphere/AppServer/installedApps/CocoonApp.ear/cocoon.war/
DEBUG   (2002-04-09) 10:18.00:740   [access](Unknown-URI)
Unknown-thread/CocoonServlet: work-directory was not set - defaulting to
d:\WebSphere\AppServer\temp\l_2r_dvxkg01\default_host\CocoonApp\cocoon.war\c
ocoon-files
DEBUG   (2002-04-09) 10:18.01:010   [access](Unknown-URI)
Unknown-thread/CocoonServlet: upload-directory was not set - defaulting to
d:\WebSphere\AppServer\temp\l_2r_dvxkg01\default_host\CocoonApp\cocoon.war\c
ocoon-files\upload-dir
DEBUG   (2002-04-09) 10:18.01:010   [access](Unknown-URI)
Unknown-thread/CocoonServlet: cache-directory was not set - defaulting to
d:\WebSphere\AppServer\temp\l_2r_dvxkg01\default_host\CocoonApp\cocoon.war\c
ocoon-files\cache-dir
DEBUG   (2002-04-09) 10:18.01:010   [access](Unknown-URI)
Unknown-thread/CocoonServlet: Using configuration file:
/WEB-INF/cocoon.xconf
DEBUG   (2002-04-09) 10:18.01:010   [access](Unknown-URI)
Unknown-thread/CocoonServlet: show-time was not set - defaulting to false
DEBUG   (2002-04-09) 10:18.01:010   [access](Unknown-URI)
Unknown-thread/CocoonServlet: parent-component-manager was not set -
defaulting to null.
DEBUG   (2002-04-09) 10:18.01:010   [access](Unknown-URI)
Unknown-thread/CocoonServlet: container-encoding was not set - defaulting to
ISO-8859-1.
DEBUG   (2002-04-09) 10:18.01:010   [access](Unknown-URI)
Unknown-thread/CocoonServlet: form-encoding was not set - defaulting to
null.
INFO(2002-04-09) 10:18.01:050   [access](Unknown-URI)
Unknown-thread/CocoonServlet: Reloading from:
file:/d:/WebSphere/AppServer/installedApps/CocoonApp.ear/cocoon.war/WEB-INF/
cocoon.xconf
DEBUG   (2002-04-09) 10:22.04:861   [access](/Cocoon2)
Servlet.Engine.Transports:10/AbstractEnvironment: Resolving 'sitemap.xmap'
in context
'file:/d:/WebSphere/AppServer/installedApps/CocoonApp.ear/cocoon.war/'
DEBUG   (2002-04-09) 10:22.04:871   [access](/Cocoon2)
Servlet.Engine.Transports:10/AbstractEnvironment: Resolved to
'file:/d:/WebSphere/AppServer/installedApps/CocoonApp.ear/cocoon.war/sitemap
.xmap'
DEBUG   (2002-04-09) 10:22.04:871   [access](/Cocoon2)
Servlet.Engine.Transports:10/AbstractEnvironment: Resolving '' in context
'file:/d:/WebSphere/AppServer/installedApps/CocoonApp.ear/cocoon.war/'
DEBUG   (2002-04-09) 10:22.04:871   [access](/Cocoon2)
Servlet.Engine.Transports:10/AbstractEnvironment: Resolved to
'file:/d:/WebSphere/AppServer/installedApps/CocoonApp.ear/cocoon.war/'
DEBUG   (2002-04-09) 10:22.24:729   [access](/Cocoon2)
Servlet.Engine.Transports:10/AbstractEnvironment: Changing Cocoon context
DEBUG   (2002-04-09) 10:22.24:729   [access](/Cocoon2)
Servlet.Engine.Transports:10/AbstractEnvironment:   from
context(file:/d:/WebSphere/AppServer/installedApps/CocoonApp.ear/cocoon.war/
) and prefix()
DEBUG   (2002-04-09) 10:22.24:729   [access](/Cocoon2)
Servlet.Engine.Transports:10/AbstractEnvironment:   to context(sitemap.xmap)
and prefix()
DEBUG   (2002-04-09) 10:22.24:729   [access](/Cocoon2)
Servlet.Engine.Transports:10/AbstractEnvironment:   at URI Cocoon2
DEBUG   (2002-04-09) 10:22.24:729   [access](/Cocoon2)
Servlet.Engine.Transports:10/AbstractEnvironment: New context is
file:/d:/WebSphere/AppServer/installedApps/CocoonApp.ear/cocoon.war/
DEBUG   (2002-04-09) 10:22.24:739   [access](/Cocoon2)
Servlet.Engine.Transports:10/AbstractEnvironment: Set the URI Prefix (OLD=,
NEW=)
DEBUG   (2002-04-09) 10:22.24:739   [access](/Cocoon2)
Servlet.Engine.Transports:10/AbstractEnvironment: Reset context to
file:/d:/WebSphere/AppServer/installedApps/CocoonApp.ear/cocoon.war/
WARN(2002-04-09) 10:22.24:739   [access](/Cocoon2)
Servlet.Engine.Transports:10/CocoonServlet: The resource was not found
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request:
/Cocoon2
at
org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3847)
at
org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3085)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.ibm.servl

Help needed to install and run Cocoon 2.0.1 on WebSphere 4.0

2002-04-05 Thread Ali, Farhan

Hi,
 I have installed Cocoon2.0 on WebSphere. How can i test out whether the
Cocoon application is running or not. The steps whatever i did for the
installation of Cocoon on WebSphere 4.0 is as,

I created an application Server and installed the cocoon.war on the newly
created Application Server. While installing Cocoon i gave Context root as
/Apache.

It looks like that application is installed properly. Server is running

So while i go using http://localhost/Apache/. It gives me this type of
screen as shown in attachment.

Plz have a look at it and help me out to make it run.

Thanks
Farhan
 <> 



Index of -Apache-.htm
Description: Binary data

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

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


Cocoon installation giving problem on WebSphere 4.0

2002-04-04 Thread Ali, Farhan

Hi,
  I am trying to install Cocoon 2.0.1-bin on IBM WebSphere 4.0. After i
installed Cocoon on WebSphere 4.0. I am getting this error in access.log
file. 


DEBUG   (2002-04-04) 18:59.23:881   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: getRealPath for /:
d:\WebSphere\AppServer\installedApps\cocoonApp.ear/cocoon.war
DEBUG   (2002-04-04) 18:59.23:881   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: URL for Root:
file:/d:/WebSphere/AppServer/installedApps/cocoonApp.ear/cocoon.war/
DEBUG   (2002-04-04) 18:59.23:881   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: work-directory was not set - defaulting to
d:\WebSphere\AppServer\temp\l_2r_dvxkg01\cocoon\cocoonApp\cocoon.war\cocoon-
files
DEBUG   (2002-04-04) 18:59.24:071   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: upload-directory was not set - defaulting to
d:\WebSphere\AppServer\temp\l_2r_dvxkg01\cocoon\cocoonApp\cocoon.war\cocoon-
files\upload-dir
DEBUG   (2002-04-04) 18:59.24:071   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: cache-directory was not set - defaulting to
d:\WebSphere\AppServer\temp\l_2r_dvxkg01\cocoon\cocoonApp\cocoon.war\cocoon-
files\cache-dir
DEBUG   (2002-04-04) 18:59.24:081   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: Using configuration file: /cocoon.xconf
DEBUG   (2002-04-04) 18:59.24:081   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: show-time was not set - defaulting to false
DEBUG   (2002-04-04) 18:59.24:081   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: parent-component-manager was not set -
defaulting to null.
INFO(2002-04-04) 18:59.24:112   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: Reloading from:
file:/d:/WebSphere/AppServer/installedApps/cocoonApp.ear/cocoon.war/cocoon.x
conf


Plz help me out about this problem. 
If anybody has installed Cocoon on WebSphere 4.0. Plz reply me.

Thanks
Farhan

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




Problems installing cocoon2 in IBM Visual Age for Java 3.5

2002-03-15 Thread Ali, Farhan

Hi, 
How to install cocoon2 in Visual Age for Java. After creating all projects
for the core libraries of cocoon. I am still getting some errors like
org.apache.log4j.Hierarchy is missing and some more.
Plz help me out whats the problem

Ali

-Original Message-
From: m.marggraf [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 5:48 PM
To: [EMAIL PROTECTED]
Subject: Re: Problems restarting cocoon2 with WebSphere 4.0.1


Did you also tried the JSP-Samples?
(from the main entry-site -> Dynamic Content -> JSPGenerator/JSPReader)

I have problems and questions with the jsp's.
Did you also all the changes described from jack hirasawa 
for WAS3.5.4?

michael

Volker Schneider schrieb:
> 
> Dear cocoon-users,
> 
> after clearing the cocoon's working directory in WebSphere I restarted
> cocoon using the adminclient. After that, WebSphere's servlet engine hangs
> and I can't get any response from it. Maybe cocoon 2 didn't shut down
> properly. Yesterday we solved the problem by restarting the whole
WebSphere,
> but that isn't a really solution because other applications will be shut
> down as well. Does anybody know a solution for that?
> 
> Thanks, best regards
> - Volker -
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

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

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

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

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




RE: HTTP request parameter

2001-08-13 Thread Mohsin Ali

Hi,
Try ?userID='123456' and it hopefully it will work.
Mohsin

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] 
Sent: 10 August 2001 08:52
To: [EMAIL PROTECTED]
Subject: RE: HTTP request parameter

Thanks for the tip; unfortunately it didn't work.

java.lang.RuntimeException: Error executed prepared statement:
select
name as reg_name,  deviceID as reg_deviceID,
description as reg_description,  startTime as reg_startTime,
endTime as reg_endTime   from user, terminal, deviceType,
registration
where terminal.userID = ? and user.userID = terminal.userID
and deviceType.deviceType = terminal.deviceType and
registration.terminalID = terminal.terminalID; 
at
_var._tomcat._webapps._cocoon._vt._welcome._welcome.populateDocument(_we
lcom
e.java:379)
at
org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:97)
at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:5
27)
at org.apache.cocoon.Engine.handle(Engine.java:384)
at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
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.jav
a:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnec
tion
(Ajp12ConnectionHandler.java:166)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416
)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:50
1)
at java.lang.Thread.run(Thread.java:484)

/Anne Marie

-Original Message-
From: Christopher Painter-Wakefield [mailto:[EMAIL PROTECTED]]
Sent: 9. august 2001 18:09
To: [EMAIL PROTECTED]
Subject: Re: HTTP request parameter



Anne Marie,

try

  select name as reg_name,
 deviceID as reg_deviceID,
 description as reg_description,
 startTime as reg_startTime,
 endTime as reg_endTime
  from user, terminal, deviceType, registration
  where terminal.userID =
  
   
  
and user.userID = terminal.userID
and deviceType.deviceType = terminal.deviceType
and registration.terminalID = terminal.terminalID;


Replace "int" with "long" or "string", as necessary to match your field
type.

-Christopher




Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  HTTP request parameter


Hi,

what is required to get the http request parameter to work? I have

[...]
http://www.apache.org/1999/XSP/Core";
  xmlns:esql="http://apache.org/cocoon/SQL/v2";
  xmlns:request="http://www.apache.org/1999/XSP/Request";
<<---HERE
>
[...]


  select name as reg_name,
 deviceID as reg_deviceID,
 description as reg_description,
 startTime as reg_startTime,
 endTime as reg_endTime
  from user, terminal, deviceType, registration
  where terminal.userID = 
<<---HERE
and user.userID = terminal.userID
and deviceType.deviceType = terminal.deviceType
and registration.terminalID = terminal.terminalID;

[...]

As far as I have understood, I can then put

?userID=123456

at the end of the url, e.g.
-
http://localhost/welcome.xml?userID=123456

and 123456 will be used. But it's not working, so I guess I'll have to
add
something somewhere? I don't get any error messages, but I don't get any
data from the query either. The query works when I use

---
 //(in the DTD)

[...]

and terminal.userID = &userID; //(in the query)
---

I'm using Cocoon 1.8.2

/Anne Marie





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