xsp action sample doesn't work

2003-02-26 Thread joni santoso
Hi,

I tried the tutorial in wiki site. but it seemed not 
working. can anyone tell me why?

regards,

the message :

type fatal

message Language Exception

description org.apache.cocoon.ProcessingException: 
Language Exception: 
org.apache.cocoon.components.language.LanguageException: 
Could not load class for program 
'org\apache\cocoon\www\file_\C_\tomcat4112\webapps\cocoon\my_xsp_action_xsp' 
due to a java.lang.ClassNotFoundException: 
org.apache.cocoon.www.file_.C_.tomcat4112.webapps.cocoon.my_xsp_action_xsp

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace

org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: 
Could not load class for program 
'org\apache\cocoon\www\file_\C_\tomcat4112\webapps\cocoon\my_xsp_action_xsp' 
due to a java.lang.ClassNotFoundException: 
org.apache.cocoon.www.file_.C_.tomcat4112.webapps.cocoon.my_xsp_action_xsp
	at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:340)
	at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:292)
	at 
org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:198)
	at 
org.apache.cocoon.acting.ServerPagesAction.act(ServerPagesAction.java:172)
	at 
org.apache.cocoon.www.file_.C_.tomcat4112.webapps.cocoon.sitemap_xmap.matchN400460(C:\tomcat4112\work\Standalone\localhost\cocoon\cocoon-files\org/apache/cocoon/www/file_/C_/tomcat4112/webapps/cocoon\sitemap_xmap.java:5187)
	at 
org.apache.cocoon.www.file_.C_.tomcat4112.webapps.cocoon.sitemap_xmap.process(C:\tomcat4112\work\Standalone\localhost\cocoon\cocoon-files\org/apache/cocoon/www/file_/C_/tomcat4112/webapps/cocoon\sitemap_xmap.java:3442)
	at 
org.apache.cocoon.www.file_.C_.tomcat4112.webapps.cocoon.sitemap_xmap.process(C:\tomcat4112\work\Standalone\localhost\cocoon\cocoon-files\org/apache/cocoon/www/file_/C_/tomcat4112/webapps/cocoon\sitemap_xmap.java:3199)
	at 
org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
	at 
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
	at 
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
	at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
	at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at 
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
	at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
	at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
	at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
	at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
	at java.lang.Th

Re: Xindice query does not produce data that is in a CDATA section

2003-02-26 Thread Yury Mikhienko
On Wed, 26 Feb 2003 09:22:09 -0800 (PST)
[EMAIL PROTECTED] wrote:

> Yuri,  I currently use v 1.0

I use v1.1 (from CVS) and cocoon v2.0.4,
and XML data  in CDATA section are retrived properly.

for example:

in document, stored in Xindice I have the next section:

the cocoon's XMLDBSource component retrive the following data: 


I beleve it is right.

> 
> Holger
> 
> On Wed, 26 Feb 2003, Yury Mikhienko wrote:
> 
> > 
> > On Tue, 25 Feb 2003 16:31:56 -0800 (PST)
> > [EMAIL PROTECTED] wrote:
> > 
> > > Dear all,
> > > 
> > > I am retrieving XML data from Xindice via Cocoon.
> > > Everything is retrieved OK except what's in a CDATA
> > > section - this is completely missing and Cocoon
> > returns
> > > this tag as an empty tag, e.g. 
> > > 
> > > However, when I retrieve the data with an XPath
> query
> > > from the Xindice command line, CDATA is returned ??
> > > 
> > > Any ideas ??
> > > 
> > > This is my pipeline fragment:
> > > 
> > >> >
> >
> src="xmldb:xindice://localhost:4080/db/EMKnowledgeObjects/#/{1}"/>
> > >   
> > > 
> > > 
> > 
> > What is the version Xindice you use?
> > 
> > 
> > -- 
> >  
> > Best regards,
> > Yury Mikhienko.
> > IT engineer, ZAO "Mobicom-Kavkaz"
> > 
> >
> -
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> 
> ___
> The ALL NEW CS2000 from CompuServe
>  Better!  Faster! More Powerful!
>  250 FREE hours! Sign-on Now!
>  http://www.compuserve.com/trycsrv/cs2000/webmail/
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"

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



Problem with AuthenicationManager in 2.1 dev

2003-02-26 Thread Alex Romayev
Hi,

I'm using the lastest build and having problems using
authentication-fw.  The error I'm getting is:

Could not find component (role
[org.apache.cocoon.webapps.authentication.components.AuthenticationManager])

Has anyone seen this?  Have there been any changes
lately that I likely to cause this error?

Thanks,
-Alex

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



2.1 build fails

2003-02-26 Thread Alex Romayev
Hi I tried running today's build without any changes
and got the following error:

BUILD FAILED
file:///C:/dev/xml-cocoon-2.1-dev/build.xml:610:
IOException: java.io.FileNotFoundException:
C:\dev\xml-cocoon-2.1-dev\b
uild\webapp\samples\sitemap.xmap (The system cannot
find the path specified)

Cheers,
-Alex

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




Re: cinclude transformer VERY slow

2003-02-26 Thread Josema Alonso
Dear Martin,

You were absolutely right. The DTDs were not being resolved locally. Once I
updated the catalog adding the Docbook stuff, everything went back to
normal.

Sometimes I still feel Cocoon is too big... there are some components I
haven't used yet... and I've been using Cocoon for almost a couple years
now...

Thank you very much for your help :-)


- Original Message -
From: "Martin Holz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 26, 2003 9:16 AM
Subject: Re: cinclude transformer VERY slow


> How long does the FileGenerator need for each of the  documents?
> I guess the cinclude generator needs slightly longer than the sum
> of the FileGenerators execution times. A xml parser will read
> all of the DTD, even if it is not validating. Are you sure, you are
> reading a local copy of the DTD?
> Have a look at org.apache.cocoon.components.resolver.ResolverImpl.
> Did you add the Docbook to the catalog? Proper entity resolving can really
> boost cocoon performance.
> How large is the Docbook-DTD? Maybe a caching EntityResolver helps.
>
> Martin




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



Re: cinclude transformer VERY slow

2003-02-26 Thread Martin Holz
"Josema Alonso" <[EMAIL PROTECTED]> writes:

> Replying to myself but still haven't found a good explanation...
> 
> The *.news.xml docs I mentioned in my previous message are Docbook articles.
> All of them have the doctype declaration for the Docbook article DTD:
>  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>
> 
> I removed the declaration and everything went fine.
> 
> I thought that maybe it was trying to validate the articles and retrieving
> the DTD remotely, but I switched to a local copy of the DTD and the problem
> is still the same.
> 
> By now, I have removed the doctype declarations, but this is just a quick
> workaround. I do not know what's going on...still investigating...

How long does the FileGenerator need for each of the  documents?
I guess the cinclude generator needs slightly longer than the sum
of the FileGenerators execution times. A xml parser will read
all of the DTD, even if it is not validating. Are you sure, you are 
reading a local copy of the DTD? 
Have a look at org.apache.cocoon.components.resolver.ResolverImpl. 
Did you add the Docbook to the catalog? Proper entity resolving can really
boost cocoon performance. 
How large is the Docbook-DTD? Maybe a caching EntityResolver helps.

Martin

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



Re: Unable to run cocoon-2.1-dev on tomcat 4.1.18

2003-02-26 Thread Alex Romayev
I've changed my environment from jdk1.3 to 1.4.1 and
everything worked!  One thing I noticed thought that
my jdk1.3 had xml libraries in it's endorsed
directory... not sure if this was the issue.

--- Richard In Public <[EMAIL PROTECTED]>
wrote:
> Hi Alex
> 
> Are you running tomcat as a service?  If so, try
> running it from the command
> line using the appropriate batch file
> (%CATALINA_HOME%\bin\startup.bat for
> windows).
> 
> If this helps, see my earlier post on this subject:
>
http://www.mail-archive.com/[EMAIL PROTECTED]/msg24914.html
> 
> Regards,
> 
> Richard
> 
> - Original Message -
> From: "Alex Romayev" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 26, 2003 12:47 AM
> Subject: Unable to run cocoon-2.1-dev on tomcat
> 4.1.18
> 
> 
> > Hello,
> >
> > I'm unable to run cocoon-2.1-dev on tomcat 4.1.18
> --
> > it seems to be crashing tomcat without any error
> > messages.
> >
> > Here is what I've done:
> >
> > -Downloaded and installed tomcat 4.1.18
> > -Started tomcat -- worked fine
> > -Downloaded and built cocoon-2.1-dev with
> scratchpad
> > and no blocks
> > -Copied cocoon files into webapps/cocoon directory
> > -Started tomcat -- it looks like tomcat tries to
> load
> > cocoon and abruptly exits.  There are no errors in
> > tomcat log files.
> >
> > I've tried replacing xalan, xerces and xmlapis
> jars
> > with those from cocoon in tomcat's common/endorsed
> > directory, but that doesn't seem to make any
> > difference.
> >
> > Has anyone seen this behaviour?
> >
> > Thanks,
> > -Alex
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


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



RE: sitemap and {session:locale} for i18n?

2003-02-26 Thread Stephane Amaudruz
First,a s you are using input module, you must ensure that they are declared
in your Cocoon.xconf.

Second the session input module allows you to access session properties,
such as creationTime, id, lastAccessedTime and so on.

I think that if you want to access attribute, you must use the session
atribute input module instead.

Hope this help.

Steph.

SAM Development, Stephane Amaudruz
E-Mail: [EMAIL PROTECTED]




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



Re: Problem on start !

2003-02-26 Thread robert
 I am using Tomcat 4.0.6..

Sean McKaharay wrote:

First thing Robert,
 
What server are you running on (i.e. tomcat, resin, jetty..). You need to
look that you don't have an old version of SAX parser in the lib directory of
the server. Sometimes the SAX parser it will try to use is the one in the lib
directory of the Server.
 
 

	-Original Message- 
	From: robert [mailto:[EMAIL PROTECTED] 
	Sent: Wed 2/26/2003 2:11 PM 
	To: [EMAIL PROTECTED] 
	Cc: 
	Subject: Problem on start !
	
	

When I call the cocoon (http://localhost:8080/cocoon) I get the
follow
error:


=
message SAX2 driver class org.apache.xerces.parsers.SAXParser not
found

description java.lang.ClassNotFoundException:
org.apache.xerces.parsers.SAXParser

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet


somebody can I help me ?!?!?!

Thanks..


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




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


RE: Problem on start !

2003-02-26 Thread Sean McKaharay
First thing Robert,
 
What server are you running on (i.e. tomcat, resin, jetty..). You need to
look that you don't have an old version of SAX parser in the lib directory of
the server. Sometimes the SAX parser it will try to use is the one in the lib
directory of the Server.
 
 

-Original Message- 
From: robert [mailto:[EMAIL PROTECTED] 
Sent: Wed 2/26/2003 2:11 PM 
To: [EMAIL PROTECTED] 
Cc: 
Subject: Problem on start !



When I call the cocoon (http://localhost:8080/cocoon) I get the
follow
error:


=
message SAX2 driver class org.apache.xerces.parsers.SAXParser not
found

description java.lang.ClassNotFoundException:
org.apache.xerces.parsers.SAXParser

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet


somebody can I help me ?!?!?!

Thanks..


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





Problem on start !

2003-02-26 Thread robert
When I call the cocoon (http://localhost:8080/cocoon) I get the follow 
error:

=
message SAX2 driver class org.apache.xerces.parsers.SAXParser not found
description java.lang.ClassNotFoundException: 
org.apache.xerces.parsers.SAXParser

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

somebody can I help me ?!?!?!

Thanks..

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


AW: and JAVA sessions

2003-02-26 Thread Marco Rolappe
from within an XSP you can have a session be created by specifying the
's attribute @create-session="true" (this is handled by the
session logicsheet. this way a session will be created if it didn't yet
exist.

problems can occur with these sessions, though; sessions created by the
session logicsheet from within the XSP are created when actual generation
begins, i.e. after pipeline setup. thus, transformers in the pipeline (for
which the XSP is the generator) won't see the session instantly.

your safest bet is to create the session before the generator step (e.g. via
an action) and have the generator access this one via the session
logicsheet.

> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Auftrag von [EMAIL PROTECTED]
> Gesendet: Mittwoch, 26. Februar 2003 12:38
> An: [EMAIL PROTECTED]
> Betreff:  and JAVA sessions
>
>
> What is the difference between these two sessions??? :
>
>
> JAVA session:
> 
>  org.apache.cocoon.environment.Session
> 
> ...
> 
>  Session session = null;
>  ...
>  session = request.getSession(true);
>  session.setAttribute("user",user);
> ...
> 
>
> --
>
> XSP SESSION:
>   xmlns:xsp="http://apache.org/xsp";
>  xmlns:session="http://apache.org/xsp/session/2.0";
> >
> ...
>  name="user">user
> ...
>
>
>
> Is there a way to create and set a JAVA session and then get an
> attribute with session-xsp, like
> 
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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



Re: Xindice query does not produce data that is in a CDATA section

2003-02-26 Thread hgadm
Yuri,  I currently use v 1.0

Holger

On Wed, 26 Feb 2003, Yury Mikhienko wrote:

> 
> On Tue, 25 Feb 2003 16:31:56 -0800 (PST)
> [EMAIL PROTECTED] wrote:
> 
> > Dear all,
> > 
> > I am retrieving XML data from Xindice via Cocoon.
> > Everything is retrieved OK except what's in a CDATA
> > section - this is completely missing and Cocoon
> returns
> > this tag as an empty tag, e.g. 
> > 
> > However, when I retrieve the data with an XPath
query
> > from the Xindice command line, CDATA is returned ??
> > 
> > Any ideas ??
> > 
> > This is my pipeline fragment:
> > 
> >  >
>
src="xmldb:xindice://localhost:4080/db/EMKnowledgeObjects/#/{1}"/>
> > 
> > 
> > 
> 
> What is the version Xindice you use?
> 
> 
> -- 
>  
> Best regards,
> Yury Mikhienko.
> IT engineer, ZAO "Mobicom-Kavkaz"
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]

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





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



toujours les mêmes

2003-02-26 Thread Cedric Claus
travail ou plaisir ?

"Le PDG d'un grand groupe multinational déambule dans son bureau de 120 
m2 emmerdé par l'ennui d'une nouvelle journée de glande. Après avoir 
consulté ses mails de cul illustrés, le cours du CAC40 et quelques 
minutes de loft story sur le net, il décide d'appeler son vice-président 
(plongé dans une partie de tétris en réseau). Une fois dans le bureau, 
il lui dit :
- Ecoutez, j'ai une terrible préoccupation à propos de mon épouse ... Je 
me demande si le fait de lui faire l'amour est une question de travail 
ou est-ce que c'est juste une question de plaisir ?
Le Vice-président embarrassé, lui répond sans trop se mouiller :
- Franchement, je n'ai aucune idée M. Le Président.
- Vous avez une heure pour me donner la réponse!" ordonne le PDG.
Le Vice-président court voir son Vice-président adjoint (qui lisait 
l'Équipe tranquillement dans son bureau de 60m2) et lui pose le problème :
- Une question, si notre cher Président se tape sa femme, à ton avis, 
c'est une affaire de travail ou c'est juste pour le plaisir ?
- Alors là, j'en sais rien ? lui répond-il.
- Tu as 55 minutes pour me répondre !! Le Vice-président adjoint va voir 
son directeur financier (en pause-café)...
- Si notre président saute sa chérie, c'est du travail ou du plaisir ?
- Financièrement, le coût est nul, je ne peux donc pas répondre ...
- T'as 45 minutes ... Celui-ci va voir son chef de département (en
réunion), qui à son tour va voir un de ses chefs de projets (le seul qui 
n'est pas en RTT)...
- Si le vieux baise sa meuf ? , C'est du taf ou c'est juste pour le fun ?
- J'en sais rien !
- 20 minutes
Le chef de projet va voir donc un de ses responsables techniques qui en 
dernier recours va demander à l'un de ses sous-fifres en pleine période 
de bourre, avec dix cahiers des charges sur la table, trois mois de 
boulot sur le dos, pleins de doc. à rédiger, la messagerie qui fume, le 
téléphone qui sonne sans arrêt ...
- Oh ! Le presta ! Une question !
- Pas maintenant, je suis dans le taf jusqu'au cou, j'ai pas le temps, 
j'ai plein de trucs à faire !
- C'est super urgent !! Il faut que tu répondes.
- Vas-y !, C'est quoi ? Demande le grouillot.
- Si le Big Boss fourre sa pouf, c'est du boulot ou du plaisir ?
- Arrête, trop facile, c'est du plaisir ! Affirme le prestataire.
- Attends ! Comment tu peux savoir aussi vite ? Le prestataire répond 
indigné :
- Dans cette boîte, si jamais c'était du boulot, c'est moi qui serais en 
train de me la taper !!!"



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


Undeclared Prefix Issue

2003-02-26 Thread Collin VanDyck
I'm using XSPUtil.includeString() to bring in some external XML into my
source XML tree before I apply my transforms.  This involves me assigning
the XML to a string variable, and then including it as such:

String xmlString = xmlDataValue.getXMLData();
XSPUtil.includeString(xmlString ,this.manager, this.contentHandler);

This works beautifully when I am brining in XML without namespace prefixes.
However, much of the XML that we handle within our system consists of XSL
stylesheets, which of course carry the  prefix.  When I try and
bring that kind of XML into my XSP page as I am building the source tree, I
get the following error:

An error occurredorg.apache.cocoon.ProcessingExceptionUndeclared prefix in
name: "xsl:style".org.apache.cocoon.ProcessingException: Exception in
ServerPagesGenerator.generate():
org.apache.avalon.framework.CascadingRuntimeException: Could not include
page-11null Original exception :
org.apache.avalon.framework.CascadingRuntimeException: Could not include
page at
org.apache.cocoon.components.language.markup.xsp.XSPUtil.includeInputSource(
XSPUtil.java:363) at
org.apache.cocoon.components.language.markup.xsp.XSPUtil.includeString(XSPUt
il.java:340) at
org.apache.cocoon.www.tasks.docs.preview.entity.stylesheet_xsp.generate(Z:\j
boss-3.0.4_tomcat-4.1.12\tomcat-4.1.x\work\MainEngine\localhost\admin\cocoon
-files\org/apache/cocoon/www/tasks/docs/preview/entity\stylesheet_xsp.java:4
36)
at
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenera
tor.java:258) at

In my XSP, I have included the xsl namespace with the  attribute:

xmlns:xsl=http://www.w3.org/1999/XSL/Transform

but that still does not work.  I'd appreciate any input on how to be able to
bring in any valid xml.  I would rather use this XSP solution of using
XSPUtil than creating a sitemap aggregation setup.

Many thanks,
Collin



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



RE: Cocoon2: Logger required?

2003-02-26 Thread Matthew Langham
Uwe,

> > Hello,
> > can I configure Cocoon2 so that it doesn't use the logger?
> >
>
> Cocoon logging can be configured in the file WEB-INF/logkit.xconf.
>
> Usually for deployment the log-levels are set to ERROR (instead of
> DEBUG).
>

What Bruno means is - why do you want to turn the logger off? If it is
because there is too much output - then change the configuration to ERROR
instead of DEBUG.

Matthew

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



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



Re: Cocoon2: Logger required?

2003-02-26 Thread Bruno Dumon
On Wed, 2003-02-26 at 14:00, Uwe Gerger wrote:
> Hello,
> can I configure Cocoon2 so that it doesn't use the logger?
> 

Cocoon logging can be configured in the file WEB-INF/logkit.xconf.

Usually for deployment the log-levels are set to ERROR (instead of
DEBUG).

-- 
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]


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



RE: 2.1 CVS build

2003-02-26 Thread Matthew Langham
If you need up-2-the-minute information on this - YES! There is lot's of
movement in the build system at the moment and things are looking better by
the minute (really).

Matthew

> -Original Message-
> From: Ryan Hoegg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 4:49 PM
> To: [EMAIL PROTECTED]
> Subject: 2.1 CVS build
>
>
> Hello,
>
> I've heard echoes around here that the build system for 2.1 is in a
> state of flux right now.  How can I stay abreast of the changes?  Is
> this something for which I need to be on the Cocoon-dev list?
>
> --
> Ryan Hoegg
> ISIS Networks
> http://www.isisnetworks.net
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



2.1 CVS build

2003-02-26 Thread Ryan Hoegg
Hello,

I've heard echoes around here that the build system for 2.1 is in a 
state of flux right now.  How can I stay abreast of the changes?  Is 
this something for which I need to be on the Cocoon-dev list?

--
Ryan Hoegg
ISIS Networks
http://www.isisnetworks.net
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


FIXED: Return value from Oracle Stored Procedure

2003-02-26 Thread Nigel Shrieves



Works 
if I change 
 

 
to
 

 
Must 
be testing what the return type is as we use this same stored procedure in PHP 
and it returns a string

  ## 
  Cannot get a 
  return value from the following:
   
     
  
   
     
  {call iauth_user_process.is_valid_authlogin(   
  p_authlogin,   
  p_authpassword,   
  p_clientipaddress,   
  p_secure,   
  p_session,   
  p_siteid,   
  )}   
  
   
     
        
   
     
  
   
  The error log 
  is:
   
  org.apache.avalon.framework.CascadingRuntimeException: 
  Error getting ascii data for column 7
   
  Regards
   
  Nigel
   
   
   
  ---Outgoing mail is certified Virus Free.Checked by 
  AVG anti-virus system (http://www.grisoft.com).Version: 6.0.449 / Virus 
  Database: 251 - Release Date: 27/01/03
  ---Incoming mail is certified Virus Free.Checked by 
  AVG anti-virus system (http://www.grisoft.com).Version: 6.0.449 / Virus 
  Database: 251 - Release Date: 27/01/03


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/03
 


RE: JPEG/PNG IN IE???

2003-02-26 Thread Derek Hohls



how about setting the size of svg to match its largest boundary -
svg pictures are not "automagically" sized correctly as for 
jpeg>>> [EMAIL PROTECTED] 25/02/2003 07:57:15 
>>>Good news!  I originally saved the svg file with an "xml" 
extension.  I renamed it with the "svg" extension and it works!  But 
the problem now is that the picture is "cut off"  In Spy, it shows the 
entire svg, but not in ANY browser.Ideas?    
-Original Message-     From: Derek Hohls [mailto:[EMAIL PROTECTED] 
    Sent: Mon 2/24/2003 11:18 PM     To: 
[EMAIL PROTECTED]     Cc:     
Subject: RE: JPEG/PNG IN IE???        
    Sam        OK - 
what does your sitemap look like i.t.o. the    pipeline 
related to the SVG?  Also, you can try    and display 
the SVG via an  tag embedded    in an HTML 
page...  I have never tried with "pure"     SVG and I 
know IE is sometimes very sticky about    displaying non-HTML 
files (eg. to get a PDF output    to work I had to use a .pdf 
extension in the URI?!)        
Derek        >>> 
[EMAIL PROTECTED] 24/02/2003 07:47:31 >>>    
Thank you for the reply!        I have an 
application that generates SVG files (well-formed XML).  I am trying to 
pass the "pure" SVG file to the Cocoon svg2jpeg (or svg2png) serializer and on 
to the client (IE).  I'm using IE ver 6.0 w/ SP1.    
    Sam        
-Original Message-    From: Derek Hohls [mailto:[EMAIL PROTECTED] 
    Sent: Sunday, February 23, 2003 11:15 
PM    To: [EMAIL PROTECTED]    
Subject: Re: JPEG/PNG IN IE???        
Sam        Are you trying to deliver 
"pure" SVG or are you    embedding it is an object in HTML 
page (and, if    so, how) - also, what version of IE are you 
using?        Derek    
    >>> [EMAIL PROTECTED] 24/02/2003 07:36:09 
>>>    Ok...I'm trying to get cocoon to deliver 
(serialize) and (SVG) XML    document.  It works okay in 
Netscape and Amaya (except the sides are    "cut off".  
But in IE (6.0) I just get a white screen with the little    
"x" in the corner...        I checked the 
archives but didn't see the same problem...Any Ideas?    
...please...        Thank 
you,    Sam        
-    
To unsubscribe, e-mail: 
[EMAIL PROTECTED]    For additional 
commands, e-mail: [EMAIL PROTECTED]    
    
-    
To unsubscribe, e-mail: 
[EMAIL PROTECTED]    For additional 
commands, e-mail: [EMAIL PROTECTED]    
    -- This message has been scanned for 
viruses and dangerous content by MailScanner  , and 
is believed to be clean. "The CSIR exercises no editorial control over 
E-mail messages and/or attachments thereto/links referred to therein 
originating in the organisation and the views in this message/attachments 
thereto are therefore not necessarily those of the CSIR and/or its 
employees. The sender of this e-mail is, moreover, in terms of the CSIR's 
Conditions of Service, subject to compliance with the CSIR's internal E-mail 
and Internet Policy." -- 
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

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



RE: Cocoon2: Logger required?

2003-02-26 Thread Schaper, Christoph
Sorry, was a bit quick apparently 
Looks like this avalon feature (to choose the logging framework you want to
use, including eg the NullLogger) has not been reflected (yet) in Cocoon 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Return value from Oracle Stored Procedure

2003-02-26 Thread Nigel Shrieves



Cannot get a return 
value from the following:
 
   

 
   
{call iauth_user_process.is_valid_authlogin(   
p_authlogin,   
p_authpassword,   
p_clientipaddress,   
p_secure,   
p_session,   
p_siteid,   
)}   

 
   
      
 
   

 
The error log 
is:
 
org.apache.avalon.framework.CascadingRuntimeException: 
Error getting ascii data for column 7
 
Regards
 
Nigel
 
 
 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/03
 


Re: Unable to run cocoon-2.1-dev on tomcat 4.1.18

2003-02-26 Thread Richard In Public
Hi Alex

Are you building the cocoon.war file and placing it in the
%catalina_home%/webapps directory?

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

Richard


- Original Message -
From: "Alex Romayev" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 26, 2003 2:00 PM
Subject: Re: Unable to run cocoon-2.1-dev on tomcat 4.1.18


> Hi Richard,
>
> Thanks for you help.  I've tried copying the libraries
> and I start using startup.bat, but this doesn't seem
> to be helping me.  Do you have any other ideas?
>
> Thanks,
> -Alex
>
> --- Richard In Public <[EMAIL PROTECTED]>
> wrote:
> > Hi Alex
> >
> > Are you running tomcat as a service?  If so, try
> > running it from the command
> > line using the appropriate batch file
> > (%CATALINA_HOME%\bin\startup.bat for
> > windows).
> >
> > If this helps, see my earlier post on this subject:
> >
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg24914.html
> >
> > Regards,
> >
> > Richard
> >
> > - Original Message -
> > From: "Alex Romayev" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, February 26, 2003 12:47 AM
> > Subject: Unable to run cocoon-2.1-dev on tomcat
> > 4.1.18
> >
> >
> > > Hello,
> > >
> > > I'm unable to run cocoon-2.1-dev on tomcat 4.1.18
> > --
> > > it seems to be crashing tomcat without any error
> > > messages.
> > >
> > > Here is what I've done:
> > >
> > > -Downloaded and installed tomcat 4.1.18
> > > -Started tomcat -- worked fine
> > > -Downloaded and built cocoon-2.1-dev with
> > scratchpad
> > > and no blocks
> > > -Copied cocoon files into webapps/cocoon directory
> > > -Started tomcat -- it looks like tomcat tries to
> > load
> > > cocoon and abruptly exits.  There are no errors in
> > > tomcat log files.
> > >
> > > I've tried replacing xalan, xerces and xmlapis
> > jars
> > > with those from cocoon in tomcat's common/endorsed
> > > directory, but that doesn't seem to make any
> > > difference.
> > >
> > > Has anyone seen this behaviour?
> > >
> > > Thanks,
> > > -Alex
> > >
> > >
> >
> -
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > >
> >
> >
> >
> -
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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



Re: Unable to run cocoon-2.1-dev on tomcat 4.1.18

2003-02-26 Thread Alex Romayev
Hi Richard,

Thanks for you help.  I've tried copying the libraries
and I start using startup.bat, but this doesn't seem
to be helping me.  Do you have any other ideas?

Thanks,
-Alex

--- Richard In Public <[EMAIL PROTECTED]>
wrote:
> Hi Alex
> 
> Are you running tomcat as a service?  If so, try
> running it from the command
> line using the appropriate batch file
> (%CATALINA_HOME%\bin\startup.bat for
> windows).
> 
> If this helps, see my earlier post on this subject:
>
http://www.mail-archive.com/[EMAIL PROTECTED]/msg24914.html
> 
> Regards,
> 
> Richard
> 
> - Original Message -
> From: "Alex Romayev" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 26, 2003 12:47 AM
> Subject: Unable to run cocoon-2.1-dev on tomcat
> 4.1.18
> 
> 
> > Hello,
> >
> > I'm unable to run cocoon-2.1-dev on tomcat 4.1.18
> --
> > it seems to be crashing tomcat without any error
> > messages.
> >
> > Here is what I've done:
> >
> > -Downloaded and installed tomcat 4.1.18
> > -Started tomcat -- worked fine
> > -Downloaded and built cocoon-2.1-dev with
> scratchpad
> > and no blocks
> > -Copied cocoon files into webapps/cocoon directory
> > -Started tomcat -- it looks like tomcat tries to
> load
> > cocoon and abruptly exits.  There are no errors in
> > tomcat log files.
> >
> > I've tried replacing xalan, xerces and xmlapis
> jars
> > with those from cocoon in tomcat's common/endorsed
> > directory, but that doesn't seem to make any
> > difference.
> >
> > Has anyone seen this behaviour?
> >
> > Thanks,
> > -Alex
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


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



Re: Cocoon2: Logger required?

2003-02-26 Thread Uwe Gerger
Is this a class wich I have to specify in the web-xml file ?

Thanks
Uwe

[EMAIL PROTECTED] schrieb:
> 
> You can configure the NullLogger (see in avalon framework), if this is what
> you want to do.
> 
> -Original Message-
> From: Uwe Gerger [mailto:[EMAIL PROTECTED]
> Sent: 26 February 2003 14:01
> To: [EMAIL PROTECTED]
> Subject: Cocoon2: Logger required?
> 
> Hello,
> can I configure Cocoon2 so that it doesn't use the logger?
> 
> Thanks
> 
> --
> Uwe Gerger_/_/_/   _/_/  _/_/
> BMW AG, TG-53 IT-Technologie _/   _/  _/_/_/_/  _/_/
> 80788 Muenchen  _/_/_/   _/ _/ _/  _/ _/ _/
> Tel: +49 89 382 35687  _/   _/  _/_/  _/_/_/_/
> Fax: +49 89 382 49040 _/_/_/   _/_/  _/_/
> mailto:[EMAIL PROTECTED]
> 
> Any e-mail message from the European Central Bank (ECB) is sent in good faith but 
> shall neither be binding nor construed as constituting a commitment by the ECB 
> except where provided for in a written agreement.
> This e-mail is intended only for the use of the recipient(s) named above. Any 
> unauthorised disclosure, use or dissemination, either in whole or in part, is 
> prohibited.
> If you have received this e-mail in error, please notify the sender immediately via 
> e-mail and delete this e-mail from your system.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Uwe Gerger_/_/_/   _/_/  _/_/
BMW AG, TG-53 IT-Technologie _/   _/  _/_/_/_/  _/_/
80788 Muenchen  _/_/_/   _/ _/ _/  _/ _/ _/
Tel: +49 89 382 35687  _/   _/  _/_/  _/_/_/_/
Fax: +49 89 382 49040 _/_/_/   _/_/  _/_/
mailto:[EMAIL PROTECTED]begin:vcard 
n:Gerger;Uwe Gerger
tel;work:089 382 35687
x-mozilla-html:FALSE
org:BMW AG;TG-53
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.-Ing. (FH)
adr;quoted-printable:;;Helene-Mayer-Ring 4=0D=0A=0D=0A01.03/075.0-8;München;Bayern;80809;Bundesrepublik Deutschland
fn:Uwe Gerger
end:vcard

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

Re: unable to run cocoon2 on tomcat

2003-02-26 Thread Alex Romayev
Hi Kieran,

This seems to be related to the problem I'm having,
the the message:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg25061.html.

By just doing simple comparison, I don't think it's
tomcat versions, as you're using 4.0.1 and I've had
problems with both 4.1.12 and 4.1.18.

What is similar is that we  both have win2k prof. and
jdk 1.3.

I'm going to try to migrate to jdk 1.4.  I'll let you
know if this helps.

Cheers,
-Alex
b
--- Kieran Kirwan <[EMAIL PROTECTED]> wrote:
> Dear All,
> 
> i've installed-
>   - jdk1.3.1_01
>   - jakarta-tomcat-4.0.1.exe
> ...and it's all running fine - i get the
> http://localhost:8080/index.html
> page no problem.however
> ...when i copy cocoon.war (extracted from
> cocoon-2.0.1-bin.zip) and try
> http://localhost:8080/cocoon/ all i get is the
> directory listing
> 
> - i don't think the servlet container is compiling
> cocoon when i restart
> tomcat
> - all i'm getting is 
>   
>   Starting service Tomcat-Standalone
>   Apache Tomcat/4.0.1
>   Starting service Tomcat-Apache
>   Apache Tomcat/4.0.1
> 
> 
>   can anybody help - i've got windows2000
> professional if that helps
>- it all worked fine on my last machine.
> 
>   Thanks,
>   - Kieran Kirwan
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


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



Re: Axis as Cocoon component?

2003-02-26 Thread Marcus Crafter
Hi Alexander,

On Wed, Feb 26, 2003 at 02:20:08PM +0100, Alexander Enns wrote:
> Hi all,
> 
> is there any trial to integrate Axis engine in Cocoon?

Axis is integrated into Cocoon via the AxisRPCReader, which exists
currently in Cocoon's CVS scratchpad. Essentially, it allows Cocoon to
serve SOAP requests, via Axis.

> To have possibility to use Cocoon component model from web services code?

Do you mean utilize the Avalon component model from within your web
services code ?

This is possible with and without Cocoon, depending on what you want 
to do. Have a look at the sample webservices in scratchpad, 
especially the instrument service which uses an Avalon component as a 
webservice object.

Hope that helps.

Cheers,

Marcus

-- 
.
 ,,$,  Marcus Crafter
;$'  ':Computer Systems Engineer
$: :   ManageSoft GmbH
 $   o_)$$$:   82-84 Mainzer Landstrasse
 ;$,_/\ &&:'   60327 Frankfurt Germany
   ' /( &&&
   \_'
  .
&&&:

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



Re: WG: Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread Michael Melhem
On Wed, Feb 26, 2003 at 12:46:56PM +0100, Scherler, Thorsten wrote:
> Hello group,
>  
> is there a way to integrate our scheduler into a cocoon app without installing the 
> whole wyona cms dist.?

The avalon cornerstone scheduler already comes with cocoon2.1. Why do we
need another scheduler ?

ContinuationsManagerImpl.java uses this scheduler for example.

Regards,
Michael
>  
> Please have a look on the following mail!
>  
> Thank you very much!
>  
> -Urspr?ngliche Nachricht-
> Von: MAHE Vincent FTRD/DIH/REN [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 26. Februar 2003 12:41
> An: [EMAIL PROTECTED]
> Betreff: RE: Is there any way to use a scheduler with Cocoon ?
> 
> 
> Hello,
>  
> Yes but I need to install the whole Wyona whereas I'm only interested in the 
> scheduler.
> My webapp has nothing to do with a Content Management and Publishing System.
>  
> I just want to use the scheduler of Wyona in my webapp ... do you have any simple 
> integration example ?
>  
> Vincent
> 
> -Message d'origine-
> De : Scherler, Thorsten [mailto:[EMAIL PROTECTED]
> Envoy? : mercredi 26 f?vrier 2003 11:15
> ? : [EMAIL PROTECTED]
> Objet : AW: Is there any way to use a scheduler with Cocoon ?
> 
> 
> Hello Vincent,
>  
> http://www.wyona.org/docs/xdocs/scheduler.html
>  
> wyona is a Open Source CMS and based on Cocoon and Java. 
>  
> Just have a look.
>  
> p.s. It will hopefully become lenya in the near future and part of ASF
>  
> King regards
> Thorsten
>  -Urspr?ngliche Nachricht-
> Von: MAHE Vincent FTRD/DIH/REN [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 26. Februar 2003 11:09
> An: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Betreff: Is there any way to use a scheduler with Cocoon ?
> 
> 
> 
> Has anyone managed to integrate a Java scheduler in a webapp using Cocoon 2.0 ?
>  
> Some people (Martin Holz for instance) on the net are talking about Jakarta 
> CornerStone Scheduler but I can't find any example.
>  
> Vincent
>  
> 

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



XSP as=xml versus as=node

2003-02-26 Thread I-Lin Kuo
Hi,

In the cocoon docs for XSP at 
http://xml.apache.org/cocoon/userdocs/xsp/request.html

it talks about the attribute as="node" but displays as="xml" in the sample 
code.

I tried both on my setup and they both work, but is there any difference 
between the two?

I-Lin Kuo, Ann Arbor, MI
Macromedia Certified ColdFusion 5.0 Advanced Developer
Sun Certified Java 2 Programmer
Ann Arbor Java Users Group (http://www.aajug.org)
_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Axis as Cocoon component?

2003-02-26 Thread Alexander Enns
Hi all,

is there any trial to integrate Axis engine in Cocoon?

To have possibility to use Cocoon component model from web services code?

Thanks,

Alexander


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



Re: Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread Martin Holz
"MAHE Vincent FTRD/DIH/REN" <[EMAIL PROTECTED]> writes:

> Has anyone managed to integrate a Java scheduler in a webapp using Cocoon 2.0
> ?
>  
> 
> Some people (Martin Holz for instance) on the net are talking about Jakarta
> CornerStone Scheduler but I can't find any example.
> 
Acutally I never tried it.

--
Martin Holz <[EMAIL PROTECTED]>

Softwareentwicklung / Vernetztes Studium - Chemie
FIZ CHEMIE Berlin
Franklinstrasse 11
D-10587 Berlin 


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



RE: Cocoon2: Logger required?

2003-02-26 Thread Schaper, Christoph
You can configure the NullLogger (see in avalon framework), if this is what
you want to do.

-Original Message-
From: Uwe Gerger [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 14:01
To: [EMAIL PROTECTED]
Subject: Cocoon2: Logger required?


Hello,
can I configure Cocoon2 so that it doesn't use the logger?

Thanks

-- 
Uwe Gerger_/_/_/   _/_/  _/_/
BMW AG, TG-53 IT-Technologie _/   _/  _/_/_/_/  _/_/
80788 Muenchen  _/_/_/   _/ _/ _/  _/ _/ _/
Tel: +49 89 382 35687  _/   _/  _/_/  _/_/_/_/
Fax: +49 89 382 49040 _/_/_/   _/_/  _/_/
mailto:[EMAIL PROTECTED]

Any e-mail message from the European Central Bank (ECB) is sent in good faith but 
shall neither be binding nor construed as constituting a commitment by the ECB except 
where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any 
unauthorised disclosure, use or dissemination, either in whole or in part, is 
prohibited.
If you have received this e-mail in error, please notify the sender immediately via 
e-mail and delete this e-mail from your system.


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



Cocoon2: Logger required?

2003-02-26 Thread Uwe Gerger
Hello,
can I configure Cocoon2 so that it doesn't use the logger?

Thanks

-- 
Uwe Gerger_/_/_/   _/_/  _/_/
BMW AG, TG-53 IT-Technologie _/   _/  _/_/_/_/  _/_/
80788 Muenchen  _/_/_/   _/ _/ _/  _/ _/ _/
Tel: +49 89 382 35687  _/   _/  _/_/  _/_/_/_/
Fax: +49 89 382 49040 _/_/_/   _/_/  _/_/
mailto:[EMAIL PROTECTED]begin:vcard 
n:Gerger;Uwe Gerger
tel;work:089 382 35687
x-mozilla-html:FALSE
org:BMW AG;TG-53
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.-Ing. (FH)
adr;quoted-printable:;;Helene-Mayer-Ring 4=0D=0A=0D=0A01.03/075.0-8;München;Bayern;80809;Bundesrepublik Deutschland
fn:Uwe Gerger
end:vcard

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

Re: How to set an ESQL value into a variable?

2003-02-26 Thread Christian Haul
On 26.Feb.2003 -- 10:10 AM, [EMAIL PROTECTED] wrote:
> Hi,
> I make a connection (using ESQL) and get a value  column="MYVAR"/> .
> 
> How can I get this value on the page to build another query like :
> 
> Select * From mytable where ID = "MYVAR"
> 
> I tried with  column="MYVAR"/> But when I request it I get the error :
> variable MYVAR not defined. Even if I add  Int MYVAR = 0;
> 
> 
> How can I put my ESQL value into a variable?


String myVar = ;


Similar for other types.

Chris.

Please follow up summarizing your problem and which suggested solution
/ information worked for you when you consider your problem
solved. Add "SUMMARY: " to the subject line. This will make FAQ
generation and searching the list easier. In addition, it makes
helping you more fun. Thank you.

And if you are really cool, add a page at http://wiki.cocoondev.org

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

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



security problem? Invocation TargetException received

2003-02-26 Thread Uwe Gerger
Hello,
while starting cocoon2 Version 2.0.3 on weblogic 5.1 I receive the
following exception:

Exception raised: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException:
java.lang.IllegalAccessError: try to access method
org.apache.cocoon.util.log.ExtensiblePatternFormatter$
PatternRun.()V from class
org.apache.cocoon.util.log.ExtensiblePatternFormatter
at
org.apache.cocoon.util.log.ExtensiblePatternFormatter.addPatternRun(ExtensiblePatternFormatter.java:136)
at
org.apache.cocoon.util.log.ExtensiblePatternFormatter.parse(ExtensiblePatternFormatter.java:545)
at
org.apache.cocoon.util.log.ExtensiblePatternFormatter.setFormat(ExtensiblePatternFormatter.java:570)
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:731)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:262)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:499)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:453)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:442)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:361)
at
weblogic.servlet.internal.ServletContextImpl.preloadServlet(ServletContextImpl.java:752)
at
weblogic.servlet.internal.ServletContextImpl.preloadServlets(ServletContextImpl.java:726)
at
weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:683)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:479)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1393)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:879)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:140)
at weblogic.Server.main(Server.java:97)
at weblogic.Server.main(Server.java:58)
java.lang.IllegalAccessError: try to access method
org.apache.cocoon.util.log.ExtensiblePatternFormatter$PatternRun.()V
from class org.apache.co
coon.util.log.ExtensiblePatternFormatter
at
org.apache.cocoon.util.log.ExtensiblePatternFormatter.addPatternRun(ExtensiblePatternFormatter.java:136)
at
org.apache.cocoon.util.log.ExtensiblePatternFormatter.parse(ExtensiblePatternFormatter.java:545)
at
org.apache.cocoon.util.log.ExtensiblePatternFormatter.setFormat(ExtensiblePatternFormatter.java:570)
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:731)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:262)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:499)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:453)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:442)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:361)
at
weblogic.servlet.internal.ServletContextImpl.preloadServlet(ServletContextImpl.java:752)
at
weblogic.servlet.internal.ServletContextImpl.preloadServlets(ServletContextImpl.java:726)
at
weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:683)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:479)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1393)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:879)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:140)
at weblogic.Server.main(Server.java:97)
at weblogic.Server.main(Server.java:58)
***

Is this a matter of security-settings?

Does anyone know the reason?

ANY help would be apreciated!!!
-- 
Uwe Gerger_/_/_/   _/_/  _/_/
BMW AG, TG-53 IT-Technologie _/   _/  _/_/_/_/  _/_/
80788 Muenchen  _/_/_/   _/ _/ _/  _/ _/ _/
Tel: +49 89 382 35687  _/   _/  _/_/  _/_/_/_/
Fax: +49 89 382 49040 _/_/_/   _/_/  _/_/
mailto:[EMAIL PROTECTED]begin:vcard 
n:Gerger;Uwe Gerger
tel;work:089 382 35687
x-mozilla-html:FALSE
org:BMW AG;TG-53
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.-Ing. (FH)
adr;quoted-printable:;;Helene-Mayer-Ring 4=0D=0A=0D=0A01.03/075.0-8;München;Bayern;80809;Bundesrepublik Deutschland
fn:Uwe Gerger
end:vcard

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

unable to run cocoon2 on tomcat

2003-02-26 Thread Kieran Kirwan
Dear All,

i've installed-
- jdk1.3.1_01
- jakarta-tomcat-4.0.1.exe
...and it's all running fine - i get the http://localhost:8080/index.html
page no problem.however
...when i copy cocoon.war (extracted from cocoon-2.0.1-bin.zip) and try
http://localhost:8080/cocoon/ all i get is the directory listing

- i don't think the servlet container is compiling cocoon when i restart
tomcat
- all i'm getting is 

Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
Starting service Tomcat-Apache
Apache Tomcat/4.0.1


can anybody help - i've got windows2000 professional if that helps
 - it all worked fine on my last machine.

Thanks,
- Kieran Kirwan









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



security problem? InvocationTargetException received

2003-02-26 Thread Uwe Gerger
Hello,
while starting cocoon2 Version 2.0.3 on weblogic 5.1 I receive the
following exception:

Exception raised: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException:
java.lang.IllegalAccessError: try to access method
org.apache.cocoon.util.log.ExtensiblePatternFormatter$
PatternRun.()V from class
org.apache.cocoon.util.log.ExtensiblePatternFormatter
at
org.apache.cocoon.util.log.ExtensiblePatternFormatter.addPatternRun(ExtensiblePatternFormatter.java:136)
at
org.apache.cocoon.util.log.ExtensiblePatternFormatter.parse(ExtensiblePatternFormatter.java:545)
at
org.apache.cocoon.util.log.ExtensiblePatternFormatter.setFormat(ExtensiblePatternFormatter.java:570)
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:731)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:262)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:499)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:453)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:442)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:361)
at
weblogic.servlet.internal.ServletContextImpl.preloadServlet(ServletContextImpl.java:752)
at
weblogic.servlet.internal.ServletContextImpl.preloadServlets(ServletContextImpl.java:726)
at
weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:683)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:479)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1393)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:879)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:140)
at weblogic.Server.main(Server.java:97)
at weblogic.Server.main(Server.java:58)
java.lang.IllegalAccessError: try to access method
org.apache.cocoon.util.log.ExtensiblePatternFormatter$PatternRun.()V
from class org.apache.co
coon.util.log.ExtensiblePatternFormatter
at
org.apache.cocoon.util.log.ExtensiblePatternFormatter.addPatternRun(ExtensiblePatternFormatter.java:136)
at
org.apache.cocoon.util.log.ExtensiblePatternFormatter.parse(ExtensiblePatternFormatter.java:545)
at
org.apache.cocoon.util.log.ExtensiblePatternFormatter.setFormat(ExtensiblePatternFormatter.java:570)
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:731)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:262)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:499)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:453)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:442)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:361)
at
weblogic.servlet.internal.ServletContextImpl.preloadServlet(ServletContextImpl.java:752)
at
weblogic.servlet.internal.ServletContextImpl.preloadServlets(ServletContextImpl.java:726)
at
weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:683)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:479)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1393)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:879)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:140)
at weblogic.Server.main(Server.java:97)
at weblogic.Server.main(Server.java:58)
***

Is this a matter of security-settings?

Does anyone know the reason?

ANY help would be apreciated!!!

-- 
Uwe Gerger_/_/_/   _/_/  _/_/
BMW AG, TG-53 IT-Technologie _/   _/  _/_/_/_/  _/_/
80788 Muenchen  _/_/_/   _/ _/ _/  _/ _/ _/
Tel: +49 89 382 35687  _/   _/  _/_/  _/_/_/_/
Fax: +49 89 382 49040 _/_/_/   _/_/  _/_/
mailto:[EMAIL PROTECTED]begin:vcard 
n:Gerger;Uwe Gerger
tel;work:089 382 35687
x-mozilla-html:FALSE
org:BMW AG;TG-53
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.-Ing. (FH)
adr;quoted-printable:;;Helene-Mayer-Ring 4=0D=0A=0D=0A01.03/075.0-8;München;Bayern;80809;Bundesrepublik Deutschland
fn:Uwe Gerger
end:vcard

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

WG: Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread Scherler, Thorsten



Hello 
group,
 
is 
there a way to integrate our scheduler into a cocoon app without installing the 
whole wyona cms dist.?
 
Please 
have a look on the following mail!
 
Thank 
you very much!
 
-Ursprüngliche Nachricht-Von: MAHE Vincent 
FTRD/DIH/REN [mailto:[EMAIL PROTECTED]Gesendet: 
Mittwoch, 26. Februar 2003 12:41An: 
[EMAIL PROTECTED]Betreff: RE: Is there any way to use a 
scheduler with Cocoon ?
Hello,
 
Yes 
but I need to install the whole Wyona whereas I'm only interested in the 
scheduler.
My 
webapp has nothing to do with a Content Management and Publishing 
System.
 
I just 
want to use the scheduler of Wyona in my webapp ... do you have any simple 
integration example ?
 
Vincent

  -Message d'origine-De : Scherler, Thorsten 
  [mailto:[EMAIL PROTECTED]Envoyé : mercredi 26 
  février 2003 11:15À : 
  [EMAIL PROTECTED]Objet : AW: Is there any way to use 
  a scheduler with Cocoon ?
  Hello Vincent,
   
  http://www.wyona.org/docs/xdocs/scheduler.html
   
  wyona is a Open Source CMS and based on Cocoon and Java. 
  
   
  Just 
  have a look.
   
  p.s. It will hopefully become lenya in the near 
  future and part of 
  ASF
   
  King regards
  Thorsten
   -Ursprüngliche Nachricht-Von: MAHE Vincent 
  FTRD/DIH/REN [mailto:[EMAIL PROTECTED]Gesendet: 
  Mittwoch, 26. Februar 2003 11:09An: 
  [EMAIL PROTECTED]Cc: 
  [EMAIL PROTECTED]Betreff: Is there any way to use a scheduler with 
  Cocoon ?
  
Has anyone 
managed to integrate a Java scheduler in a webapp using Cocoon 2.0 
?
 
Some people 
(Martin Holz for instance) on the net are talking about Jakarta CornerStone 
Scheduler but I can't find any example.
 
Vincent
 


The new MS Office 2003

2003-02-26 Thread Ing. Antonio Gallardo
Sorry, for the SPAM ;-)

But i post this link, because in the first screenshots are some labels
related to XML/XSL stuff :)

http://www.activewin.com/screenshots/office2k3b2/

Antonio Gallardo



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



RE: Is there any way to use a scheduler with Cocoon ?

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



Hello,
 
Yes 
but I need to install the whole Wyona whereas I'm only interested in the 
scheduler.
My 
webapp has nothing to do with a Content Management and Publishing 
System.
 
I just 
want to use the scheduler of Wyona in my webapp ... do you have any simple 
integration example ?
 
Vincent

  -Message d'origine-De : Scherler, Thorsten 
  [mailto:[EMAIL PROTECTED]Envoyé : mercredi 26 
  février 2003 11:15À : 
  [EMAIL PROTECTED]Objet : AW: Is there any way to use 
  a scheduler with Cocoon ?
  Hello Vincent,
   
  http://www.wyona.org/docs/xdocs/scheduler.html
   
  wyona is a Open Source CMS and based on Cocoon and Java. 
  
   
  Just 
  have a look.
   
  p.s. It will hopefully become lenya in the near 
  future and part of 
  ASF
   
  King regards
  Thorsten
   -Ursprüngliche Nachricht-Von: MAHE Vincent 
  FTRD/DIH/REN [mailto:[EMAIL PROTECTED]Gesendet: 
  Mittwoch, 26. Februar 2003 11:09An: 
  [EMAIL PROTECTED]Cc: 
  [EMAIL PROTECTED]Betreff: Is there any way to use a scheduler with 
  Cocoon ?
  
Has anyone 
managed to integrate a Java scheduler in a webapp using Cocoon 2.0 
?
 
Some people 
(Martin Holz for instance) on the net are talking about Jakarta CornerStone 
Scheduler but I can't find any example.
 
Vincent
 


and JAVA sessions

2003-02-26 Thread Maxime.Gheysen
What is the difference between these two sessions??? :


JAVA session:

 org.apache.cocoon.environment.Session

...

 Session session = null;
 ...
 session = request.getSession(true);
 session.setAttribute("user",user);
...


--

XSP SESSION:
http://apache.org/xsp";
 xmlns:session="http://apache.org/xsp/session/2.0"; 
>
...
user
...


  
Is there a way to create and set a JAVA session and then get an
attribute with session-xsp, like



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



bug

2003-02-26 Thread Maxime.Gheysen
There is a bug in following lines, I tried with java
(session.setAttribute), but all my pages are requesting user with
. Thanks for your help!

...

 String user = request.getParameter("user");

 
Login Informations

user


Session parameter "user" is 

  



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



XInclude: content not allowed in prolog

2003-02-26 Thread Richard In Public
Hi

I have a cocoon project that works perfectly when served by Tomcat but which
breaks when I try to generate a static version from the command line.  The
difficulty appears to be caused by the use of XInclude.

1.  It seems that Cocoon/Tomcat is more forgiving than Cocoon/CmdLine.  Does
anyone know why?

2.  I would greatly appreciate any help with this problem.  Details below:

TIA,

Richard

Attached:

1.  Output with Error Message
2.  Pipeline (Extract)
3.  Command Line Batch File

1.  = Output with Error Message ===


Setup...DEBUG   2003-02-26 10:13:02.911 [] (): Getting handle to
context directory 'C:\ApplicationHome\jakarta-t
omcat-4.1.18-LE-jdk14\webapps\cocoon'
DEBUG   2003-02-26 10:13:02.957 [] (): Getting handle to working
directory './work'
Cannot find CatalogManager.properties
 done.
Initializing... ready, let's go :-)
 * INFO2003-02-26 10:13:05.692 [sitemap ] (): Matcher 'wildcard' matched
prepared pattern 'hbb/**' at file:/C:/Appli
cationHome/jakarta-tomcat-4.1.18-LE-jdk14/webapps/cocoon/sitemap.xmap:524:34
INFO2003-02-26 10:13:05.879 [sitemap ] (): Matcher 'wildcard' matched
prepared pattern '**.html' at file://D:/design
edandmanaged/Projects/henrysbrownboxes/sitemap.xmap:107:32
INFO2003-02-26 10:13:07.582 [sitemap ] (): Matcher 'wildcard' matched
prepared pattern 'hbb/**' at file:/C:/Applicat
ionHome/jakarta-tomcat-4.1.18-LE-jdk14/webapps/cocoon/sitemap.xmap:524:34
INFO2003-02-26 10:13:07.582 [sitemap ] (): Matcher 'wildcard' matched
prepared pattern 'Brands.xml' at file://D:/des
ignedandmanaged/Projects/henrysbrownboxes/sitemap.xmap:139:35
WARN2003-02-26 10:13:07.848 [manager ] (): Attempted to release a
org.apache.cocoon.components.treeprocessor.sitemap
.ComponentsSelector but its handler could not be located.
WARN2003-02-26 10:13:07.848 [manager ] (): Attempted to release a
org.apache.cocoon.components.treeprocessor.sitemap
.ComponentsSelector but its handler could not be located.
WARN2003-02-26 10:13:07.848 [manager ] (): Attempted to release a
org.apache.cocoon.components.treeprocessor.sitemap
.ComponentsSelector but its handler could not be located.
WARN2003-02-26 10:13:07.848 [manager ] (): Attempted to release a
org.apache.cocoon.components.treeprocessor.sitemap
.ComponentsSelector but its handler could not be located.
INFO2003-02-26 10:13:07.911 [sitemap ] (): Matcher 'wildcard' matched
prepared pattern 'hbb/**' at file:/C:/Applicat
ionHome/jakarta-tomcat-4.1.18-LE-jdk14/webapps/cocoon/sitemap.xmap:524:34
INFO2003-02-26 10:13:07.926 [sitemap ] (): Matcher 'wildcard' matched
prepared pattern '**.html' at file://D:/design
edandmanaged/Projects/henrysbrownboxes/sitemap.xmap:107:32
INFO2003-02-26 10:13:07.926 [sitemap ] (): Jumping to view links from
serializer at file://D:/designedandmanaged/Pro
jects/henrysbrownboxes/sitemap.xmap:113:34
INFO2003-02-26 10:13:08.020 [sitemap ] (): Matcher 'wildcard' matched
prepared pattern 'hbb/**' at file:/C:/Applicat
ionHome/jakarta-tomcat-4.1.18-LE-jdk14/webapps/cocoon/sitemap.xmap:524:34
INFO2003-02-26 10:13:08.020 [sitemap ] (): Matcher 'wildcard' matched
prepared pattern 'Brands.xml' at file://D:/des
ignedandmanaged/Projects/henrysbrownboxes/sitemap.xmap:139:35
INFO2003-02-26 10:13:08.020 [sitemap ] (): Jumping to view links from
serializer at file://D:/designedandmanaged/Pro
jects/henrysbrownboxes/sitemap.xmap:142:32
WARN2003-02-26 10:13:08.114 [manager ] (): Attempted to release a
org.apache.cocoon.components.treeprocessor.sitemap
.ComponentsSelector but its handler could not be located.
WARN2003-02-26 10:13:08.114 [manager ] (): Attempted to release a
org.apache.cocoon.components.treeprocessor.sitemap
.ComponentsSelector but its handler could not be located.
WARN2003-02-26 10:13:08.114 [manager ] (): Attempted to release a
org.apache.cocoon.components.treeprocessor.sitemap
.ComponentsSelector but its handler could not be located.
ERROR   2003-02-26 10:13:08.145 [sitemap ] (): Error in
processXIncludeElement
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHand
lerWrapper.java:232)
at
org.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.ja
va:213)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:37
5)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:30
5)
at
org.apache.xerces.impl.XMLScanner.reportFatalError(XMLScanner.java:1269)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(XMLD
ocumentScannerImpl.java:740)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.java:329)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav

AW: Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread Scherler, Thorsten



Hello 
Vincent,
 
http://www.wyona.org/docs/xdocs/scheduler.html
 
wyona 
is a Open Source CMS and based on Cocoon and Java. 
 
Just 
have a look.
 
p.s. It will hopefully become lenya in the near 
future and part of 
ASF
 
King regards
Thorsten
 -Ursprüngliche Nachricht-Von: MAHE Vincent 
FTRD/DIH/REN [mailto:[EMAIL PROTECTED]Gesendet: 
Mittwoch, 26. Februar 2003 11:09An: 
[EMAIL PROTECTED]Cc: [EMAIL PROTECTED]Betreff: 
Is there any way to use a scheduler with Cocoon ?

  Has anyone managed 
  to integrate a Java scheduler in a webapp using Cocoon 2.0 
  ?
   
  Some people 
  (Martin Holz for instance) on the net are talking about Jakarta CornerStone 
  Scheduler but I can't find any example.
   
  Vincent
   


Is there any way to use a scheduler with Cocoon ?

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



Has anyone managed 
to integrate a Java scheduler in a webapp using Cocoon 2.0 ?
 
Some people (Martin 
Holz for instance) on the net are talking about Jakarta CornerStone Scheduler 
but I can't find any example.
 
Vincent
 


Re: Unable to run cocoon-2.1-dev on tomcat 4.1.18

2003-02-26 Thread Leszek Gawron
On śro, lut 26, 2003 at 08:56:02 -, Richard In Public wrote:
> Hi Alex
> 
> Are you running tomcat as a service?  If so, try running it from the command
> line using the appropriate batch file (%CATALINA_HOME%\bin\startup.bat for
> windows).
> 
> If this helps, see my earlier post on this subject:
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg24914.html
I've succeeded to setup Tomcat as win32 service using this batch instructions

@SET GEMINI_JDK_HOME=c:\DevTools\j2sdk1.4.1_01
@SET GEMINI_TOMCAT_HOME=c:\DevTools\jakarta-tomcat-4.1.18-LE-jdk14
@SET GEMINI_JVM="%GEMINI_JDK_HOME%\jre\bin\client\jvm.dll"
@SET 
GEMINI_CLASSPATH=%GEMINI_TOMCAT_HOME%\bin\bootstrap.jar;%GEMINI_TOMCAT_HOME%\common\lib\servlet.jar
@SET GEMINI_ENDORSED=%GEMINI_TOMCAT_HOME%\common\endorsed
@SET GEMINI_LOG=%GEMINI_TOMCAT_HOME%\logs\stdout.log
@SET GEMINI_ERR_LOG=%GEMINI_TOMCAT_HOME%\logs\stdout.log

tomcat -uninstall Gemini
tomcat.exe -install "Gemini" %GEMINI_JVM% -Djava.class.path=%GEMINI_CLASSPATH% 
-Djava.endorsed.dirs=%GEMINI_ENDORSED% -Dcatalina.home=%GEMINI_TOMCAT_HOME% -start 
org.apache.catalina.startup.BootstrapService -params start -stop 
org.apache.catalina.startup.BootstrapService -params stop -out %GEMINI_LOG% -err 
%GEMINI_ERR_LOG%

no problem with endorsed libraries at all
ouzo
-- 
__
 | /  \ |Leszek Gawron//  \\
\_\\  //_/  [EMAIL PROTECTED]  _\\()//_
 .'/()\'. Phone: +48(600)341118 / //  \\ \
  \\  //  recursive: adj; see recursive  | \__/ |


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



Re: How to set an ESQL value into a variable?

2003-02-26 Thread Richard In Public
Hi Maxime

Assuming that the second query is in the same XSP document as the first, you
can do this
by nesting the queries as sketched below.  The essential things to note:

1.  The nested-query is a regular  element, placed
within the an  element.  It's syntax is identical to a
normal query.  (You may be able to place the nested query within other
elements - this is the only one that I have needed to use.)
2.  You can refer to any of the selected columns in a parent query by adding
an ancestor attribute to the  tag:  e.g. 

Hope this helps,

Richard

//...

MyPool
select id from MyOtherTable
where...



select * from MyTable where
ID=''

//...






...//...
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 26, 2003 9:10 AM
Subject: How to set an ESQL value into a variable?


Hi,
I make a connection (using ESQL) and get a value  .

How can I get this value on the page to build another query like :

Select * From mytable where ID = "MYVAR"

I tried with  But when I request it I get the error :
variable MYVAR not defined. Even if I add  Int MYVAR = 0;


How can I put my ESQL value into a variable?

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


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


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



How to set an ESQL value into a variable?

2003-02-26 Thread Maxime.Gheysen
Hi,
I make a connection (using ESQL) and get a value  .

How can I get this value on the page to build another query like :

Select * From mytable where ID = "MYVAR"

I tried with  But when I request it I get the error :
variable MYVAR not defined. Even if I add  Int MYVAR = 0;


How can I put my ESQL value into a variable?

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


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



How to set an ESQL value into a variable?

2003-02-26 Thread Maxime.Gheysen
Hi,
I make a connection (using ESQL) and get a value  .

How can I get this value on the page to build another query like :

Select * From mytable where ID = "MYVAR"

I tried with 
But when I request it I get the error : variable MYVAR not defined. Even
if I add

Int MYVAR = 0;


How can I put my ESQL value into a variable?

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



Re: Mounting Sub-Sitemap from outside cocoon-dir...

2003-02-26 Thread Richard In Public
Hi Jörg

I am also using Windows.  The following works for me:





I notice two differences between this and the variations you've tried:
1.  I'm using a double forward slash (//) after the drive letter
2.  I'm only specifying the path of the directory containing sitemap.xmap

Try: src=file://x:/test/

Regards,

Richard




- Original Message -
From: "Menke Jörg,E2" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 25, 2003 9:47 AM
Subject: Mounting Sub-Sitemap from outside cocoon-dir...


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!
For better integration into the versioning-system (clearcase in this
case) I tried to let the locally installed cocoon (running in Weblogic
7) mount a subsitemap on a different drive (I'm stuck on Windows at
the moment... :-( ). This did not work... Examples:


 


or


 


or


 


Is this possible at all? Eg: can you reference a sitemap, or even only
a ressources directory (for styles p.e.) that is outside the
cocoon-installation?

Thanks in advance,

cu, Jörg

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2

iQA/AwUBPlstjf+R/hOShE1OEQJrbwCbBs7N+CWYrYAa9iGx0JLdso9yAloAoNSS
jkuV9MVtopDvK/MiDCjSxyxA
=sS11
-END PGP SIGNATURE-

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


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



Re: Unable to run cocoon-2.1-dev on tomcat 4.1.18

2003-02-26 Thread Richard In Public
Hi Alex

Are you running tomcat as a service?  If so, try running it from the command
line using the appropriate batch file (%CATALINA_HOME%\bin\startup.bat for
windows).

If this helps, see my earlier post on this subject:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg24914.html

Regards,

Richard

- Original Message -
From: "Alex Romayev" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 26, 2003 12:47 AM
Subject: Unable to run cocoon-2.1-dev on tomcat 4.1.18


> Hello,
>
> I'm unable to run cocoon-2.1-dev on tomcat 4.1.18 --
> it seems to be crashing tomcat without any error
> messages.
>
> Here is what I've done:
>
> -Downloaded and installed tomcat 4.1.18
> -Started tomcat -- worked fine
> -Downloaded and built cocoon-2.1-dev with scratchpad
> and no blocks
> -Copied cocoon files into webapps/cocoon directory
> -Started tomcat -- it looks like tomcat tries to load
> cocoon and abruptly exits.  There are no errors in
> tomcat log files.
>
> I've tried replacing xalan, xerces and xmlapis jars
> with those from cocoon in tomcat's common/endorsed
> directory, but that doesn't seem to make any
> difference.
>
> Has anyone seen this behaviour?
>
> Thanks,
> -Alex
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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