X11 low-level errors (Re: Installation Problem Solved- C2b2 and Tomcat 4.0 Final)

2001-09-19 Thread Jeff Turner

On Wed, Sep 19, 2001 at 05:08:03PM -0400, Rajkumar, Joseph wrote:
> Hi Folks
> 
> This did it and it all works beautifully. I took the stock Tomcat-4.0
> binary distribution and Cocoon-2.0B2.tar.gz.
> 
> The build 'cocoon' with the install option giving it the path to the
> tomcat webapps directory as given on the "install" page on cocoon2-page.
> Removed jaxp.jar and crimson.jar and copied xerces_1_4_1.jar.

It wasn't necessary for me. Straight out of CVS, I did a "./build.sh
-Dinclude.webapp.libs=yes dist", then copied the cocoon.war to my
webapps directory, restarted, and it all worked.

That was on one linux box. On another, I got some weird X errors on
catalina.out:

_X11TransSocketOpen: socket() failed for tcp
_X11TransSocketOpenCOTSClient: Unable to open socket for tcp
_X11TransOpen: transport open failed for tcp/10.10.1.136:0

The "10.10.1.136:0" is from my DISPLAY variable, and it points to a working X
server (on the box where C2 worked). Xvfb on localhost:1 gives the same error.
This is with an identical JVM to the working install (Sun 1.3.0), out-the-box
Tomcat and same cocoon.war.

I've absolutely no idea on this one. I'm just throwing it out there so that if
anyone else is searching the archives with an identical error, we can
commiserate together ;P

--Jeff

-
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: esql nested query not working - 1.8.2

2001-09-19 Thread Marty McClelland

the error message is the same with and without the quotes - for string
parameters or int parameters. i've tried numerous combinations.  if i put in
an explicit value it works - but i can get it to reference a parameter from
the result set from Access.  It will work if the backend is MySQL.

>From the reading I've done today - the MS Access ODBC driver does not
support nested transactions according to the microsoft support site.  So I'm
thinking the problem with the nested query is specific to Access.

marty

- Original Message -
From: Christopher Painter-Wakefield <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 19, 2001 6:57 AM
Subject: Re: esql nested query not working - 1.8.2


>
> do you get a different error message when you leave out the quotes?
>
>
>
>
> Please respond to [EMAIL PROTECTED]
>
> To:   <[EMAIL PROTECTED]>
> cc:
>
> Subject:  Re: esql nested query not working - 1.8.2
>
>
> I've tried it both with and without the single quote and it still doesn't
> work.
>
> Here is another clue - the nested query works if I run it against a MySQL
> database, it just doesn't work against a Access database.
>
> In a couple of months - we'll be converting the access database.  In the
> meantime, is there a solution ( that will work with the access database )?
>
> marty
> - Original Message -
> From: Christopher Painter-Wakefield <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 18, 2001 9:41 AM
> Subject: Re: esql nested query not working - 1.8.2
>
>
>
> Try removing the single quotes around  ="string">
>
> I think by including the single quotes you are making a query that doesn't
> use parameters (your where clause looks like "... Main.rid = '?' ", e.g.,
> the literal string '?').
>
> -Christopher
>
>
>
>
> Please respond to [EMAIL PROTECTED]
>
> To:   <[EMAIL PROTECTED]>
> cc:
>
> Subject:  esql nested query not working - 1.8.2
>
>
>
>
> I would like to execute a nested query. When  I try to reference a
> parameter from the ancestor query I get a  java.lang.RuntimeException:
> Error setting parameter on statement : Select title  from Main where
> Main.rid='?'
>
> I would greatly appreciate any suggestions. I  have tried to emulate the
> example esql - but I can not get it to pick up the  parameter. If I
> hardcode the value - the nested query works.
>
> In searching the list - I found a similar posting in January for this
error
> - but no suggestion/solution was posted.
>
> I am running tomcat/cocoon 1.8.2 on Windows 98 and pointing to an access
> database.
>
> marty
>
>
> I am attaching the related code below:
>
>
> 
>
> 
>
> Select title from Main where Main.rid=' ="string"> ="rid"/>'
>
> 
>
>
>
>
>
> -
> 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: XHTML Serializer

2001-09-19 Thread Martin Kavalar

Well, if i do that, all i get is replies to my older questions.

exclude-result-prefixes didnt get rid of the default namespace, and using '#default' 
as suggested didnt work, either.
Furthermore, i still got all the namespaces of elements further down the tree than the 
root element. How do i get rid of them?

thanks
martin



Michael McKibben wrote:

>Search the mail list archives for this month on "exclude-result-prefixes".
>
>Regards,
>
>--mike
>
>On Wed, 19 Sep 2001, Martin Kavalar wrote:
>
>>that still doesnt get rid of any namespaces, it produces the same output
>>as the code i used i think. Anyone know how to get rid of the namespaces?
>>
>>Colin Paul Adams wrote:
>>
"Martin" == Martin Kavalar <[EMAIL PROTECTED]> writes:

>>>   Martin> I was wondering why there is no XHTML serializer in
>>>   Martin> c2. When defining my own i use the XML serializer and set
>>>   Martin> the content type to text/html. Unfortunatly i then get all
>>>   Martin> the namespaces from previous documents in my xhtml which
>>>   Martin> keeps it from validating as XHTML 1.0. Can anyone help?
>>>   Martin> thanks martin
>>>
>>>here's what I use:
>>>
>>> >>   src="org.apache.cocoon.serialization.XMLSerializer">
>>>   -//W3C//DTD XHTML 1.1//EN
>>>   http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd
>>>   UTF-8
>>>   no
>>> 
>>>
>>
>>
>>-
>>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: XHTML Serializer

2001-09-19 Thread Michael McKibben


Search the mail list archives for this month on "exclude-result-prefixes".

Regards,

--mike

On Wed, 19 Sep 2001, Martin Kavalar wrote:

> that still doesnt get rid of any namespaces, it produces the same output
> as the code i used i think. Anyone know how to get rid of the namespaces?
>
> Colin Paul Adams wrote:
>
> >>"Martin" == Martin Kavalar <[EMAIL PROTECTED]> writes:
> >>
> >
> >Martin> I was wondering why there is no XHTML serializer in
> >Martin> c2. When defining my own i use the XML serializer and set
> >Martin> the content type to text/html. Unfortunatly i then get all
> >Martin> the namespaces from previous documents in my xhtml which
> >Martin> keeps it from validating as XHTML 1.0. Can anyone help?
> >Martin> thanks martin
> >
> >here's what I use:
> >
> >   >src="org.apache.cocoon.serialization.XMLSerializer">
> >-//W3C//DTD XHTML 1.1//EN
> >
>http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd
> >UTF-8
> >no
> >  
> >
>
>
>
> -
> 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: Installation Problem Solved- C2b2 and Tomcat 4.0 Final WAS Installation Problem - Cocoon-2.0b2 and Tomcat 4.0-rc2

2001-09-19 Thread Rajkumar, Joseph

Hi Folks

This did it and it all works beautifully. I took the stock Tomcat-4.0
binary distribution and Cocoon-2.0B2.tar.gz.

The build 'cocoon' with the install option giving it the path to the
tomcat webapps directory as given on the "install" page on cocoon2-page.
Removed jaxp.jar and crimson.jar and copied xerces_1_4_1.jar.

Everything now works like a charm including the "simple SQL" using
the included hypersonicSQL database.

Thanks to all those who responded.
Regards
Joseph Rajkumar


[EMAIL PROTECTED] wrote:

> To make it work just delete (or move somewhere else) the files jaxp.jar and 
>crimson.jar in \jakarta-tomcat-path\common\lib and put the xerces_1_4_1.jar file 
>instead.


-
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: Tomcat-4.0 and Cocoon-2.0B2

2001-09-19 Thread giacomo

On Wed, 19 Sep 2001, Morrison, John wrote:

> It works - you've just got to watch out for xml parsers and substitute
> xerces/xalan where required.

I have the latest CVS version running WITHOUT any modification
concerning jars. Just followed the BUILDING.txt doc and preparing a
build.properties file with all the jars needed to build TC4.

Giacomo

>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 19 September 2001 3:53 pm
> To: cocoon-users
> Subject: Tomcat-4.0 and Cocoon-2.0B2
>
>
> Hi Folks
>
> I would like to know if anybody has got Tomcat-4.0
> (the latest final release, not RC1 or RC2) working with
> Cocoon-2.0B2.
>I have Tomcat-4.0RC1 working fine with Cocoon-2.0B2,
> but I could not get Tomcat-4.0 working with Cocoon-2.0B2.
>
>
> Thanks
> Joseph Rajkumar
>
>
>
>
> ===
> Information in this email and any attachments are confidential, and may
> not be copied or used by anyone other than the addressee, nor disclosed
> to any third party without our permission.  There is no intention to
> create any legally binding contract or other commitment through the use
> of this email.
>
> Experian Limited (registration number 653331).
> Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF
>


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

2001-09-19 Thread Mark S. Kent

You also need a version specified in the xsl:stylesheet tag:

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

Mark

-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 19, 2001 3:07 PM
To: '[EMAIL PROTECTED]'
Subject: Question


Im a Cocoon 1.8.2 user along with JRun 2.3

I have the following in my JRun stderr.log file and was wondering if anyone
could help with this.
Here is the statement, it occurs 100's of times in the log.

XSL Warning: xsl:stylesheet requires a 'version' attribute!

I have this at the top of my XSL file



so Im not sure what the error means.

Please Advise
Thanks

Anthony Diodato
Webmaster - IT
Prophet 21, Inc.
19 West College Avenue
Yardley, PA 19067
1-800-776-7438, ext. 4600
Fax: 215-321-8014
[EMAIL PROTECTED]
http://www.p21.com/
Prophet 21 -- Powering the Distribution Industry for the Digital Age

For the latest press releases from Prophet 21 --
http://www.p21.com/press/press.html
*   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
(E2E) Commerce
*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
For the latest articles on Prophet 21
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
htm
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm




Visit our website at http://www.p21.com/visit
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer.



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




Question

2001-09-19 Thread Anthony Diodato

Im a Cocoon 1.8.2 user along with JRun 2.3

I have the following in my JRun stderr.log file and was wondering if anyone
could help with this.
Here is the statement, it occurs 100's of times in the log.

XSL Warning: xsl:stylesheet requires a 'version' attribute!

I have this at the top of my XSL file 



so Im not sure what the error means.

Please Advise
Thanks

Anthony Diodato
Webmaster - IT
Prophet 21, Inc.
19 West College Avenue
Yardley, PA 19067
1-800-776-7438, ext. 4600
Fax: 215-321-8014 
[EMAIL PROTECTED]
http://www.p21.com/
Prophet 21 -- Powering the Distribution Industry for the Digital Age 

For the latest press releases from Prophet 21 --
http://www.p21.com/press/press.html 
*   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
(E2E) Commerce 
*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
For the latest articles on Prophet 21
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
htm 
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm




Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



-
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: No method matching in inner class

2001-09-19 Thread cib

Thanks again for answering,
but I really think I'll have to drop my idea, as the new message is:

org.apache.cocoon.ProcessingException: Language
Exception:org.apache.cocoon.components.language.LanguageException: Error
compiling make1_xsp: Line 143, column 29: Identifier expected. Line 75,
column 13: class org.apache.cocoon.www.pages.make1_xsp must be declared
abstract. It does not define void generate() from class
org.apache.cocoon.generation.AbstractGenerator

I think it'll never end.
My aim is to add comments to long text following the TEI dtd.
The text is made, and a database stores the comments. The pages are then
build by xsl and substring before templates to inserts comments at the right
place. I thought I had better re-build each xsl when a comment was added to
db, or pages would take quite a long time to be made.

Here is the version of my make1.xsp, which engendered that error message.
I've tried (from a book on java) to add "abstract" in front of "class
make_xsl" or before public void main and even both, but with the same
results.



http://apache.org/xsp";
  xmlns:esql="http://apache.org/cocoon/SQL/v2";>


  java.io.*



class make_xsl {
   public void main(String[]) throws IOException {
 FileReader entree = new
FileReader(("http//:localhost/cocoon/test/make.xsl"));
  FileWriter sortie = new FileWriter("output.txt");
 int c;
 while ( (c = entree.read()) != -1 )
sortie.write(c);
sortie.close();
entree.close();
 }
}


  


make_xsl anObject = new make_xsl();
anObject.main();



If you see this, it works.

  


I reckon you are busy so don't bother too much on me.

Cib

France, Bordeaux, xml and gay pride.

- Original Message -
From: "Christian Haul" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "cib" <[EMAIL PROTECTED]>
Sent: Wednesday, September 19, 2001 11:13 AM
Subject: Re: No method matching in inner class


> On 19.Sep.2001 -- 10:09 AM, cib wrote:
> > Thanks for answering,
> > unfortunately "signature does not match" sounds like a riddle to me.
>
> Sorry cib, I thought it was obvious after I pulled the lines
> together. You declare a method "main(String[] args)" and call "main()"
> without arguments which is a totally different method, hence "no
> matching method found". Remove the argument from your method
> declaration and try again. You seem not to use it anyway.
>
> BTW I always though that "main" is used only as an entry point for
> when no other method could be specified. Often it just invokes the
> constructor which does the real work. Therefore you don't really need
> "main(String[])". Just call class methods or put the logic into a
> constructor.
>
> > I'm trying to output an xsl and save it to the disk. As nobody knows how
to
> > do that I'm making a patchwork code of java bits I find anywhere: java
> > classes are far beyond my capabilities: I'm only a postman.
> > Thanks anyway.
>
> I don't know if this works, but have you tried to use the cocoon:
> protocol as source for a transformer? You might be able to obtain the
> xsl through that.
>
> 
>
> 
>
> 
>
>
> 
>
> I haven't worked with this before but I understand that this should be
> a valid application for it.
>
> This way you XSL is not saved but I presume that the original
> intention was to use it in a transformation with cocoon.
>
>
> > > On 17.Sep.2001 -- 10:16 PM, cib wrote:
> > > > Thanks to Luis Gois for correcting the first part.
> > > > it now says:
> > > > "No method matching main() found in inner class
> > > > org.apache.cocoon.www.pages.make1_xsp. make_xsl."
> > > > (I really don't know why there is a space between make1_xsp. and
> > make_xsl.
> > > > Is it normal?)
> > > >
> > >
> > > > class make_xsl {
> > > >   public void main(String[] args) throws IOException {
> > >
> > > > anObject.main();
> > >
> > > The signature does not match.
>
> Chris.
>
> --
> C h r i s t i a n   H a u l
> [EMAIL PROTECTED]
> fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


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

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




Problems with cocoon

2001-09-19 Thread rtebar

Hello, I need some help,

After installing cocoon I've tried to run the Cocoon.xml example, but 
it reports me this error (see error.txt).

Can you help me out with this so I can progress with the installation, 
many thanks in advance.

Raul Tebar



__
¿Quieres asistir a un concierto único e irrepetible de Sting sin 
moverte de casa?
Visita... http://www.sting.navegalia.com


Publishing Engine could not be initialized.
java.lang.RuntimeException: Error creating 
org.apache.cocoon.processor.xsp.XSPProcessor: make sure the needed classes can be 
found in the classpath (org/apache/turbine/services/resources/TurbineResourceService)
at org.apache.cocoon.framework.Manager.create(Manager.java:122)
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.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at org.apache.tomcat.core.Handler.service(Handler.java:254)
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.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.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)


 tomcat.bat

-
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 Solved- C2b2 and Tomcat 4.0 Final WAS Installation Problem - Cocoon-2.0b2 and Tomcat 4.0-rc2

2001-09-19 Thread


>Help Please,
>
>I have installed Cocoon-2.0b2 and Tomcat 4.0-rc2.
>I have added to the cocoon web.xml file:
>
> 
>extra-classpath 
>C:\Program Files\Apache Tomcat
>4.0\common\lib\servlet.jar 
>

AFAIK, this is not necessary now.

>
>When I HTTP access Cocoon using http://localhost:8080/cocoon I get the following 
>error message:
>   "Status 503 - Servlet Cocoon2 is currently unavailable"
>
>Any Ideas

Well,the problem is that C2 doesn't find the parser for starting to parse the 
cocoon.xconf. I saw that seeing the line number in the stack-trace and looking at the 
sources.
To make it work just delete (or move somewhere else) the files jaxp.jar and 
crimson.jar in \jakarta-tomcat-path\common\lib and put the xerces_1_4_1.jar file 
instead.
All should work now.

Nicola Ken Barozzi
[EMAIL PROTECTED]

>Peter Sparkes  Data Architect
>Derwent Information
>14 Great Queen St  Tel. +44 (0)20 7424 2084
>London Fax. +44 (0) 20 7344 2815
>WC2B 5DF   Email. [EMAIL PROTECTED]
>UK Website: http://www.derwent.com/


-

messaggio inviato con Freemail by superEva
http://www.supereva.it

-


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




DTD or schema?

2001-09-19 Thread Alexander Smirnoff

Does exist any documented schema or dtd specification of :
- cocoon.xconf
- sitemap.xmap
or in any else readable format?

Thanks,
Alexander Smirnoff



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




Cocoon2 : Managing URL-encoded parameters

2001-09-19 Thread Olivier Boulanger

Hi all,

I have just installed cocoon 2. I first thought that defining a sitemap was
a great idea, but i'm wondering by now if it's possible to manage
URL-encoded parameters in an XML2HTML process (like i used to with cocoon
1).

Considering an url like "localhost/my-project/my-xml-document.xml?param=1",
what should be written in the sitemap file to make it work fine ?
I've tried to define several kinds of "map:match" corresponding to my
pattern, without any success...

Thanks a lot in advance,

Olivier Boulanger


BEGIN:VCARD
VERSION:2.1
N:Boulanger;Olivier
FN:Olivier Boulanger
ORG:Lucid-IT S.A.;Tests, Intégration et Déploiement
TITLE:Resp. Pôle TI&D
TEL;WORK;VOICE:+33 (0) 3 83 36 39 59
TEL;CELL;VOICE:+33 (0) 6 83 25 61 64
TEL;VOICE:co-fondateur
TEL;WORK;FAX:+33 (0) 3 83 36 79 15
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;14 Boulevard du 21e RA=0D=0ALe Carr=E9 Rive Gauche;NANCY, M&M;;54000;Franc=
e
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:14 Boulevard du 21e RA=0D=0ALe Carr=E9 Rive Gauche=0D=0ANANCY, M&M 54000=0D=
=0AFrance
URL;HOME:http://www.lucid-it.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010809T091659Z
END:VCARD



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


Internal servlet error

2001-09-19 Thread Rajkumar, Joseph

Hi
Some folks have asked me what the problem was with
Tomcat-4.0 and Cocoon-2.0B2. Here it is.

   Please let me know which jar I should delete from where
and which jar I should include and where it should be included.

Regards
Joseph Rajkumar
===
Cocoon 2 - Internal servlet error

type internal-servlet-error

message Internal servlet error

description Cocoon was not initialized.

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon

embedded exception

org.apache.avalon.framework.component.ComponentException: Could not
access the Component for role:
org.apache.cocoon.components.parser.Parser

embedded exception stacktrace

org.apache.avalon.framework.component.ComponentException: Could not
access the Component for role:
org.apache.cocoon.components.parser.Parser
at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:286)

at org.apache.cocoon.Cocoon.configure(Cocoon.java:210)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:160)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:634)

at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:164)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:856)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3292)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3402)

at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:415)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:643)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:647)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:777)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:463)

at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)

at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
at
org.apache.catalina.core.StandardService.start(StandardService.java:388)

at
org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
at org.apache.catalina.startup.Catalina.start(Catalina.java:776)

at
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.InflatableMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:218)
Caused by: java.lang.ClassCastException:
org.apache.crimson.jaxp.SAXParserFactoryImpl
at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:155)

at
org.apache.cocoon.components.parser.JaxpParser.(JaxpParser.java:38)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at
sun.reflect.InflatableConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:81)

at
org.apache.avalon.excalibur.component.DefaultComponentHandler.get(DefaultComponentHandler.java:92)

at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:266)

... 27 more

exception

org.apache.avalon.framework.configuration.ConfigurationException: Error
trying to load configurations

stacktrace

org.apache.avalon.framework.configuration.ConfigurationException: Error
trying to load configurations
at org.apache.cocoon.Cocoon.configure(Cocoon.java:220)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:160)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:634)

at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:164)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:856)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3292)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3402)

at
org.apache.ca

Re: build failure

2001-09-19 Thread Don Smith

Michael:

We already had those changes in place. No effect. I don't think these 
matter anyway for the build process.

Thanks,

Don

Michael Bierenfeld wrote:

>Don Smith wrote:
>
>>I am running Cocoon 2 successfully on Win2000 with Tomcat 3.2
>>
>>My colleague has exactly the same setup, but cannot get Cocoon to build.
>>The error messages occur during compiling of Cocoon classes. The errors
>>are all methods not found in the javax interface.
>>
>>Any ideas?
>>
>>Don Smith
>>
>>-
>>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]>
>>
>
>Hmpf. its all related to $TOMCAT_HOME/common/lib/jaxp.jar + parser.jar
>remove it und replace it with xerces
>
>Regards
>
>Michael
>
>-
>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]>




EJB generators ?

2001-09-19 Thread Aurelien

I am currently in the process of parsing the cocoon docs, and I'm 
wondering wether an EJB generator would be necessary in my case. I get 
the XML from a J2EE app indeed, and looking at the different existing 
generators, I thought that the most approriate would probably be the 
Stream generator.

Then I'd have the following pattern

request   --->   Servlet--->EJB
 XML
<---
--->Stream 
Generator--->Transformer--->Serializer--->
response (finally !)

Using an EJB generator would yield a more streamlined pipeline:


request--->Stream Generator--->Transformer--->
Serializer--->response

Am I totally mistaken ?

Bye,

Aurélien

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

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




Problems with I18nTransformer in Cocoon 2.0b2

2001-09-19 Thread Judith Andres

Hi,

I'm trying to use the I18nTransformer from Konstantin Piroumian.
So far everything seemed to work ok but now I'm running into serious
problems.

I noticed the following strange behaviour.
Although I configured the transforer correctly - at least I think so -
namely:

  
 
  
  
   

it just ignores the given parameters and just uses whatever is in the
dictionary. That means, if there is the following entry in the dictionary


hello
hola
hallo
hello


the transformer will give back the Spanish translation when asked for it
with ?lang=es
It will do this even Spanish is not defined as an available language in the
sitemap. It will even consider Spanish as the default language even if it is
not defined in the sitemap at all.

Another problem: for me it is absolutely mandatory to be able to use not
just language code but also country code. But something like de_DE or en_US
will be ignored by the transformer.

Thanx
Judith




-
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: Tomcat-4.0 and Cocoon-2.0B2

2001-09-19 Thread Sparkes, Peter
Title: RE: Tomcat-4.0 and Cocoon-2.0B2





I have.


I had  installed Cocoon-2.0b2 and Tomcat 4.0-rc2
I installed Tomcat-4.0 which asked if I wanted to update the installed version of Tomcat, I accepted and everything worked fine.

Peter


 Peter Sparkes
Data Architect
Derwent Information
14 Great Queen St   Tel. +44 (0)20 7424 2084
London  Fax. +44 (0) 20 7344 2815
WC2B 5DF  Email. [EMAIL PROTECTED]
UK    Website: http://www.derwent.com/ 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 19 September 2001 15:53
To: cocoon-users
Subject: Tomcat-4.0 and Cocoon-2.0B2



Hi Folks 
    I would like to know if anybody has got Tomcat-4.0 
(the latest final release, not RC1 or RC2) working with 
Cocoon-2.0B2. 
   I have Tomcat-4.0RC1 working fine with Cocoon-2.0B2, 
but I could not get Tomcat-4.0 working with Cocoon-2.0B2. 
Thanks 
Joseph Rajkumar 
  




**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**



Re: build failure

2001-09-19 Thread Michael Bierenfeld

Don Smith wrote:
> 
> I am running Cocoon 2 successfully on Win2000 with Tomcat 3.2
> 
> My colleague has exactly the same setup, but cannot get Cocoon to build.
> The error messages occur during compiling of Cocoon classes. The errors
> are all methods not found in the javax interface.
> 
> Any ideas?
> 
> Don Smith
> 
> -
> 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]>

Hmpf. its all related to $TOMCAT_HOME/common/lib/jaxp.jar + parser.jar
remove it und replace it with xerces

Regards

Michael

-
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: Tomcat-4.0 and Cocoon-2.0B2

2001-09-19 Thread Michael Bierenfeld

"Rajkumar, Joseph" wrote:
> 
> Hi Folks
> 
> I would like to know if anybody has got Tomcat-4.0
> (the latest final release, not RC1 or RC2) working with
> Cocoon-2.0B2.
>I have Tomcat-4.0RC1 working fine with Cocoon-2.0B2,
> but I could not get Tomcat-4.0 working with Cocoon-2.0B2.
> 
> Thanks
> Joseph Rajkumar
> 

/me raises his finger. Yes working. No Prob

Whats your prop

Regards

Michael

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




Step by Step instructions for C2

2001-09-19 Thread Michael Bierenfeld

Hi,

now that I have tomcat4.0 + apache 1.3 + cocoon2 up and running :-)
(Damn all problems are related to jaxp.jar and parser.jar) I would like
to know if there are any step by step instructions how to create and
deploy own applikations with cocoon2.

I am somewhat perplexed by the functionality and changes 

Regards

Michael

-
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: Tomcat-4.0 and Cocoon-2.0B2

2001-09-19 Thread Morrison, John



It 
works - you've just got to watch out for xml parsers and substitute 
xerces/xalan where required.

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, 19 September 2001 
  3:53 pmTo: cocoon-usersSubject: Tomcat-4.0 and 
  Cocoon-2.0B2Hi Folks 
      I would like to know if anybody has got 
  Tomcat-4.0 (the latest final release, not RC1 or RC2) working with 
  Cocoon-2.0B2.    I have Tomcat-4.0RC1 working fine with 
  Cocoon-2.0B2, but I could not get Tomcat-4.0 working with 
  Cocoon-2.0B2. 
  Thanks Joseph Rajkumar   

===
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF



Two new sites developed using Cocoon 1.8.2

2001-09-19 Thread Santi

Hi all!

I have two sites to suggest for publication:

The first one has some quite particular features. It is an online shop for
artwork where you can buy prints, engravings, original work, etc. and use an
online configurator for combining them with different frames and see the
result.

It is completly XSP based, and uses also an underlying e-catalog/content
factory product (QCatalog). The interesting point is that this product
(which was developed by my company www.aqs.es) also uses Cocoon as
publishing-Engine.

I think this should be an unusual type of site, so it should be interesting
for you.

http://www.webfann.com.

The other site is an quite simple site, it has an online catalog which is
based on QCatalog, the content administration tools are not publicly
availaible but if you are interested in some screen shots I can provide some
of them, because they are quite complex web applications with advanced
features like cut & paste within the same page based on XSPs.

The online catalog:
http://www.easydeco.com/deco/decompras.html

And also some specific "Yellow-pages":
http://www.easydeco.com/deco/decoguia.html

We are working currently in some new projects which are about huge online
catalogs and the corresponding content factories, all based on QCatalog and 
Cocoon. I
will send a new mail when they are finished.


Greetings,

Santiago Pérez

P.D. I do confirm that the sites can be listed publicly


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




Tomcat-4.0 and Cocoon-2.0B2

2001-09-19 Thread Rajkumar, Joseph


Hi Folks
    I would like to know if anybody has got Tomcat-4.0
(the latest final release, not RC1 or RC2) working with
Cocoon-2.0B2.
   I have Tomcat-4.0RC1 working fine with Cocoon-2.0B2,
but I could not get Tomcat-4.0 working with Cocoon-2.0B2.
Thanks
Joseph Rajkumar
 


build failure

2001-09-19 Thread Don Smith

I am running Cocoon 2 successfully on Win2000 with Tomcat 3.2

My colleague has exactly the same setup, but cannot get Cocoon to build. 
The error messages occur during compiling of Cocoon classes. The errors 
are all methods not found in the javax interface.

Any ideas?

Don Smith


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

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




Re: cocoon with jetspeed

2001-09-19 Thread Paul Spencer

Thangadurai,
I am using Cocoon C2b1 with Jetspeed v1.3a2-dev.  In my environment
Cocoon is generating standard web  pages and soon graphs (SVG/JPEG) that
will be included as portlets in a Jetspeed.  Both Cocoon and Jetspeed
are running under the same instance of Tomcat 4.0-RC1.   Their is a plan
to integrate Cocoon2 into Jetspeed, but that has not been implemented
yet.

Paul Spencer

Thangadurai wrote:
> 
>  Is anybody using cocoon with jetspeed... is it possible...
> 
> - Thangadurai
> 
> -
> 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: esql nested query not working - 1.8.2

2001-09-19 Thread Christopher Painter-Wakefield


do you get a different error message when you leave out the quotes?




Please respond to [EMAIL PROTECTED]

To:   <[EMAIL PROTECTED]>
cc:

Subject:  Re: esql nested query not working - 1.8.2


I've tried it both with and without the single quote and it still doesn't
work.

Here is another clue - the nested query works if I run it against a MySQL
database, it just doesn't work against a Access database.

In a couple of months - we'll be converting the access database.  In the
meantime, is there a solution ( that will work with the access database )?

marty
- Original Message -
From: Christopher Painter-Wakefield <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 18, 2001 9:41 AM
Subject: Re: esql nested query not working - 1.8.2



Try removing the single quotes around 

I think by including the single quotes you are making a query that doesn't
use parameters (your where clause looks like "... Main.rid = '?' ", e.g.,
the literal string '?').

-Christopher




Please respond to [EMAIL PROTECTED]

To:   <[EMAIL PROTECTED]>
cc:

Subject:  esql nested query not working - 1.8.2




I would like to execute a nested query. When  I try to reference a
parameter from the ancestor query I get a  java.lang.RuntimeException:
Error setting parameter on statement : Select title  from Main where
Main.rid='?'

I would greatly appreciate any suggestions. I  have tried to emulate the
example esql - but I can not get it to pick up the  parameter. If I
hardcode the value - the nested query works.

In searching the list - I found a similar posting in January for this error
- but no suggestion/solution was posted.

I am running tomcat/cocoon 1.8.2 on Windows 98 and pointing to an access
database.

marty


I am attaching the related code below:






Select title from Main where Main.rid=''







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

2001-09-19 Thread Tony Goodwin

Take a look jmoz project @ sourceforge (Thanks Kevin O' Neill for that)

Its got a working example of a java based Generator if thats what you are
interested in
I have also got an example generator going which is using EJBs (using jboss)

Toughest parts of getting it going were classpath issues (putting cocoon and
its supporting jars in ejbjar) and some FOP issues (I'm presenting pick
lists/pack list etc in pdf format)

Also I used the jDom used in jmoz and it certainly makes job easier of
creating the XML

Tony
-Original Message-
From: Sergio Carvalho [mailto:[EMAIL PROTECTED]]
Sent: 06 August 2001 10:50
To: [EMAIL PROTECTED]
Subject: Re: [C2] Generator



A Cocoon Generator is a class that implements the
org.apache.cocoon.generation.Generator interface. The best examples are
Cocoon's
existing generators, all in the generation package. You may want to start by
subclassing AbstractGenerator and building from there.

There are better people out there to help you, but right now everyone seems
to be
on vacation. Hey, it's time to enjoy the sun!

On Mon, 6 Aug 2001 10:21:24 +0200, "arnaud De-brem"
<[EMAIL PROTECTED]> wrote:
--
>
> Hi,
>
> does anyone knows where to find more documentation about
> Generator in Cocoon2? I want to make a new Generator. Does anyone do that
> ???
> Where can I find examples or documentations ???
>
> For my new Generator, I want to pass a new XML to the  tag.
> This XML is create dynamically by the Generator
>
> Anyone can help me ??
>
> best regards
>
> Arnaud
>


--
Sergio Carvalho
---
[EMAIL PROTECTED]




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

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




[cocoon-users] Q: why empty java file?

2001-09-19 Thread Hubert NEOtyk Iwaniuk



hello,    why do i get:
 



Error found handling the request.
java.lang.ClassNotFoundException: _home._huberti._work._fp_xml._test6v2    when i look into repository length of _test6v2.java is 0.please help,    hubert.---Ausgehende Mail ist zertifiziert virenfrei.Uberpruft durch AVG Antivirus System (http://www.grisoft.com/de).Version: 6.0.265 / Virendatenbank: 137 - Erstellungsdatum: 2001-07-18



http://www.apach.org/1999/XSP/Core";
	xmlns:test6v2="http://office.ferienwelt.com.pl/DTD/XSP/test6v2";
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
	version="1.0">

	
		
			

			
			
		
	

	
		
			String t6v2_t_str = "zażółć gęślą jaźń";
		
		
			t6v2_t_str
		
	

	
		
	





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

	
		type="text/html"
		
			




			
			

	
		 
			
			
		
	
	
		
			
		
	
	 
		 
			version: 
			author: 
		
	

			
		
	






 








	
		polskie znaki
		Hubert NEOtyk Iwaniuk
		$Id: test6v2.xml,v 1.2 2001/09/19 13:32:24 huberti Exp $
		
	




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

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


Re: cocoon + jetspeed + content management

2001-09-19 Thread jose . camacho


 I've tired witht Prowler (infozone-group.org) but i think it ain't go
well. Anyone developes it. From bird's eye view it ain't finished, and
there is no documentation.

  regards, José Blas.


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

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




Re: cocoon + jetspeed + content management

2001-09-19 Thread Stephan Kassanke

I would be very interested too. We tried Zope but the overlapping of
functionality with Cocoon and the lacking support if you cut the Zope
features (DTML, ect.) are not very encouraging.

best regards,
Stephan


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 19, 2001 9:18 AM
Subject: cocoon + jetspeed + content management



  I'd like to know if anyone uses a content management repository. And how
do you manege contents in your portal or web app... if anyone has done it
...
  Regards, José Blas.


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




I need XmlDocument !

2001-09-19 Thread Aurelien

Hi,

In the installation requirements for cocoon 2 inside JBoss-Tomcat, it is 
said that all XML libraries that aren't Xerces need to be removed from 
the jboss/lib and tomcat/lib directories.

1) I'm using XmlDocument in many EJBs, so I need to have it; besides, I 
don't know why, but serializing an org.w3d.dom.Document with Xerces is 
INCREDIBLY complex !

2) some sun XML APIs are in j2ee.jar anyway, so what's the point here ?





Aurélien

PS: While I'm at it, I'm getting a TransformerFactory with a standard 
constructor, like so:
tFactory = new org.apache.xalan.processor.TransformerFactoryImpl ();
which isn't the standard way of doing this (normally you would have 
to use newInstance () on some abstract class).

Any clues ?

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




XForms

2001-09-19 Thread Henrik Hofmann








Hi,

 

I’m relativly new to Cocoon,
and try to evaluate which techniques can be used to work with cocoon.

 

We’re trying to use the cocoon architecture of 3
layers (data,content,style)
but this seems to be difficult to me when it comes to forms. 

 

Browsing through the web I found information about XForms, which seem to be client independent and make use of
the same 3 layer architecture. 

 

My Question is, if there’s already a way to use them
in Cocoon2. 

 

On the other side I would be interested about any ideas, to
use forms in this architecture in general. 

 

Important to me is that I can lock the Forms functionality
in layer 2 and change the style in layer 3, to be sure no matter how the form
will look like it will at least work correctly.

 

bye








Roll-out of www.mysuncatalogue.com

2001-09-19 Thread Michael Homeijer

Hi,

I am proud to announce a new site build with Cocoon 1.

In the coming months, www.mysuncatalogue.com will be rolled out in 55
countries in 13 languages.
(Meaning it will replace www.suncatalogue.com and links to the site will be
available from the various Sun sites, additional servers and
clustering/load-balancing will be implemented, possibly additional
performance and tuning and maybe a migration to C2 will take place).

The site is running on: Sun Solaris (of course), Oracle 8, Borland
Application Server, iPlanet Web Server. 

It's a dynamic site built with Cocoon 1 techniques (mainly xsp and xsl) in
combination with Enterprise Java Beans. 
Because of the multi-language and personalisation aspects of the site, all
data (including menu's, labels etc.) is retrieved from the database.

Based on the experience we have with Cocoon 1, we are now building a
framework and development procedures in which Cocoon 2 plays
a big part. 

Thnxs,

Michael Homeijer


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




Where is the database for the sql examples in the example Cocoon App

2001-09-19 Thread Antony Stace

Hi

Can someone please tell me where the database is which is used in the
example Cocoon Application.  The one which is used in the

"Simple SQL"
"ESQL"
and
"Protected Area"

examples.  I gather the database engine is hsqldb.jar, but I cannot find
the data which the examples seem to access.

Cheers

Tony

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

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




build.sh of coocon2 failed with classnotfound

2001-09-19 Thread Michael Bierenfeld

Hi there,

I am trying to update our framework to cocoon2. The problem is right now
that I cannot even install cocoon2. We are using tomcat4.0 + mod_webapp.

Every time I issue 
build.sh  -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_HOME/webapps
install

I receive class not found exceptions. $JAVA_HOME is set, $TOMCAT_HOME is
set, $ANT_HOME is set and so on

The first class was org.apache.tools.ant.taskdefs.optional.TraXLiason
this was resolved by coping ant_1.3ex.jar to $ANT_HOME/lib.

Now its ClassNotFoundException:
org.apache.crimson.jaxp.SAXParserFactoryImpl

Am I missing something ?

Regards

Michael

-
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: No method matching in inner class

2001-09-19 Thread Christian Haul

On 19.Sep.2001 -- 10:09 AM, cib wrote:
> Thanks for answering,
> unfortunately "signature does not match" sounds like a riddle to me.

Sorry cib, I thought it was obvious after I pulled the lines
together. You declare a method "main(String[] args)" and call "main()"
without arguments which is a totally different method, hence "no
matching method found". Remove the argument from your method
declaration and try again. You seem not to use it anyway.

BTW I always though that "main" is used only as an entry point for
when no other method could be specified. Often it just invokes the
constructor which does the real work. Therefore you don't really need
"main(String[])". Just call class methods or put the logic into a
constructor. 

> I'm trying to output an xsl and save it to the disk. As nobody knows how to
> do that I'm making a patchwork code of java bits I find anywhere: java
> classes are far beyond my capabilities: I'm only a postman.
> Thanks anyway.

I don't know if this works, but have you tried to use the cocoon:
protocol as source for a transformer? You might be able to obtain the
xsl through that.


   



   
   


I haven't worked with this before but I understand that this should be
a valid application for it.

This way you XSL is not saved but I presume that the original
intention was to use it in a transformation with cocoon.


> > On 17.Sep.2001 -- 10:16 PM, cib wrote:
> > > Thanks to Luis Gois for correcting the first part.
> > > it now says:
> > > "No method matching main() found in inner class
> > > org.apache.cocoon.www.pages.make1_xsp. make_xsl."
> > > (I really don't know why there is a space between make1_xsp. and
> make_xsl.
> > > Is it normal?)
> > >
> >
> > > class make_xsl {
> > >   public void main(String[] args) throws IOException {
> >
> > > anObject.main();
> >
> > The signature does not match.

Chris.

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

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

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




Re: jboss-tomcat-cocoon: authentication problem

2001-09-19 Thread Aurelien


Le mercredi 19 septembre 2001, à 10:40, Jesper Rasmussen a écrit :

> I have had the same problem and i know of at least one other.
> I know he solved by doing som hacking... I instaled a different version.
> And it went away, so i never quite knew what the problem was

Jesper,

Do you know what version ? Of JBoss, or of Cocoon ? Can you give me that 
other person's address ? I'm really stuck here !

Thank you,

Aurélien

-
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: jboss-tomcat-cocoon: authentication problem

2001-09-19 Thread Jesper Rasmussen

I have had the same problem and i know of at least one other.
I know he solved by doing som hacking... I instaled a different version.
And it went away, so i never quite knew what the problem was.

cheers
Jesper
http://xns.org/=JesperRasmussen
- May the source be with you, Linux -


On Wed, 19 Sep 2001, Aurelien wrote:

> Hi,
>
> I get the following error after successfully compiling and installing
> cocoon 2 on Jboss-Tomcat. Note that I also have the following line of
> output on my JBoss console:[EmbeddedTomcatSX] User: null is authenticated
>
> type internal-server-error
>
> message null
>
> description java.lang.NullPointerException
>
> sender org.apache.cocoon.servlet.CocoonServlet
>
> source Cocoon servlet
>
> request-uri
>
> /cocoon/
>
>
> exception
>
> java.lang.NullPointerException
>
>
> path-info
>
>
> stacktrace
>
> java.lang.NullPointerException
>   at
> org.jboss.tomcat.security.JBossSecurityMgrRealm.authenticate
> (JBossSecurityMgrRealm.java:113)
>   at
> org.apache.tomcat.core.ContextManager.doAuthenticate(ContextManager.java:837)
>   at
> org.apache.tomcat.core.RequestImpl.getRemoteUser(RequestImpl.java:341)
>   at
> org.apache.tomcat.facade.HttpServletRequestFacade.getRemoteUser
> (HttpServletRequestFacade.java:251)
>   at
> org.apache.cocoon.environment.http.HttpRequest.getRemoteUser(HttpRequest.java:
> 129)
>   at org.apache.cocoon.Cocoon.debug(Cocoon.java:374)
>   at org.apache.cocoon.Cocoon.process(Cocoon.java:422)
>   at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:489)
>   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:
> 797)
>   at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>   at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection
> (HttpConnectionHandler.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)
>
> -
> 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: No method matching in inner class

2001-09-19 Thread cib

Thanks for answering,
unfortunately "signature does not match" sounds like a riddle to me.
I'm trying to output an xsl and save it to the disk. As nobody knows how to
do that I'm making a patchwork code of java bits I find anywhere: java
classes are far beyond my capabilities: I'm only a postman.
Thanks anyway.

Cib

France, Bordeaux, xml and gay pride.
- Original Message -
From: "Christian Haul" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "cib" <[EMAIL PROTECTED]>
Sent: Monday, September 17, 2001 11:23 PM
Subject: Re: No method matching in inner class


> On 17.Sep.2001 -- 10:16 PM, cib wrote:
> > Thanks to Luis Gois for correcting the first part.
> > it now says:
> > "No method matching main() found in inner class
> > org.apache.cocoon.www.pages.make1_xsp. make_xsl."
> > (I really don't know why there is a space between make1_xsp. and
make_xsl.
> > Is it normal?)
> >
>
> > class make_xsl {
> >   public void main(String[] args) throws IOException {
>
> > anObject.main();
>
> The signature does not match.
>
> Chris.
>
> --
> C h r i s t i a n   H a u l
> [EMAIL PROTECTED]
> fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


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

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




cocoon + jetspeed + content management

2001-09-19 Thread jose . camacho


  I'd like to know if anyone uses a content management repository. And how
do you manege contents in your portal or web app... if anyone has done it
...
  Regards, José Blas.


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