Build Fail using jdk1.3.1

2003-02-16 Thread [EMAIL PROTECTED]
Hi All,

Anyone getting a build fail using jdk1.3.1  -  Any pointers apprciated .

Sandhu



C:\xml-cocoon2>build.bat -Dinclude.webapp.libs=yes -Dinclude.scratchpad.libs
=yes webapp

Using Java from c:\jdk1.3.1
Buildfile: build.xml

init:
 [echo] --
 [echo] Apache Cocoon,Apache Cocoon 2.1-dev,2.1-dev
[1999-2002
999-2003]
 [echo] --
 [echo] Building with Apache Ant version 1.6alpha compiled on February
12
03
 [echo] using build file C:\xml-cocoon2\build.xml
 [echo] --
 [echo]  WARNING:
 [echo]This build is targeted for use with JVM 1.2
 [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] --
  [taskdef] dropping %classpath% from path as it doesn't exist
  [taskdef] dropping c:\jdk1.3.1\tools.jar from path as it doesn't exist

BUILD FAILED
file:///C:/xml-cocoon2/build.xml:276: srcdir
"C:\xml-cocoon2\tools,.\tools\src
does not exist!

Total time: 6 seconds



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

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




Would cocoon be a good choice ?

2003-01-06 Thread [EMAIL PROTECTED]
Hello !

I am wondering if cocoon would help in doing the following.

The users need to download zipped pdf and txt files filled 
with data comming from a DB2 db. The data uploaded depend on 
the user's login and can range from 100 to 1 000 000 records.

platform
AIX
Websphere 4.0.3 (IBM jdk 1.3)
DB2 7.2

I would be gratefull for any opinion.

Alexis

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,13 €/mn) ; tél : 08 92 68 13 50 (0,34€/mn)"




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

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




Re: Reading session values - last char lost !

2002-12-22 Thread [EMAIL PROTECTED]
Hi Antonio,

We use the ,tks,its great - no problem there .

The prob was using org.w3c.dom.node.getNodeValue() .
Anyway we changed to session object.

Sandhu

- Original Message -
From: "Antonio Gallardo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 21, 2002 11:42 PM
Subject: Re: Reading session values - last char lost !


> Hi.
>
> I built the . The tag does not cut any chars. Then I
> think the problem can be in other part of the code. Maybe not your code.
>
> Antonio Gallardo.
>
> sandhu@terra-firma dijo:
> > Hi all ,
> >
> > We are using the authentication f/w for sessions and same works fine
> > except for wierd problem of Last char of retrieved value being cut off
> > as below :
> >
> > In one case , the foll values inserted into a  tag as :
> >
> > 
> > 
> >  
> > jhn
> > btx
> > pkt
> >   
> > 
> > 
> >
> > For retrieving these session values in an action (since we use aggregate
> > and  does not work in aggregated pipes)  we use
> >
> > org.w3c.dom.node.getNodeValue() to put session values
> > into comma delimited string  :
> >
> > the problem is one value retrieved is always cut off :
> >
> >   jhn,bt,pkt   when it should :  jhn,btx,pkt
> >
> > the LAST character of the SECOND VALUE IS ALWAYS LOST .
> >
> > In another case of a single session value again the LAST CHARACTER is
> > lost.
> >
> > Any pointers will be greatly appreciated.
> >
> > B.rgds,
> >
> > Sandhu
> >
> >
> >
> >
> > ---------
> > Please check that your question  has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>
>



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

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




Reading session values - last char lost !

2002-12-20 Thread [EMAIL PROTECTED]
Hi all ,

We are using the authentication f/w for sessions and same works fine except
for wierd problem of Last char of retrieved value being cut off as below :

In one case , the foll values inserted into a  tag as :



 
jhn
btx
pkt
  



For retrieving these session values in an action (since we use aggregate and
 does not work in aggregated pipes)  we use

org.w3c.dom.node.getNodeValue() to put session values
into comma delimited string  :

the problem is one value retrieved is always cut off :

  jhn,bt,pkt   when it should :  jhn,btx,pkt

the LAST character of the SECOND VALUE IS ALWAYS LOST .

In another case of a single session value again the LAST CHARACTER is lost.

Any pointers will be greatly appreciated.

B.rgds,

Sandhu




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

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




esql character encoding problem

2002-12-18 Thread [EMAIL PROTECTED]
SORRY I'VE POSTED THIS YET BUT I FORGOT THE SUBJECT

I'm using ESQL to read and write data from a MYSQL database.

When I fill a field with non US characters, I see strange characters instead of the 
ones I expected.
For example, when I write the string "òàù", this is written like "=a?", even if when I 
red it with ESQL I get back the right string.

if I manually try from mysql prompt:
"INSERT INTO table VALUES ('òàù')", the data is properly stored.

I've read an article at
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=103701015026425&w=2
about a similar subject, but the author speak of a request generator and an XML 
serializer, while I'm using an xsp generator and an html serializer:


   
   
   


They suggest to use the SetCharacterEncodingAction, but it hasn't solved my problem.

MySQL uses the default ISO-8859-1 encoding and I've added the ISO-8859-1 encoding to 
the html serializer:


  ISO-8859-1
  1024


I've tried to add the same encoding element to the serverpages generator, but it 
didn't work.

Any suggestion?



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

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




removing cocoon from my url base

2002-12-18 Thread [EMAIL PROTECTED]
I've my cocoon application running on something like:
http://localhost/cocoon/something/mysite

I'd like to get mysite using a simpler URL like:
http://localhost

How can I do this?

I know I can change the Tomcat server.xml, and point the docBase of the ROOT web 
application to the location of the cocoon web app, for example:


Now I've
http://localhost/something/mysite

How can I remove "something/mysite" ?

Thanks in advance
Mirco


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

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




RE: problem with the sitemap and patterns

2002-12-16 Thread [EMAIL PROTECTED]
Ok, the problem it's a bit more clear, now.

My custom sylesheet is only executed if I force the error:


   
  
   
   
  
   
   
   
  
   
   
  
  
   


It seesms that Cocoon performs my handle-errors only if it finds an error WHILE 
processing a match pattern.
Whithout the , my error.xsl isn't executed.

I think this is a Cocoon bug ...

> From what I understand, you should have seen your expected custom
> stylesheet.  Are you certain it's finding your error.xsl, and are you
> certain there are no problems with it?  Look in sitemap.log - trace the
> request as it's being processed.
> 
> Geoff
> 
> > -Original Message-
> >
> > Well, maybe what I supposed to know about pipelines and matchers is
> > wrong, but ...
> >
> > 
> >> src="mysite/sitemap.xmap" uri-prefix="mysite"/>
> > 
> >
> > and the mounted pipeline is something like:
> > 
> >   
> > 
> > 
> >   
> > 
> > 
> >   
> >   
> > 
> >
> > Now, if I call
> > http://localhost:8080/cocoon/mysite/index.html
> > or
> > http://localhost:8080/cocoon/mysite/dir1/dir2/index.html
> > it works
> >
> > but if I try
> > http://localhost;8080/cocoon/mysite/anything.html
> > I get the well known white page with the blu header "Cocoon 2 -
> > Resource not found",
> > while I expected to find my custom error page.
> >
> > Coccon processes a request which begins with "mysite" and, according to
> > the "2 asterisks rule", the mounted pipeline is executed.
> > But there isn't a pattern that matches the request, an error occurs.
> > So why my custom handler isn't processed?
> >
> > Where I'm wrong?
> >
> > Cocoon 2.0.3 - Tomcat 4.1.12 - j2sdk1.4.0 - Win2k server



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

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




problem with pipeline and map:handle-errors

2002-12-13 Thread [EMAIL PROTECTED]
Maybe what I supposed to know about pipelines and matchers is wrong, but ...


  


and the mounted pipeline is something like:

  


  


  
  


Now, if I call
http://localhost:8080/cocoon/mysite/index.html
or
http://localhost:8080/cocoon/mysite/dir1/dir2/index.html
it works

but if I try
http://localhost;8080/cocoon/mysite/anything.html
I get the well known white page with the blu header "Cocoon 2 - Resource not found",
while I expected to find my custom error page.

Coccon processes a request which begins with "mysite" and, according to the "2 
asterisks rule", the mounted pipeline is executed.
But there isn't a pattern that matches the request, an error occurs.
So why my custom handler isn't processed?

Where I'm wrong?

my configuration: Cocoon 2.0.3 - Tomcat 4.1.12 - j2sdk1.4.0 - Win2k server



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

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




RE: problem with the sitemap and patterns

2002-12-13 Thread [EMAIL PROTECTED]
Well, maybe what I supposed to know about pipelines and matchers is 
wrong, but ...


  


and the mounted pipeline is something like:

  


  


  
  


Now, if I call
http://localhost:8080/cocoon/mysite/index.html
or
http://localhost:8080/cocoon/mysite/dir1/dir2/index.html
it works

but if I try
http://localhost;8080/cocoon/mysite/anything.html
I get the well known white page with the blu header "Cocoon 2 - 
Resource not found",
while I expected to find my custom error page.

Coccon processes a request which begins with "mysite" and, according to 
the "2 asterisks rule", the mounted pipeline is executed.
But there isn't a pattern that matches the request, an error occurs.
So why my custom handler isn't processed?

Where I'm wrong?

Cocoon 2.0.3 - Tomcat 4.1.12 - j2sdk1.4.0 - Win2k server

---

> Nice guess, but three asterisks is not defined.  mysite/** will match
> literally everything after the slash.  If you need to seperate out the
 file
> extension, you can do mysite/**.* (the values will be stored in {1} an
d {2})
> but then you have to have a .XXX request.  If you will only sometimes 
have a
> .XXX match, you need to either split the pipeline into two different o
nes,
> or use a regexp matcher (which may not be defined in the default sitem
ap).
> 
> Geoff Howard
> 



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

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




Re: problem with the sitemap and patterns

2002-12-12 Thread [EMAIL PROTECTED]
This is my real pipeline:


  


As you can see, I use 3 asterisks, 'cause I want to match something 
like: "mysite/mydirectory/myfile.myext";

when I write:
http://localhost:8080/mysite/1dir
or
http://localhost:8080/mysite/1dir/2dir/3dir/4dir/file.ext
or
a lot of other combinations ...

the pattern doesn't match

Any suggestion?


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

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




MYSQL, ESQL and character encoding

2002-12-10 Thread [EMAIL PROTECTED]
I'm using ESQL to read and write data from a MYSQL database.
Everything works fine, except for one thing.

When I look at the data stored in my database, I see very strange 
characters instead of the ones I expected.
For example, when I fill a field of the db with the string "òàù", this 
is written like "=a?", even if when I red it with ESQL I get back the 
right string.

I think there's something wrong in my cocoon character encondings 
configuration, in fact if I manually try from mysql prompt:
"INSERT INTO table VALUES ('òàù')", the data is properly stored.
 
MYSQL use the default ISO-8859-1 encoding.
I've not changed the default cocoon encodings, except for:
 

  ISO-8859-1
  1024

 
Any suggestion?



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

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




escaping special characthers: xsp or xslt problem?

2002-12-03 Thread [EMAIL PROTECTED]
I'm reading some data from a database (mysql) using an xsp page.

My xsp is very simple, something like:

  

  

  


Then I fill a text field using this data:


  


When I wrote my data into the database, I converted special characters 
like "à" to "à" (I think this is a good practice, but correct me 
if I'm wrong!).

My problem is that the result after XSLT processing is:

and this is not what I really want, 'cause the user don't see the 
character "à" but the string "à".

As you can see, I've used the attribute "disable-output-escaping", but 
the output IS escaped.
If I try to output the content of (news/title) with a simple  (not wrapped by xsl:attribute), the characther is displayed 
as I expect.

any suggestion?



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

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




Build Fail ?

2002-11-06 Thread [EMAIL PROTECTED]
Anyone experiencing same ?

Since yesterday's CVS , building as thus :

build.bat -Dinclude.webapp.libs=yes -Dinclude.scratchpad.libs=yes webapp

I get this :

[javac] Compiling 110 source files to
C:\xml-cocoon2\build\cocoon\scratchpad
\classes
[javac]
C:\xml-cocoon2\build\cocoon\scratchpad\src\org\apache\cocoon\ant\Del
ayedFileOutputStream.java:105: cannot resolve symbol
[javac] symbol  : constructor FileOutputStream  (java.io.File,boolean)
[javac] location: class java.io.FileOutputStream
[javac] fos = new FileOutputStream(file, append);
[javac]   ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 1 error

BUILD FAILED
file:C:/xml-cocoon2/build.xml:1009: Compile failed; see the compiler error
outpu
t for details.

Total time: 4 minutes 56 seconds




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

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




Re: JDK 1.3.1 is driving me MAD!

2002-09-27 Thread [EMAIL PROTECTED]

As Booby pointed out ... did you try and rebuild C 2.0.3
with the new JDK 1.4?  I had to rebuild and it worked for me.

If you don't have the old mysql jdbc driver, I can dig it
up and send to your email directly.

Conrad

Original Message:
-
From: Roger Ting [EMAIL PROTECTED]
Date: Fri, 27 Sep 2002 19:29:10 +
To: [EMAIL PROTECTED]
Subject: Re: JDK 1.3.1 is driving me MAD!



yeah i agree.. i am using cocoon 2.0.3 built with jdk 1.3. So you are
saying 
i can't use j-connector supplied by mysql? Is there any driver
that i can use with cocoon built on jdk1.3? more specifically jdk1.3.1

This would help me a lot THX!


>From: Bobby Mitchell <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: JDK 1.3.1 is driving me MAD!
>Date: Fri, 27 Sep 2002 15:08:45 -0400
>
>Roger Ting wrote:
>
>>
>>Have anyone got the prolem of using ESQL when using cocoon 2.0.3 and
>>Tomcat 4.0.4 and jdk 1.3.1 on unix solaris? i follow all the correct 
>>instruction and cocoon just keep throwing me no suitable driver error.
>>
>>I have put in the j connector jar file into WEB-INF/lib directory.
>>configure cocoon.xconf and web.xml.
>>
>>The weird thing is i did the same thing on my pc except my jdk is jdk 1.4 
>>. It works perfectly okay. When i do it on a unix machine with jdk 1.3.1 
>>it throws no suitable driver error. I can't use jdk 1.4 on the unix
server 
>>because it keep throwing java.lang.OutOfMemoryError error when i fire up 
>>tomcat. As it is a share machine each user have limited memory. I asked 
>>about this before Apparently, Tomcat is memory starved.
>>
>>Is it a know issue that the setup of Solaris , jdk 1.3.1 or lower ,mysql, 
>>cocoon 2.0.3 and Tomcat 4.0.4 doesn't work for ESQL? all the xsp is fine 
>>as long we don't need to connect to mysql database.
>>
>>Anyone?
>
>According to http://xml.apache.org/cocoon/installing/index.html
>
>Due to changes in JDBC between JDK 1.3 and JDK 1.4, it is not possible to 
>use Cocoon build on JDK 1.3 with JDK 1.4 when it comes to database 
>connections.
>
>
>>
>>
>>
>>_
>>Join the world’s largest e-mail service with MSN Hotmail. 
>>http://www.hotmail.com
>>
>>
>>-----
>>Please check that your question has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
>
>--
>Robert J. (Bobby) Mitchell
>Systems Administrator
>NASA Institute for Advanced Concepts
>555A 14th St Atlanta, Ga. 30318
>Phone: (404)347-9633 Fax: (404)347-9638
>
>
>
>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>




_____
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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

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



--------
mail2web - Check your email from the web at
http://mail2web.com/ .



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

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




RE: JDK 1.3.1 is driving me MAD!

2002-09-27 Thread [EMAIL PROTECTED]

Roger,

Try moving the  jdbc driver/connector to the Tomcat/lib directory.
I had all kinds of database errors with Tomcat 4.0.4 and
Cocoon 2.0.3 with jdk1.3.1_02 on a RH Linux 7.x box.  

I did a lot of moving of the driver around and mucked with 
the config files.  Nothing scientific
just a lot of trial and error ... and it started working!!

Shortly after that I upgraded to JDK 1.4 and it is still
working.

Conrad

Original Message:
-
From: Roger Ting [EMAIL PROTECTED]
Date: Fri, 27 Sep 2002 18:54:28 +
To: [EMAIL PROTECTED]
Subject: JDK 1.3.1 is driving me MAD! 



Have anyone got the prolem of using ESQL when using cocoon 2.0.3 and
Tomcat 4.0.4 and jdk 1.3.1 on unix solaris? i follow all the correct 
instruction and cocoon just keep throwing me no suitable driver error.

I have put in the j connector jar file into WEB-INF/lib directory.
configure cocoon.xconf and web.xml.

The weird thing is i did the same thing on my pc except my jdk is jdk 1.4 . 
It works perfectly okay. When i do it on a unix machine with jdk 1.3.1 it 
throws no suitable driver error. I can't use jdk 1.4 on the unix server  
because  it keep throwing java.lang.OutOfMemoryError error when i fire up 
tomcat. As it is a share machine each user have limited memory. I asked 
about this before Apparently, Tomcat is memory starved.

Is it a know issue that the setup of Solaris , jdk 1.3.1 or lower ,mysql, 
cocoon 2.0.3 and Tomcat 4.0.4 doesn't work for ESQL? all the xsp is fine as 
long we don't need to connect to mysql database.

Anyone?



_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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

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




mail2web - Check your email from the web at
http://mail2web.com/ .



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

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




Re: Plz help with this - error the requested uri /"cocoon-dev/xmldb" not found

2002-09-27 Thread [EMAIL PROTECTED]

I think that your URI is wrong. 

It should be something like 
xmldb:xindice:///db/mycollection/mydocument




 [EMAIL PROTECTED] wrote:


>Hi there , I'm still in the dog house as I can't seem to figure out why 
>Cocoon 2 want serve up any Xindice data.
>
>I have started Xindice &  run Tomcat 4 > I get the Cocoon Welcome page 
> (http://172.**.*.**:/cocoon-dev/status and the others) .>
>Except when I attempt http://172.**.*.**:/cocoon-dev/xmldb/addressbook/
>
>I get the follwing error the requested uri  /"cocoon-dev/xmldb" not found
>
>I have tried the match tag in sitemap.xmap ie localhost , ipAddress 
>still no joy.
>ensured it reads src="xml:xindice:/172.**.*.**:4080/db/ {..1}# {1}" "/> 
>& the other map:generate - src="xml:xindice:/172.**.*.**:4080/db/ {1} "/>
>
>Cheers chuck
>
>-- 
>Regards 
>Chuck Amadi
>ICT Dept Systems Programmer
>Rhaglenydd Systemau Adran ICT
>
>
>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: 
>For additional commands, e-mail:   
>



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

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




RE: mySQL driver ? and performance

2002-09-26 Thread [EMAIL PROTECTED]

Kounis,

The JDBC driver has been renamed MySQL Connector/J and
can be found at http://www.mysql.com/downloads/api-jdbc.html

The jar file should be placed in the Tomcat/lib directory
if you don't want to fiddle with the classpath.

Conrad

Original Message:
-
From: Cocoon User [EMAIL PROTECTED]
Date: Thu, 26 Sep 2002 10:48:59 +0300 (EEST)
To: [EMAIL PROTECTED]
Subject: mySQL driver ? and performance


1.
where can i find mySQL driver for cocoon ?

2.
i use to get data from mySQL using php
can anyone comment the performance of cocoon retrieving data from mySQL
compiring to php



thnx

Kounis Stavros






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

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




mail2web - Check your email from the web at
http://mail2web.com/ .



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

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




RE: I'm looking for a company working with Cocoon!

2002-09-10 Thread [EMAIL PROTECTED]

Andreas,

How are you?  Congratulations on getting close to your CS degree.

By the way, I added your name to my Acknowledgements for the Cocoon 2
book and sent that to the publisher.  I said your web site was a source
of inspiration for some of examples.

It still continues to be a very popular site with new users.

I will keep an eye out for jobs in the US that use Cocoon and Java/XML
and forward it to your attention.

Conrad

Original Message:
-
From: Andreas Hartmann [EMAIL PROTECTED]
Date: Tue, 10 Sep 2002 14:00:29 +0200
To: [EMAIL PROTECTED]
Subject: I'm looking for a company working with Cocoon!



Hi Cocoon users,

I'm about to finish my degree in computer science and
want to start my career as a web application developer,
preferably in Germany, Austria, Switzerland or the U.S.

I got a first glance at Cocoon when I developed a prototype
of an intranet application for my current employer. Amazed
by the elegance of web publishing based on XML and Java,
I originated the website http://www.cocooncenter.org - maybe
some of you already visited it. It would be great if the task
of application development was combined with website
development, requirements engineering, and usability analyses.

If you're looking for an enthusiastic and Cocoon-experienced
co-worker or employee, I'd like to get in contact with you!

Greetings from Germany,
Andreas Hartmann

   www.cocooncenter.org
   Your Guide to Apache Cocoon




mail2web - Check your email from the web at
http://mail2web.com/ .



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

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




RE: RE: Giving up! Cocoon too big, slow and confusing

2002-06-27 Thread [EMAIL PROTECTED]

Eric,

You have made some good points.

A long time ago I read a book "Crossing the Chasm ... " by Geoffrey A. Moore
in which he talks about how projects get off to a good start and often
go awry because of various factors. 
http://www.testing.com/writings/reviews/moore-chasm.html

I think Cocoon 2 is slightly beyond the early adopter/visionary phase and
probably standing just on the edge of the chasm.  The early adopters and visionaries 
in any field or technology, will invest the time and effort to surmount all types of 
barriers to reach their goal.  There are several working Cocoon 2 active livesites 
which are testimony to the fact that
it can be done.

A lot of work still remains to be done for the pragmatists, conservatives and skeptics 
to come on board and take a closer look
at Cocoon 2.  You have listed some of the drawbacks that are preventing
this from happening at a faster pace.

Time is the limitation that keeps all the developers from creating good
docs in pace with the changes in the system.  Occasionally promising open source 
projects get adopted by a big sponsor corporation which helps to
make it easier to cross the chasm.

Conrad D'Cruz

Original Message:
-
From: Eric Sheffer [EMAIL PROTECTED]
Date: Thu, 27 Jun 2002 11:13:43 -0400
To: [EMAIL PROTECTED]
Subject: RE: Giving up! Cocoon too big, slow and confusing


I completely agree with Argyn's and John's comments here.
But, I don't think the sentiments expressed are unique to
the cocoon project.

I'm a big proponent of open source software.  I try to use it
and recommend it whenever I can.  However, I can't spend two
weeks just getting up to speed on something.  I have to be
productive quite soon after picking it up. I'm busying 50 to
60 hours a week doing what my job demands of me, so I don't
have a lot of extra time to devote to learning how to use a
product, much less debugging or coding one.

I still want to stay ahead of the curve, and learn new things
and use new technologies.  But, many open source projects
make this very difficult.  So if I could be presumptuous, here
are some suggestions I'll offer to make life a little easier
on us early adopters:

(1) Don't create a new nomenclature, language or jargon to
describe your project.  The world has enough acronyms,
marketing-speak and inpenetrable software descriptions.  Don't
add to it.  When describing your project, compare and
contrast it with other products the reader may be familiar
with.

(2) Don't assume the people who use a product or ask
questions on a mailing list are the second coming of James
Gosling or Bill Joy.  If you answer a question posed on the
list, go a little bit more in depth so that others who may
be reading the threads might be able to learn something.

(3) Don't skimp on documentation, and in doing so, be mindful
of (1) and (2).  When providing examples, do something a bit
more useful than yet another "Hello, World" example. Provide
more than one example, and make them progessively more complex,
building on previous examples as you go.

(4) Don't get overly defensive when responding to criticism.
And, don't respond with the typical open source developer
knee-jerk reaction of "Why don't you help out?"  Not everyone
is in a position to provide the time and effort necessary for
a meaningful contribution.  Don't dismiss the concerns of
those who don't or can't participate.

(5) Beware of the warning signs, like those expressed in John's
message.  He obviously isn't an idiot, and has invested some
time and effort trying to learn and use cocoon.  Yet, he's
having trouble making cocoon useful.  That should be a wake
up call.

(6) Don't assume that everyone should use a product because
it's open source, and that it's better than closed source or
commercial products because it's open.  If a product doesn't
perform well or is difficult to learn, use or implement, what
good does being open source?  Before answering, refer to (4).


These points are based on observations of the Apache project
I've made over the last several years.  I applaud the efforts
of those who've invested the time and effort on the various
subprojects.  Many are among the most useful pieces of software
in my arsenal, like ant, log4j and struts.  Others have finally
come around, like tomcat which I found unusable until v3.
Cocoon is an intriguing product.  But, who will use it if
they can't understand how?

Eric



--

On Thu, 27 Jun 2002 17:41:18
 Piroumian Konstantin wrote:
>> From: Argyn Kuketayev [mailto:[EMAIL PROTECTED]]
>>
>> Good post :)
>>
>> Wake up, guys! John raised a real issue. You can't simply say
>> "Don't give
>> up, be patient, read mailing-list, look into sources..." and
>> so on. If you
>> want this framewor

Why Tomcat 3.2.3 error ?

2002-06-27 Thread [EMAIL PROTECTED]

Hi all,

I cannot get this all day :

My latest CVS build C2 ( 25 jun ) runs OK on Tomcat 4.0.3
but does not startup in Tomcat 3.2.3.

On this Tomcat 3.2.3 I have earlier builds of C2( 1-2 months) running O.K.

I am running cocoon thru Contexts ( outside tomcat/webapps) .
ANY help / advise deeply appreciated

Sandhu

This is the error :

Cocoon 2 - Internal server error
type fatal
message null
description java.lang.NullPointerException
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
stack-trace
java.lang.NullPointerException
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
 at java.lang.Thread.run(Thread.java:484)

request-uri
/cocoon/
path-info




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

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




RE: Giving up! Cocoon too big, slow and confusing

2002-06-27 Thread [EMAIL PROTECTED]

Andrew et al.

Andrew ... thanks for the kind words ... and yes I am co-authoring a book
on Cocoon 2 due out on October 18. http://www.netswirl.com/publications.htm
for details.

John Austin's message that triggered this thread was exactly
what I felt and experienced when I started working on Cocoon.
His message expressed very effectively what I felt and thought ...
however I could not put down what my words on the mailing list,
because I can cuss and swear in three different languages!!! :-) and
I did not want to offend users on the list ... I am quite sure no
one wanted to read that kind of feedback on this mailing list.

The reason I got into Cocoon was solely to co-author this book.
If it was not the goal of the project then who knows I may have
given up many months ago.

I have worked on many projects (software enhancements and code maintenance)
where there were absolutely no documentation and the original developers
were not around anymore.  The Cocoon project does have documentation
that has evolved over time so I did not consider this an unsurmountable
challenge.  The configuration files have sufficient examples and notes
for anyone with enough of years of experience (and the time and motivation)
to dig deeper, connect the dots and understand the system.  Someone of
John Austin's calibre and work experience should not have much trouble after
climbing the initial hump of the learning curve.

My motivation was moving forward in my understanding of Cocoon and
fulfilling my obligations to the publisher.  Having spent the
last 5 months finding my way around, I can truly say that with the
proper nuturing, support and documentation, Cocoon 2 will be adopted
widely and make inroads into the developer community.

We tried to make the coverage of the topics a chronicle of our experiences
learning Cocoon for the first time.  It is a stepwise documentation of
the steps we took to understand Cocoon from a very high level and it's
place in the grand scheme of web publishing and content/document management.  
Subsequent chapters by myself and my co-authors went
through the stages of systematically building examples to target
common software projects.  Our book can be used as a primer to help
users get started in Cocoon and then use the blocks like a leggo set
and their own experience and maturity in the field to extrapolate
and build more complex systems.

At last count there were four books to be released in the next few months.
These books from my understanding be adequate documentation of the Cocoon 2 sytems.  
There will no doubt be advanced books written once the initial
wave of books help developers find their bearings and mature in their
understanding of the system.

I can also vouche for the excellent support and encouragement from experts
on this list.  Their insight and support helped me along the way.  If I named
everyone this message would go out of bounds.  Even if you don't have a specific 
question, just following along with any thread will help
you understand specific topics that you can then use to experiment with
and expand to create your own functioning system.

Subject to me finding sometime, I will try and volunteer to expand some
of the Cocoon documentation on the Apache web site.  There was a request
for assistance a few months back when I was overwhelmed with my work,
and I will try and find the person who had put out the message and offer
some kind of help.

John, I hope the feedback helps to put things into perspective.  I can
truly say Cocoon is not that difficult to understand.  Perhaps you can
revisit the testing of the system when the books have hit the market.

Best wishes to all and keep Cocooning !!
Conrad D'Cruz

Original Message:
-
From: Andrew C. Oliver [EMAIL PROTECTED]
Date: Thu, 27 Jun 2002 07:18:29 -0400
To: [EMAIL PROTECTED]
Subject: Re: Giving up! Cocoon too big, slow and confusing


>
>
>After just a few hours of poking around I have decided that it will be
>much simpler for me to simply hand-code a whole hat-full of servlets
>than to try and pull any meaning out of Cocoon and it's documentation.
>Fifteen hours on the Interstate wasn't as challenging as trying to
>figure out how one should check a Web Form this month but I didn't have
>that feeling of travelling backwards half of the time. I was also able
>to predict and achieve forward progress (for a change).
>
>
I hope you had a nice trip.  Web Form stuff is a bit beta at the moment,
so you'll need to
excercise patience and a willingness to help.

>Thanks guys, but no thanks.
>
>
>Maybe I'm getting old, but I really don't understand the need for all
>of the complexity and the lack of documentation in this product.
>
>
Perhaps its not a product at all, maybe its a software development
community and a project all
wrapped up into one.

>On the other hand, I used to feel the same way about the

Build fail

2002-04-03 Thread [EMAIL PROTECTED]



Since yesterday unable to build from 
CVS
Fail to compile :
Please_
 
 
compile: [copy] Copying 
28 files to C:\xml-cocoon2\build\cocoon\classes 
[echo] Compiling with Java 1.3, debug on, optimize off, deprecation 
off    [javac] Compiling 607 source files to 
C:\xml-cocoon2\build\cocoon\classes    [javac] 
C:\xml-cocoon2\build\cocoon\src\org\apache\cocoon\Cocoon.java:215:lass 
org.apache.cocoon.components.CocoonComponentManager is an abstract class.t 
can't be instantiated.    
[javac] 
this.componentManager = new 
CocoonComponentManager(paretComponentManager,(ClassLoader)this.context.get(Constants.CONTEXT_CLASS_LOADER);    
[javac] 
^    [javac] 
C:\xml-cocoon2\build\cocoon\src\org\apache\cocoon\Cocoon.java:217:lass 
org.apache.cocoon.components.CocoonComponentManager is an abstract class.t 
can't be instantiated.    
[javac] 
this.componentManager = new 
CocoonComponentManager((ClasLoader)this.context.get(Constants.CONTEXT_CLASS_LOADER));    
[javac] 
^    [javac] 
C:\xml-cocoon2\build\cocoon\src\org\apache\cocoon\components\CocoonomponentManager.java:80: 
class org.apache.cocoon.components.CocoonComponentManaer must be declared 
abstract. It does not define org.apache.avalon.excalibur.sorce.Source 
resolve(java.lang.String, 
org.apache.avalon.excalibur.source.SourcePrameters) from interface 
org.apache.avalon.excalibur.source.SourceResolver.    [javac] 
public final class CocoonComponentManager    
[javac]    
^    [javac] 
C:\xml-cocoon2\build\cocoon\src\org\apache\cocoon\components\CocoonomponentManager.java:260: 
Wrong number of arguments in method.    
[javac] return 
this.sourceResolver.resolve(location, baseURI, 
paramters);    
[javac]   
^    [javac] 
C:\xml-cocoon2\build\cocoon\src\org\apache\cocoon\components\treeprcessor\sitemap\SitemapLanguage.java:107: 
class org.apache.cocoon.components.CoconComponentManager is an abstract 
class. It can't be instantiated.    
[javac] ComponentManager manager 
= new CocoonComponentManager(this.arentManager);    
[javac]    
^    [javac] 
C:\xml-cocoon2\build\cocoon\src\org\apache\cocoon\sitemap\AbstractStemap.java:142: 
class org.apache.cocoon.components.CocoonComponentManager is anabstract 
class. It can't be instantiated.    
[javac] this.manager = new 
CocoonComponentManager(manager);    
[javac]    
^    [javac] 6 errors
 
BUILD FAILED


Re: Include Pipeline output in XSP.

2002-04-01 Thread [EMAIL PROTECTED]

Oops , didnt chk the smpls - but even now the prob seems to be extra
namespaces(not present in smpls).

This worked in the Transformer XSL of the Xindice pipeline :

http://www.apparelxml.net/apparelshow";
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; xml:space="preserve">

adding :   xml:space="preserve"

 Sandhu


- Original Message -
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 29, 2002 7:49 AM
Subject: RE: Include Pipeline output in XSP.


> > From: sandhu@terra-firma [mailto:[EMAIL PROTECTED]]
> >
> > Dear Roman,
> >
> > Were u able to give pipeline as src to serverpages generator ?
>
> http://localhost:8080/sub/xsp-cocoon
>
> If you spend some time on samples it will save bandwidth of all readers
> of this list.
>
> Regards,
> Vadim
>
>




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

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




Re: Include Pipeline output in XSP.

2002-03-28 Thread [EMAIL PROTECTED]

Dear Roman,

Were u able to give pipeline as src to serverpages generator ?

I am still struggling for this to work -

What I now see :

1. If I give cocoon pipeline  as a serverpages generator source  -



where the src above is a working Xindice pipeline with xml serializer :
Result : I get the  tag  and nothing else.

This is because output from the Xindice pipeline's XML serializer the tags
are in one line w/o any whitespaces as below :
( i see in 'view source' )


http://apache.org/xsp";
language="java">

cocoon-users@xml.apache.org

2002-03-26 Thread [EMAIL PROTECTED]




Has anyone ever seen THIS TAG :
 
/C:/final 
latest/cocoon/docs/samples/showroom1/showroomXSP2.xsldependency> 
 
this is output.
The file being fed into the serverpages generator has a namespace tag 
 : apparelshow 
the namespace is defined in xconf (builtin logicsheet & works) whose 
href="file://C:/final 
latest/cocoon/docs/samples/showroom1/showroomXSP2.xsl
 
- this href is displayed as value of dependency element 
above !! 
 
nothing else displayed !!
 
Q1. Does builtin logicsheet namespace have to be displayed in xsp:page tag 
for serverpage generator to get it ? 
If I do this i get the above dependency tag(no error no other 
output) , if I dont the namespace dont get resolved but whole file 
output.
 
Pls if anyone has any ideas.
 
Sandhu


Re: Include Pipeline output in XSP.

2002-03-26 Thread [EMAIL PROTECTED]

Dear Roman / Vadim

Thanks for the replies - yes could feed xindice o/p into XSP pipeline - but
only the namespace is not getting resolved in the XSP pipeline - which
brings me to the next question :

Has anyone ever seen THIS :

http://apache.org/xsp";
xmlns:apparelshow="http://www.apparelxml.net/apparelshow";>/C:/final
latest/cocoon/docs/samples/showroom1/showroomXSP2.xsl

this is output.
The file being fed into the serverpages generator has a namespace tag  :
apparelshow
the namespace is defined in xconf (builtin logicsheet & works) whose
href=file://C:/final latest/cocoon/docs/samples/showroom1/showroomXSP2.xsl

- this href is displayed as value of dependency element above !!

nothing else displayed !!

Q1. Does builtin logicsheet namespace have to be displayed in xsp:page tag
for serverpage generator to get it ?
If I do this i get the above dependency tag(no error no other output) ,
if I dont the namespace dont get resolved but whole file output.

Pls if anyone has any ideas.

Sandhu


- Original Message -
From: "KOZLOV Roman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 26, 2002 1:41 PM
Subject: Re: Include Pipeline output in XSP.


> Hi Sandhu,
>
> As it was already described in the list, you can generate in separate
pipeline
> (or match)  your XSP as XML first, aggregating with or transforming from
your
> Xindice query results. Then you can refer to this pipeline as to a source
for
> XSP generator in other pipeline.
>
> Best regards
> Roman
>
> "sandhu@terra-firma" wrote:
>
> > Reasons to do this :
> >
> > 1.I need to extract XML from Xindice using Pseudo-Protocol.
> > 2. The extracted xml has namespaces pointing to builtin logicsheets .
> > 3. The namespace has to be resolved in XSP - generator.
> > (Is there any other way w/o type="serverpages" generator to resolve
> > namespace).
> >
> > Therefore the need to somehow include external(pipeline generated) xml
in
> > serverpages generator.
> >
> > Thanks
> >
> > Sandhu
> >
> > - Original Message -
> > From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, March 26, 2002 9:58 AM
> > Subject: RE: Include Pipeline output in XSP.
> >
> > > Hm, why do you want to do this?
> > >
> > > Anyway, take a look at the sub sitemaps samples then to get an idea
what
> > > Cocoon can do.
> > >
> > > Vadim
> > >
> > > > From: sandhu@terra-firma [mailto:[EMAIL PROTECTED]]
> > > >
> > > >
> > > > CInclude transformer can do the job. See samples.
> > > >
> > > > Dear Vadim,
> > > >
> > > >
> > > > i've tried that , but the transformer works after the generate bit -
> > > i.e xml
> > > > gets included in the transformer stage- i need to work on included
xml
> > > in
> > > > xsp generator itself - before transform stage.
> > > >
> > > > basically need to call a pipeline from within xsp page and work on
the
> > > > included xml .
> > > >
> > > > Any pointers ?
> > > >
> > > > tks.
> > > >
> > > > -Original Message-
> > > > From: sandhu@terra-firma [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, March 25, 2002 12:41 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Include Pipeline output in XSP.
> > > >
> > > > Hi users,
> > > >
> > > > I need to include cocoon pipeline output into an XSP page - has
anyone
> > > > done this using the pseudo protocol "xmldb:xindice:// " .
> > > >
> > > > XSP page to have something like :
> > > >
> > > > 
> > > >
> > > > or include or import etc. I need to work on the incoming xml in the
> > > XSP
> > > > itself.
> > > >
> > > > Appreciate any help.
> > > >
> > > > Rgds,
> > > > -S
> > > >
> > >
> > >
> > > -----
> > > Please check that your question has not already been answered in the
> > > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > >
> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > > For additional commands, e-mail: <[EMAIL PROTECTED]>
> > >
> > >
> > >
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>



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

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




Re: Include Pipeline output in XSP.

2002-03-25 Thread [EMAIL PROTECTED]

Reasons to do this :

1.I need to extract XML from Xindice using Pseudo-Protocol.
2. The extracted xml has namespaces pointing to builtin logicsheets .
3. The namespace has to be resolved in XSP - generator.
(Is there any other way w/o type="serverpages" generator to resolve
namespace).

Therefore the need to somehow include external(pipeline generated) xml in
serverpages generator.


Thanks

Sandhu




- Original Message -
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 26, 2002 9:58 AM
Subject: RE: Include Pipeline output in XSP.


> Hm, why do you want to do this?
>
> Anyway, take a look at the sub sitemaps samples then to get an idea what
> Cocoon can do.
>
> Vadim
>
> > From: sandhu@terra-firma [mailto:[EMAIL PROTECTED]]
> >
> >
> > CInclude transformer can do the job. See samples.
> >
> > Dear Vadim,
> >
> >
> > i've tried that , but the transformer works after the generate bit -
> i.e xml
> > gets included in the transformer stage- i need to work on included xml
> in
> > xsp generator itself - before transform stage.
> >
> > basically need to call a pipeline from within xsp page and work on the
> > included xml .
> >
> > Any pointers ?
> >
> > tks.
> >
> > -Original Message-
> > From: sandhu@terra-firma [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, March 25, 2002 12:41 PM
> > To: [EMAIL PROTECTED]
> > Subject: Include Pipeline output in XSP.
> >
> > Hi users,
> >
> > I need to include cocoon pipeline output into an XSP page - has anyone
> > done this using the pseudo protocol "xmldb:xindice:// " .
> >
> > XSP page to have something like :
> >
> > 
> >
> > or include or import etc. I need to work on the incoming xml in the
> XSP
> > itself.
> >
> > Appreciate any help.
> >
> > Rgds,
> > -S
> >
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
>



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

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




Re: Include Pipeline output in XSP.

2002-03-25 Thread [EMAIL PROTECTED]


CInclude transformer can do the job. See samples.

Dear Vadim,


i've tried that , but the transformer works after the generate bit - i.e xml
gets included in the transformer stage- i need to work on included xml  in
xsp generator itself - before transform stage.

basically need to call a pipeline from within xsp page and work on the
included xml .

Any pointers ?

tks.

-Original Message-
From: sandhu@terra-firma [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 12:41 PM
To: [EMAIL PROTECTED]
Subject: Include Pipeline output in XSP.

Hi users,

I need to include cocoon pipeline output into an XSP page - has anyone
done this using the pseudo protocol "xmldb:xindice:// " .

XSP page to have something like :



or include or import etc. I need to work on the incoming xml in the XSP
itself.

Appreciate any help.

Rgds,
-S


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

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






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

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




Include Pipeline output in XSP.

2002-03-25 Thread [EMAIL PROTECTED]



Hi users,
 
I need to include cocoon pipeline output 
into an XSP page - has anyone done this using the pseudo protocol 
"xmldb:xindice:// "  .
 
XSP page to have something 
like :
 
 
 
or include or import etc. I need to work on 
the incoming xml in the XSP itself.
 
Appreciate any help.
 
Rgds,
-S


Cocoon configuration help

2002-01-21 Thread [EMAIL PROTECTED]

Hello folks!

I got an xml as java object (JDOM document) and I'm trying to learn as
send it to cocoon.

I've got the xsl file on my filesystem, but I cannot understand how to
force cocoon to format the output.

I'm trying to explaing my problem:
I pass to a servlet the JDOM document, then I write down the document to
the OutputStream. But How can I configure cocoon to read it? I need to
extend the cocoon framework?

I think this is a very stupid question, but I'm a cocoon very newbie and
I didn't find any help to the docs.

Can you help me?
Thanks a lot
BDOL



--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f

Sponsor:
Hai visto i nuovi prodotti del Milanstore? Cercali nell'unico negozio
ufficiale su internet dell'AC Milan: 
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=46&d=21-1  

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

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




C2: log directive whoes.

2001-06-22 Thread [EMAIL PROTECTED]

Loglevel.
hmm, it seems no matter of what level I select Cocoon 2b1
runs in level DEBUG. Is this level hard-coded in some way.

taken from my web.xml, value is not picked up

  log-level
  FATAL-ERROR



Logdir.
If I select a log directory such as 'log' the value gets appended to the log-name.
I get a log-name 'logcocoon.log', I consider this as a bug.
However, appending a trailing slash to the log-dir made this problem go away.
'logs/'


Thomas.



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

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




C2: xsp:page language.

2001-06-21 Thread [EMAIL PROTECTED]

Remember reading you could currently only use java in xsp. Is that correct ?

Is there any work going on implementing
BSF / ECMAScript as a language option ?


/thomas.




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

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




SV: C2: Pipelines not relative to /cocoon

2001-06-21 Thread [EMAIL PROTECTED]

ok thanks michael.
got it working.

/thomas.


- Original Message - 
From: Michael Gerzabek <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 22:33
Subject: AW: C2: Pipelines not relative to /cocoon


> Try this in the cocoon's sitemap
> 
> 
>   
> 
>   
> 
> 
> with a nice sub-sitemap in d:/bar
> 
> Michael
> 
> -----Ursprungliche Nachricht-
> Von: giacomo [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 21. Juni 2001 22:12
> An: [EMAIL PROTECTED]
> Betreff: Re: C2: Pipelines not relative to /cocoon
> 
> 
> On Thu, 21 Jun 2001, thomas@jet wrote:
> 
> > Is it possible to have a pipeline mounting a directory
> > outside the cocoon context. something like if I have
> > cocoon in 'd:/foo/cocoon' and having a pipeline
> > mapping in 'd:/bar' as /cocoon/bar.
> 
> Have you tried it? I don't see anything that will stop you
> doing so (technically).
> 
> Giacomo
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 
> 
> -----
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 


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

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




C2: Pipelines not relative to /cocoon

2001-06-21 Thread [EMAIL PROTECTED]

Is it possible to have a pipeline mounting a directory
outside the cocoon context. something like if I have
cocoon in 'd:/foo/cocoon' and having a pipeline
mapping in 'd:/bar' as /cocoon/bar.


thomas.





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

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




SV: SV: Resin 2.0.0 oddities, no more.

2001-06-20 Thread [EMAIL PROTECTED]


- Original Message - 
From: Davanum Srinivas <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 22:37
Subject: Re: SV: Resin 2.0.0 oddities, no more.


> Thomas,
> 
> Do you mind modifying the xdocs\installing.xml with the modified instructions and 
>submitting a
> patch? Note, you can use "build docs" to build the documentation to see how it looks.

hmm, I think I would like to test the setup for a day or two before considering it 
*working* all over.
I am currently having problem getting the JSP Generator example (jsp/hello) going.
cocoon complains about a missing 'org.apache.jasper.servlet.JspServlet'
in what jar is this class found ??
This can be due to a bad config aswell, haven't looked into it yet. 

the xdocs/installation.xml in my 2.0b1 didn't have the Resin section as available at 
apache.org.
guess that one came in after the initial b1-release.
to where are one expected to submit the modified document ??


/thomas

> Thanks,
> dims
> 
> --- "thomas@jet" <[EMAIL PROTECTED]> wrote:
> > YES! I got it working.
> > Thanks Jörg, for pushing me in the right direction.
> > 
> > Actually, I didn't have to manipulate with any .jars.
> > Simply by keeping 'dom.jar' and adding 'xalan.jar' to resin/lib did the trick,
> > atleast it appears so...
> > 
> > So, to conclude, Installing C2 under Resin 2.0.0.
> > 
> > 1. Remove 'sax.jar' and 'jaxp.jar' from resin/lib.
> > 2. Move 'xalan-xxx.jar' and 'xerxes-xxx.jar' to resin/lib.
> > 3. Copy cocoon.war to resin/webapps.
> > 
> > 
> > /thomas.
> > 
> > 
> > 
> > 
> > - Original Message - 
> > From: thomas@jet <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, June 20, 2001 20:34
> > Subject: C2: Resin 2.0.0 oddities.
> > 
> > 
> > Hi list,
> > 
> > I have Resin 2.0.0 running on my NT Box and was about trying
> > getting Cocoon 2.0b1 to co-operate but there is something fishy going on.
> > I can't get xtp execution and cocoon to co-exist.
> > 
> > Followed the installation steps as described:
> > 1. removed 'dom.jar', 'jaxp.jar' and 'sax.jar'. from resin/lib
> > 2. Moved 'xerces_1_4_0.jar' to resin/lib
> > 3. copied cocoon.war to resin/webapps
> > 4. added servlet mapping to resin.conf.
> > 
> > 
> > 
> > now i get to the the cocoon examples as '/cocoon' going and they appears working 
>allright,
> > but now I get HTTP 500 Servlet Exception when trying to request the Resin examples 
>instead.
> > (.xtp files)
> > 
> > if I reverse step 1 and 2 and re-start srun the Resin examples work again,
> > but ofcourse cocoon gets broken.
> > 
> > I am no java-guru, but I suspect there is a missing class issue.
> > I have attached the HTTP 500 page I get from Resin when requesting '/index.xtp'
> > when having cocoon onboard. Can anyone shed some light on this / have any hints
> > on getting xtp and cocoon to co-exist...
> > 
> > Setup:
> > NT4 / Apache 1.3.20
> > jdk 1.3.1
> > Resin 2.0.0 / Cocoon 2.0b1
> > 
> > 
> > thanks
> > thomas.
> > 
> > 
> > 
> > 
> > --------
> > 
> > 
> > > -----
> > > Please check that your question has not already been answered in the
> > > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > > 
> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > > For additional commands, e-mail: <[EMAIL PROTECTED]>
> > 
> > 
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > 
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> > 
> 
> 
> =
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
> 
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 


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

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




SV: Resin 2.0.0 oddities, no more.

2001-06-20 Thread [EMAIL PROTECTED]

YES! I got it working.
Thanks Jörg, for pushing me in the right direction.

Actually, I didn't have to manipulate with any .jars.
Simply by keeping 'dom.jar' and adding 'xalan.jar' to resin/lib did the trick,
atleast it appears so...

So, to conclude, Installing C2 under Resin 2.0.0.

1. Remove 'sax.jar' and 'jaxp.jar' from resin/lib.
2. Move 'xalan-xxx.jar' and 'xerxes-xxx.jar' to resin/lib.
3. Copy cocoon.war to resin/webapps.


/thomas.




- Original Message - 
From: thomas@jet <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 20:34
Subject: C2: Resin 2.0.0 oddities.


Hi list,

I have Resin 2.0.0 running on my NT Box and was about trying
getting Cocoon 2.0b1 to co-operate but there is something fishy going on.
I can't get xtp execution and cocoon to co-exist.

Followed the installation steps as described:
1. removed 'dom.jar', 'jaxp.jar' and 'sax.jar'. from resin/lib
2. Moved 'xerces_1_4_0.jar' to resin/lib
3. copied cocoon.war to resin/webapps
4. added servlet mapping to resin.conf.



now i get to the the cocoon examples as '/cocoon' going and they appears working 
allright,
but now I get HTTP 500 Servlet Exception when trying to request the Resin examples 
instead.
(.xtp files)

if I reverse step 1 and 2 and re-start srun the Resin examples work again,
but ofcourse cocoon gets broken.

I am no java-guru, but I suspect there is a missing class issue.
I have attached the HTTP 500 page I get from Resin when requesting '/index.xtp'
when having cocoon onboard. Can anyone shed some light on this / have any hints
on getting xtp and cocoon to co-exist...

Setup:
NT4 / Apache 1.3.20
jdk 1.3.1
Resin 2.0.0 / Cocoon 2.0b1


thanks
thomas.







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


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

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




C2: Resin 2.0.0 oddities.

2001-06-20 Thread [EMAIL PROTECTED]

Hi list,

I have Resin 2.0.0 running on my NT Box and was about trying
getting Cocoon 2.0b1 to co-operate but there is something fishy going on.
I can't get xtp execution and cocoon to co-exist.

Followed the installation steps as described:
1. removed 'dom.jar', 'jaxp.jar' and 'sax.jar'. from resin/lib
2. Moved 'xerces_1_4_0.jar' to resin/lib
3. copied cocoon.war to resin/webapps
4. added servlet mapping to resin.conf.



now i get to the the cocoon examples as '/cocoon' going and they appears working 
allright,
but now I get HTTP 500 Servlet Exception when trying to request the Resin examples 
instead.
(.xtp files)

if I reverse step 1 and 2 and re-start srun the Resin examples work again,
but ofcourse cocoon gets broken.

I am no java-guru, but I suspect there is a missing class issue.
I have attached the HTTP 500 page I get from Resin when requesting '/index.xtp'
when having cocoon onboard. Can anyone shed some light on this / have any hints
on getting xtp and cocoon to co-exist...

Setup:
NT4 / Apache 1.3.20
jdk 1.3.1
Resin 2.0.0 / Cocoon 2.0b1


thanks
thomas.



500 Servlet Exception

java.lang.NoClassDefFoundError: javax/xml/transform/TransformerFactory
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at com.caucho.jsp.XtpManager.(XtpManager.java:109)
at com.caucho.jsp.XtpManager.getManager(XtpManager.java:155)
at com.caucho.jsp.XtpServlet.init(XtpServlet.java:81)
at com.caucho.server.http.Application.createServlet(Application.java:2127)
at com.caucho.server.http.Application.loadServlet(Application.java:2091)
at 
com.caucho.server.http.Application.getFilterChainServlet(Application.java:1934)
at com.caucho.server.http.Application.buildFilterChain(Application.java:1913)
at com.caucho.server.http.Invocation.service(Invocation.java:270)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:128)
at 
com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:187)
at 
com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:89)
at jsp.GuestXtp.handleRequest(GuestXtp.java:203)
at jsp.GuestXtp.doGet(GuestXtp.java:106)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at 
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:82)
at com.caucho.server.http.Invocation.service(Invocation.java:273)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:128)
at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:334)
at 
com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:266)
at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
at java.lang.Thread.run(Thread.java:484)



Resin 2.0.0 (built Fri Jun 8 12:04:24 PDT 2001)


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

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


Re: Error in my query

2001-06-13 Thread [EMAIL PROTECTED]

> I am trying to pass a variable to my query and I got an
error, my query
> is:
>
> select * from employee where empno={@clave}
>
try using @clave instead
of {@clave}

JC


--
Profitez de l'offre spéciale Liberty Surf !
50 h / 95 F TTC par mois tout compris pendant 3 mois
http://register.libertysurf.fr/subscribe_fr/signup.php3



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

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




xsp:element and xinclude

2001-06-06 Thread [EMAIL PROTECTED]

I would like to include the content of a file into my xsp
page.
So I think I need to use this : (to generate the xinclude
dynamicaly)

file
xml


But it's not work : I've got the "whatever" tag in my xml
flow result but nothing from my file.
Thanks for your help
JC


--
Profitez de l'offre spéciale Liberty Surf !
50 h / 95 F TTC par mois tout compris pendant 3 mois
http://register.libertysurf.fr/subscribe_fr/signup.php3



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

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




logicsheets

2001-06-06 Thread [EMAIL PROTECTED]


Hello!

I am having trouble with logicsheets...
I created a logicsheet for my own tag which is

it recognizes the tag but does not call a method
that I created...

I made it like this...


simple.reply(document)


This should call the method "reply" in the class
"simple" and output a text defined in the
method...

Both "simple.class" and the logic sheet were
included by me in the /tomcat/lib directory
through a jar file, and then shutdown and
restarted tomcat...

Do you have any idea what this might be?
Any ideas welcome since this does not make sense
in my head why it does not work...

Thank you!
Kind regards and happy developing!

Miguel Torres

--
Crie o seu Email Grátis no Clix em
http://registo.clix.pt/

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

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




apache > tomcat > cocoon, mapping by extension , etc?

2001-06-05 Thread [EMAIL PROTECTED]

hi,
setup: Apache, Tomcat 3.2.2, Cocoon 2.0a7
I have just got things up and going and I have two Q's regarding the next steps;

1. There is like a million conf-files in  my jakarta-tomcat/conf directory.
Some related to mod_jserv and others to mod_jk,
so which ones are not used in a jk setup and can be safely removed.


2.
I am having problem mapping requests by its fileext thru
tomcat to cocoon. I have a vague memory this was a piece of cake
when I was experimenting with a JServ / Cocoon 1.8 combo some months ago,
but I can't find any docs on the subject.
Something like;
AddHandler jserv-servlet .xml

Ideally am I after a transparant (not having to switch port or host) 
solution for cocoon served *.XML the way tomcat handles JSP
eq.  JkMount /*.jsp ajp13

Do I really have to setup mod_proxy and shove requests explicitly thru to Tomcats 
HTTPConnectionhandler
to achieve this ?



thanks
Thomas
[EMAIL PROTECTED]









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

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




SV: Cocoon 2.0a7 + Tomcat 3.2.2 as NT service... possible ??

2001-06-05 Thread [EMAIL PROTECTED]

Thanks John !!

I had already renamed Tomcats's parser.jar >> zparser.jar as the 2.0 docs instructed
But just by switching the path order of zparser.jar and xerces.jar,
made things suddenly WORK splendid.

...I could never ever have figured this one out on my own...
Thanks again man!

thomas.



- Original Message - 
From: John Schult <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 15:27
Subject: RE: Cocoon 2.0a7 + Tomcat 3.2.2 as NT service... possible ??


> 
> When running Tomcat as a service you need to edit the wrapper.properties
> file to change the classpath.  The snippet from the Cocoon 1 docs below
> outline the problem and the solution.  It worked for me.
> 
> Kind regards,
> 
> ++john
> 
> 
> 
> IMPORTANT: If you get a NoSuchMethodError when starting up, make sure that
> xerces.jar is located before other XML jars in the CLASSPATH, otherwise XSP
> won't work. Tomcat 3.1 on UNIX - and Tomcat 3.2 on both UNIX and Windows -
> construct their own CLASSPATH automatically and then add the environment
> CLASSPATH, so manually setting the CLASSPATH before running Tomcat won't
> work. 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. (Alert readers may have noticed
> that xerces is lexicographically prior to xml anyway - so why does this
> work? Well, to be quite frank - who cares? It works, okay! ;-)
> 
> 
> 
> > -Original Message-
> > From: thomas@jet [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 05, 2001 8:43 AM
> > To: [EMAIL PROTECTED]
> > Subject: Cocoon 2.0a7 + Tomcat 3.2.2 as NT service... possible ??
> >
> >
> > Hi,
> > I'm been struggling for some 5 hours now without success trying
> > to get Cocoon 2.0a7 going
> > under a Tomcat 3.2.2 Win NT-service, but I can for my life not
> > figure out what the problem is.
> >
> > In console mode everything works great (startup.bat) and the
> > usual JSP stuff under
> > Tomcat even does fine when running as a service, but Cocoon
> > completely phucks up.
> >
> > I get some 100 lines in "jvm.stderr" and "server.log" with
> > debugging enabled, but unfortunately
> > I am not man enough to make any sense out of it apart from seeing
> > a set of nulls as no-good.
> >
> > SAXParserFactory: null
> > DocumentBuilderFactory: null
> > --
> >
> > urls behave like;
> > /cocoon/welcome  << blank page
> > /cocoon/status << java.lang.NoSuchMethodError:
> > org.w3c.dom.Document: method createElementNS ...
> >
> >
> > Has anyone managed to get a similar setup working or has a clue
> > what might the problem..
> > I know my Apache and the usual DSOs, but I am kindof new to these
> > servlet APIs.
> >
> > any help appreciated.
> >
> > Thomas.
> > [EMAIL PROTECTED]
> >
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 


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

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




Cocoon 2.0a7 + Tomcat 3.2.2 as NT service... possible ??

2001-06-05 Thread [EMAIL PROTECTED]

Hi,
I'm been struggling for some 5 hours now without success trying to get Cocoon 2.0a7 
going
under a Tomcat 3.2.2 Win NT-service, but I can for my life not figure out what the 
problem is.

In console mode everything works great (startup.bat) and the usual JSP stuff under
Tomcat even does fine when running as a service, but Cocoon completely phucks up.

I get some 100 lines in "jvm.stderr" and "server.log" with debugging enabled, but 
unfortunately
I am not man enough to make any sense out of it apart from seeing a set of nulls as 
no-good.

SAXParserFactory: null
DocumentBuilderFactory: null
--

urls behave like;
/cocoon/welcome  << blank page
/cocoon/status << java.lang.NoSuchMethodError: org.w3c.dom.Document: method 
createElementNS ...


Has anyone managed to get a similar setup working or has a clue what might the 
problem..
I know my Apache and the usual DSOs, but I am kindof new to these servlet APIs.

any help appreciated.

Thomas.
[EMAIL PROTECTED]



 



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

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




cocoon-process

2001-06-01 Thread [EMAIL PROTECTED]

C1.8.2 on tomcat
I want to know if i'm right! (good understanding)

Imagine you've got a very very complex xsp page that
need : to look in a db, to see which file to load, to
look inside another field of db,to ... So a very complex
xsp page with a lot of cascading tag (xsp, esql,...)
inside. (I mean tags commands which need the result of
other processing tags to be semself process.)
I will have some dependence of tag like this :


DEPEND ON THE XINCLUDE PROCESS

You see my problem ?
So does the cocoon process tag and namespace need to be
in good or special order :




http://www.apache.org/1999/XSP/Core";
xmlns:esql="http://apache.org/cocoon/SQL/v2";
xmlns:xinclude="http://www.w3.org/1999/XML/xinclud
e"
>
And can I put esql result into xsp variable ?

Thanks a lot

JC


--
Profitez de l'offre spéciale Liberty Surf !
50 h / 95 F TTC par mois tout compris pendant 3 mois
http://register.libertysurf.fr/subscribe_fr/signup.php3



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

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




esql => xsp

2001-06-01 Thread [EMAIL PROTECTED]

Hello everybody,

I use C1.8.2 on tomcat.
I want to know if it's possible to keep esql result to
put it in a xsp java variable !
I try this :

It's not compile

Thank for your help

JC

--
Profitez de l'offre spéciale Liberty Surf !
50 h / 95 F TTC par mois tout compris pendant 3 mois
http://register.libertysurf.fr/subscribe_fr/signup.php3



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

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




cocoon-process

2001-06-01 Thread [EMAIL PROTECTED]

I'm using Cocoon1.8.2 on tomcat
I want to know if i'm right! (good understanding)

Imagine you've got a very very complex xsp page that
need : to look in a db, to see which file to load, to
look inside another field of db,to ... So a very complex
xsp page with a lot of cascading tag (xsp, esql,...)
inside. (I mean tags commands which need the result of
other processing tags to be semself process.)
I will have some dependence of tag like this :


DEPEND ON THE XINCLUDE PROCESS

You see my problem ?
So does the cocoon process tag and namespace need to be
in good or special order :




http://www.apache.org/1999/XSP/Core";
xmlns:esql="http://apache.org/cocoon/SQL/v2";
xmlns:xinclude="http://www.w3.org/1999/XML/xinclud
e"
>
And can I put esql result into xsp variable ?

Thanks a lot

JC


--
Profitez de l'offre spéciale Liberty Surf !
50 h / 95 F TTC par mois tout compris pendant 3 mois
http://register.libertysurf.fr/subscribe_fr/signup.php3



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

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




Re: java.lang.NoClassDefFoundError

2001-05-30 Thread [EMAIL PROTECTED]


Yes... I have JDK installed...
Truth is that it was working and suddenly it
gives this error...


[EMAIL PROTECTED] writes:

> 
> Have you installed the JDK or just the JRE?  Cocoon can't do XSP without a
> Java compiler, which isn't included in JRE.
> 
> -Christopher
> 
> 
> 
> 
> Please respond to [EMAIL PROTECTED]
> 
> To:   [EMAIL PROTECTED]
> cc:
> 
> Subject:  java.lang.NoClassDefFoundError
> 
> 
> 
> Hello!
> 
> 
> I am trying to load an xml page that uses a
> logichsheet.
> But cocoon 1.8.2 returns the following error
> I have consulted the faq and there it says that
> it is a problem with the classpath, but I checked
> it and it`s alright...
> do you know what might be causing this?
> 
> java.lang.NoClassDefFoundError:
> sun/tools/javac/Main
> 
> Thank you!
> Kind regards,
> 
> Miguel Torres
> 
> --
> Crie o seu Email Grátis no Clix em
> http://registo.clix.pt/
> 
> 
> 
> 
> 
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 



--
Crie o seu Email Grátis no Clix em
http://registo.clix.pt/

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

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




java.lang.NoClassDefFoundError

2001-05-30 Thread [EMAIL PROTECTED]


Hello!


I am trying to load an xml page that uses a
logichsheet.
But cocoon 1.8.2 returns the following error
I have consulted the faq and there it says that
it is a problem with the classpath, but I checked
it and it`s alright...
do you know what might be causing this?

java.lang.NoClassDefFoundError: 
sun/tools/javac/Main

Thank you!
Kind regards,

Miguel Torres

--
Crie o seu Email Grátis no Clix em
http://registo.clix.pt/

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

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