Processing XSL output as XSP

2003-02-19 Thread ah_moh
Hi,

I'm new to Cocoon, so sorry if this is a question with an obvious answer - but I can't 
find anything online which explains how to do this.

I have a set of pages in XML. I pass them through an XSL transformation, which 
auto-generates hyperlinks, etc.  Because I want to use sessions when these pages are 
viewed on the web, this XSL file adds in XSP tags, including 

The output from this xsl transformation is valid xsp - at least, it follows exactly 
the same pattern as the 'apple' xsp example from the cocoon wiki, with the same xmlns 
declarations at the beginning, etc.  So, at this point I want to add something to my 
pipeline which tells Cocoon to treat the XSL output as XSP, but I can't work it out!

Here's the relevant part of my sitemap:


  
  

  


I assume that somwhere here I need a tag something like  after the existing .  I've tried variations on , but this just gets me error messages about component handlers not 
being found.  So, I'm missing something. Any hints would be very gratefully received!  
It's probably something really obvious, but I've got a mental block on it now.

Many thanks,

Ah Moh


-
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 in the Classroom

2003-02-19 Thread Tony Collen
Apprently they're making some use of Cocoon at rit.edu:

http://www.it.rit.edu/~ell/xmlblog/

(Scroll down)


Regards,

Tony


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




SVG to JPEG/PNG problems

2003-02-19 Thread Derek Hohls



I am having problems getting the SVG serializer to
correctly display my graphics as JPG/PNG - there
are no reported errors, and the conversion as a whole
goes OK, but many of the colors do not display properly,
font sizes and alignments are out and so on.  
 
What do I need to do to fix this??
 
Thanks
Derek-- 
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

"The CSIR exercises no editorial control over E-mail messages and/or
attachments thereto/links referred to therein originating in the
organisation and the views in this message/attachments thereto are
therefore not necessarily those of the CSIR and/or its employees.
The sender of this e-mail is, moreover, in terms of the CSIR's Conditions
of Service, subject to compliance with the CSIR's internal E-mail and
Internet Policy."



[DC-CHUG] Joint DC SGML/XML and Linux Users Groups meeting TONIGHT

2003-02-19 Thread Argyn
John and others,

it was nice to meet you all! Let's keep in touch.

Unfortunately, Vadim didn't make it. Now he'll acknowledge that public
transportation has its own little advantages :)

thanks,
Argyn

> -Original Message-
> From: John R. Callahan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 19, 2003 12:59 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Joint DC SGML/XML and Linux Users Groups meeting TONIGHT
> (7pm EDT)
>
>
> Advice on parking: Use the Metro :-) (Dupont Circle Q Street exit)
>
> Seriously, there is a parking garage across the street.  Here
> is Betty's
> note below (which you might have received if you are on the
> DC SGML/XML
> mailing list).
>
> See you there!  I have to run NOW and catch the train!
>
> -- jack
>
> John R. Callahan, Ph.D.
> CTO
> Sphere Software Corporation - The Intelligence of XML
> [EMAIL PROTECTED]
>
> 
> I just spoke with Jon Sears, AGU, and confirmed that tonights meeting
> can still be held.   He suggested that you plan on taking the Metro
> or parking in the parking barn across the street ($8) because street
> parking is still a problem.  He also said the sidewalks are still
> a little bit icy.  Hopefully with the sun coming out this situation
> will ease today.
>
> I haven't received the books from the publisher yet but that is
> understandable considering the weather.  We will still raffle off
> the books and I will mail them to the winners if they aren't received
> today.
>
> Currently we have 60 people registered for tonights meeting.  Again
> the URL is http://www.eccnet.com/xmlug/meeting-register.html or
> you can link to it frm http://www.eccnet.com/xmlug.
>
> See you this evening.
>
> Betty
>
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> Betty Harvey | Phone: 410-787-9200 FAX: 9830
> Electronic Commerce Connection, Inc. |
> [EMAIL PROTECTED]| Washington,DC SGML/XML
> Users Grp
> URL:  http://www.eccnet.com  | http://www.eccnet.com/xmlug/
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
>
>
> --
>
>
> ___
> Xmlusers mailing list
> [EMAIL PROTECTED]
> http://ecc05.eccnet.com/mailman/listinfo/xmlusers
>
>
> - Original Message -
> From: "Geoff Howard" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 19, 2003 8:06 AM
> Subject: Re: Joint DC SGML/XML and Linux Users Groups meeting
> TONIGHT (7pm EDT)
>
>
> > I guess that means it's not cancelled!  See you there.
> (Any advice on
> > parking given the snow?)
> >
> > Geoff
> >
> > At 10:36 AM 2/19/2003, you wrote:
> > >If you live in the Baltimore-Washington DC USA area...
> > >
> > >Just a reminder that I will be giving a talk on Cocoon at the joint
> > >meeting of the DC SGML/XML and Linux Users Groups.  For
> > >more information see http://www.eccnet.com/xmlug
> > >
> > >Don't forget to register online at
> > >http://www.eccnet.com/xmlug/meeting-register.html
> > >(it's because of building security at the AGU - it's DC
> after all :-| )
> > >
> > >-- jack
> > >
> > >John Callahan
> > >[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]>




2nd Re: xml 2 svg in coplet

2003-02-19 Thread hgadm
Thanks Jens it works, good tip :-)

- however, two questions from a bloody newby :-o

1.) The chart updates only (i.e. only reads-in a
modified xml data source) if I clear the portal cache
or close and restart Cocoon. Simple page refresh and
logoff/-on doesn't help !!?? What did I forget ?

2.) I am not sure what generator to use in the coplet.
It still works with the xml data file here but I guess
this is not necessary because the handling is already
done in the respective pipeline. So what to put in here
?

Kind regards,
Holger

Below is what I have done (using 2.1 dev):

...



http://localhost:8080/~Owner/My%20Website/cocoon/svg/sales.xml"/>
http://localhost:8080/~Owner/My%20Website/cocoon/svg/sales.xsl"/>



 

...


...



  http://localhost:8080/~Owner/My%20Website/cocoon/svg/sales.xml"/>
  
  

...

the sunlet_chart.xsl is pretty lean:



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



 
http://localhost/cocoon/samples/portal-fw/histochart.jpeg"; />

  



*

On Wed, 19 Feb 2003, Jens Maukisch wrote:

> 
> Hi,
> 
> > get the xml data ('generate'), build the svg graph
> > ('transform' with xsl, or build with js: 'action' ?
),
> > then transform and serialise into an xhtml table
with
> > the svg embedded to meet a required coplet
structure.
> 
> what about simple xhtml-image-tag pointing to the
> map:match
> which is creating your jpeg (based on a svg) ?
> something like this:
> 
> in the coplet:
> 
> 
> in the sitemap:
> 
>  
>  
>  
> 
> 
> 
> -- 
> * best regards
> * Jens Maukisch 
> 
> 
>
-
> 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]>

___
The ALL NEW CS2000 from CompuServe
 Better!  Faster! More Powerful!
 250 FREE hours! Sign-on Now!
 http://www.compuserve.com/trycsrv/cs2000/webmail/





-
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: AW: XSP question

2003-02-19 Thread Mark H
I use helpbean logicsheet http://www.oio.de/m/taglib/beanhelp.zip

http://apache.org/xsp";
xmlns:help="http://www.oio.de/help";>







Mark

-Original Message-
From: Geoff Howard [mailto:[EMAIL PROTECTED]]
Sent: 19 February 2003 08:45PM
To: [EMAIL PROTECTED]
Subject: Re: AW: XSP question


no xbean logicsheet exists in 2.x.  I have seen a start of such from 1.x
but it would be non-functional now.  The advice below should be what you
need, with the obvious understanding that autopopulating fields as you get
with useBean does not exist.

Geoff Howard

At 02:46 PM 2/19/2003, you wrote:
>hi nesto,
>
>I don't know the xbean logicsheet at all (doesn't seem to be in cocoon <=
>2.0.4), but anyway;
>
>in the simplest case, the  boils down to a variable
declaration
>(scope = page):
>
>
>
>would have an equivalent of something like this:
>
>
> mypackage.MyClass
> myBean = new mypackage.MyClass ();
>
>
>
>for the other scopes you have to store/load those variables in/from the
>respective contexts: for session scope it's the session, for application
>scope it's the ServletContext. both have getAttribute()/setAttribute()
which
>you can utilize.
>
>hope this helps, in case that xbean logicsheet is not available. you
>eventually might want to take a lookt at the JSP spec.
>
>-Ursprüngliche Nachricht-
>Von: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]Im
Auftrag
>von Nesto
>Gesendet: Mittwoch, 19. Februar 2003 15:11
>An: [EMAIL PROTECTED]
>Betreff: XSP question
>
>
>Hi!
>Sorry if I repost a question, but I need help!
>I want to convert my JSP in XSP, and I have to reuse complex Javabeans.
>
>I read in the Logicsheet documentatin that there is a xbean library that
>provides functionallity similar to the jsp:useBean directives.
>But I didn't found much more documentation, and I don't know how to use it!
>Where I can read more?
>
>Please give me some hint on how "translate" my
> of my old JSP, in
>code for my new XSP
>
>Regards,
>Nesto
>
>
>-
>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: get sunrise session values from an xsp page

2003-02-19 Thread Antonio Gallardo
Check this:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13070

Antonio Gallardo

Lionel Crine dijo:
> How can I get sunrise session values in an xsp page.
>
> I'm trying this ?
>
> My login page :
>
> 
>
> 
> 
>
>  login?resource=ixia_demo
>  
>  description="Password"/>
>
> 
> 
>
>
> 
>
> My xsp page :
>
> 
> http://apache.org/xsp";
> xmlns:xsp-request="http://apache.org/xsp/request/2.0";
> xmlns:sunshine="http://cocoon.apache.org/sunshine/1.0";>
>
>
> 
> 
> 
>  
> 
> 
> 
> 
>
>
> xsl document :
>
> 
> 
> 
>
>
> The xsp page does not understand thepath="/parameter/name"/>
>
> I'm kind of lost.
>
>
> -
> 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: Joint DC SGML/XML and Linux Users Groups meeting TONIGHT (7pm EDT)

2003-02-19 Thread John R. Callahan
Advice on parking: Use the Metro :-) (Dupont Circle Q Street exit)

Seriously, there is a parking garage across the street.  Here is Betty's
note below (which you might have received if you are on the DC SGML/XML
mailing list).

See you there!  I have to run NOW and catch the train!

-- jack

John R. Callahan, Ph.D.
CTO
Sphere Software Corporation - The Intelligence of XML
[EMAIL PROTECTED]


I just spoke with Jon Sears, AGU, and confirmed that tonights meeting
can still be held.   He suggested that you plan on taking the Metro
or parking in the parking barn across the street ($8) because street
parking is still a problem.  He also said the sidewalks are still
a little bit icy.  Hopefully with the sun coming out this situation
will ease today.

I haven't received the books from the publisher yet but that is 
understandable considering the weather.  We will still raffle off
the books and I will mail them to the winners if they aren't received
today.

Currently we have 60 people registered for tonights meeting.  Again
the URL is http://www.eccnet.com/xmlug/meeting-register.html or
you can link to it frm http://www.eccnet.com/xmlug.

See you this evening.

Betty

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey | Phone: 410-787-9200 FAX: 9830 
Electronic Commerce Connection, Inc. |
[EMAIL PROTECTED]| Washington,DC SGML/XML Users Grp
URL:  http://www.eccnet.com  | http://www.eccnet.com/xmlug/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/  


-- 


___
Xmlusers mailing list
[EMAIL PROTECTED]
http://ecc05.eccnet.com/mailman/listinfo/xmlusers


- Original Message - 
From: "Geoff Howard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 8:06 AM
Subject: Re: Joint DC SGML/XML and Linux Users Groups meeting TONIGHT (7pm EDT)


> I guess that means it's not cancelled!  See you there.  (Any advice on 
> parking given the snow?)
> 
> Geoff
> 
> At 10:36 AM 2/19/2003, you wrote:
> >If you live in the Baltimore-Washington DC USA area...
> >
> >Just a reminder that I will be giving a talk on Cocoon at the joint
> >meeting of the DC SGML/XML and Linux Users Groups.  For
> >more information see http://www.eccnet.com/xmlug
> >
> >Don't forget to register online at
> >http://www.eccnet.com/xmlug/meeting-register.html
> >(it's because of building security at the AGU - it's DC after all :-| )
> >
> >-- jack
> >
> >John Callahan
> >[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: AW: XSP question

2003-02-19 Thread Geoff Howard
no xbean logicsheet exists in 2.x.  I have seen a start of such from 1.x 
but it would be non-functional now.  The advice below should be what you 
need, with the obvious understanding that autopopulating fields as you get 
with useBean does not exist.

Geoff Howard

At 02:46 PM 2/19/2003, you wrote:
hi nesto,

I don't know the xbean logicsheet at all (doesn't seem to be in cocoon <=
2.0.4), but anyway;

in the simplest case, the  boils down to a variable declaration
(scope = page):



would have an equivalent of something like this:


mypackage.MyClass
myBean = new mypackage.MyClass ();



for the other scopes you have to store/load those variables in/from the
respective contexts: for session scope it's the session, for application
scope it's the ServletContext. both have getAttribute()/setAttribute() which
you can utilize.

hope this helps, in case that xbean logicsheet is not available. you
eventually might want to take a lookt at the JSP spec.

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag
von Nesto
Gesendet: Mittwoch, 19. Februar 2003 15:11
An: [EMAIL PROTECTED]
Betreff: XSP question


Hi!
Sorry if I repost a question, but I need help!
I want to convert my JSP in XSP, and I have to reuse complex Javabeans.

I read in the Logicsheet documentatin that there is a xbean library that
provides functionallity similar to the jsp:useBean directives.
But I didn't found much more documentation, and I don't know how to use it!
Where I can read more?

Please give me some hint on how "translate" my
 of my old JSP, in
code for my new XSP

Regards,
Nesto


-
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: utf-8 data printing using FOP

2003-02-19 Thread Mike Haarman
On Wed, 19 Feb 2003, Murad Jura wrote:

> success. Serializer replaces russian characters by sharps (#). I
> configured a FOP serializer as described in a cocoon documentation using
> fonts from Win2000, but unfortunately this didn't help me.
> How to solve this problem?
>

Get FOP installed and working from the command line with your fonts.



Mike Haarman
[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: AW: Firebird with Cocoon

2003-02-19 Thread Brian Johnson
If you want to change it for both, just remove conn.close() and conn = 
null in the finally block of the Query.exceute() method in the 
SQLTransformer. conn.close() is called in Query.close() and should not 
be called in execute().

On Wednesday, February 19, 2003, at 02:43  PM, Upayavira wrote:

I've got both 2.0.4 and 2.1 set up. Whilst I'd prefer it for both, 
2.0.4 would be fine.

Thanks.
What version of cocoon are you using?

On Wednesday, February 19, 2003, at 01:59  PM, Upayavira wrote:


Brian,

I've finally got Firebird working, by switching from the
SQLTransformer to the
ESQL logicsheet. What a relief!

Can you send me the patch for the SQLTransformer? I'll see if that's
part of it.

Thanks for your help.

Regards, Upayavira











-
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: XSP question

2003-02-19 Thread Marco Rolappe
hi nesto,

I don't know the xbean logicsheet at all (doesn't seem to be in cocoon <=
2.0.4), but anyway;

in the simplest case, the  boils down to a variable declaration
(scope = page):



would have an equivalent of something like this:


mypackage.MyClass
myBean = new mypackage.MyClass ();



for the other scopes you have to store/load those variables in/from the
respective contexts: for session scope it's the session, for application
scope it's the ServletContext. both have getAttribute()/setAttribute() which
you can utilize.

hope this helps, in case that xbean logicsheet is not available. you
eventually might want to take a lookt at the JSP spec.

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag
von Nesto
Gesendet: Mittwoch, 19. Februar 2003 15:11
An: [EMAIL PROTECTED]
Betreff: XSP question


Hi!
Sorry if I repost a question, but I need help!
I want to convert my JSP in XSP, and I have to reuse complex Javabeans.

I read in the Logicsheet documentatin that there is a xbean library that
provides functionallity similar to the jsp:useBean directives.
But I didn't found much more documentation, and I don't know how to use it!
Where I can read more?

Please give me some hint on how "translate" my
 of my old JSP, in
code for my new XSP

Regards,
Nesto


-
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: MySQL date conversion with modular database action

2003-02-19 Thread Andre Taube
Still the same:

DEBUG   (2003-02-19) 12:28.28:239   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: Trying to set
column pcm_contract.contract_status from request-param using getAttribute
method


> -Original Message-
> From: Christian Haul [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 19, 2003 11:32 AM
> To: [EMAIL PROTECTED]
> Subject: Re: MySQL date conversion with modular database action
>
>
> Andre Taube wrote:
> > It still does not work.
>
> > 
>  =
>
> > 
>  ===
> This does not match!
>
>   Chris.
>
> --
> C h r i s t i a n   H a u l
> [EMAIL PROTECTED]
>  fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
>
>
> -
> 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: MySQL date conversion with modular database action

2003-02-19 Thread Christian Haul
Andre Taube wrote:

It still does not work.



		

=




===
This does not match!

	Chris.

--
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08


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




Xinclude with an XPointer and Resin?

2003-02-19 Thread Ben Young
I have recently switched from Tomcat to Resin (for speed reasons). I have
run into a rather annoying snag, however. When I request my pages that use
xinclude tags with the xinclude transformer, I get nothing returned where
the included files should be. The xinclude tags worked fine under Tomcat.

After doing some testing, I found that the xinclude statement works
perfectly well *unless* you are using an xpointer(...) to select a certain
part of the tree. It seems that Resin (or something else) doing something
with the "#xpointer(...)" that keeps Cocoon from generating the proper XML.

Any ideas on why this may be happening, and how I might be able to work
around it?

Thanks,
Ben 8o) 


-
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: AW: Firebird with Cocoon

2003-02-19 Thread Upayavira
Brian,

I've finally got Firebird working, by switching from the SQLTransformer to the 
ESQL logicsheet. What a relief!

Can you send me the patch for the SQLTransformer? I'll see if that's part of it.

Thanks for your help.

Regards, Upayavira



-
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: xml 2 svg in coplet

2003-02-19 Thread Jens Maukisch
Hi,

> get the xml data ('generate'), build the svg graph
> ('transform' with xsl, or build with js: 'action' ? ),
> then transform and serialise into an xhtml table with
> the svg embedded to meet a required coplet structure.

what about simple xhtml-image-tag pointing to the map:match
which is creating your jpeg (based on a svg) ?
something like this:

in the coplet:


in the sitemap:

 
 
 



-- 
* best regards
* Jens Maukisch 


-
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: MySQL date conversion with modular database action

2003-02-19 Thread Andre Taube
It still does not work.

descriptor:





















pcm_contract.start_date
MM/dd/

   



pcm_contract.end_date
MM/dd/

   






and the log is:

DEBUG   (2003-02-19) 11:22.42:540   [sitemap]
(/pcm/contract_admin.contract.html) Thread-9/DefaultComponentFactory:
ComponentFactory creating new instance of
org.apache.cocoon.acting.modular.DatabaseUpdateAction.
DEBUG   (2003-02-19) 11:22.42:541   [sitemap]
(/pcm/contract_admin.contract.html) Thread-9/DefaultComponentFactory: logger
attribute is sitemap.action.DatabaseUpdateAction
DEBUG   (2003-02-19) 11:22.42:543   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html)
Thread-9/AbstractComplementaryConfigurableAction: Using cached configuration
for contract_descriptor.xml
DEBUG   (2003-02-19) 11:22.42:547   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: modeTypes :
{2=request-attr, 1=others, 0=autoincr}
DEBUG   (2003-02-19) 11:22.42:548   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: i=0
DEBUG   (2003-02-19) 11:22.42:549   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: i=1
DEBUG   (2003-02-19) 11:22.42:550   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: i=2
DEBUG   (2003-02-19) 11:22.42:551   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: i=3
DEBUG   (2003-02-19) 11:22.42:552   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: i=4
DEBUG   (2003-02-19) 11:22.42:553   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: i=5
DEBUG   (2003-02-19) 11:22.42:554   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: i=6
DEBUG   (2003-02-19) 11:22.42:555   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: i=7
DEBUG   (2003-02-19) 11:22.42:556   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: i=8
DEBUG   (2003-02-19) 11:22.42:557   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: query: UPDATE
pcm_contract SET contract_name= ?, contract_type= ?, contract_code= ?,
job_number= ?, misc_code= ?, start_date= ?, end_date= ?, contract_status= ?
WHERE id= ?
DEBUG   (2003-02-19) 11:22.42:558   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: Trying to set
column pcm_contract.id from request-param using getAttribute method
DEBUG   (2003-02-19) 11:22.42:559   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: Setting column
pcm_contract.id [0] 17
DEBUG   (2003-02-19) 11:22.42:560   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: Trying to set
column pcm_contract.contract_name from request-param using getAttribute
method
DEBUG   (2003-02-19) 11:22.42:561   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: Setting column
pcm_contract.contract_name [0] Qwerty 123123
DEBUG   (2003-02-19) 11:22.42:562   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: Trying to set
column pcm_contract.contract_type from request-param using getAttribute
method
DEBUG   (2003-02-19) 11:22.42:563   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: Setting column
pcm_contract.contract_type [0] 1
DEBUG   (2003-02-19) 11:22.42:564   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: Trying to set
column pcm_contract.contract_code from request-param using getAttribute
method
DEBUG   (2003-02-19) 11:22.42:565   [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: Setting column
pcm_contract.contract_code [0] QWERTY 123123
DEBUG   (2003-02-19) 11:22.42:566   [sitemap.action.DatabaseU

Problem with tomcat 4.1.18 + cocoon 2.0.2 under Redhat 7.2 with IBM JVM

2003-02-19 Thread MAHE Vincent FTRD/DIH/REN



Hello,
 
I have an 
application which works fine with cocoon 2.0.2 under tomcat 4.1.18 and Linux 
Redhat 7.2 when I use the Sun JVM 1.4.0
 
When I try to use it 
with the IBM latest JVM 1.4.0, it doesn't work any more and I have a "ressource 
unavailable" message in response to my HTTP query.
 
I know that it is 
related to Cocoon because I don't have any problem with my webapps which don't 
use it (the example webapp provided with tomcat for instance is running 
fine).
 
It seems also to be 
related to the version of Tomcat I'm using because when I used tomcat 4.0.1 with 
the IBM JVM I had no problem.
 
I would like to 
upgrade to the latest version of Tomcat because it seems to provide better 
performances and someone told me it was better to use the IBM JVM because it has 
a better garbage collector implementation.
 
Any help would be 
great ...
 
Vincent
 
 


Re: AW: Firebird with Cocoon

2003-02-19 Thread Upayavira
> That's a good point. I am also using 1.4, and I've never tried it with
> 1.3. Brian

Hmmph.

Just got Cocoon running with Java 1.4.1_01, and it still does exactly the same 
thing.

It has just started reporting:

log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: log\test.log (The system cannot find the path 
specified)

after some time ago having put the log4j jar into the lib folder. Any idea where it is 
looking for the log\test.log file? Then it might be able to tell me more about what it 
is doing.

Thanks for all of your help.

Regards, Upayavira


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

2003-02-19 Thread Mark Eggers
Here's the skeleton of a document I'm writing about a
procedure that worked for me.  I tried to pass all of
this information via the build scripts, but all I got
back was the prompt (and no build).  I ran everything
by using the Ant that comes with the CVS download of
Cocoon.

Since I currently only have a Win/2000 machine to work
on, the notes have a Windows flavor.  Do the normal
DOS->UNIX translation to get the UNIX version.

If you want to reduce the size of Cocoon, you'll want
to avoid adding -Dinclude.scratchpad.libs=yes as well
as adding the optional libs I put in on steps 2 and 3.

My purpose in putting this together was to build a
sandbox that I could use to experiment with various
Cocoon ideas and prototype applications.

Hopefully I'll get this entire thing written up, as
well as the appropriate 2.04 documentation sometime
soon.

HTH

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
** Cocoon Sandbox

1.   Obtain latest version via CVS
2.   Put optional jars in lib/optional
 a)   commons-logging-1.0.jar (for POI)
  from http://jakarta.apache.org/commons/logging.html
 b)   mail.jar (for mail client)
  from http://sun.java.com/products/javamail/
 c)   phpsrvlt.jar (for php source)
  from http://www.php.net
3.   Put local jars in lib/local
 a)   activation.jar (for JavaBeans)
  from http://java.sun.com/products/javabeans/glasgow/jaf.html
 b)   jta.jar (for distributed transactions)
  from http://java.sun.com/products/jta/
 c)   xindice.jar (for xml database)
  from http://xml.apache.org/xindice/
4.   Edit lib/jars.xml to reference new jars in the lib/optional
 directory
5.   Edit properties.xml to turn off debugging and turn on
 optimization (optional).
6.   Make sure evironment variables are cleared.
 a)   SET CLASSPATH=
 b)   SET ANT_HOME=
7.   Set ANT_HOME to Cocoon's ant
 a)   SET ANT_HOME=tools
8.   Build Cocoon without samples, javadocs, and documentation.
 tools\bin\ant -Dcocoon.webapp.samples.include=false \
   -Dcocoon.webapp.documentation.include=false \
   -Dcocoon.webapp.javadocs.include=false \
   -Dinclude.webapp.libs=yes \
   -Dinclude.scratchpad.libs=yes \
   -Dinstall.war=%TOMCAT_HOME%\webapps \
   webapp
9.   Rename the resulting cocoon.war to capps.war (or another name)
10.  Drop capps.war into %TOMCAT_HOME%\webapps
11.  Delete all empty directories (optional)
12.  Modify sitemap.xmap to create a reasonable welcome file
13.  Change logging levels in logkit.xmap (optional)
14.  Change application description in web.xml (optional)


-
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: sunrise authentication and request Object

2003-02-19 Thread Lionel Crine
It's not working.


At 16:48 19/02/2003 +0100, you wrote:

Try to replace "cocoon:raw:" with "cocoon:" in
 

I am not sure, but I think the raw attribute causes parameters to be
lost.

Martin



- Original Message -
From: "Lionel Crine" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 4:10 PM
Subject: Re: sunrise authentication and request Object


> Here is the handler :
>
>
>   src="org.apache.cocoon.sunshine.sunrise.acting.AuthAction">
>
>   xmlns:map="http://apache.org/cocoon/sitemap/1.0";
> xmlns:sunshine="http://sunshine.sundn.de/sunshine/1.0";>
>
>
>  
>
>
>
>
>
> At 16:01 19/02/2003 +0100, you wrote:
> >Lionel,
> >
> >please send also the definition of the handler.
> >
> >Martin
> >
> >- Original Message -
> >From: "Lionel Crine" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Wednesday, February 19, 2003 3:35 PM
> >Subject: sunrise authentication and request Object
> >
> >
> > > I'm using sunrise authentication and I need to get the request
> >parameter
> > > send by the form .
> > >
> > > It seems that during the pipelines processing, the request
> >parameters are
> > > lost so when I use ""
> > > in my xsp page, there is nothing.
> > >
> > > If I don't use sunrise auhentication, I can get the
parameter(s).
> > >
> > > I'm sure I loose the parameters during the pipeline processing,
I
> >saw it in
> > > the core.log file.
> > >
> > > In my pipeline, I have :
> > >
> > > 
> > > 
> > >   
> > >   
> > >>value="request:password"/>
> > >
> > >   
> > > 
> > > ...
> > >
> > > 
> > > 
> > > 
> > >
> > >   
> > > 
> > > 
> > > ...
> > > 
> > >
> > > 
> > >  
> > >
> > > 
> > > 
> > >
> > >
> > > Is there a way to keep the parameter during the pipeline
processing
> >?
> > > Lionel
> > >
> > >
> >
> 
> >-
> > > 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: sunrise authentication and request Object

2003-02-19 Thread Martin Dulisch
Try to replace "cocoon:raw:" with "cocoon:" in
 

I am not sure, but I think the raw attribute causes parameters to be
lost.

Martin



- Original Message -
From: "Lionel Crine" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 4:10 PM
Subject: Re: sunrise authentication and request Object


> Here is the handler :
>
>
>   src="org.apache.cocoon.sunshine.sunrise.acting.AuthAction">
>
>   xmlns:map="http://apache.org/cocoon/sitemap/1.0";
> xmlns:sunshine="http://sunshine.sundn.de/sunshine/1.0";>
>
>
>  
>
>
>
>
>
> At 16:01 19/02/2003 +0100, you wrote:
> >Lionel,
> >
> >please send also the definition of the handler.
> >
> >Martin
> >
> >- Original Message -
> >From: "Lionel Crine" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Wednesday, February 19, 2003 3:35 PM
> >Subject: sunrise authentication and request Object
> >
> >
> > > I'm using sunrise authentication and I need to get the request
> >parameter
> > > send by the form .
> > >
> > > It seems that during the pipelines processing, the request
> >parameters are
> > > lost so when I use ""
> > > in my xsp page, there is nothing.
> > >
> > > If I don't use sunrise auhentication, I can get the
parameter(s).
> > >
> > > I'm sure I loose the parameters during the pipeline processing,
I
> >saw it in
> > > the core.log file.
> > >
> > > In my pipeline, I have :
> > >
> > > 
> > > 
> > >   
> > >   
> > >>value="request:password"/>
> > >
> > >   
> > > 
> > > ...
> > >
> > > 
> > > 
> > > 
> > >
> > >   
> > > 
> > > 
> > > ...
> > > 
> > >
> > > 
> > >  
> > >
> > > 
> > > 
> > >
> > >
> > > Is there a way to keep the parameter during the pipeline
processing
> >?
> > > Lionel
> > >
> > >
> >
> 
> >-
> > > 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]>




get sunrise session values from an xsp page

2003-02-19 Thread Lionel Crine
How can I get sunrise session values in an xsp page.

I'm trying this ?

My login page :





  
login?resource=ixia_demo


  






My xsp page :


http://apache.org/xsp"; 
xmlns:xsp-request="http://apache.org/xsp/request/2.0"; 
xmlns:sunshine="http://cocoon.apache.org/sunshine/1.0";>












xsl document :






The xsp page does not understand the  

I'm kind of lost.


-
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: AW: Firebird with Cocoon

2003-02-19 Thread Brian Johnson
That's a good point. I am also using 1.4, and I've never tried it with 
1.3.
Brian

On Wednesday, February 19, 2003, at 10:20  AM, Nils Le?mann wrote:


Hi Upayavira,

i've had some problems similary to yours connecting cocoon to firebird.
The only solution for me was to switch to java 1.4 (from 1.3). Suddenly
everything was fine...

Bye, Nils


-Ursprungliche Nachricht-
Von: Upayavira [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 19. Februar 2003 15:06
An: Brian Johnson; [EMAIL PROTECTED]
Betreff: Re: Firebird with Cocoon

Dear Brian,


It may be a problem with your connection string. This is working for
me: jdbc:firebirdsql:localhost/3050:/home/firebird/mydatabase.gdb Can
you connect with the driver using JDBC outside of Cocoon? Brian


This is my first foray into JDBC. I have just tried the JDBC sample
(ExecuteSQL)
from Java Examples in a Nutshell, which wouldn't connect. By killing 
the
server
and restarting it, I managed to get that to connect.

However, having done this, it has made no difference to Cocoon, which
still gives:

Failed to obtain connection. Made 5 attempts with 5000ms interval

Here's my code from web.xml and cocoon.xconf and the sitemap:

web.xml:
 
  load-class
  org.firebirdsql.jdbc.FBDriver


cocoon.xconf:

  

jdbc:firebirdsql://localhost/c:\\desktop\\DATABASE.GDB
  XXX
  YYY


sitemap.xmap:
  


  
   
  
  

Any further hints would be greatly appreciated.

Regards, Upayavira


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




AW: Firebird with Cocoon

2003-02-19 Thread Nils Le?mann

Hi Upayavira,

i've had some problems similary to yours connecting cocoon to firebird.
The only solution for me was to switch to java 1.4 (from 1.3). Suddenly
everything was fine...

Bye, Nils


-Ursprungliche Nachricht-
Von: Upayavira [mailto:[EMAIL PROTECTED]] 
Gesendet: Mittwoch, 19. Februar 2003 15:06
An: Brian Johnson; [EMAIL PROTECTED]
Betreff: Re: Firebird with Cocoon

Dear Brian,

> It may be a problem with your connection string. This is working for
> me: jdbc:firebirdsql:localhost/3050:/home/firebird/mydatabase.gdb Can
> you connect with the driver using JDBC outside of Cocoon? Brian

This is my first foray into JDBC. I have just tried the JDBC sample
(ExecuteSQL) 
from Java Examples in a Nutshell, which wouldn't connect. By killing the
server 
and restarting it, I managed to get that to connect.

However, having done this, it has made no difference to Cocoon, which
still gives:

Failed to obtain connection. Made 5 attempts with 5000ms interval

Here's my code from web.xml and cocoon.xconf and the sitemap:

web.xml:
 
  load-class
  org.firebirdsql.jdbc.FBDriver


cocoon.xconf:

  
 
jdbc:firebirdsql://localhost/c:\\desktop\\DATABASE.GDB
  XXX
  YYY


sitemap.xmap: 
  


  
   
  
  

Any further hints would be greatly appreciated.

Regards, Upayavira


-
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: sunrise authentication and request Object

2003-02-19 Thread Lionel Crine
Here is the handler :



  
http://apache.org/cocoon/sitemap/1.0"; 
xmlns:sunshine="http://sunshine.sundn.de/sunshine/1.0";>
  
  

  




At 16:01 19/02/2003 +0100, you wrote:
Lionel,

please send also the definition of the handler.

Martin

- Original Message -
From: "Lionel Crine" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 3:35 PM
Subject: sunrise authentication and request Object


> I'm using sunrise authentication and I need to get the request
parameter
> send by the form .
>
> It seems that during the pipelines processing, the request
parameters are
> lost so when I use ""
> in my xsp page, there is nothing.
>
> If I don't use sunrise auhentication, I can get the parameter(s).
>
> I'm sure I loose the parameters during the pipeline processing, I
saw it in
> the core.log file.
>
> In my pipeline, I have :
>
> 
> 
>   
>   
>   
>
>   
> 
> ...
>
> 
> 
> 
>
>   
> 
> 
> ...
> 
>
> 
>  
>
> 
> 
>
>
> Is there a way to keep the parameter during the pipeline processing
?
> Lionel
>
>
> 
-
> 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: sunrise authentication and request Object

2003-02-19 Thread Martin Dulisch
Lionel,

please send also the definition of the handler.

Martin

- Original Message -
From: "Lionel Crine" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 3:35 PM
Subject: sunrise authentication and request Object


> I'm using sunrise authentication and I need to get the request
parameter
> send by the form .
>
> It seems that during the pipelines processing, the request
parameters are
> lost so when I use ""
> in my xsp page, there is nothing.
>
> If I don't use sunrise auhentication, I can get the parameter(s).
>
> I'm sure I loose the parameters during the pipeline processing, I
saw it in
> the core.log file.
>
> In my pipeline, I have :
>
> 
> 
>   
>   
>   
>
>   
> 
> ...
>
> 
> 
> 
>
>   
> 
> 
> ...
> 
>
> 
>  
>
> 
> 
>
>
> Is there a way to keep the parameter during the pipeline processing
?
> Lionel
>
>
> 
-
> 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: failure in request parameters

2003-02-19 Thread Nesto



Hi Eduardo!
I have the same problem with a jsp.
Here I forward you the (only) answer I 
received from the cocoon developers mailing list, with my original 
message.
Maybe it can help you.
Now I'm thinking in translate my JSPs in XSPs 
as you can read on my posts (but I haven't received any answer yet), but I we 
can solve this problem it would be better!
 
If you have some solution please, tell 
me!
Regards,
Nesto
 

- Original Message - 
From: "Konstantin Piroumian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 18, 2003 10:43 AM
Subject: Re: Is this a bug?
> Check if the JSP samples work.> If yes, then probably 
there's an error somewhere in your code that causes an> exception which 
is handled incorrectly in the recent Cocoon (according to> rumors in 
users list).> > Also, you can use the JSPReader to get the pure 
output of your JSP and then> check Cocoon logs to see if there are any 
exceptions (except the Illegal> state one).> > 
Konstantin


  - Original Message - 
  From: 
  Nesto 
  To: [EMAIL PROTECTED] 
  Sent: Tuesday, February 18, 2003 10:29 
  AM
  Subject: Is this a bug?
  
  Hello!
   
  I have a problem with a JSP generator, and after 
  many attempts, now I think that there could be a bug.
  So I need your help!
  I use Cocoon 2.0.4 with Tomcat 4.1.18, on a 
  server that runs Linux RedHat 8.
  Here I write my simple test code:
   
  The jsp (named prova.jsp) generates a small 
  xml data, and reads a request parameter from the http request.
   
  <%@ page contentType="text/xml"%>  
  <%=request.getParameter("name")%>
   
  This simple jsp was included as generator in my 
  sitemap:
   
  
  
  
     
     
     
     
     
     
  
  
     
   
     
   
  
   
  
   
  
     
  
   
  
      
  
  
  
   
  I think 
  there is nothing wrong in this sitemap!
   
  But when 
  I request http://myHost:8080/cocoon/myApp/prova.jsp?name=xyz
  I get the 
  exception:
   
  
  HTTP Status 500 - 
  type 
  Exception report
  message 
  
  description The server encountered an internal 
  error () that prevented it from fulfilling this request.
  exception java.lang.IllegalStateException
	at org.apache.coyote.tomcat4.CoyoteResponseFacade.reset(CoyoteResponseFacade.java:251)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1115)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunna

Re: hosting

2003-02-19 Thread Andrew Savory
On Wed, 19 Feb 2003, Upayavira wrote:

> I'm not hosting yet, but will hopefully soon have a dedicated server. If you want
> shared hosting, a company I came across was Positive Internet:

+1 for Positive, a good bunch of guys. Not sure if they are doing Cocoon
yet or not, but they are certainly aware of it and have an ASF (http)
developer in their midst.


Andrew.

-- 
Andrew SavoryEmail: [EMAIL PROTECTED]
Managing Director  Tel:  +44 (0)870 741 6658
Luminas Internet Applications  Fax:  +44 (0)700 598 1135
This is not an official statement or order.Web:www.luminas.co.uk

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

2003-02-19 Thread Upayavira
Doug,

> Anybody hosting cocoon in the UK?

I'm not hosting yet, but will hopefully soon have a dedicated server. If you want 
shared hosting, a company I came across was Positive Internet:

http://www.positive-internet.com/zhosting.html

As their Z Account includes Java, it can therefore host Cocoon.

I like what I see of their service, and, if I was to consider shared hosting in the 
UK, 
I'd seriously consider doing it with them.

Regards, Upayavira

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




hosting

2003-02-19 Thread Doug Gilbert



Anybody hosting cocoon in the 
UK?


Re: Firebird with Cocoon

2003-02-19 Thread Brian Johnson
Everything looks ok in your config files. It's strange that you had to 
restart the server... what version of Firebird are you using? Maybe 
it's a problem with the server?? Also, there is a bug in the 
SQLTransformer that affects Firebird. The connection gets closed before 
the data is retrieved, and it causes an error. I submitted a patch a 
long time ago, but nobody seemed to pay any attention to it. I can 
forward it to you if you get the connection working. Are there any 
other errors related to the driver in the cocoon log? Maybe in the core 
or error log files?
Brian

On Wednesday, February 19, 2003, at 09:05  AM, Upayavira wrote:

Dear Brian,


It may be a problem with your connection string. This is working for
me: jdbc:firebirdsql:localhost/3050:/home/firebird/mydatabase.gdb Can
you connect with the driver using JDBC outside of Cocoon? Brian


This is my first foray into JDBC. I have just tried the JDBC sample 
(ExecuteSQL)
from Java Examples in a Nutshell, which wouldn't connect. By killing 
the server
and restarting it, I managed to get that to connect.

However, having done this, it has made no difference to Cocoon, which 
still gives:

Failed to obtain connection. Made 5 attempts with 5000ms interval

Here's my code from web.xml and cocoon.xconf and the sitemap:

web.xml:
 
  load-class
  org.firebirdsql.jdbc.FBDriver


cocoon.xconf:

  
  
jdbc:firebirdsql://localhost/c:\\desktop\\DATABASE.GDB
  XXX
  YYY


sitemap.xmap:
  


  
   
  
  

Any further hints would be greatly appreciated.

Regards, Upayavira



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




failure in request parameters (more data about exception).

2003-02-19 Thread Eduardo Zurita



Hello again,
 
More data about this error:
 
java.lang.IllegalStateException
	at org.apache.coyote.tomcat4.CoyoteResponseFacade.reset(CoyoteResponseFacade.java:251)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1115)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:261)
	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:632)
	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:590)
	at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:707)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
	at java.lang.Thread.run(Thread.java:536)
Any idea?Thanks.
 
- Original Message - 
From: Eduardo Zurita 
To: [EMAIL PROTECTED] 
Sent: Tuesday, January 28, 2003 2:59 PM
Subject: failure in request parameters

Hello,
 
    I have the following 
pipeline:
    
    
         
  
    
  
 
And works fine, but if I modify it to:
 
    
         
  
    
  
    
    
   
 
Note that I do nothing with the request parameters 
in the JSP file.
 
Well, the second one produces the following 
exception:
 
JspGenerator: SAXException 
JspGenerator.generate()org.xml.sax.SAXParseException: Premature end of 
file.
 
I don't know what is happening.
 
Some help would be appreciated.
 
Thanks in advance.
 
Eduardo.


sunrise authentication and request Object

2003-02-19 Thread Lionel Crine
I'm using sunrise authentication and I need to get the request parameter 
send by the form .

It seems that during the pipelines processing, the request parameters are 
lost so when I use ""
in my xsp page, there is nothing.

If I don't use sunrise auhentication, I can get the parameter(s).

I'm sure I loose the parameters during the pipeline processing, I saw it in 
the core.log file.

In my pipeline, I have :


	
	  
	  
	  
  
	  
	
...


	
	
	  
	  
	
	
...




  
		
	


Is there a way to keep the parameter during the pipeline processing ?
Lionel


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



XSP question

2003-02-19 Thread Nesto



Hi!
Sorry if I repost a question, but I need 
help!
I want to convert my JSP in XSP, and I have to 
reuse complex Javabeans.
 
I read in the Logicsheet documentatin that there is 
a xbean library that provides functionallity similar to the jsp:useBean 
directives.
But I didn't found much more documentation, and I 
don't know how to use it!
Where I can read more?
 
Please give me some hint on how "translate" my 

 of my old JSP, in code for my new XSP
 
Regards,
Nesto


Re: Firebird with Cocoon

2003-02-19 Thread Upayavira
Dear Brian,

> It may be a problem with your connection string. This is working for
> me: jdbc:firebirdsql:localhost/3050:/home/firebird/mydatabase.gdb Can
> you connect with the driver using JDBC outside of Cocoon? Brian

This is my first foray into JDBC. I have just tried the JDBC sample (ExecuteSQL) 
from Java Examples in a Nutshell, which wouldn't connect. By killing the server 
and restarting it, I managed to get that to connect.

However, having done this, it has made no difference to Cocoon, which still gives:

Failed to obtain connection. Made 5 attempts with 5000ms interval

Here's my code from web.xml and cocoon.xconf and the sitemap:

web.xml:
 
  load-class
  org.firebirdsql.jdbc.FBDriver


cocoon.xconf:

  
  jdbc:firebirdsql://localhost/c:\\desktop\\DATABASE.GDB
  XXX
  YYY


sitemap.xmap: 
  


  
   
  
  

Any further hints would be greatly appreciated.

Regards, Upayavira


-
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: Joint DC SGML/XML and Linux Users Groups meeting TONIGHT (7pmEDT)

2003-02-19 Thread Ryan Hoegg
See you there

John Callahan wrote:


If you live in the Baltimore-Washington DC USA area...

Just a reminder that I will be giving a talk on Cocoon at the joint
meeting of the DC SGML/XML and Linux Users Groups.  For
more information see http://www.eccnet.com/xmlug

Don't forget to register online at
http://www.eccnet.com/xmlug/meeting-register.html
(it's because of building security at the AGU - it's DC after all :-| )

-- jack

John Callahan
[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]>




Fw: failure in request parameters

2003-02-19 Thread Eduardo Zurita



Hello again,
 
    Please, any 
solution?
 
    Thanks in advance.
 
    Eduardo.
 
- Original Message - 
From: Eduardo Zurita 
To: [EMAIL PROTECTED] 
Sent: Tuesday, January 28, 2003 2:59 PM
Subject: failure in request parameters

Hello,
 
    I have the following 
pipeline:
    
    
         
  
    
  
 
And works fine, but if I modify it to:
 
    
         
  
    
  
    
    
   
 
Note that I do nothing with the request parameters 
in the JSP file.
 
Well, the second one produces the following 
exception:
 
JspGenerator: SAXException 
JspGenerator.generate()org.xml.sax.SAXParseException: Premature end of 
file.
 
I don't know what is happening.
 
Some help would be appreciated.
 
Thanks in advance.
 
Eduardo.


Re: minimalist

2003-02-19 Thread Geoff Howard
Well, you may want to wait a little to see what Stefano comes up with in 
reworking the build process - it may make things easier.

Also, do a build -projecthelp to see if there is a built in target that 
does this out of the box.  I think there was at some point, but don't know 
if it's kept up with the most recent changes.

I haven't tried this in a while with 2.1dev, but the basic roadmap would be 
to edit properties.xml to comment out as many blocks as desired.  There are 
also some build properties to exclude things like javadocs, docs, and 
samples though you'll have to dig through build.xml to find them and 
experiment to see if they work as advertised.

I believe there will also be the following caveats:

1) Not everything is refactored into blocks yet, so you'll need to also 
remove unwanted stuff from lib/optional (remember to also edit jars.xml to 
remove references to anything you remove from optional).  It sounds like 
you did this part - can you be more specific about what went wrong?
2) There are some blocks that are still required (this should get fixed) so 
you will have to add them back in even if you don't need them.
3) There are some blocks that bundle in things you may want to get rid of. 
For example, if you need the database components you need to include the 
database block, but that also gets you the hsql component (although 
excluding samples may exclude it as well) which you probably don't 
want.  You'd then have to remove that by hand (by editing cocoon.xconf, and 
web.xml)
4) There will be other tricks along the way - this is an area that is still 
being worked out.

If you start working on this, report back specifics as you go and I or 
others can help move things along.

Geoff Howard

At 04:26 AM 2/19/2003, you wrote:
I've seen pages on the web on creating a minimal cocoon 2.0 setup
(only the neccecary jar files to run, a sitemap only specifying what the
app you're building needs, absolutely no cocoon samples etc. )
but haven't found one describing how to do this for the cvs development
version, cause I have to put this thing with jars and all under cvs I'd
really like to know how tho :)
what especially interests me is what is the minimal list of jar files needed,
I've tried removing everything that's originally under /optional, but then
things go wrong quite a bit.

Also I wonder what's the best way to build cocoon with as little samples
and sample related files as possible ?

Any help 'd be greatly appreciated.
Jeroen Cranedonk

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




utf-8 data printing using FOP

2003-02-19 Thread Murad Jura
Hello all,

i have tried to print my russian data in a PDF format without any 
success. Serializer replaces russian characters by sharps (#). I 
configured a FOP serializer as described in a cocoon documentation using 
fonts from Win2000, but unfortunately this didn't help me.
How to solve this problem?

I have redhat8/cocoon2.1/tomcat4.0.3.

Thanks for help!
Murad Juraev.


-
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: Joint DC SGML/XML and Linux Users Groups meeting TONIGHT (7pm EDT)

2003-02-19 Thread Argyn
I'll be there with my friend

> -Original Message-
> From: Geoff Howard [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 19, 2003 5:06 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Joint DC SGML/XML and Linux Users Groups meeting TONIGHT
> (7pm EDT)
> 
> 
> I guess that means it's not cancelled!  See you there.  (Any 
> advice on 
> parking given the snow?)
> 
> Geoff
> 
> At 10:36 AM 2/19/2003, you wrote:
> >If you live in the Baltimore-Washington DC USA area...
> >
> >Just a reminder that I will be giving a talk on Cocoon at the joint
> >meeting of the DC SGML/XML and Linux Users Groups.  For
> >more information see http://www.eccnet.com/xmlug
> >
> >Don't forget to register online at
> >http://www.eccnet.com/xmlug/meeting-register.html
> >(it's because of building security at the AGU - it's DC 
> after all :-| )
> >
> >-- jack
> >
> >John Callahan
> >[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: Joint DC SGML/XML and Linux Users Groups meeting TONIGHT (7pm EDT)

2003-02-19 Thread Geoff Howard
I guess that means it's not cancelled!  See you there.  (Any advice on 
parking given the snow?)

Geoff

At 10:36 AM 2/19/2003, you wrote:
If you live in the Baltimore-Washington DC USA area...

Just a reminder that I will be giving a talk on Cocoon at the joint
meeting of the DC SGML/XML and Linux Users Groups.  For
more information see http://www.eccnet.com/xmlug

Don't forget to register online at
http://www.eccnet.com/xmlug/meeting-register.html
(it's because of building security at the AGU - it's DC after all :-| )

-- jack

John Callahan
[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]>




Joint DC SGML/XML and Linux Users Groups meeting TONIGHT (7pm EDT)

2003-02-19 Thread John Callahan
If you live in the Baltimore-Washington DC USA area...

Just a reminder that I will be giving a talk on Cocoon at the joint
meeting of the DC SGML/XML and Linux Users Groups.  For
more information see http://www.eccnet.com/xmlug

Don't forget to register online at
http://www.eccnet.com/xmlug/meeting-register.html
(it's because of building security at the AGU - it's DC after all :-| )

-- jack

John Callahan
[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]>




Simple pb with subsitemap mount

2003-02-19 Thread Laurent Comte

Hi,

I just try to create subsitemap as written in docs.

I have :

[sitemap.xmap]
...
  






  
...


[D:\work\web.xmap]
...


  



  

  
...


So, when I type http://localhost:8080/cocon/view/index.xml, i've got this
beautiful thing :



description org.apache.cocoon.ProcessingException: Exception during
processing of file:/D:/index.xsl: java.io.FileNotFoundException: \index.xsl
(The system cannot find the file specified)

sender org.apache.cocoon.servlet.ParanoidCocoonServlet

source Cocoon servlet

stack-trace

org.apache.cocoon.ProcessingException: Exception during processing of
file:/D:/index.xsl: java.io.FileNotFoundException: \index.xsl (The system
cannot find the file specified)
at
org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStrea
mSource.java:211)
at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:268)
at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:239)
at
org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:
298)
at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(Ab
stractEventPipeline.java:215)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEven
tPipeline.java:278)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(Cachi
ngEventPipeline.java:141)
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:317)
at
org.apache.cocoon.www.file_.D_.work.web_xmap.matchN10224(D:\Java\Oodrive\Tom
cat\work\cocoon-files\org/apache/cocoon/www/file_/D_/work\web_xmap.java:1530
)
at
org.apache.cocoon.www.file_.D_.work.web_xmap.process(D:\Java\Oodrive\Tomcat\
work\cocoon-files\org/apache/cocoon/www/file_/D_/work\web_xmap.java:1439)
at
org.apache.cocoon.www.file_.D_.work.web_xmap.process(D:\Java\Oodrive\Tomcat\
work\cocoon-files\org/apache/cocoon/www/file_/D_/work\web_xmap.java:1385)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
at
org.apache.cocoon.www.sitemap_xmap.matchN1020C(D:\Java\Oodrive\Tomcat\work\c
ocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1447)
at
org.apache.cocoon.www.sitemap_xmap.process(D:\Java\Oodrive\Tomcat\work\cocoo
n-files\org/apache/cocoon/www\sitemap_xmap.java:1394)
at
org.apache.cocoon.www.sitemap_xmap.process(D:\Java\Oodrive\Tomcat\work\cocoo
n-files\org/apache/cocoon/www\sitemap_xmap.java:1340)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
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:999)
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:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at

xml 2 svg in coplet

2003-02-19 Thread hgadm
Hi all,

I would like to integrate a small svg barchart (that
gets actual business data from an xml file) into a
portal coplet.

I was thinking of a coplet pipeline like this:

get the xml data ('generate'), build the svg graph
('transform' with xsl, or build with js: 'action' ? ),
then transform and serialise into an xhtml table with
the svg embedded to meet a required coplet structure.

Any ideas are greatly appreciated.

Holger
 

___
The ALL NEW CS2000 from CompuServe
 Better!  Faster! More Powerful!
 250 FREE hours! Sign-on Now!
 http://www.compuserve.com/trycsrv/cs2000/webmail/





-
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: Firebird with Cocoon

2003-02-19 Thread Brian Johnson
It may be a problem with your connection string. This is working for me:
jdbc:firebirdsql:localhost/3050:/home/firebird/mydatabase.gdb
Can you connect with the driver using JDBC outside of Cocoon?
Brian



On Tuesday, February 18, 2003, at 07:36  PM, Upayavira wrote:


Dear All,

Has anyone out there succeeded in connecting Cocoon to a Firebird 
database? It
just times out on me if I use the org.firebirdsql.jdbc.FBDriver 
driver, or tells me that
I am using an unsupported JDBC 2.0 feature if I use the
interbase.interclient.Driver driver.

I'm using a connection string of the sort:

jdbc:firebirdsql://localhost:3050//c:/desktop/database.gdb

A connection test from IBConsole tells me that I'm using "WI-V6.2.794 
Firebird
1.0".

Any pointers?

Thanks,

Upayavira


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




caching external data

2003-02-19 Thread arturl
Hi,

is it possible to cache result of generator fetching data from external url
for specified time?
So, I want to xml resulted from
  http://external"/>
be cached for 1 hour and no connection with external host in that hour.


Artur




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




minimalist

2003-02-19 Thread Jeroen Cranendonk
I've seen pages on the web on creating a minimal cocoon 2.0 setup
(only the neccecary jar files to run, a sitemap only specifying what the
app you're building needs, absolutely no cocoon samples etc. )
but haven't found one describing how to do this for the cvs development
version, cause I have to put this thing with jars and all under cvs I'd 
really like to know how tho :)
what especially interests me is what is the minimal list of jar files needed,
I've tried removing everything that's originally under /optional, but then
things go wrong quite a bit.

Also I wonder what's the best way to build cocoon with as little samples
and sample related files as possible ?

Any help 'd be greatly appreciated.
Jeroen Cranedonk

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




XML Document Editor freely available

2003-02-19 Thread Matthew Langham
Interesting :-):

http://www.econtentmag.com/ecxtra/2003/2003_0218/2003_0218_3.html

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=



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