Re: Livesite http://biology.bangor.ac.uk/

2003-02-03 Thread David Crossley
Thanks, i have added your livesite to the webpage.
(As usual it might be a while before it is public.)

You have done an excellent job. Thanks for the plug for
Apache and Cocoon on the "about this new website" page.
It is good to read about how people built their Cocoon site.

--David

-- Original Posting --
List: xml-cocoon-users
Subject:  Livesite http://biology.bangor.ac.uk/
From: Simeon Walker 
Date: 2002-09-20 17:58:48

Hello all,

after nine months work our new Cocoon based website is live :-)

I have used Cocoon 2.0.3 (branch), Tomcat 4.0.4 and Apache 1.3.
The site sends table based html to older browsers and WC3
compliant code to newer browsers (Looks best in Mozilla).

Data comes from a number of sources; two different Oracle
databases, XML files, a remote page via the html generator,
listings via the directory generator.

I made extensive use of sub-sitemaps and aggregation to stop
the whole thing from getting out of hand ;-)

Thanks to all those who have contributed to Cocoon for making
this possible.

Regards,
Simeon

P.S. It's bi-lingual if you speak Welsh!

-- 
Simeon Walker,  email: [EMAIL PROTECTED]
School of Biological Sciences,  phone: +44 (0)1248 383702
University of Wales, Bangor,fax: +44 (0)1248 382569
Gwynedd, LL57 2UW, UK.  www: http://biology.bangor.ac.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: help with presentation wanted

2003-02-03 Thread Steven Noels
Argyn wrote:


I'm preparing a presentation/speech on Cocoon. The audience is IT pros and
managers. I tend to talk about technical aspects of Cocoon projects when
speaking to strangers :), but this time, the main focus must be the
features/functionality.


Dunnow if it helps, but also take a look at 
http://outerthought.net/gettogether/


--
Steven Noelshttp://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog athttp://blogs.cocoondev.org/stevenn/
stevenn at outerthought.orgstevenn at apache.org


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

2003-02-03 Thread Steven Punte
 Apache Cocoon is a formable and powerful platform.  If your needs are "appropriate," Cocoon can be an enormous productivity enhancement.
 I have architected, designed and implemented production quality and operation web services (Hotel Property Management System: www.amansi.com) using the Cocoon platform, and written four related articles: see http://www.candlelightsoftware.com/paper.html.
 I offer my services to be part of your team, to deliver solutions and answers quickly, and guide your project into the correct choices.  In a nutshell:
 o First explore whether the Cocoon framework IS a good  choice for you project.
 o Develop a first-pass paper design base on my experiences.
 o Maintain synchronized development environments so that  I can quickly solve those nasty time consuming  environment problems.
 o Allow you team to focus on the "domain problem," and  not get tied up in the lower level technology.
 o Provide additional custom components as needed.
 o Modify Cocoon to meet your needs in an appropriate  generic manner so that such enhancements can be rolled  into the main release.
 Let's start small, so that you gain trust in my services, and go from there.  I am a seasoned professional use to quickly assimilating the issues, concerns and priorities of my clients.
Steven P. PunteCandlelight SoftwareBy Candlelight If Necessary![EMAIL PROTECTED]http://www.candlelightsoftware.com+1.707.874.1028  voice+1.707.486.8786  cell/voicemailDo you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

RE: Building Cocoon 2.1-dev

2003-02-03 Thread Geoff Howard
> -Original Message-
> From: Morten Ludvigsen [mailto:[EMAIL PROTECTED]]
>
> Thanks very much for your reply.
>
> I have just tried what you suggested, but the build still does not get
> past the init target. It does not look like it even calls javac. If it
> did I would expect at least some error messages.

You could confirm this by modifying build.xml to include some more 
commands just to isolate a point of failure.  I've had to resort to this
before.

>
> As I said, there is probably something very basic that I have forgotten
> to do - this is the first time I try building Cocoon from scratch, and
> also the first time I am using Ant.

Only thing I can think of is JAVA_HOME - do you have that set correctly?

>
> Regards,
>
> Morten Ludvigsen
> 2-People Software
> Denmark
>
> Mark Eggers wrote:
>
> >I just built CVS HEAD yesterday afternoon.  There are
> >some problems with sitemap validation, so you will
> >have to turn that off (false) in
> >properties.xml.
> >
> >One of the things I have to remember is to clear my
> >custom CLASSPATH variable before I start the build
> >process.
> >
> >To build, I do the following:
> >
> >set CLASSPATH=
> >
> >build -Dinclude.webapp.libs=yes
> >-Dinclude.scratchpad.libs=yes
> >-Dinstall.war=%TOMCAT_HOME%\webapps webapp
> >
> >I've also picked up the extra jars for mail, jta,
> >xindice, and logging to enable those optional
> >components.  One of these days I'll pick up the php
> >servlet jar and see if I can't get that to compile as
> >well.
> >
> >HTH
> >
> >/mde/
> >just my two cents . . . .
> >
> >__
> >Do you Yahoo!?
> >Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> >http://mailplus.yahoo.com
> >
> >-
> >Please check that your question  has not already been answered in the
> >FAQ before posting. 
> >
> >To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
> >
> >
> >
>
>
>
> -
> 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 HTTP request

2003-02-03 Thread Jim Lynch

  I'm trying to create a pipleline and use cocoon's caching mechanism.  The generator 
will use a http url.  According to the documentation, cocoon will never cache this 
request...Is this true??  If so, is it possible to get around this issue??

thanks Jim/Esther



-
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: help with presentation wanted

2003-02-03 Thread Luca Morandini
> -Original Message-
> From: Argyn [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 04, 2003 2:26 AM
> To: [EMAIL PROTECTED]
> Subject: help with presentation wanted

might I suggest to touch the subjects of re-usability and information hiding ?

If you have a pipeline producing an XML document, you can re-use it in different 
pipelines; moreover, you could change that pipeline
(keeping the same XML format, of course) from a static XML (for prototyping), to one 
produced by a DBMS, to one served by a
web-service without changing the consumer pipelines.

Regards,

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


>
>
> Hello
>
> I'm preparing a presentation/speech on Cocoon. The audience is IT pros and
> managers. I tend to talk about technical aspects of Cocoon projects when
> speaking to strangers :), but this time, the main focus must be the
> features/functionality.
>
> I've been thinking about this:
> to explain how Cocoon would be usefull in building portals. So the
> advantages would be:
> - configurability and management with sitemaps
> - extensibilty through well defined component interfaces
> - set of prepackaged ready to use components, like PDF serializers
> - content aggregation
> - pipeline architecture, XML/XSL based
> - caching.
>
> I would appreciate if you can suggest me other topics to cover. Since, I'm
> not too far in my work, I can incorporate them in the presentation.
> Unfortunately, the time is short, min 20 max 45 minutes. So, I'm trying to
> find the best list of topics to impress interested strangers with in half
> hour.
>
> Thanks,
> Argyn
>
>
>
>
> -
> 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]>




help with presentation wanted

2003-02-03 Thread Argyn
Hello

I'm preparing a presentation/speech on Cocoon. The audience is IT pros and
managers. I tend to talk about technical aspects of Cocoon projects when
speaking to strangers :), but this time, the main focus must be the
features/functionality.

I've been thinking about this:
to explain how Cocoon would be usefull in building portals. So the
advantages would be:
- configurability and management with sitemaps
- extensibilty through well defined component interfaces
- set of prepackaged ready to use components, like PDF serializers
- content aggregation
- pipeline architecture, XML/XSL based
- caching.

I would appreciate if you can suggest me other topics to cover. Since, I'm
not too far in my work, I can incorporate them in the presentation.
Unfortunately, the time is short, min 20 max 45 minutes. So, I'm trying to
find the best list of topics to impress interested strangers with in half
hour.

Thanks,
Argyn




-
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: Building Cocoon 2.1-dev

2003-02-03 Thread Morten Ludvigsen
Thanks very much for your reply.

I have just tried what you suggested, but the build still does not get 
past the init target. It does not look like it even calls javac. If it 
did I would expect at least some error messages.

As I said, there is probably something very basic that I have forgotten 
to do - this is the first time I try building Cocoon from scratch, and 
also the first time I am using Ant.

Regards,

Morten Ludvigsen
2-People Software
Denmark

Mark Eggers wrote:

I just built CVS HEAD yesterday afternoon.  There are
some problems with sitemap validation, so you will
have to turn that off (false) in
properties.xml.

One of the things I have to remember is to clear my
custom CLASSPATH variable before I start the build
process.

To build, I do the following:

set CLASSPATH=

build -Dinclude.webapp.libs=yes
-Dinclude.scratchpad.libs=yes
-Dinstall.war=%TOMCAT_HOME%\webapps webapp

I've also picked up the extra jars for mail, jta,
xindice, and logging to enable those optional
components.  One of these days I'll pick up the php
servlet jar and see if I can't get that to compile as
well.

HTH

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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

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


 




-
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: Building Cocoon 2.1-dev

2003-02-03 Thread Antonio Gallardo
Please downloaded the lastest version. Today morning Haul resolve the
problem with the sitemap.

Antonio Gallardo.

I am already running the lastest CVS and build fine.

Mark Eggers dijo:
> I just built CVS HEAD yesterday afternoon.  There are
> some problems with sitemap validation, so you will
> have to turn that off (false) in
> properties.xml.
>
> One of the things I have to remember is to clear my
> custom CLASSPATH variable before I start the build
> process.
>
> To build, I do the following:
>
> set CLASSPATH=
>
> build -Dinclude.webapp.libs=yes
> -Dinclude.scratchpad.libs=yes
> -Dinstall.war=%TOMCAT_HOME%\webapps webapp
>
> I've also picked up the extra jars for mail, jta,
> xindice, and logging to enable those optional
> components.  One of these days I'll pick up the php
> servlet jar and see if I can't get that to compile as
> well.
>
> HTH
>
> /mde/
> just my two cents . . . .
>
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>




-
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: cocoon & struts together

2003-02-03 Thread Upayavira
> http://jakarta.apache.org/taglibs/doc/io-doc/index.html). It seems to work
> quite well for our needs, but it would be nice to be able to call the cocoon
> pipelines programmatically.

Check out the CocoonBean, recently added to the dev version 2.1 in CVS 
(org.apache.cocoon.bean.CocoonBean). It allows you to have cocoon generate a 
page or pages and save them to disc (or send them to any 'Destination'). 
Alternatively, you can write the content for a specific page to an output stream. 
Looking at the code, the latter functionality looks broken to me at the moment - I'll 
give it a go now. If you want to use this, let me know and I may be able to send 
you a patch.

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: Cocoon 2 via command line & Baltimore CHUG

2003-02-03 Thread Upayavira
Dear Peter,

> I encountered the need to execute Cocoon from the command line. I'm not
> aware of whether this functionality has been deprecated or not, but I couldn't for
> the life of me find any info anywhere. 

The functionality certainly hasn't been deprecated, it is just not documented. As 
luck would have it, I have been spending my Tube journeys to and from work 
writing some docs for the Command Line, which should be ready tomorrow or the 
day after. If you don't mind, I'll merge them with your wiki page.

> So I posted some details up on the wiki. This is my first post so don't be
> too harsh :)

In fact, you have answered in your page some of the bits that I hadn't been able to 
do myself!

> It's not linked from anywhere.

Once I've added my docs, I suggest we add this as an option to the Cocoon 
Competence Center. Do others agree?

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




Cocoon 2 via command line & Baltimore CHUG

2003-02-03 Thread Horsfield, Peter A.
Hi everybody. 



I encountered the need to execute Cocoon from the command line. I'm not
aware of 

whether this functionality has been deprecated or not, but I couldn't for
the life of me

find any info anywhere. 



So I posted some details up on the wiki. This is my first post so don't be
too harsh :)



http://wiki.cocoondev.org/Wiki.jsp?page=CommandLine



It's not linked from anywhere.



Completely unrelated note, I'm working just outside Baltimore, so I'd
definitely be up

for a user group.



Peter Horsfield




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




Generic mount directories on release or development

2003-02-03 Thread e nio

   What are the differences in usage of mount/*/**  sub/** or
the */** directories (these are match patterns I picked off the
main sitemap.xmap)? Are they not basically one and the same,
allowing one to add new cocoon application under these
directories without modification to the main sitemap.xmap and no
restart needed? The release version has the mount/*/** for
automount and sub/** on 2.0.4 while */** is on development? Will
this change with the new  block mechanism on 2.1?
  Also is there a quick way to find out which version from the
main sitemap.xmap am I working on? If one has to do some testing
on different release versions or dev, it will probably help
quite a whole lot to have the versioning declared in these
sitemap.xmap.

Regards,
e nio

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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

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




[2.1dev] need writable DOM in session attribute with Saxon

2003-02-03 Thread Timothy Larson
I have both Cocoon-2.0.4 and Cocoon-2.1dev configured to use both
Xalan and Saxon-7.3.1.

Using the WriteDOMSessionTransformer in:
  Cocoon-2.0.4 gives me a DOM of class "org.apache.xerces.dom.ElementImpl"
  Cocoon-2.1dev gives me a DOM of class "net.sf.saxon.tinytree.TinyElementImpl"

I need to be able to modify the DOM later, but the saxon DOM does not allow this.

How can I control the class of DOM that WriteDOMSessionTransformer produces?

Tim



-
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: Simple example

2003-02-03 Thread Stefan Riegel
Alireza Fattahi wrote:

Hi,

The currently cocoon web application is very complex. Is there any light
weight example out there; some thing like blank web application in struts.

Alireza.

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



Alireza,

I remember my first steps with cocoon some time ago. I removed step by 
step lines from the sitemap until I reached a minimal hello-world 
application. While removing lines, I did read the comments etc. I was a 
good exercise.

I did plan doing the same with the cocoon.xconf, but I lost patience.

Regards
Stefan


-
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: Building Cocoon 2.1-dev

2003-02-03 Thread Mark Eggers
I just built CVS HEAD yesterday afternoon.  There are
some problems with sitemap validation, so you will
have to turn that off (false) in
properties.xml.

One of the things I have to remember is to clear my
custom CLASSPATH variable before I start the build
process.

To build, I do the following:

set CLASSPATH=

build -Dinclude.webapp.libs=yes
-Dinclude.scratchpad.libs=yes
-Dinstall.war=%TOMCAT_HOME%\webapps webapp

I've also picked up the extra jars for mail, jta,
xindice, and logging to enable those optional
components.  One of these days I'll pick up the php
servlet jar and see if I can't get that to compile as
well.

HTH

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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

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




Building Cocoon 2.1-dev

2003-02-03 Thread Morten Ludvigsen
Hi,

I sent this mail to the list some days ago, and have gotten no reply, so 
I'll try again :-) BTW should this question be asked on the dev-list 
instead?

I must be missing something pretty basic here. I am trying to build 
Cocoon from the current CVS HEAD. However the build process does not get 
very far. Here's the output:


C:\Data\Projects\cocoon\xml-cocoon2>build.bat -Dinclude.webapp.libs=yes 
webapp
Using Java from C:\j2sdk1.4.1
Buildfile: build.xml

init:
 [echo] --
 [echo] Apache Cocoon 2.1-dev [1999-2003]
 [echo] --
 [echo] Building with Apache Ant version 1.6alpha compiled on 
January 1 2003
 [echo] using build file C:\Data\Projects\cocoon\xml-cocoon2\build.xml
 [echo] --
 [echo]  WARNING:
 [echo]This build is targeted for use with JVM 1.4
 [echo]
 [echo]Using this build on a virtual machine other than the one
 [echo]it is targeted for may result in runtime errors.
 [echo]
 [echo] --
[javac] Compiling 2 source files to 
C:\Data\Projects\cocoon\xml-cocoon2\tools\anttasks


After this it does not report an error - it just stops. The directory 
"C:\Data\Projects\cocoon\xml-cocoon2\tools\anttasks" is empty.

A little extra information:
Operating system: Windows 2000 Professional
Java: java version "1.4.1"
  Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
  Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)

I have both Tomcat and Jetty installed but I have not included libraries 
from any of them for the build. Could this be the problem?

If anyone can help me I would really appreciate it.

Thanks,

Morten Ludvigsen
2-People Software
Denmark


-
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: Problems with double click in coplet links.

2003-02-03 Thread bruno nunes jacinto

The problem "lots of clicks on coplets links” , not only happen in configuration link 
in the coplet (like minimize or maximize), but in any other links that exits inside of 
a coplet.

It seems that you have reproduced the problem correctly.

About your question ( If I then do a normal refresh in the browser the page renders 
correctly – is that the same for you? ), the answer is yes, it renders perfectly.

Best regards
Bruno Jacinto



-Original Message-
From:   "Matthew Langham" <[EMAIL PROTECTED]>
Sent:   Mon, 3 Feb 2003 18:22:52 +0100
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Subject:RE: Problems with double click in coplet links.

Hi Bruno,

>
> When I make double click or  lots of clicks in a coplet link,
> one of  two things can happen:
>   1- I receive a page without some coplets.
>   OR
>   2 I receive an error page.
>
> This instability happens frequently, so help me as soon as possible.
>

If you are talking about a configuration link in the coplet (like minimize
or maximize) then I just tried to reproduce this on a Cocoon 2.1-dev
version. With success :-(.

It looks to me as if the number of parallel requests to the portal handler
is causing a hiccup. I do not know why this is.

If I then do a normal refresh in the browser the page renders correctly - is
that the same for you?

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
=





> I already tried in cocoon 2.04, cocoon 2.1-dev with tomcat 4.1.12
> or 4.1.18, under win 2000, but the problem still happens.
>
> Best Regards:
> Bruno Jacinto ( [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: Problems with double click in coplet links.

2003-02-03 Thread Matthew Langham
Hi Bruno,

>
> When I make double click or  lots of clicks in a coplet link,
> one of  two things can happen:
>   1- I receive a page without some coplets.
>   OR
>   2 I receive an error page.
>
> This instability happens frequently, so help me as soon as possible.
>

If you are talking about a configuration link in the coplet (like minimize
or maximize) then I just tried to reproduce this on a Cocoon 2.1-dev
version. With success :-(.

It looks to me as if the number of parallel requests to the portal handler
is causing a hiccup. I do not know why this is.

If I then do a normal refresh in the browser the page renders correctly - is
that the same for you?

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
=





> I already tried in cocoon 2.04, cocoon 2.1-dev with tomcat 4.1.12
> or 4.1.18, under win 2000, but the problem still happens.
>
> Best Regards:
> Bruno Jacinto ( [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]>




Problems with double click in coplet links.

2003-02-03 Thread bruno nunes jacinto
I found a problem in Portal-fw, a sample that comes with cocoon. 

When I make double click or  ”lots of clicks” in a coplet link, one of  two things can 
happen: 
  1- I receive a page without some coplets. 
  OR  
  2 –I receive an error page. 

This instability happens frequently, so help me as soon as possible. 

I already tried in cocoon 2.04, cocoon 2.1-dev with tomcat 4.1.12 or 4.1.18, under win 
2000, but the problem still happens. 

Best Regards: 
Bruno Jacinto ( [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]>




newbie xsp question

2003-02-03 Thread I-Lin Kuo
In the sample xsp provided with cocoon, on the page

docs/samples/xsp/simple.xsp

There's a section of code that looks like this:


  

  Item i

  


I understand that the CDATA sections are needed to escape the "<" in the for 
loop declaration, but it seems to me that only one such is needed. To test 
this, I made up another page with the following:



{
		Item j
	}



This worked, and confirmed my suspicions. So my question is, why were there 
so many CDATA sections in the original, and when am I supposed to use them?

Also, I'd appreciate it if someone could explain what xsp:content is 
supposed to do, or refer me to some place in the documentation where all the 
tags are listed (I couldn't find any).

_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


-
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: cocoon & struts together

2003-02-03 Thread Richard Bounds
I can't see any reason why it wouldn't work. In our case, the cocoon
pipeline starts with an XSP that uses our logicsheets to talk to the control
layer and get back the xml that represents the data (the control layer just
gets our data beans and marshals them into xml using Castor).

The main problem we've had has been ensuring that there are no conflicting
jars between struts and cocoon.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 03 February 2003 16:11
To: [EMAIL PROTECTED]
Subject: AW: cocoon & struts together


Hi Richard,

I am not sure if my idea can work. My Struts controller gets some data from
the EJB. This data can be serialized(castor) into a directory. The cocoon
pipeline is configured to process all request of this directory. After
serializing the xml data the controller forwards to the xml document.
Castory will be activated and will transform the data.

Can this work?

Juraj

-Ursprüngliche Nachricht-
Von: Richard Bounds [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 3. Februar 2003 17:06
An: [EMAIL PROTECTED]
Betreff: RE: cocoon & struts together


We're working on a similar setup - Struts-based form logic, with views of
the data processed by cocoon into html/pdf/excel. Currently we simply pull
html cocoon content into jsp's with an http request (using:
http://jakarta.apache.org/taglibs/doc/io-doc/index.html). It seems to work
quite well for our needs, but it would be nice to be able to call the cocoon
pipelines programmatically.

Richard

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 03 February 2003 15:46
To: [EMAIL PROTECTED]
Subject: cocoon & struts together


Hi,

has someone any experiences with the comosition of struts and cocoon?

I have a middleware on EJB and JCA which connects to some Systems like SAP.
On this connects a webapplication which should be done with with struts.
Some areas of this application should be transformed by cocoon in different
outputs. My idea was to run some views with cocoon. A struts action would
connect a pipeline from cocoon and passe the file which has to be
transformed and visualized.

Any suggestions or practices?

Juraj



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




AW: cocoon & struts together

2003-02-03 Thread Juraj . Lenharcik
Hi Richard,

I am not sure if my idea can work. My Struts controller gets some data from the EJB. 
This data can be serialized(castor) into a directory. The cocoon pipeline is 
configured to process all request of this directory. After serializing the xml data 
the controller forwards to the xml document. Castory will be activated and will 
transform the data.

Can this work?

Juraj

-Ursprüngliche Nachricht-
Von: Richard Bounds [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 3. Februar 2003 17:06
An: [EMAIL PROTECTED]
Betreff: RE: cocoon & struts together


We're working on a similar setup - Struts-based form logic, with views of
the data processed by cocoon into html/pdf/excel. Currently we simply pull
html cocoon content into jsp's with an http request (using:
http://jakarta.apache.org/taglibs/doc/io-doc/index.html). It seems to work
quite well for our needs, but it would be nice to be able to call the cocoon
pipelines programmatically.

Richard

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 03 February 2003 15:46
To: [EMAIL PROTECTED]
Subject: cocoon & struts together


Hi,

has someone any experiences with the comosition of struts and cocoon?

I have a middleware on EJB and JCA which connects to some Systems like SAP.
On this connects a webapplication which should be done with with struts.
Some areas of this application should be transformed by cocoon in different
outputs. My idea was to run some views with cocoon. A struts action would
connect a pipeline from cocoon and passe the file which has to be
transformed and visualized.

Any suggestions or practices?

Juraj



-
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: cocoon & struts together

2003-02-03 Thread Juraj . Lenharcik
Hi Matthew,

Yes of course ;-) There is some experience with struts allready. With cocoon not so 
much. And this question is a study about the possibilities. I think the synergy of 
both frameworks can (perhaps) realize very powerful solutioons.

Juraj



-Ursprüngliche Nachricht-
Von: Matthew Langham [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 3. Februar 2003 16:58
An: [EMAIL PROTECTED]
Betreff: RE: cocoon & struts together


Hi Juraj,

> like SAP. On this connects a webapplication which should be done
> with with struts. Some areas of this application should be

why are you considering Struts (at all)? I am interested in this as we often
meet this kind of setup/discussion and we try to convince people to go for a
Cocoon-only solution (of course) :-)

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
=


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 4:46 PM
> To: [EMAIL PROTECTED]
> Subject: cocoon & struts together
>
>
> Hi,
>
> has someone any experiences with the comosition of struts and cocoon?
>
> I have a middleware on EJB and JCA which connects to some Systems
> like SAP. On this connects a webapplication which should be done
> with with struts. Some areas of this application should be
> transformed by cocoon in different outputs. My idea was to run
> some views with cocoon. A struts action would connect a pipeline
> from cocoon and passe the file which has to be transformed and visualized.
>
> Any suggestions or practices?
>
> Juraj
>
>
>
> -
> 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: cocoon & struts together

2003-02-03 Thread Richard Bounds
We're working on a similar setup - Struts-based form logic, with views of
the data processed by cocoon into html/pdf/excel. Currently we simply pull
html cocoon content into jsp's with an http request (using:
http://jakarta.apache.org/taglibs/doc/io-doc/index.html). It seems to work
quite well for our needs, but it would be nice to be able to call the cocoon
pipelines programmatically.

Richard

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 03 February 2003 15:46
To: [EMAIL PROTECTED]
Subject: cocoon & struts together


Hi,

has someone any experiences with the comosition of struts and cocoon?

I have a middleware on EJB and JCA which connects to some Systems like SAP.
On this connects a webapplication which should be done with with struts.
Some areas of this application should be transformed by cocoon in different
outputs. My idea was to run some views with cocoon. A struts action would
connect a pipeline from cocoon and passe the file which has to be
transformed and visualized.

Any suggestions or practices?

Juraj



-
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: cocoon & struts together

2003-02-03 Thread Matthew Langham
Hi Juraj,

> like SAP. On this connects a webapplication which should be done
> with with struts. Some areas of this application should be

why are you considering Struts (at all)? I am interested in this as we often
meet this kind of setup/discussion and we try to convince people to go for a
Cocoon-only solution (of course) :-)

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
=


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 4:46 PM
> To: [EMAIL PROTECTED]
> Subject: cocoon & struts together
>
>
> Hi,
>
> has someone any experiences with the comosition of struts and cocoon?
>
> I have a middleware on EJB and JCA which connects to some Systems
> like SAP. On this connects a webapplication which should be done
> with with struts. Some areas of this application should be
> transformed by cocoon in different outputs. My idea was to run
> some views with cocoon. A struts action would connect a pipeline
> from cocoon and passe the file which has to be transformed and visualized.
>
> Any suggestions or practices?
>
> Juraj
>
>
>
> -
> 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]>




cocoon & struts together

2003-02-03 Thread Juraj . Lenharcik
Hi,

has someone any experiences with the comosition of struts and cocoon?

I have a middleware on EJB and JCA which connects to some Systems like SAP. On this 
connects a webapplication which should be done with with struts. Some areas of this 
application should be transformed by cocoon in different outputs. My idea was to run 
some views with cocoon. A struts action would connect a pipeline from cocoon and passe 
the file which has to be transformed and visualized.

Any suggestions or practices?

Juraj



-
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: Cocoon and MySQL

2003-02-03 Thread Martin Holz
"Richard Cunliffe" <[EMAIL PROTECTED]> writes:

> Martin,
> 
> I have made your suggested changes and the web page still comes up
> completely blank. Is there anything else I should be looking at?

Lower log level and look into the logs :-(.
Usually SQLTransformer complains about sql errors.
Change serialize type to xml, if yoz disabled 
the XSLTransformer - maybe there is some 
error message hiding.


Martin

-
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: [POLL] JDK 1.2 Support

2003-02-03 Thread dfeather

I am still at 1.2 because our production app server is still at 1.2. We may
upgrade this year, but that is not a certainty.


Dan Feather






-
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: Cocoon and MySQL

2003-02-03 Thread Marco Rolappe
richard,

once again my advice: take a look at the logs (here access.log):

DEBUG   (2003-02-03) 13:18.51:614   [access]
(/cocoon/soundpool/database.html)
HttpProcessor[8080][4]/AbstractEnvironment: Reset context to
file:/C:/tomcat/webapps/cocoon/
WARN(2003-02-03) 13:18.51:614   [access]
(/cocoon/soundpool/database.html) HttpProcessor[8080][4]/CocoonServlet: The
resource was not found
org.apache.cocoon.ResourceNotFoundException: Resource not found
file:/C:/tomcat/webapps/cocoon/soundpool/database.xml:
java.io.FileNotFoundException:
C:\tomcat\webapps\cocoon\soundpool\database.xml (The system cannot find the
path specified)
at
org.apache.cocoon.components.source.FileSource.getInputStream(FileSource.jav
a:145)
at
org.apache.cocoon.components.source.AbstractStreamSource.getInputSource(Abst
ractStreamSource.java:161)
at
org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStrea
mSource.java:206)
at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:143)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:250)
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:395)
...


> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Im
> Auftrag von Richard Cunliffe
> Gesendet: Montag, 3. Februar 2003 15:29
> An: [EMAIL PROTECTED]
> Betreff: RE: Cocoon and MySQL
>
>
> Martin,
>
> I have made your suggested changes and the web page still comes up
> completely blank. Is there anything else I should be looking at?
>
> Thanks,
>
> Richard.
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 03 February 2003 14:02
> To: [EMAIL PROTECTED]
> Subject: Re: Cocoon and MySQL
>
> Hello Richard,
>
>
> "Richard Cunliffe" <[EMAIL PROTECTED]> writes:
>
> > (logs attached)
> >
> > Hi,
> >
> > I have now got cocoon to start, and I have now put my pipeline in, but
> > the page is coming up blank, when viewed through IE6.
> >
> > My pipeline in the sitemap looks like this:
> >
> >
> > 
> >
> > 
> > 
> > 
> > 
> >  > value="soundpool"/>
> > 
> > 
> Do one step after the other -- disable the transformer
> for testing or use labels.
>
> > 
> > 
> > 
> >
> >
> >
> > I am unsure what should go under name="". I have assumed it's the
> local
> > host name given in mysql?
>
> No, it is the name of the connection as defined in your cocoon.xconf.
> My entry looks like this:
>
>   
>
> 
>   
>   true
>   jdbc:postgresql://bog.fiz-chemie.de/slidestore
>   slide
>   geheim
> 
>
>
> So the parameter to the SQL Transformer is:
>   
>   
>   
> Remember to restart your servlet engine after changes to cocoon.xconf.
>
> >
> > My web.xml looks like so:
> Looks okay.
>
> >
> > My database.xml looks like this:
> >
> >
> > 
> > 
> > soundpool
> > the databse
> > http://apache.org/cocoon/SQL/2.0";>
>
> > localhost/soundpool
> You don't need this line.
>
> > 
> > SELECT generalMusicTitle FROM album
> > 
> > 
> > 
>
>
> --
> Martin HolzFIZ CHEMIE Berlin
> <[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]>




webserviceproxy working in snapshots?

2003-02-03 Thread AWR
I have tried several, including the latest, but there
seems to be a problem passing the remote site
information, and the examples always result in "Error
invoking remote service:
java.lang.IllegalArgumentException: host parameter is
null". The stack trace is below.

Does anyone have webserviceproxy working in a recent
dev snapshot?

AWR

Original exception :
java.lang.IllegalArgumentException: host parameter is
null 
at
org.apache.commons.httpclient.HttpConnection.(HttpConnection.java:175)

at
org.apache.commons.httpclient.HttpConnection.(HttpConnection.java:123)

at
org.apache.commons.httpclient.SimpleHttpConnectionManager.getConnection(SimpleHttpConnectionManager.java:120)

at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:540)

at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:473)

at
org.apache.cocoon.generation.WebServiceProxyGenerator.fetch(WebServiceProxyGenerator.java:253)

at
org.apache.cocoon.generation.WebServiceProxyGenerator.generate(WebServiceProxyGenerator.java:160)

at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:525)

at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:213)

at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:677)

at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:413)

at
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:546)

at
org.apache.cocoon.environment.http.HttpEnvironment.toSAX(HttpEnvironment.java:304)

at
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:532)

at
org.apache.cocoon.environment.wrapper.EnvironmentWrapper.toSAX(EnvironmentWrapper.java:368)

at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:140)

at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:525)

at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:213)

at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:677)

at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:413)

at
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:546)

at
org.apache.cocoon.environment.http.HttpEnvironment.toSAX(HttpEnvironment.java:304)

at
org.apache.cocoon.transformation.CIncludeTransformer.processCIncludeElement(CIncludeTransformer.java:402)

at
org.apache.cocoon.transformation.CIncludeTransformer.startTransformingElement(CIncludeTransformer.java:176)

at
org.apache.cocoon.transformation.AbstractSAXTransformer.startElement(AbstractSAXTransformer.java:329)

at
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:118)

at
org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)

at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)

at
org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:874)

at
org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:591)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)

at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)

at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)

at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)

at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)

at
org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:254)

at
org.apache.excalibur.xmlizer.DefaultXMLizer.toSAX(DefaultXMLizer.java:113)

at
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:551)

at
org.apache.cocoon.environment.http.HttpEnvironment.toSAX(HttpEnvironment.java:304)

at
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:532)

at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:140)

at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:282)

at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:485)

at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:145)

at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingN

Re: [POLL] JDK 1.2 Support

2003-02-03 Thread Sorin Marti
JDK 1.4.1 on SuSE Linux 8.0



[EMAIL PROTECTED] 02/01/03 02:06PM >>>


Hi all:

To better understand how you are using Cocoon product and serve your 
needs better ;-)
Cocoon developers would like to know how many of our currect users are 
deploying Cocoon on JDK 1.2 and why they did not switch to JDK1.3 (or 
better).

This information will help Cocoon developers community to decide on 
wether we should switch to JDK1.3 or continue JDK1.2 support for some 
more time. Thanks for the feedback :)

Vadim





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

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




RE: Cocoon and MySQL

2003-02-03 Thread Richard Cunliffe
Martin,

I have made your suggested changes and the web page still comes up
completely blank. Is there anything else I should be looking at?

Thanks,

Richard.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: 03 February 2003 14:02
To: [EMAIL PROTECTED]
Subject: Re: Cocoon and MySQL

Hello Richard,


"Richard Cunliffe" <[EMAIL PROTECTED]> writes:

> (logs attached)
> 
> Hi,
> 
> I have now got cocoon to start, and I have now put my pipeline in, but
> the page is coming up blank, when viewed through IE6.
> 
> My pipeline in the sitemap looks like this:
> 
> 
> 
> 
> 
> 
>   
>   
>value="soundpool"/>
>   
>   
Do one step after the other -- disable the transformer
for testing or use labels.

>   
> 
> 
> 
> 
> 
> I am unsure what should go under name="". I have assumed it's the
local
> host name given in mysql?

No, it is the name of the connection as defined in your cocoon.xconf.
My entry looks like this:

  
   
 
  
  true
  jdbc:postgresql://bog.fiz-chemie.de/slidestore
  slide
  geheim

   

So the parameter to the SQL Transformer is:
  
  
  
Remember to restart your servlet engine after changes to cocoon.xconf.

> 
> My web.xml looks like so:
Looks okay.

> 
> My database.xml looks like this:
> 
> 
> 
> 
>   soundpool
>   the databse
>   http://apache.org/cocoon/SQL/2.0";>

> localhost/soundpool
You don't need this line.

>   
>   SELECT generalMusicTitle FROM album
>   
>   
> 


--
Martin HolzFIZ CHEMIE Berlin
<[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: IRC, SILC

2003-02-03 Thread Andrew Savory
On Mon, 3 Feb 2003, Antonio Gallardo wrote:

> Heiko Milke dijo:
> > Hey folks,
> >
> > is there any channel on IRCNet or SILCNET for cocoon?
>
> Good question. ;-)

irc.oftc.net #cocoon


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: [POLL] JDK 1.2 Support

2003-02-03 Thread Luca Morandini
writing on behalf of my customers:

1.3.0 on Solaris
1.3.1 on various Windows (2000 Server, 2000 Professional, XP)

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



-
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: experiences with Morphon?

2003-02-03 Thread Jakob Praher
Am Mon, 2003-02-03 um 15.14 schrieb Martin Holz:
> "Ines Robbers" <[EMAIL PROTECTED]> writes:
> 
> > Hi there,
> > 
> > Has anyone experiences with Morphon - XML Editor
> > (http://www.morphon.com/xmleditor/index.shtml)?
> 
> It would be a great tool, if interactive performance
> were better.  On my Dual Pentium 450 it feels sluggish.
> Maybe it is better with a recent single CPU computer.
>  
i like xxe from xmlmind a lot for writing docbooks ;-)
it performs quite good (using j2se 1.4.1 on a debian unstable distro)

> > Would be interested in you opinion especially with regards to its
> > support of XML Schema.
> 
> Never used it with schema, but it handle very complicated
> DTDs well. 
> It is much more difficult to accidently create invalid documents
> than with XML Spy. 
> 
> --
> Martin HolzFIZ CHEMIE Berlin
> <[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: [POLL] JDK 1.2 Support

2003-02-03 Thread Timothy Larson
Sun JDK 1.4.1_01 on Windows 2000 Professional

Tim

>>> [EMAIL PROTECTED] 02/01/03 02:06PM >>>
Hi all:

To better understand how you are using Cocoon product and serve your 
needs better ;-)
Cocoon developers would like to know how many of our currect users are 
deploying Cocoon on JDK 1.2 and why they did not switch to JDK1.3 (or 
better).

This information will help Cocoon developers community to decide on 
wether we should switch to JDK1.3 or continue JDK1.2 support for some 
more time. Thanks for the feedback :)

Vadim



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

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



-
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: experiences with Morphon?

2003-02-03 Thread Martin Holz
"Ines Robbers" <[EMAIL PROTECTED]> writes:

> Hi there,
> 
> Has anyone experiences with Morphon - XML Editor
> (http://www.morphon.com/xmleditor/index.shtml)?

It would be a great tool, if interactive performance
were better.  On my Dual Pentium 450 it feels sluggish.
Maybe it is better with a recent single CPU computer.
 
> Would be interested in you opinion especially with regards to its
> support of XML Schema.

Never used it with schema, but it handle very complicated
DTDs well. 
It is much more difficult to accidently create invalid documents
than with XML Spy. 

--
Martin HolzFIZ CHEMIE Berlin
<[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: IRC, SILC

2003-02-03 Thread Antonio Gallardo
Heiko Milke dijo:
> Hey folks,
>
> is there any channel on IRCNet or SILCNET for cocoon?

Good question. ;-)

Antonio
>
> Heiko Milke
>
>
> -
> 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: [POLL] JDK 1.2 Support

2003-02-03 Thread Berin Loritsch
1.4.1 myself

Vadim Gritsenko wrote:

Hi all:

To better understand how you are using Cocoon product and serve your 
needs better ;-)
Cocoon developers would like to know how many of our currect users are 
deploying Cocoon on JDK 1.2 and why they did not switch to JDK1.3 (or 
better).

This information will help Cocoon developers community to decide on 
wether we should switch to JDK1.3 or continue JDK1.2 support for some 
more time. Thanks for the feedback :)

Vadim



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

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




IRC, SILC

2003-02-03 Thread Heiko Milke
Hey folks,

is there any channel on IRCNet or SILCNET for cocoon?

Heiko Milke


-
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: Cocoon and MySQL

2003-02-03 Thread Martin Holz
Hello Richard,


"Richard Cunliffe" <[EMAIL PROTECTED]> writes:

> (logs attached)
> 
> Hi,
> 
> I have now got cocoon to start, and I have now put my pipeline in, but
> the page is coming up blank, when viewed through IE6.
> 
> My pipeline in the sitemap looks like this:
> 
> 
> 
> 
> 
> 
>   
>   
>value="soundpool"/>
>   
>   
Do one step after the other -- disable the transformer
for testing or use labels.

>   
> 
> 
> 
> 
> 
> I am unsure what should go under name="". I have assumed it's the local
> host name given in mysql?

No, it is the name of the connection as defined in your cocoon.xconf.
My entry looks like this:

  
   
 
  
  true
  jdbc:postgresql://bog.fiz-chemie.de/slidestore
  slide
  geheim

   

So the parameter to the SQL Transformer is:
  
  
  
Remember to restart your servlet engine after changes to cocoon.xconf.

> 
> My web.xml looks like so:
Looks okay.

> 
> My database.xml looks like this:
> 
> 
> 
> 
>   soundpool
>   the databse
>   http://apache.org/cocoon/SQL/2.0";>

> localhost/soundpool
You don't need this line.

>   
>   SELECT generalMusicTitle FROM album
>   
>   
> 


--
Martin HolzFIZ CHEMIE Berlin
<[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: experiences with Morphon?

2003-02-03 Thread Yves Vindevogel
I did not like it at all ...

On Linux I prefer KATE or recently ECLIPSE
On Windows I prefer XMLSpy

Personally, I think nothing compares with XMLSpy, based on possibilities, 
only, it runs on Windows 



>
> Has anyone experiences with Morphon - XML Editor
> (http://www.morphon.com/xmleditor/index.shtml)?


-
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: Cocoon and MySQL

2003-02-03 Thread Richard Cunliffe
(logs attached)

Hi,

I have now got cocoon to start, and I have now put my pipeline in, but
the page is coming up blank, when viewed through IE6.

My pipeline in the sitemap looks like this:

















I am unsure what should go under name="". I have assumed it's the local
host name given in mysql?




My web.xml looks like so:


load-class


com.mysql.jdbc.Driver








My database.xml looks like this:




soundpool
the databse
http://apache.org/cocoon/SQL/2.0";>

localhost/soundpool

SELECT generalMusicTitle FROM album








My databasepc.xsl looks like this:



http://www.w3.org/1999/XSL/Transform";
xmlns:sql="http://apache.org/cocoon/SQL/2.0";>





















I have had a look at the logs and I think that cocoon can not find my
database. I know it does exist under the name of soundpool, and have
double checked this looking in the MySQL Admin, and it is listed under
the database tab. The structure looks like this:

RICHARD (192.168.44.21)
|- mysql
|- soundpool
|- test

Any suggestions,

Thanks,

Richard.





cocoon_logs.zip
Description: Zip compressed 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]>


Re: Problem with cocoon itself

2003-02-03 Thread Lionel Crine
I found the error, it was in my web.xml.
I badly add a new logicsheet.



-
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: mapping to basepath in static content

2003-02-03 Thread Jan Harms
Hi Robert,

you could write your own custom transformer. That is *much* faster than using XSLT. 
Take a look at 

http://wiki.cocoondev.org/Wiki.jsp?page=ImplementingTransformers

to get started.

I was thinking about doing something similar. The basic idea is to use a list of 
"symbolic names" for URIs (e.g. in a simple .properties file):

home=/index.html
search.user.form=/search/user_search.html
search.user.action=/search/user_search.action
search.company.form=/search/company_search.html
search.company.action=/search/company_search.action
...

Inside of the pages I would replace all links like that:

Home
Search for a company

Enter a user name:


Transformer implementation shouldn´t be too complicated: Look at each attribute of the 
incoming XML/SAX and replace the {}-strings inside attributes. I guess the performance 
should also be okay.
This transformer could be put at the end of each pipeline. So that would allow all 
other components (XSP, XML, Transformers) to use only the "symbolic names" instead of 
the URI. This has the additional advantage, that you could assert referential 
integrity, i.e. broken links are very easy to find and fix.

Until now I didn´t have the time to implement this, because it has a rather low 
priority for our project, sorry :-( 

It´s just an idea. It may be stupid. Comments welcome.

-Jan


Dipl. Inf. Jan Harms
Software Developer

VIVAI Software AG
Königswall 1
44137 Dortmund
Germany

email   harms_at_vivai.de
url http://www.vivai.de
 

> -Ursprüngliche Nachricht-
> Von: Robert Sösemann [mailto:[EMAIL PROTECTED]]
> Gesendet: Samstag, 1. Februar 2003 16:10
> An: [EMAIL PROTECTED]
> Betreff: Re: mapping to basepath in static content
> 
> 
> Yes, thank you, it's better than nothing. But I need to 
> replace URL in scr,
> value, action ... attributes as well. Sometimes even in 
> javascript commands.
> I tried to write my own xsl, but then it really gets very slow.
> 
> Any idea.
> 
> Robert
> - Original Message -
> From: "Murad Jura" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, February 01, 2003 1:15 PM
> Subject: Re: mapping to basepath in static content
> 
> 
> > Hello Robert,
> >
> > there is the AugmentTransformer which augments all 'href' attributes
> > with the full path to the request. IMHO it is a good 
> starting point for
> you.
> >
> > Regards,
> > Murad Jura.
> >
> > Robert Sösemann wrote:
> > > Hello,
> > >
> > > what I need is a centralized mechanism to change the 
> paths in all my
> > > site-elements. (that means: Later when I switsch from 
> development to
> > > production I just want to change pathname at one single 
> point, not every
> > > single href, src ...)
> > >
> > > Inside elements handled by cocoon (XSP, Generators, 
> Action) thats no
> > > problem, because they know their own context. Things I 
> later add in my
> > > Transformers are also no problem. I use xsl:include to 
> set a variable in
> > > very other xsl.
> > >
> > > BUT: I also use static html or xhtml pages. How can change path
> attributes
> > > an even javascript command in a similar centralized way?
> > >
> > > Who can help? Maybe I am on a totally wrong way.
> > >
> > > Rob
> > >
> 

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




namespace attribute

2003-02-03 Thread arturl
When I transform sources with the CInclude transformer, I get the
xmlns:cinclude="http://apache.org/cocoon/include/1.0";
attribute with the first result element.
Is it possible to get rid of that?

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




Problem with cocoon itself

2003-02-03 Thread Lionel Crine
I'm working on "cocoon-dev" under WEBAPPS. This is a copy of cocon with 
less things.

For now, it's not working (cocoon-dev) anymore instead of "cocoon" which 
runs normally.

Here is the error :


Cocoon 2 - Internal servlet error


type fatal

message Cocoon was not initialized.

description Cocoon was not initialized. Cannot process request.

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon-dev


What's happening ? 


-
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: Battling with null pointer exception

2003-02-03 Thread Antonio Gallardo
Derek Hohls dijo:
> Antonio
>
> Not sure we have more memory on the server, but I can try...
>
> The current  CATALINA_OPTS looks like:
>
 CATALINA_OPTS='-Xbootclasspath/a:/usr/local/pja/lib/pja.jar
> -Dawt.toolkit=com.eteks.awt.PJAToolkit
> -Djava2d.font.usePlatformFont=false
> -Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment
> -Djava.awt.fonts=/usr/java/jre/lib/fonts
> -Duser.home=/usr/local/pja -cp /usr/java/jre/lib/ext/pjatools.jar'
>
> Can I just add your parameter to the front or end of these commands?

Yes!

CATALINA_OPTS='-Xmx256m -Xbootclasspath/a:/usr/local/pja/lib/pja.jar
 -Dawt.toolkit=com.eteks.awt.PJAToolkit
 -Djava2d.font.usePlatformFont=false
 -Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment
 -Djava.awt.fonts=/usr/java/jre/lib/fonts
 -Duser.home=/usr/local/pja -cp /usr/java/jre/lib/ext/pjatools.jar'

Please check that you have memory enough emory. Cocoon is a memory eater.
lol :-D But be carefully to dont give it more memory as you have, because
you can start swaping on the server. If you start swapping => You will see
too slow responses time.

By the way currently memory is very cheap. If you can try to config your
sever with 512MB or more. I had the same problem:

A-First we used in production a old machine Pentium III 500MHz. with 128
MB. We always get the Out of memory.
B-Then we upgraded to 384 MB and tweaking the server to use 256MB as I
recommended you. That was a lot of improvement, but sometimes slow. I
think this server can be fineright now with all the performance check and
rewriting we did on the XSP code.
C-Now we are using a PIV 1.8GHz, 512MB and it is very fast and all is OK.
Always we setted for him 256MB for Cocoon. We done some test. If you are
trying to show a table with aprox 10,000 rows. It takes 1 minut.

Also be aware that you must tweak the parameters of you database to get
the best time response.

We are using PostgreSQL 7.2 (on Red Hat Linux 8.0). After tweaking some
params, then the responses does not take more than some milisecs. That
means that all the 1 minut of the HTML table with 10,000 is expended in
XSL transformations.

I will also add that XSL is fine, but try to make the stylesheets the most
simple as you can.

For example: Before we used XSL to build dates from the database format
TIMESTAMP to a more human format: "25/12/2003 8:15". It was taking too
much time.

Then we rewrite the query to let the database to give us the format as we
want.It was a really improvement. Why? simple: The Database Manager code
is compiled to machine code. There is no virtual machine between. Then it
runs faster.

By the way, I saw that this kind of tricks are hidden and almost no where
you can find about it. I spend more than 15 days investigating about
that until I found some trick in a Tomcat book. I own the 3 already
books about Cocoon. The best book that cover the tweaking for production
environment is the book from Lajos and Jeremy. It helps me to understand
all this stuff.

If all this helps, please write a page on wiki about this. ;-)

I hope it will help you.

Best Regards,

Antonio.


>
> Thanks
> Derek
>
 [EMAIL PROTECTED] 03/02/2003 01:54:16 >>>
> Derek Hohls dijo:
>> I have an XSP page, containing ESQL; it works fine on my
>> test machine which has a relatively small subset of data,
>> but gives errors on the production machine with the full
>> database.
>
> OK. I suppose:
>   1-You have 5,000+ rows in your current DB.
>   2-The code in the XSP page works fine in your develpment machine.
>
> Solution:
>   1-Give more memory to Tomcat and Cocoon.
>
> Detail:
>
>   Suppose you can give 256 MB to Cocoon. then:
>
> 1-For Tomcat, in TOMCAT_ROOT/bin/catalina.sh:
>
>  CATALINA_OPTS='-Xmx256m'
>
>Also you need to tell Cocoon about that. In cocoon.xconf,
> search
> for store-janitor:
>
> 
>  
>  
>  
>  
>  
>  
>  
>  
>   
>
> More recommendations:
>   1- Upgrade to Tomcat 4.1.18
>
> Finally Restart Tomcat! I hope it will help.
>
> Best Regards,
>
> Antonio Gallardo.
>
>
>
> -
> 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]>
>
>
>
> --
> 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."




---

Re: Create a transformer for a custom database

2003-02-03 Thread Bertrand Delacretaz
Is there some documentation I could read about custom tranformer ?


http://wiki.cocoondev.org/Wiki.jsp?page=ImplementingTransformers
should put you on the right track.

-Bertrand


-
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: Battling with null pointer exception

2003-02-03 Thread Derek Hohls



Antonio
 
Not sure we have more memory on the server, but I can try...
 
The current  CATALINA_OPTS looks like:
 
CATALINA_OPTS='-Xbootclasspath/a:/usr/local/pja/lib/pja.jar 
-Dawt.toolkit=com.eteks.awt.PJAToolkit 
-Djava2d.font.usePlatformFont=false 
-Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment 
-Djava.awt.fonts=/usr/java/jre/lib/fonts 
-Duser.home=/usr/local/pja -cp 
/usr/java/jre/lib/ext/pjatools.jar'Can I just add your parameter to the 
front or end of these commands?
 
Thanks
Derek
>>> [EMAIL PROTECTED] 03/02/2003 01:54:16 
>>>Derek Hohls dijo:> I have an XSP page, containing ESQL; 
it works fine on my> test machine which has a relatively small subset of 
data,> but gives errors on the production machine with the full> 
database.OK. I suppose:  1-You have 5,000+ rows in your current 
DB.  2-The code in the XSP page works fine in your develpment 
machine.Solution:  1-Give more memory to Tomcat and 
Cocoon.Detail:  Suppose you can give 256 MB to Cocoon. 
then:    1-For Tomcat, in 
TOMCAT_ROOT/bin/catalina.sh: 
CATALINA_OPTS='-Xmx256m'   Also you 
need to tell Cocoon about that. In cocoon.xconf, searchfor 
store-janitor:  
 
       More 
recommendations:  1- Upgrade to Tomcat 4.1.18Finally Restart 
Tomcat! I hope it will help.Best Regards,Antonio 
Gallardo.-Please 
check that your question  has not already been answered in theFAQ 
before posting. To 
unsubscribe, e-mail: 
<[EMAIL PROTECTED]>For additional commands, 
e-mail:   
<[EMAIL PROTECTED]>-- 
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."



Create a transformer for a custom database

2003-02-03 Thread Lionel Crine
I would like to create a custom transformer.

The primary method of this transfomer should have this look: Protected 
String primary_method (String query){}
Is it possible or should I use the methods "startElement" ,"endElement" ?

Is there some documentation I could read about custom tranformer ?

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



Re: Link Livesites: CBIM (Cocoon 2.1-dev)

2003-02-03 Thread Ugo Cei
Antonio Gallardo wrote:

Congratulations Ugo!

First time it takes almost 16 secs. (DNS resolving, etc.)
Second time: 1.9 secs. (I think here was just cache issue.)
Third time: Pressing reload button - 4.95 secs.

I think this are nice times.


Times from our LAN, without the network latency, are of course much 
faster, even though we haven't done any tuning yet, much less under load.

One point to consider: The site is served directly by Tomcat 4.1.18, but 
images are served statically by an Apache httpd server, since the 
version of Cocoon we used has a bug in the resource reader which causes 
resources to always be served anew even if the original file has not 
changed (maybe this is fixed now, I'm going to upgrade to the newest 
HEAD version for the next iteration and check if this is indeed so). 
Incidentally, there is a CSS file that is still served by Cocoon via 
map:read and thus is resent again for each page :-(.

	Ugo

--
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - 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: Battling with null pointer exception

2003-02-03 Thread Antonio Gallardo
Derek Hohls dijo:
> I have an XSP page, containing ESQL; it works fine on my
> test machine which has a relatively small subset of data,
> but gives errors on the production machine with the full
> database.

OK. I suppose:
  1-You have 5,000+ rows in your current DB.
  2-The code in the XSP page works fine in your develpment machine.

Solution:
  1-Give more memory to Tomcat and Cocoon.

Detail:

  Suppose you can give 256 MB to Cocoon. then:

1-For Tomcat, in TOMCAT_ROOT/bin/catalina.sh:

 CATALINA_OPTS='-Xmx256m'

   Also you need to tell Cocoon about that. In cocoon.xconf, search
for store-janitor:


 
 
 
 
 
 
 
 
  

More recommendations:
  1- Upgrade to Tomcat 4.1.18

Finally Restart Tomcat! I hope it will help.

Best Regards,

Antonio Gallardo.



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




Battling with null pointer exception

2003-02-03 Thread Derek Hohls



I am looking for help tryhing to track down the cause of  
null pointer exception (my worst type of error to solve).
 
I have an XSP page, containing ESQL; it works fine on my
test machine which has a relatively small subset of data,
but gives errors on the production machine with the full
database.
 
Any general or specific ideas on how to solve this would
be welcome!
 
The error is:
 
Original exception : java.lang.NullPointerException at 
org.apache.cocoon.components.language.markup.xsp.EsqlQuery.hasGroupingVarChanged(EsqlQuery.java:266) at 
org.apache.cocoon.www.stell.reports.reportA_xsp.generate(/usr/local/jakarta-tomcat-4.0.4/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www/stell/reports/reportA_xsp.java:2733)
 
and the section of code is:
 
 if (_esql_query.getMaxRows() != -1 && 
_esql_query.getCurrentRow() - _esql_query.getSkipRows() == 
_esql_query.getMaxRows()) \{   
_esql_query.setKeepGoing( false ); \} else \{\tab 
//if not, advance normally   
_esql_query.setKeepGoing( _esql_query.nextRow() );  <-- this is 
line 2733 \}
 
 -- 
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."



Re: Link Livesites: CBIM (Cocoon 2.1-dev)

2003-02-03 Thread Antonio Gallardo
Congratulations Ugo!

First time it takes almost 16 secs. (DNS resolving, etc.)
Second time: 1.9 secs. (I think here was just cache issue.)
Third time: Pressing reload button - 4.95 secs.

I think this are nice times.

I am using Mozilla in Red Hat Linux 8.0.
Location: Managua, Nicaragua, Central America.

Best Regards,

Antonio Gallardo.

Ugo Cei dijo:
> Our new corporate website http://www.cbim.it/ is running on Cocoon
> 2.1-dev since Feb 1st 2003.
>
> It's only in Italian at the moment, but we plan do deliver an English
> version shortly.
>
> Many thanks to all the Cocoon developers who made this possible.
>
>   Ugo
>
> --
> Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
> P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
> Phone: +39.0382.525100 - 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]>




Link Livesites: CBIM (Cocoon 2.1-dev)

2003-02-03 Thread Ugo Cei
Our new corporate website http://www.cbim.it/ is running on Cocoon 
2.1-dev since Feb 1st 2003.

It's only in Italian at the moment, but we plan do deliver an English 
version shortly.

Many thanks to all the Cocoon developers who made this possible.

	Ugo

--
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - 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: Passing User-Agent as a map:parameter

2003-02-03 Thread Lenya L. Khachaturov
On Fri, Jan 31, 2003 at 07:20:39PM +0100, Marco Rolappe wrote:
> hi lenya,
> 
> I haven't yet really been into input modules, but I think you could use
> something like:
> 
>   
>   
>   
> 
Thanks for the hint! Actually, the parameter's value should be
request-header:user-agent. It works great!

-- 
Lenya Khachaturov
mailto:[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]>




standard DTDs

2003-02-03 Thread Reza Aliakbari
Dear friends,

I am new in cocoon. I want to develop my next project by the help of cocoon.
I want to have standard DTDs for the different section of application like
Forms, Search results,...
Could you guide me to find this standards? Is there a global standard?
Could you send some links for help?

Thanks,
Reza.

-
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: Sitemap.xmap giving ugly errors

2003-02-03 Thread Jan Harms
Hi Jason,

I believe the  element must be inside the  element. 

-Jan


> -Ursprüngliche Nachricht-
> Von: Jason Bruce [mailto:[EMAIL PROTECTED]]
> Gesendet: Samstag, 1. Februar 2003 16:16
> An: [EMAIL PROTECTED]
> Betreff: Sitemap.xmap giving ugly errors
> 
> 
> I have atached what I beleive to be a extremly simple 
> sitemap.xmap.  But
> when I try to use it I get an error.
> 
> description org.apache.cocoon.ProcessingException: Language Exception:
> org.apache.cocoon.components.language.LanguageException: 
> Error compiling
> sitemap_xmap: Line 324, column 54: '}' expected Line 63, 
> column 11: class
> org.apache.cocoon.www.sitemap_xmap should be declared 
> abstract; it does
> not define method process(org.apache.cocoon.environment.Environment,
> org.apache.cocoon.components.pipeline.StreamPipeline,
> org.apache.cocoon.components.pipeline.EventPipeline) in class
> org.apache.cocoon.sitemap.AbstractSitemap Line 0, column 0: 2 errors
> 
> Anyone have any ideas?  If you want to see the error check out
> http://216.87.136.82:8080/cocoon2/20030130.html
> 
> 

-
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: [POLL] JDK 1.2 Support

2003-02-03 Thread Richard Cunliffe


   
MS Windows  XP
Apache  2.0.43
Tomcat  4.0.6
Cocoon  2.0.4
JDK 1.3.1_06




-
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: [POLL] JDK 1.2 Support

2003-02-03 Thread Andres, Judith
1.3.1_06 on Win2K and NT4.0

> -Ursprüngliche Nachricht-
> Von:  Vadim Gritsenko [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Samstag, 1. Februar 2003 20:06
> An:   Cocoon Users
> Cc:   Cocoon Developers
> Betreff:  [POLL] JDK 1.2 Support
> 
> Hi all:
> 
> To better understand how you are using Cocoon product and serve your 
> needs better ;-)
> Cocoon developers would like to know how many of our currect users are 
> deploying Cocoon on JDK 1.2 and why they did not switch to JDK1.3 (or 
> better).
> 
> This information will help Cocoon developers community to decide on 
> wether we should switch to JDK1.3 or continue JDK1.2 support for some 
> more time. Thanks for the feedback :)
> 
> Vadim
> 
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

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