Re: Mysql, Tomcat 3.2.3, Cocoon 1.8.2

2001-11-30 Thread Alexander Smirnoff



I guess JDBC is the only way you could make MySQL 
work with cocoon directly. I do not remember where to get JDBC driver, you 
better look into MYSQL web site there are few of them...
 
How to use them in cocoon is very clear from 
examples...
 
Good luck,
Alex.

  - Original Message - 
  From: 
  Ivan 
  Manuel Andrade Muñoz 
  To: [EMAIL PROTECTED] 
  
  Sent: Friday, November 30, 2001 4:55 
  PM
  Subject: Mysql, Tomcat 3.2.3, Cocoon 
  1.8.2
  
  
  
  
  Hello, from already thank you for their help:  
  If I have installed:
  - Red Hat Linux 7.2 
  - JDK1.3
  - Jakarta Tomcat 3.2.3
  -Cocoon 1.8.2
   
  Do I have to install the package JDBC, for you work him with 
  cocoon.?  Is Mysql to install it with some special options for 
  cocoon?.
   
  
  Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.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]>


Mysql

2001-11-30 Thread Ivan Manuel Andrade Muñoz




Hello, from already thank you for their help:  
If I have installed:
- Red Hat Linux 7.2 
- JDK1.3
- Jakarta Tomcat 3.2.3
-Cocoon 1.8.2
 
Do I have to install the package JDBC, for you work him with cocoon.?  Is Mysql to install it with some special options for cocoon?.
 Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.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]>



Mysql, Tomcat 3.2.3, Cocoon 1.8.2

2001-11-30 Thread Ivan Manuel Andrade Muñoz


Hello, from already thank you for their help:  
If I have installed:
- Red Hat Linux 7.2 
- JDK1.3
- Jakarta Tomcat 3.2.3
-Cocoon 1.8.2
 
Do I have to install the package JDBC, for you work him with cocoon.?  Is Mysql to install it with some special options for cocoon?.
 Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.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]>



Mysql, Tomcat 3.2.3, Cocoon 1.8.2

2001-11-30 Thread Ivan Manuel Andrade Muñoz
Hello, from already thank you for their help:  
If I have installed:
- Red Hat Linux 7.2
- JDK1.3
- Jakarta Tomcat 3.2.3
-Cocoon 1.8.2
 
Can you use mysql in Cocoon 1.8.2?  If one can do I eat up I connect, like I carry out the consultations, like you relaziona with my it paginates xml?
 
 Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.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]>



Only a test (all the mails in my client have the same content)

2001-11-30 Thread Arno Illmann

Only a test (all the mails in my client since ca. 13:30 have the same content).

It is beginning with:

"I've been watching both this thread and also the one on *sharing microsoft
experience*, and was prompted to contribute some experience.

..."

and its from the developers mailing list.

Is this a problem with my client?


-
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: How do I use logicsheets parameters

2001-11-30 Thread Christopher Painter-Wakefield


Christopher,

you're welcome; I'm glad it was helpful.  Good luck to you.

-Christopher




Please respond to [EMAIL PROTECTED]

To:   <[EMAIL PROTECTED]>
cc:

Subject:  RE: How do I use logicsheets parameters


Christopher,

Many thanks for a model answer,

The missing penny has dropped because of your comment

"remember that a logicsheet is just an XSL stylesheet that gets applied to
your XSP document to transform it into another XSP document."

I had forgotten-cum-misunderstood!

For your info C2 does things rather differently than C1, namely, instead of
using cocoon processing instructions,
you define "pipelines" in a sitemap.xmap file (an xml file that takes over
a
lot of what was cocoon.properties),
which says how the xml file is generated (xsp, jsp, Tidied html, etc)
then how it is transformed (generally xslt, but there are also transformers
for log, sql, xinclude etc)
then how it is serialized (html, xml, wap, svg2png, etc)

That was for me the biggest change from the way C1 worked and it took a
while to get the hang of, though "I sense it has more power"
but the same thing can be achieved as you suggested from C1.

Christopher







-
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: How do I use logicsheets parameters

2001-11-30 Thread Christopher Watson

Christopher,

Many thanks for a model answer,

The missing penny has dropped because of your comment

"remember that a logicsheet is just an XSL stylesheet that gets applied to
your XSP document to transform it into another XSP document."

I had forgotten-cum-misunderstood!

For your info C2 does things rather differently than C1, namely, instead of
using cocoon processing instructions,
you define "pipelines" in a sitemap.xmap file (an xml file that takes over a
lot of what was cocoon.properties),
which says how the xml file is generated (xsp, jsp, Tidied html, etc)
then how it is transformed (generally xslt, but there are also transformers
for log, sql, xinclude etc)
then how it is serialized (html, xml, wap, svg2png, etc)

That was for me the biggest change from the way C1 worked and it took a
while to get the hang of, though "I sense it has more power"
but the same thing can be achieved as you suggested from C1.

Christopher

-Original Message-
From: Christopher Painter-Wakefield [mailto:[EMAIL PROTECTED]]
Sent: 29 November 2001 21:55
To: [EMAIL PROTECTED]
Subject: Re: How do I use logicsheets parameters



Christopher,

first, may I suggest some general strategies for developing logicsheets?
- start simple and extend by small increments, e.g., instead of trying to
get this working by passing either an attribute or a child element, get it
working one way, then get it working *seperately* the other way, then put
them together.  On another dimension, get it working first using a plain
text element, then get it working with a Java variable.

- remember that a logicsheet is just an XSL stylesheet that gets applied to
your XSP document to transform it into another XSP document.  You can take
advantage of this for debugging by simply changing your processing
instructions to pass your XSP through your logicsheet using the XSLT
processor only, then viewing the output.  (Some XML editors will also let
you do this pretty easily.)  This will give you insight into what the
"final" XSP code looks like before conversion to Java.  (This is easy to do
in C1; I assume you can do it in C2.)

- in addition to the above, write a plain XSP first, without using a
logicsheet, that produces the expected output.  In other words, write and
debug an XSP that looks like the XSP you want after your logicsheet is
applied.  This will help you develop your logicsheet.

Okay, so here's what I think you need to do what you are trying to do:

<  XSP - Calling page  >>>



http://apache.org/xsp";
  xmlns:mytags="http://dummy.org/mytags";
>

  
String bag="56891";
  
  
 
   bag
   
 
   bag
 
   
   




  
  

  

  


<< Logicsheet >


http://apache.org/xsp";
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
  xmlns:mytags="http://dummy.org/mytags";
  version="1.0">


  


  

  



  


  

  

  



  
  

  

""
  



  




<< Results >>


 
   
 
   
   

  
  

  

  

Hope this helps.

Note that I did this all in C1, which has some different processing
instructions and namespaces and so forth to use logicsheets.  I've tried to
return everything to a form that looks like what you had originally, but be
warned I may have missed something.

-Christopher




Please respond to [EMAIL PROTECTED]

To:   "Cocoon-Users \(E-mail\)" <[EMAIL PROTECTED]>
cc:

Subject:  How do I use logicsheets parameters


Could someone help me? I could benefit from a "logicsheet parameters 101"

I want to use my own logicsheet and pass in runtime parameter(s)

I have set up a logicsheet with the namespace mytags and a "function"
get_my_param,
to which I want to pass an xsp/java variable. In the following xsp I have
three goes at passing
a String variable called bag - with the value "56891" - but with no
success.

(The logicsheet is based on guesses from what I found in session.xsl,
util.xsl etc.)

  the results, and the logicsheet follow the listing of the page

Note that the bag gets 'resolved' in the calling page,
but its value does not get passed into the logicsheet
The  element shows that a literal value gets passed OK

I guess it's to do with the order in which xsp: and mytags: are
'processed',
but I don't know how to control this - any answers?

 XSP - 'Calling' page 


http://apache.org/cocoon/SQL/v2";
xmlns:xsp="http://apache.org/xsp";
 xmlns:xsp-request="http://apache.org/xsp/request/2.0";
 xmlns:mytags="http://dummy.org/mytags";
>


String bag="56891";



bag

 
 bag
 


 
 23
 


 







 Results 


http://apache.org/xsp";
xmlns:xspdoc="http://apache.org/cocoon/XSPDoc/v1";
xmlns:esql="http://apache.org/cocoon/SQL/v2";
xmlns:xsp-request="http://apache.org/xsp/request/2.0";
xmlns:mytags="http://dummy.org/myt

Help Me fop in Cocoon2 !!! embedded font Problem

2001-11-30 Thread 이현주

When I used a Shell script that is added "fop-0_20_1-dev.jar" of C2 to
CLASSPATH for runing FOP , I had a successful test to build a pdf file
inclued Korean fonts.

But, when I built a pdf file with a web browser, I had a unrecognized
characters, like "", in the pdf.

Both user-config file and metrics files were used in a Shell script for
building a pdf file.

I had a test to make a Shell script with merics files included a missed
path,  and to build a pdf file. and then,  I had a error message below.

Failed to read font metrics file
./../webapps/cocoon/hangul-fonts/gulim.ttf.xml : File
"file:///x-mas/applications/uiControl/Fop-0.20.2/tests/webapps/cocoon/hangul
-fonts/gulim.ttf.xml" not found.

Although I used same evironmental Shell script in a web browser test, I
never had a error message.
Moreover, I had a pdf file with Korean characters as unrecognized
characters, "".

I wonder why Korean font is not built on a pdf.

I look forward to a good assistance.

Regards.


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

2001-11-30 Thread Carlos Araya

To be more precise, and quoting from the installation instructions:

Instead, a hack which some people have found to work is (in the case of
Tomcat 3.2) renaming xml.jar as zxml.jar and parser.jar as zparser.jar. For
other versions try renaming crimson.jar.

Also, as Max suggested, you may want to consider upgrading to Cocoon 2.

HTH,
Carlos

-- 
Carlos E. Araya
---+ WebCT Administrator/Trainer
 G | California Virtual Campus
 - | C/O De Anza College
 P | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email   [EMAIL PROTECTED]
web http://www.cvc1.org/ (work)
http://www.silverwolf-net.net (personal)
phone   408 257 0420 (work)
PGP Fingerprint:E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756

Paradoxically, a refusal to 'put a monetary value on life' means that
life is often undervalued.
-- Artificial Intelligence: A Modern Approach


> From: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 30 Nov 2001 13:28:00 +0100 (CET)
> To: [EMAIL PROTECTED]
> Subject: Installation problem
> 
> Hi,
> I'm trying to install the latest version of cocoon (1.8.2) with tomcat 3.3
> running under Windows XP with JDK 1.3.1, and I'm running into an error.  I
> follow the installation instructions to the letter, and then, when I try to
> load the Cocoon.xml page, I get a NoClassDefFoundError saying it can't find
> org/w3c/dom/Node.class.  I've tracked this file to xml.jar, which is in the
> tomcat/lib/apps directory, just like all the other cocoon jars, so it's
> definitely there, it's just not being found for some reason.  Anybody got any
> ideas?
> Thanks in advance,
> Maarten Dirkse.
> 
> -
> 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: Unable to show images in IE 5.5 and IE 6.0 (slightly OT)

2001-11-30 Thread Jörn Heid

I have had a similar problem.
That time the problem was the caching of Resin.
Perhaps this might help as I do not know if Tomcat has such a feature to be
disabled.

JOERN

-Ursprüngliche Nachricht-
Von: Luca Morandini [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 30. November 2001 15:46
An: Cocoon-users
Betreff: Unable to show images in IE 5.5 and IE 6.0 (slightly OT)


Folks,

My Cocoon app behaves erraticaly when I try to load images (actually a lot
of them, about 100, but each of them small) using IE 5.5 or IE 6.0, while
everything is fine on IE 5.0.

Not every image is shown, though they are loaded, since I can suddenly see
them with the "Show picture" right-mouse command.

The status of images (shown/not shown) keeps changing at every refresh, but,
on average, almost half are NOT shown.

For displaying them in my sitemap I use the  element.

I was just wondering whether anyone is experiencing this problem. Which is
probably not due to Cocoon in itself.

My configuration is:

- Windows 2000 SP2 pre-SP3
- IIS 5.0
- Tomcat 3.2
- Cocoon 2.0rc2

Best regards,

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


-
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: Antwort: caching

2001-11-30 Thread Jesper Rasmussen

Thanks Guido,
I have now implemented the getLasModified() in the servlet.. arh ups  :)
which works like a charm if i do this:

   
 http://servletserver/genXML";  mime-type="text/xml"/>


   
 http://cocoonserver/readXML"/>
 
 


but if i try to do this:
   
 http://servletserver/genXML"/>
 
 


It seems the transformation get a blank document, so i get a "the root
element is required".

I can use the 1st so it is not really a problem, im just currious!
should the 2nd  not be possible.

Thanks alot. my pequest time time has been reduced from 10-15 to neglectable.
:))

cheers
JEsper

[EMAIL PROTECTED] wrote:

> Did you implement getLastModified() ?
>
> Guido
>
> jr schrieb:
> > Hi all,
> > I have a system where i have a servlet generating xml from some ejb's
> > I use cocoon to apply xsl to the xml and produce the various outputs.
> > I have tried two methods, and both works fine, but i need to cache the
> > result ans the servlet is QUITE slow and rarely changes its output.
> [cut]


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




Unable to show images in IE 5.5 and IE 6.0 (slightly OT)

2001-11-30 Thread Luca Morandini

Folks,

My Cocoon app behaves erraticaly when I try to load images (actually a lot
of them, about 100, but each of them small) using IE 5.5 or IE 6.0, while
everything is fine on IE 5.0.

Not every image is shown, though they are loaded, since I can suddenly see
them with the "Show picture" right-mouse command.

The status of images (shown/not shown) keeps changing at every refresh, but,
on average, almost half are NOT shown.

For displaying them in my sitemap I use the  element.

I was just wondering whether anyone is experiencing this problem. Which is
probably not due to Cocoon in itself.

My configuration is:

- Windows 2000 SP2 pre-SP3
- IIS 5.0
- Tomcat 3.2
- Cocoon 2.0rc2

Best regards,

-
   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: Antwort: caching

2001-11-30 Thread Jesper Rasmussen

Thanks Guido,
I have now implemented the getLasModified() in the servlet.. arh ups  :)
which works like a charm if i do this:

   
 http://servletserver/genXML";  mime-type="text/xml"/>


   
 http://cocoonserver/readXML"/>
 
 


but if i try to do this:
   
 http://servletserver/genXML"/>
 
 


It seems the transformation get a blank document, so i get a "the root
element is required".

I can use the 1st so it is not really a problem, im just currious!
should the 2nd  not be possible.

Thanks alot. my pequest time time has been reduced from 10-15 to neglectable.
:))

cheers
JEsper

[EMAIL PROTECTED] wrote:

> Did you implement getLastModified() ?
>
> Guido
>
> jr schrieb:
> > Hi all,
> > I have a system where i have a servlet generating xml from some ejb's
> > I use cocoon to apply xsl to the xml and produce the various outputs.
> > I have tried two methods, and both works fine, but i need to cache the
> > result ans the servlet is QUITE slow and rarely changes its output.
> >
> > i have tried this:
> >
> >   
> > http://server/genXML"/>
> > 
> > 
> >
> >
> > and this
> >   
> > http://server/genXML";  mime-type="text/xml"/>
> >
> >
> >   
> > 
> > 
> > 
> >
> >
> > as stated it all work fine but is not cached as far as i can tell.
> > Is there a way for me to monitor the cache. but im quite sure it is not
> > cached as it is still very slow.
> >
> > I have striped my sitemap.xmap to the minimum and is deploying the
> > application with all the libs from cocon. so im not as such using
> > cocoon.war
> >
> > I guess my problem is that i need something more in either sitemap og
> > xconf
> >
> > sitemap:
> >
> >  
> >
> >   
> > > src="org.apache.cocoon.generation.FileGenerator"
> >pool-max="32" pool-min="16" pool-grow="4"/>
> >   
> >
> >   
> > > src="org.apache.cocoon.transformation.TraxTransformer"
> > pool-max="32" pool-min="16" pool-grow="4">
> > true
> > false
> > false
> >
> >   
> >
> >   
> > > src="org.apache.cocoon.reading.ResourceReader"/>
> >   
> >
> >   
> >>mime-type="text/html"
> >   src="org.apache.cocoon.serialization.HTMLSerializer"/>
> >   
> >   
> >
> > and the pipline with the above lines.
> >
> >
> > in cocoon.xconf i have:
> >
> >> class="org.apache.cocoon.components.pipeline.CachingStreamPipeline"
> >pool-max="32" pool-min="16" pool-grow="4"/>
> >
> >> class="org.apache.cocoon.components.store.MRUMemoryStore">
> >  
> >  
> >  
> >  
> >  
> >  
> >  
> >   
> >
> >
> >> class="org.apache.cocoon.components.pipeline.CachingEventPipeline"
> >pool-max="32" pool-min="16" pool-grow="4"/>
> >
> >> class="org.apache.cocoon.components.store.MRUMemoryStore">
> >  
> >  
> >  
> >  
> >  
> >  
> >  
> >   
> >
> > I have read the docs on caching, an i think what i do is right, but i
> > dont quite understand the xmlserilization part, but i have tried to
> > include
> >  > class="org.apache.cocoon.components.sax.XMLByteStreamCompiler"/>
> >
> >  > class="org.apache.cocoon.components.sax.XMLByteStreamInterpreter"/>
> >
> > but to no avail.
> >
> > The bedst would be if it was cached at the html setilization step, but
> > at xml generation step would be ok. I have also tried to generate the
> > xml with generate / xml seriliaze instead of read.
> >
> > Thanks alot for any inputs. Thanks.
> > I really hope to solve this, as the system cant go live till i have
> > solved the performance problem.
> >
> > thanks again
> > Jesper
> >
> >
> >
> > -
> > 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: [C2rc2] Attempted to process incomplete pipeline

2001-11-30 Thread David Rosenstrauch

I think this is the problem:

You declare the match pattern as "tester-1.xsp*".  But then you refer to it in the 
aggregation as "cocoon:/tester-1.xsp" (no asterisk).

Perhaps cocoon isn't able to make the connection that these are the same.  Maybe you 
can try it with "cocoon:/tester-1.xsp*".  Dunno if this will work; haven't tried it.

HTH.


DR


At 11:00 AM 11/29/01 +, you wrote:
>Hi,
>
>I am having newbie problems with aggregation on C2rc2. I am trying something
>along these lines :
>
>:
>:
>
> 
>
>:
>:
>
> 
>
>:
>:
>
> 
>  
>  
> 
> 
> 
>
>:
>:
>
>However all I get is the error mentioned above and the log has the following
>in it:
>
>
>DEBUG   (2001-11-29) 10:12.41:729   [cocoon  ] (/site/aggregation-test)
>Thread-4
>2/ContentAggregator: ContentAggregator: generating aggregated content
>WARN(2001-11-29) 10:12.41:739   [cocoon  ] (/site/aggregation-test)
>Thread-4
>2/sitemap_xmap: Error, try to process the error page
>org.apache.cocoon.ProcessingException: Attempted to process incomplete
>pipeline.
>
> at
>org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(Cach
>ingEventPipeline.java:235)
> at
>org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKe
>y(CachingEventPipeline.java:99)
> at
>org.apache.cocoon.components.source.SitemapSource.refresh(SitemapSour
>ce.java:240)
> at
>org.apache.cocoon.components.source.SitemapSource.(SitemapSourc
>e.java:152)
> at
>org.apache.cocoon.components.source.CocoonSourceFactory.getSource(Coc
>oonSourceFactory.java:54)
> at
>org.apache.cocoon.components.source.SourceHandlerImpl.getSource(Sourc
>eHandlerImpl.java:133)
> at
>org.apache.cocoon.environment.AbstractEnvironment.resolve(AbstractEnv
>ironment.java:275)
> at
>org.apache.cocoon.sitemap.ContentAggregator.setup(ContentAggregator.j
>ava:254)
> at
>org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipe
>line(AbstractEventPipeline.java:146)
> at
>org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(Cach
>ingEventPipeline.java:239)
> at
>org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKe
>y(CachingEventPipeline.java:99)
> at
>org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(C
>achingStreamPipeline.java:277)
> at
>com.icl.sega.www.sitemap_xmap.wildcardMatchN400171(sitemap_xmap.java:
>1704)
> at com.icl.sega.www.sitemap_xmap.process(sitemap_xmap.java:1358)
> at com.icl.sega.www.sitemap_xmap.process(sitemap_xmap.java:1302)
> at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
> at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
> at org.apache.cocoon.Cocoon.process(Cocoon.java:514)
> at
>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:59
>2)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> at
>org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4
>05)
> at org.apache.tomcat.core.Handler.service(Handler.java:287)
> at
>org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372
>)
> at
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.
>java:812)
> at
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:758
>)
> at
>org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processCon
>nection(Ajp13ConnectionHandler.java:160)
> at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
>416)
> at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
>:501)
> at java.lang.Thread.run(Thread.java:484)
>DEBUG   (2001-11-29) 10:12.41:749   [cocoon  ] (/site/aggregation-test)
>Thread-4
>2/AbstractSitemap: Response wasn't reset
>DEBUG   (2001-11-29) 10:12.41:749   [cocoon  ] (/site/aggregation-test)
>Thread-4
>2/DefaultPool: Retrieving a
>org.apache.cocoon.components.pipeline.CachingEventPi
>peline from the pool
>DEBUG   (2001-11-29) 10:12.41:749   [cocoon  ] (/site/aggregation-test)
>Thread-4
>2/DefaultPool: Retrieving a
>org.apache.cocoon.components.pipeline.CachingStreamP
>ipeline from the pool
>DEBUG   (2001-11-29) 10:12.41:749   [cocoon  ] (/site/aggregation-test)
>Thread-4
>2/DefaultPool: Retrieving a org.apache.cocoon.sitemap.ErrorNotifier from the
>poo
>l
>DEBUG   (2001-11-29) 10:12.41:759   [cocoon  ] (/site/aggregation-test)
>Thread-4
>2/sitemap_xmap: Component transformer:xslt(emptyParam)
>DEBUG   (2001-11-29) 10:12.41:759   [cocoon  ] (/site/aggregation-test)
>Thread-4
>2/sitemap_xmap: Source=system/stylesheets/generalerror.xsl
>DEBUG   (2001-11-29) 10:12.41:759   [cocoon  ] (/site/aggregation-test)
>Thread-4
>2/DefaultPool: Retrieving a org.apache.cocoon.transformation.TraxTransformer
>fro
>m the pool
>DEBUG   (2001-11-29) 10:12.41:759   [cocoon  ] (/site/aggregation-test)
>Thread-4

Re: XSP

2001-11-30 Thread David Rosenstrauch

Try these too:

http://www.plenix.com/xsp/doc/xsp-primer.html
http://www.intranetjournal.com/articles/27/jxml5.html
http://www.onjava.com/pub/a/onjava/2001/02/22/jsp_servlets.html

And of course the apache working draft for xsp (they're trying to turn it into a 
standard, and not just for java code but any language).  That doc used to be at 
http://xml.apache.org/cocoon/wd-xsp.html but it got moved as a result of rearranging 
the docs.  (Maybe someone on the list knows where it is now.)


DR




At 05:04 AM 11/30/01 -0800, you wrote:

>Hi!
>
>I'm looking for some XSP references, and XSP tutorial or manual, (I've seen the 
>http://www.suranyami.com/XSPtutorial/ but I 
>would to know more about this...)
>
>Can you help me?
>
>Ferran


-
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 and cocoon-protocol

2001-11-30 Thread Torsten Knodt

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,
I've got xinclude working. It seems to only work with a xml:base attribute. 
But now there is a new problem.
Is it possible to use the cocoon:-Protocol?
I wrote
 and 
it doesn't work.
 works.

WKR Torsten Knodt
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8B5Z3vxZktkzSmiwRAjs3AJ0XSsEWvXhEEgDMjcJc2zd+B33G2gCfTXT6
BUZmitXAcB8fFOjZzqfP5Cg=
=GzLN
-END PGP SIGNATURE-

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




util:include-uri

2001-11-30 Thread Ritzmann, Heiko

Hi,

I would like use http://..."/>. Where can I find a
good example? There isn't one in the standard cocoon, is it?

Thanks a lot

Heiko


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




Loading Resources in Cocoon 1.8.2 (A Fix)

2001-11-30 Thread aeltis

Hi

I have just installed Cocoon 1.8.2 with Tomcat 3.3 and Apache 1.3 

I ran into the same problem that others seem to have done, namely the loading of 
reources specified in cocoon.properties leading to the error:

Publishing Engine could not be initialized.
java.lang.RuntimeException: Error loading logicsheet at 
resource://org/apache/cocoon/processor/xsp/library/java/util.xsl due to 
java.lang.Exception: Resource not found or retrieving error.
at org.apache.cocoon.processor.xsp.XSPProcessor.init(XSPProcessor.java:302)
at org.apache.cocoon.framework.Manager.create(Manager.java:109)
at org.apache.cocoon.framework.Router.init(Router.java:80)
at org.apache.cocoon.framework.Manager.create(Manager.java:109)
at org.apache.cocoon.Engine.(Engine.java:179)
at org.apache.cocoon.Engine.getInstance(Engine.java:232)
at org.apache.cocoon.Cocoon.init(Cocoon.java:157)
at org.apache.tomcat.facade.ServletHandler.doInit(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.init(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown 
Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown 
Source)
at java.lang.Thread.run(Thread.java:484)

I have modified org.apache.cocoon.Utils to fix this problem and attach the corrected 
source .

rgrds

andy




___
Never pay another Internet phone bill!
Freeserve AnyTime, for all the Internet access you want, day and night, only £12.99 
per month.
Sign-up at http://www.freeserve.com/time/anytime



Utils.java
Description: Binary data

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

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


Re: Antwort: caching

2001-11-30 Thread Jesper Rasmussen

I have not implemented anything. i have not made any java classes. I only
usse the standard ResourceReader, FileGenerator and HTMLSerializer.

so what you say is that i can extend ResourceReader and override the
getLastModified(). No i havent done that but i can do that.
However I was hoping to avoid that, and even avoiding using the
resourceReader and use the FileGenerator.
Is that possible?
I guess in order to do that i would need to extend the FileGenerator and
override generateValidity() ?

If i do the first solution, i would then need to have one machh with the new
reader and another match which generates from the thi first. Will the last
Modifeded then get probagated through the pipeline so it eventually will get
cached at the serialization step?

thanks again.
anyway what you sugests will solve the problem.

cheers
Jesper

[EMAIL PROTECTED] wrote:

> Did you implement getLastModified() ?
>
> Guido
>
> jr schrieb:
> > Hi all,
> > I have a system where i have a servlet generating xml from some ejb's
> > I use cocoon to apply xsl to the xml and produce the various outputs.
> > I have tried two methods, and both works fine, but i need to cache the
> > result ans the servlet is QUITE slow and rarely changes its output.
> >
> > i have tried this:
> >
> >   
> > http://server/genXML"/>
> > 
> > 
> >
> >
> > and this
> >   
> > http://server/genXML";  mime-type="text/xml"/>
> >
> >
> >   
> > 
> > 
> > 
> >
> >
> > as stated it all work fine but is not cached as far as i can tell.
> > Is there a way for me to monitor the cache. but im quite sure it is not
> > cached as it is still very slow.
> >
> > I have striped my sitemap.xmap to the minimum and is deploying the
> > application with all the libs from cocon. so im not as such using
> > cocoon.war
> >
> > I guess my problem is that i need something more in either sitemap og
> > xconf
> >
> > sitemap:
> >
> >  
> >
> >   
> > > src="org.apache.cocoon.generation.FileGenerator"
> >pool-max="32" pool-min="16" pool-grow="4"/>
> >   
> >
> >   
> > > src="org.apache.cocoon.transformation.TraxTransformer"
> > pool-max="32" pool-min="16" pool-grow="4">
> > true
> > false
> > false
> >
> >   
> >
> >   
> > > src="org.apache.cocoon.reading.ResourceReader"/>
> >   
> >
> >   
> >>mime-type="text/html"
> >   src="org.apache.cocoon.serialization.HTMLSerializer"/>
> >   
> >   
> >
> > and the pipline with the above lines.
> >
> >
> > in cocoon.xconf i have:
> >
> >> class="org.apache.cocoon.components.pipeline.CachingStreamPipeline"
> >pool-max="32" pool-min="16" pool-grow="4"/>
> >
> >> class="org.apache.cocoon.components.store.MRUMemoryStore">
> >  
> >  
> >  
> >  
> >  
> >  
> >  
> >   
> >
> >
> >> class="org.apache.cocoon.components.pipeline.CachingEventPipeline"
> >pool-max="32" pool-min="16" pool-grow="4"/>
> >
> >> class="org.apache.cocoon.components.store.MRUMemoryStore">
> >  
> >  
> >  
> >  
> >  
> >  
> >  
> >   
> >
> > I have read the docs on caching, an i think what i do is right, but i
> > dont quite understand the xmlserilization part, but i have tried to
> > include
> >  > class="org.apache.cocoon.components.sax.XMLByteStreamCompiler"/>
> >
> >  > class="org.apache.cocoon.components.sax.XMLByteStreamInterpreter"/>
> >
> > but to no avail.
> >
> > The bedst would be if it was cached at the html setilization step, but
> > at xml generation step would be ok. I have also tried to generate the
> > xml with generate / xml seriliaze instead of read.
> >
> > Thanks alot for any inputs. Thanks.
> > I really hope to solve this, as the system cant go live till i have
> > solved the performance problem.
> >
> > thanks again
> > Jesper
> >
> >
> >
> > -
> > 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: already defined in logicsheets

2001-11-30 Thread Igor Sazhnev


- Original Message -
From: "Andrei Zudin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 2:11 PM
Subject: Re: already defined in logicsheets


> > ...
> > then i get java "already defined in this method" error on all my object
> from
> > logicsheets
> > how can it would be done? - several instance of my object in xsp page?
>
> Seems so. What's the template for  in your logicsheet?

Hi all!
thanx to all - i solve this problem by including my variable and etc
declaration in  template of my logicsheet - not inside
.. part
this generate java code, where my declaration is inside class derived from
XSPGenerator, not inside generate method - and its work fine!

Igor Sazhnev


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

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




Antwort: caching

2001-11-30 Thread gcasper


Did you implement getLastModified() ?

Guido


jr schrieb:
> Hi all,
> I have a system where i have a servlet generating xml from some ejb's
> I use cocoon to apply xsl to the xml and produce the various outputs.
> I have tried two methods, and both works fine, but i need to cache the
> result ans the servlet is QUITE slow and rarely changes its output.
>
> i have tried this:
>
>   
> http://server/genXML"/>
> 
> 
>
>
> and this
>   
> http://server/genXML";  mime-type="text/xml"/>
>
>
>   
> 
> 
> 
>
>
> as stated it all work fine but is not cached as far as i can tell.
> Is there a way for me to monitor the cache. but im quite sure it is not
> cached as it is still very slow.
>
> I have striped my sitemap.xmap to the minimum and is deploying the
> application with all the libs from cocon. so im not as such using
> cocoon.war
>
> I guess my problem is that i need something more in either sitemap og
> xconf
>
> sitemap:
>
>  
>
>   
> src="org.apache.cocoon.generation.FileGenerator"
>pool-max="32" pool-min="16" pool-grow="4"/>
>   
>
>   
> src="org.apache.cocoon.transformation.TraxTransformer"
> pool-max="32" pool-min="16" pool-grow="4">
> true
> false
> false
>
>   
>
>   
> src="org.apache.cocoon.reading.ResourceReader"/>
>   
>
>   
>   mime-type="text/html"
>   src="org.apache.cocoon.serialization.HTMLSerializer"/>
>   
>   
>
> and the pipline with the above lines.
>
>
> in cocoon.xconf i have:
>
>class="org.apache.cocoon.components.pipeline.CachingStreamPipeline"
>pool-max="32" pool-min="16" pool-grow="4"/>
>
>class="org.apache.cocoon.components.store.MRUMemoryStore">
>  
>  
>  
>  
>  
>  
>  
>   
>
>
>class="org.apache.cocoon.components.pipeline.CachingEventPipeline"
>pool-max="32" pool-min="16" pool-grow="4"/>
>
>class="org.apache.cocoon.components.store.MRUMemoryStore">
>  
>  
>  
>  
>  
>  
>  
>   
>
> I have read the docs on caching, an i think what i do is right, but i
> dont quite understand the xmlserilization part, but i have tried to
> include
>  class="org.apache.cocoon.components.sax.XMLByteStreamCompiler"/>
>
>  class="org.apache.cocoon.components.sax.XMLByteStreamInterpreter"/>
>
> but to no avail.
>
> The bedst would be if it was cached at the html setilization step, but
> at xml generation step would be ok. I have also tried to generate the
> xml with generate / xml seriliaze instead of read.
>
> Thanks alot for any inputs. Thanks.
> I really hope to solve this, as the system cant go live till i have
> solved the performance problem.
>
> thanks again
> Jesper
>
>
>
> -
> 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: How to avoid the translation of "<" into "<"

2001-11-30 Thread Jörg Heinicke

Avoid using the working draft-implementation of XSL, change to the 
W3C-recommmendation.

Joerg

Vincent Oorsprong wrote:

> Hi,
> 
> Does anyone know how I can avoid that the result of:
> 
>  language="javascript">createDetAddRqRows(this.selectNodes("//AVL/DATAPACKET/
> ROWDATA/ROW[@NUMALBARAN="+valueOfNumAlbaran()+"]"))
> 
> Is something like:
> 
> 
> SO_LINE
> 
> ART_CODE
> 2005078
> 
> 
> 
> instead of:
> 
> 
> SO_LINE
> 
> ART_CODE
> 2005078
> 
> 
> 
> Regards,
>Vincent Oorsprong
>Data Access Europe B.V.
>Tel: +31-74-2555609
>Web: http://www.dataaccess.nl
>Support: mailto:[EMAIL PROTECTED]


-- 

System Development
VIRBUS AG
Fon  +49(0)341-979-7411
Fax  +49(0)341-979-7409
[EMAIL PROTECTED]
www.virbus.de

News:
Cocoon-Premiere - Virbus AG setzt bei ShoppingMall-Plattform "Lofex"
auf neueste XML-basierende Technologie
http://www.virbus.de/de/press/pressemitteilung/20011123_lofex/index.html
http://www.lofex.de


-
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

2001-11-30 Thread Jesper Rasmussen

Hi all,
I have a system where i have a servlet generating xml from some ejb's
I use cocoon to apply xsl to the xml and produce the various outputs.
I have tried two methods, and both works fine, but i need to cache the
result ans the servlet is QUITE slow and rarely changes its output.

i have tried this:

  
http://server/genXML"/>


   

and this
  
http://server/genXML";  mime-type="text/xml"/>
   

  



   

as stated it all work fine but is not cached as far as i can tell.
Is there a way for me to monitor the cache. but im quite sure it is not
cached as it is still very slow.

I have striped my sitemap.xmap to the minimum and is deploying the
application with all the libs from cocon. so im not as such using
cocoon.war

I guess my problem is that i need something more in either sitemap og
xconf

sitemap:

 

  
   
  

  
   
true
false
false
   
  

  
   
  

  
  
  
  

and the pipline with the above lines.


in cocoon.xconf i have:

  

  
 
 
 
 
 
 
 
  


  

  
 
 
 
 
 
 
 
  

I have read the docs on caching, an i think what i do is right, but i
dont quite understand the xmlserilization part, but i have tried to
include




but to no avail.

The bedst would be if it was cached at the html setilization step, but
at xml generation step would be ok. I have also tried to generate the
xml with generate / xml seriliaze instead of read.

Thanks alot for any inputs. Thanks.
I really hope to solve this, as the system cant go live till i have
solved the performance problem.

thanks again
Jesper



-
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

2001-11-30 Thread Ferran Urgell
Hi!
I'm looking for some XSP references, and XSP tutorial or manual, (I've seen the http://www.suranyami.com/XSPtutorial/ but I would to know more about this...)
Can you help me?
Ferran
 Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.

RE: Installation problem

2001-11-30 Thread Max Larsson

Hi,

if you are not fiex to cocoon 1 i would suggest
to gte the latest version vom cocoon 2.0. It is
much somther to install. And if you don't depend
on Tomcat 3, install instead Tomcat 4. Than is the
cocoon installation apiece of cake. YOu just has to
drop the cocoon.war file contained in the cocoon
zip archive into the webapps folder of tomcat and
restart tomcat.
If you are fixed to Tomcat 3 and cocoon1 the 
prolem is all i still know has to do something
with the xml parser xerces from cocoon interfering
with the oine from tomcat. This issue is described
in the FAQ (at least i think so).

HTH

Max

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Freitag, 30. November 2001 13:28
> To: [EMAIL PROTECTED]
> Subject: Installation problem
> 
> 
> Hi,
> I'm trying to install the latest version of cocoon (1.8.2) 
> with tomcat 3.3 
> running under Windows XP with JDK 1.3.1, and I'm running into 
> an error.  I 
> follow the installation instructions to the letter, and then, 
> when I try to 
> load the Cocoon.xml page, I get a NoClassDefFoundError saying 
> it can't find 
> org/w3c/dom/Node.class.  I've tracked this file to xml.jar, 
> which is in the 
> tomcat/lib/apps directory, just like all the other cocoon 
> jars, so it's 
> definitely there, it's just not being found for some reason.  
> Anybody got any 
> ideas?
> Thanks in advance,
> Maarten Dirkse.
> 
> -
> 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]>




Installation problem

2001-11-30 Thread maarten

Hi,
I'm trying to install the latest version of cocoon (1.8.2) with tomcat 3.3 
running under Windows XP with JDK 1.3.1, and I'm running into an error.  I 
follow the installation instructions to the letter, and then, when I try to 
load the Cocoon.xml page, I get a NoClassDefFoundError saying it can't find 
org/w3c/dom/Node.class.  I've tracked this file to xml.jar, which is in the 
tomcat/lib/apps directory, just like all the other cocoon jars, so it's 
definitely there, it's just not being found for some reason.  Anybody got any 
ideas?
Thanks in advance,
Maarten Dirkse.

-
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: already defined in logicsheets

2001-11-30 Thread Andrei Zudin

> ...
> then i get java "already defined in this method" error on all my object
from
> logicsheets
> how can it would be done? - several instance of my object in xsp page?

Seems so. What's the template for  in your logicsheet?

>
> best regards, Igor Sazhnev
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


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




already defined in logicsheets

2001-11-30 Thread Igor Sazhnev

Hi all!
Can anyone help me?
i have logicsheets implementing calendar which inserted in xsp page like
this:




all work fine - but i need two calendar on page, so:
...

...

...
then i get java "already defined in this method" error on all my object from
logicsheets
how can it would be done? - several instance of my object in xsp page?

best regards, Igor Sazhnev


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

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




RE: Redirect after Generation/Transformation

2001-11-30 Thread Nick Entin

Hi Nico,

You might be surprised to know that your generator and transformers are
not executed either!

I had your problem sometime ago and finished investigations on
sitemap_xmap.xsl (transformer of sitemap.xmap to java) - you might find
there that pipeline.execute is invoking only when serializer is
presented. From other side serializer is the last action in pipeline, so
you could not redirect after serialization.

The solution I found is 

>  
>   



...

>  

And statistics2html is a little bit modified "statistics":
...

...

...



So when the pipeline is executed, the results will be shown for 1 sec
and then redirected to the desired uri...

Best wishes,
Nick

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, November 29, 2001 6:02 PM
> To: [EMAIL PROTECTED]
> Subject: Redirect after Generation/Transformation
> 
> 
> Hello,
> 
> I look for a possibility to redirect the processing of a 
> resource in C2 after a generator- and a transformer-call to 
> another resource, the obvious solutions would be 
>  or  at the end of the resource. I 
> think of something like this:
> 
>  
>   
>   
>   
>  
> 
> But both alternatives do not work after generator- and 
> transformer-calls. Do I oversee something ? Or do I have to 
> implement an action...
> 
> Ciao
>   Nico Dirks
> 
> s&n AG
> netBank solutions
> Klingenderstr. 5
> D-33100 Paderborn
> Tel:  +49 (0)5251 / 1581 - 42
> Fax:  +49 (0)5251 / 1581 - 71
> 
> Internet  http://www.sundn.de
> 
> 
> 
> -
> 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: C2 Using Datasources for DEV, TEST, PROD...

2001-11-30 Thread Adrian Geissel

Hi,

We have a similar configuration, and have addressed it using a small little
XSLT stylesheet to rewrite the cocoon.xconf on tomcat based on a
 that is passed into the transformation. This is then run as an
Ant task - et, Viola!

Regards,
Adrian

- Original Message -
From: Nuno José Pires dos Santos <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 28, 2001 3:15 PM
Subject: RE: C2 Using Datasources for DEV, TEST, PROD...


> Have diferent cocoon.xconf
>
> -Mensagem original-
> De: SANSONE, AARON M [Non-Pharmacia/1000]
> [mailto:[EMAIL PROTECTED]]
> Enviada: quarta-feira, 28 de Novembro de 2001 14:51
> Para: Cocoon-Users (E-mail)
> Assunto: C2 Using Datasources for DEV, TEST, PROD...
>
> I am preparing to implement a Cocoon 2 Web Site for Production purposes.
> Like many organizations, we have a Development, Test and Production
> environment.  Each environment has it's own web server and oracle
> database.
> What is the best way to automate having Cocoon 2 use the appropriate
> datasource depending on which web server it is located on?
>
> Thanks,
> Aaron
>
> -
> 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: Redirect after Generation/Transformation

2001-11-30 Thread Christian Haul

On 29.Nov.2001 -- 06:02 PM, [EMAIL PROTECTED] wrote:
> Hello,
> 
> I look for a possibility to redirect the processing of a resource in C2
> after a generator- and a transformer-call to another resource, the
> obvious solutions would be  or  at the
> end of the resource.
> I think of something like this:
> 
>  
>   
>   
>   
>  
> 
> But both alternatives do not work after generator- and transformer-calls.
> Do I oversee something ? Or do I have to implement an action...

Beware: resource != resource

"resource" = any URI =>  => not possible after generate

"resource" =  =>  => possible everywhere 
in pipeline

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