Re: Cocoon on OS/390 Unix System Services

2003-03-19 Thread Oliver Alth

Hello,

I haven't just completely unterstood your question.
Which jar files did you erase? The ones in /endorsed
or the ones in /WEB_INF/classes?
Did you perform any other thing?


Thanks,

Oliver


__
IBM Deutschland Entwicklung GmbH, Schönaicher Str. 220, D-71032 Böblingen
eServer Software Management, D4357, Intern: 7103-06, Tel. 902-2790,
Tel.: ++49-(0)7031-16-4280, Fax.: 07031-16-2790
Internet: [EMAIL PROTECTED]


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



Solution: Errors cause blank document instead of error message

2003-03-19 Thread Sully
rebuilding using clean checkout of head has fixed my problem.



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


Errors cause blank document instead of error message

2003-03-19 Thread Sully
Hi,

I'm having some trouble with a subsitemap of mine...

if I access a pipeline which exists and there are no
errors anywhere in the execution of that pipeline then
it works perfectly.
however if there is an error anywhere in the execution of the pipeline 
then it returns an empty document (0 bytes).

I have an error handler in the pipeline as follows, however I have 
exactly the same output without it.


   

If I access pipelines in my root (is that the proper term?) sitemap 
which have errors then they display the errors as per the default error 
stylesheet (ones without errors display fine).

the mounting pipeline in the root sitemap is:




(removing the sitemap.xmap from in there doesn't change anything)

I haven't been able to see anything in the logs (though that may well be 
because of my lack of knowledge about logging).

any help greatly appreciated.



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


Weird exception

2003-03-19 Thread Irving Salisbury
We are trying to get pdf stuff working on one of our apps.  It works 
great on our development machine, but our production machine gives the 
following error (which I have pulled from the sitemap.xmap file).  I am 
happy to send more info, but thought maybe someone could at least point 
me in the right direction of where I should be looking.  I haven't seen 
this cocoon error before:

DEBUG   (2003-03-19) 18:38.21:656   [sitemap.transformer.xslt] 
(/medicaid/pdf) HttpProcessor[80][2]/TraxTransformer: Using stylesheet: 
'file:/Volumes/pkgs/jboss-3.0.4_tomcat-4.1.12/server/default/deploy/medicaid.war/xslt/reportFO.xsl' 
in [EMAIL PROTECTED], last 
modified: 1048116553000
INFO(2003-03-19) 18:38.21:854   [sitemap] (/medicaid/pdf) 
HttpProcessor[80][2]/PipelineNode: Error while processing pipeline at 
file:/Volumes/pkgs/jboss-3.0.4_tomcat-4.1.12/server/default/deploy/medicaid.war/project.xmap:22:-1
org.apache.cocoon.ProcessingException: Exception in creating Transform 
Handler: java.util.NoSuchElementException
   at 
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:300)
   at 
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:239)
   at 
org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:310)
   at 
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:215)
   at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:278)
   at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:141)
   at 
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:313)
   at 
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:154)
   at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85)
   at 
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:158)
   at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85)
   at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:166)
   at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)
   at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:151)
   at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)
   at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:145)
   at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:332)
   at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:293)
   at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:124)

The weird thing is the line number for the xmap file, which points to 
the start of the pipelines section.  All other pipelines in the file 
work fine, except this one.  Like I said, the only thing unusual about 
this particular pipeline is that we are trying to use the FOPSerializer, 
but it doesn't look like it even has gotten that far yet.

Thanks for any help.

Irv

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


Re: Strange behaviour with

2003-03-19 Thread Perry Molendijk



Hi Thorston,
 
I had the same problem untill I did 
this:
 



map:serializer>
i.e. put in an 
absolute path.
 
Perry

  - Original Message - 
  From: 
  Scherler, Thorsten 
  To: Cocoon-Users (E-Mail) 
  Sent: Wednesday, March 19, 2003 11:46 
  PM
  Subject: Strange behaviour with 
  
  Hello group,I have written a small app which is working 
  finebut as soon as I want my own fonts for fop it is not working (the 
  pdf).e.g.if I 
  have the code like that the I receive:message UnnamedSelector: 
  ComponentSelector could not find the component for hint 
  [fo2pdf]description 
  org.apache.avalon.framework.component.ComponentException: UnnamedSelector: 
  ComponentSelector could not find the component for hint [fo2pdf]...but 
  as soon i put the the  in comments () it is 
  working allright.The config.xml is in 
  PATH_to_my_app/global/fonts/ci/config.xml.Anybody had the problem 
  before?King regards!> Mit freundlichem Gruss,> 
  > Thorsten Scherler> Marketing / Telefonmarketing> 
  > Weidmüller GmbH & Co.> P.O. Box 2807> 33058 
  Paderborn> Tel.:+ 49 - 5252-960-350> Fax:+ 49 - 
  5252-960-116> eMail: [EMAIL PROTECTED]> 
  http://www.weidmueller.de> 
  > 
  -To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]


setting response header late in pipeline

2003-03-19 Thread Robert Douglass
How does one set a response header (204 No Content for example) late in the
pipeline, like right befor the serializer or after transformer?

Thanks,
Robert Douglass


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



RE: Problems basic-link in xsl-fo

2003-03-19 Thread Conal Tuohy
Jessica Niewint wrote:

> I got a problem to insert a external link to my xsl file with
> .



TEST

You are missing the "http://"; from the start of the URL. Otherwise I believe
FOP will assume a "file:/" protocol?

Cheers!

Con


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



Re: Lucene index building

2003-03-19 Thread Upayavira
Jeremy,

> This all looks fine
> My exclude string looks like this though :
> 
> .*\.png$,.*\.js$,.*\.css$,.*\.gif$,.*\.jpg$,.*/search/.*,.*/
> easy/.*
> 
> I believe as soon as you specify an exclude string, the default values
>  for images etc. are not used.
 
You're a hero. I added a number of excludes, then checked my logs. At
present, there are a few broken links that I haven't yet been able to fix, I spotted by
looking into the logs, which broke it. So I added them to my excludes, ran it and 
waited, and works! Without changing the heap-size, which, given the number of 
errors in my site, probably wouldn't have fixed it anyway.

I've just uploaded it onto my test server, and it works a treat!

Thanks for that.

Regards, Upayavira


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



Antwort: Cocoon on OS/390 Unix System Services

2003-03-19 Thread e nio

  Im just speculating as I had a little problem having
cocoon2.0.4+Forrest+tomcat 4.1.18 +jdk1.4.0.01. The problem I
had was that 2.0.4 did not require those jar files at
$TC/common/endorsed since it has  the files located at
WEB-INF/lib and Forrest is in its own "Context" and not in any
of the cocoon sub mounts.  I put a copy on the endorsed dir and
did not erased the copies over at WEB-INF/lib which caused some
problems with cocoon but not forrest. Upon removing those jar
files, it fixed the cocoon problems I was having. 
  So you may want to check where these jar files are located on
your setup (xml-apis, xalan, xerces).

enio

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

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



The hsqldb cannot be used inside a WAR file ERROR

2003-03-19 Thread Chad Small
Hello,

I'm trying to install Cocoon 2.0.4 on Weblogic 5.1


Thanks to Uwe, and the archived message at the end of this message that 
I found to get me started.  But I'm now getting this error in 
my WEB-INF/logs/error.log file:

ERROR   (2003-03-19) 13:15.11:513   [core.manager] (Unknown-URI)
Unknown-thread/ExcaliburComponentManager: Caught an exception trying to
initialize the component handler.
org.apache.avalon.framework.context.ContextException: The hsqldb cannot be
used inside a WAR file.
at
org.apache.cocoon.components.hsqldb.ServerImpl.contextualize(ServerImpl.java
:131)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:229)
at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:98)
at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(E
xcaliburComponentManager.java:513)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:270)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1276
)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:485)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:495)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:453)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:442)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:361)
at
weblogic.servlet.internal.ServletContextImpl.preloadServlet(ServletContextIm
pl.java:741)
at
weblogic.servlet.internal.ServletContextImpl.preloadServlets(ServletContextI
mpl.java:715)
at
weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:643)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:442)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1320)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:832)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:131)
at weblogic.Server.main(Server.java:92)
at weblogic.Server.main(Server.java:58)



Weblogic still starts up and this is what shows up when I 
hit http://localhost:7001/cocoon/ (don't think related to 
problem, but thought I would include it):


type fatal

message The system cannot find the file specified

description java.util.zip.ZipException: The system cannot find the file
specified

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace

java.util.zip.ZipException: The system cannot find the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:110)
at java.util.zip.ZipFile.(ZipFile.java:125)
at
weblogic.utils.zip.ZipURLConnection.getInputStream(Handler.java:40)
at
org.apache.cocoon.components.source.URLSource.getInputStream(URLSource.java:
275)
at
org.apache.cocoon.components.source.AbstractStreamSource.getInputSource(Abst
ractStreamSource.java:161)
at
org.apache.cocoon.components.source.DelayedRefreshSourceWrapper.getInputSour
ce(DelayedRefreshSourceWrapper.java:144)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:387)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:353)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:312)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
at java.lang.Thread.run(Thread.java:484)


request-uri

/cocoon/

path-info



Here are the Cocoon jars I'm including in my classpath at this point:

set
C2_CLASSPATH=%C2%/xercesImpl-2.0.0.jar;%C2%/xalan-2.3.1.jar;%C2%/hsqldb-1.7.
1.jar;%C2%/cocoon-2.0.4.jar;%C2%/avalon-framework-20020627.jar;%C2%/logkit-2
0020529.jar;%C2%/excalibur-logger-20020820.jar;%C2%/excalibur-sourceresolve-
20020820.jar;%C2%/excalibur-pool-20020820.jar;%C2%/excalibur-component-20020
916.jar;%C2%/excalibur-instrument-20021108.jar;%C2%/xml-apis.jar;%C2%/excali
bur-collections-20020820.jar;%C2%/excalibur-xmlutil-20020820.jar;%C2%/servle
t_2_2.jar;%C2%/excalibur-monitor-20020820.jar;%C2%/cocoon-scratchpad.jar;%C2
%/resolver-20020130.jar;%C2%/commons-jxpath-1.0.jar;%C2%/excalibur-datasourc
e-vm12-20021121.jar

>From Uwe's message, it seems like this is possible (although Uwe was 
on V2.0.3 and I'm using V2.0.4).

Any help would be very appreciated.
thanks,
chad.


<<
*   From: Uwe Gerger 
*   Subject: Re: Please Help: Problems with Cocoon2 V2.03 with Bea
WebLogic5.1 
*   Date: Mon, 03 Mar 2003 06:36:01 -0800 

Hello to all interested people,
I could run Cocoon2.0.3 on Bea WebLogic5.1:
The following steps are necessary:
1) In your start-script of Bea-s

Re: A Gzipped XML Serializer component for Cocoon

2003-03-19 Thread Scherler
Hi Bruce,

nice work! I have not tried it out yet, but it looks promising!

Do you work for that projekt http://heml.mta.ca/heml-cocoon/ ?

I find it a very nice example using cocoon and SVG!

King regards
Thorsten Scherler
Bruce Robertson wrote:

I have posted a Wiki page describing a serializer component I'm using which
produces gzipped XML output. This is especially useful for those serving
complex SVG and would rather send it off as a svgz file. 

I'm pretty sure this is something that eventually should be rolled into
Cocoon itself, but as I note in the page, my code is a hack on the
XMLSerializer, and shouldn't be ci'd as-is. 

Details at: 
http://wiki.cocoondev.org/Wiki.jsp?page=Gzip_XML_Serializer

Yrs,
 



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


A Gzipped XML Serializer component for Cocoon

2003-03-19 Thread Bruce Robertson
I have posted a Wiki page describing a serializer component I'm using which
produces gzipped XML output. This is especially useful for those serving
complex SVG and would rather send it off as a svgz file. 

I'm pretty sure this is something that eventually should be rolled into
Cocoon itself, but as I note in the page, my code is a hack on the
XMLSerializer, and shouldn't be ci'd as-is. 

Details at: 
http://wiki.cocoondev.org/Wiki.jsp?page=Gzip_XML_Serializer

Yrs,
-- 
Bruce Robertson, 
Dept. of Classics, Mount Allison University
http://heml.mta.ca

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



Problems basic-link in xsl-fo

2003-03-19 Thread Jessica Niewint
Hi, I am not sure if this is the right mailing list for the question...
so if it is not, please give me a hint where to post my question.
I am using  Cocoon 2.0.4

I got a problem to insert a external link to my xsl file with .
It seems that no one else got a problem like this. So may be I forgot to 
define something in the header of the xsl-file or in the sitemap. The 
"strange" thing for me is, that without using the  the 
output into the pdf-format is no problem.
Inserting  the TEST into my xsl-file
produces an error.. when I comment out this tag, everything works fine and 
the pdf file is shown.
So any ideas ?

Thank you  in advance

J.

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


Re:Weblogic6.1Sp3+cocoon2.1-org.apache.avalon.framework.component.ComponentException:UnnamedSelector:

2003-03-19 Thread Girish Patil
Christoph -Thanks for the reply- I already had the application deployed in exploded 
form -- I unjarred all the cocoon lib and put them in my classpath -- But, I still get 
the same exception. Just to check, I
deployed the app on Tomcat4.1.8 and it seems to work fine there -is there any thing 
else I can try.

thanks
Girish

"Schaper, Christoph" wrote:

> You can try two things to rule out problems which existed with wl6.1 (I
> don't know whether they were actually solved in SP3):
> - try deploy exploded (i.e. unjar the cocoon war before placing it in the
> applications dir)
> - rename all libraries in cocoon lib directory to contain not more than one
> "."
>
> Christoph
>
> -Original Message-
> From: Girish Patil [mailto:[EMAIL PROTECTED]
> Sent: 18 March 2003 23:27
> To: [EMAIL PROTECTED]
> Subject:
> Weblogic6.1Sp3+cocoon2.1-org.apache.avalon.framework.component.Component
> Exception:UnnamedSelector:
>
> Hi,
> I downloaded and installed cocoon2.1 on windows with weblogic 6.1sp3. I
> created a simple web app using cocoon. when I click on
> http://localhost:7001/test/samples/brand/myhome.xml
>
> I get the following error in weblogic.  I have all the cocoon libraries
> in my java classpath and xalan and xerces too. what is wrong with me??
> Any help would be appreciated.
>
> thanks
> Girish
>
> ERROR   (2003-03-18) 16:48.57:135   [access]
> (/test/samples/brand/myhome.xml) ExecuteThread: '11' for queue:
> 'default'/CocoonServlet: Problem with Cocoon servlet
> org.apache.avalon.framework.component.ComponentException:
> UnnamedSelector: ComponentSelector Attempted to retrieve component with
> null hint.
>  at
> org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(Exca
> liburComponentSelector.java:184)
> at
> org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSite
> mapComponentSelector.java:110)
> at
> org.apache.cocoon.components.treeprocessor.InvokeContext.getProcessingPipeli
> ne(InvokeContext.java:191)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.GenerateNode.invoke(Gener
> ateNode.java:100)
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:84)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
> e(PreparableMatchNode.java:164)
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:108)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
> ineNode.java:153)
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:108)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
> linesNode.java:143)
> at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
> or.java:317)
>
> -Here is my site map under /samples directory
> 
> http://apache.org/cocoon/sitemap/1.0";>
> 
>  
>   
>   
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
> 
>   
>   
>   
> 
>  
> 
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [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]



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



cocoon.xconf error

2003-03-19 Thread Lionel Crine
Hello,

I use cocoon 2.0.3 :
I tried to add some new "components-instance" in cocoon.xconf  as Jeremy 
Quinn wrote it in 
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104490756424028&w=2  :

...










/vars/
  




...

then I wrote RLR.xconf :



   blabla
   blabla
   blabla
   blabla
   blabla
   blabla
   blabla
   blabla

Here is the error :

org.apache.avalon.framework.component.ComponentException: Cannot obtain the 
URLFactory
at 
org.apache.cocoon.sitemap.AbstractSitemap.compose(AbstractSitemap.java:215)
at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:239)
at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:98)
at 
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:187)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:357)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:312)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
at java.lang.Thread.run(Thread.java:479)

Someone has an answer ?



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


[summary] AW: Strange behaviour with

2003-03-19 Thread Scherler, Thorsten
Hello Joerg,
I made the FOPSerializer including fonts working for me on a Cocoon 2.0.4. 
What's your Cocoon version?

-> I am using 2.0.4. as well. The *funny* (not so funny after all) thing is that in my 
other webapp it is working fine!

It should be configured using 
context://global/fonts/ci/config.xml. The src 
attribute is "deprecated".

-> That was the solution!

Thank you very much!

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



Re: Strange behaviour with

2003-03-19 Thread Joerg Heinicke
Hello Thorsten,

I made the FOPSerializer including fonts working for me on a Cocoon 2.0.4. 
What's your Cocoon version?

Scherler, Thorsten wrote:
Hello group,

I have written a small app which is working fine.
...but as soon as I want my own fonts for fop it is not working (the pdf).
e.g.



It should be configured using 
context://global/fonts/ci/config.xml. The src 
attribute is "deprecated".

if I have the code like that the I receive:
message UnnamedSelector: ComponentSelector could not find the component for hint 
[fo2pdf]
description org.apache.avalon.framework.component.ComponentException: UnnamedSelector: 
ComponentSelector could not find the component for hint [fo2pdf]
This is no problem I think. But try to set the log level to DEBUG and look 
for a line saying that it loads the config.xml or that an error occoured 
while loading.

How does your config.xml look like? And what's the FOP version you are 
using? There are some things with the configuration in config.xml in newer 
releases (>= 0.20.4).

Regards,

Joerg

...but as soon i put the the  in comments () it is working allright.

The config.xml is in PATH_to_my_app/global/fonts/ci/config.xml.

Anybody had the problem before?

King regards!


Mit freundlichem Gruss,

Thorsten Scherler
--

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
[EMAIL PROTECTED]
www.virbus.de
CeBIT 2003 vom 12. bis zum 19. März in Hannover

VIRBUS stellt gemeinsam mit der IBM-Tochter IT-Services and Solutions
GmbH aus.
Lassen Sie sich überraschen von den neuen, umfassenden Möglichkeiten im
Internet-gestützten Zahlungsverkehr.
Besuchen Sie uns: Halle 3, Stand D55.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Strange behaviour with

2003-03-19 Thread Scherler, Thorsten
Hello group,

I have written a small app which is working fine.
...but as soon as I want my own fonts for fop it is not working (the pdf).

e.g.




if I have the code like that the I receive:
message UnnamedSelector: ComponentSelector could not find the component for hint 
[fo2pdf]
description org.apache.avalon.framework.component.ComponentException: UnnamedSelector: 
ComponentSelector could not find the component for hint [fo2pdf]

...but as soon i put the the  in comments () it is working 
allright.

The config.xml is in PATH_to_my_app/global/fonts/ci/config.xml.

Anybody had the problem before?

King regards!

> Mit freundlichem Gruss,
> 
> Thorsten Scherler
> Marketing / Telefonmarketing
> 
> Weidmüller GmbH & Co.
> P.O. Box 2807
> 33058 Paderborn
> Tel.:+ 49 - 5252-960-350
> Fax:+ 49 - 5252-960-116
> eMail: [EMAIL PROTECTED]
> http://www.weidmueller.de
> 
> 

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



RE: Weblogic6.1Sp3+cocoon2.1-org.apache.avalon.framework.component.ComponentException:UnnamedSelector:

2003-03-19 Thread Schaper, Christoph
You can try two things to rule out problems which existed with wl6.1 (I
don't know whether they were actually solved in SP3):
- try deploy exploded (i.e. unjar the cocoon war before placing it in the
applications dir)
- rename all libraries in cocoon lib directory to contain not more than one
"."

Christoph


-Original Message-
From: Girish Patil [mailto:[EMAIL PROTECTED]
Sent: 18 March 2003 23:27
To: [EMAIL PROTECTED]
Subject:
Weblogic6.1Sp3+cocoon2.1-org.apache.avalon.framework.component.Component
Exception:UnnamedSelector:


Hi,
I downloaded and installed cocoon2.1 on windows with weblogic 6.1sp3. I
created a simple web app using cocoon. when I click on
http://localhost:7001/test/samples/brand/myhome.xml

I get the following error in weblogic.  I have all the cocoon libraries
in my java classpath and xalan and xerces too. what is wrong with me??
Any help would be appreciated.

thanks
Girish


ERROR   (2003-03-18) 16:48.57:135   [access]
(/test/samples/brand/myhome.xml) ExecuteThread: '11' for queue:
'default'/CocoonServlet: Problem with Cocoon servlet
org.apache.avalon.framework.component.ComponentException:
UnnamedSelector: ComponentSelector Attempted to retrieve component with
null hint.
 at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(Exca
liburComponentSelector.java:184)
at
org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSite
mapComponentSelector.java:110)
at
org.apache.cocoon.components.treeprocessor.InvokeContext.getProcessingPipeli
ne(InvokeContext.java:191)
at
org.apache.cocoon.components.treeprocessor.sitemap.GenerateNode.invoke(Gener
ateNode.java:100)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:84)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:164)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:108)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:153)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:108)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:143)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:317)

-Here is my site map under /samples directory

http://apache.org/cocoon/sitemap/1.0";>

 
  
  
  
  
  
  
 
 
  
  
  
  

  
  
  

 






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [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]



Re: Problems Cocoon 2.0.4/FOP 0.20.4

2003-03-19 Thread Andrew Watt
At 18:02 18/03/2003 +0100, you wrote:
Hi, I am not sure if this is the right mailing list for the question...
so if it is not, please give me a hint where to post my question.
I got a problem to insert a external link to my xsl file with .
It seems that no one else got a problem like this. So may be I forgot to 
define something in the header of the xsl-file or in the sitemap. The 
"strange" thing for me is, that without using the  the 
output in pdf is non proboem.
Inserting  the TEST into my xsl-file
produces an error.. when I comment out this tag, everything works fine and 
the pdf file is shown.
So any ideas ?

Thank you in advance

J.
Jessica,

You might try adding "http://"; to the beginning of the value of the 
external-destination attribute.

If you are looking for an XSL-FO list take a look at
http://www.yahoogroups.com/group/XSL-FO
Andrew Watt



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


Re: [heads-up] wiki abuse: your advice please

2003-03-19 Thread Martin Holz
SAXESS - Hussayn Dabbous <[EMAIL PROTECTED]> writes:

> what about simply reusing the userlist from the cocoon-dev,
> cocoon-user, cocoon-doc mailing lists and allow write access only to
> these
> 
> registered users ?
> 
> That should make life easy...
> I think, authors, who are NOT members of one of the mailinglists,
> cant be serious authors, because there is no feedback chain ...

I unsubscribed cocoon-dev and cocoon-user a few weeks ago, when 
I discovered gmane.org. 


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



Antwort: Cocoon on OS/390 Unix System Services

2003-03-19 Thread manfred . weigel


Hi Oliver!

Some components included in Cocoon (like FOP, Batik) need a running
XServer.
This might be the problem. It should be obsulet with Java 1.4

good luck
Manfred





[EMAIL PROTECTED] am 19.03.2003 10:06:24

Bitte antworten an [EMAIL PROTECTED]@inet

An:  [EMAIL PROTECTED]
Kopie:
Thema:   Cocoon on OS/390 Unix System Services


Hello,

I am trying to get the tool forrest running on OS/390 Unix System
Services.
I posted the problem (see below) on the forrest-dev list, and Jeff
Turner helped me. We tried different things (mainly encoding
workarounds, because we believe its and ASCII-EBCDIC encoding issue).
We got to the point we think that the problem is the underlying cocoon.

Has anybody got experience with cocoon/forrest on OS/390.


Here's the original post:

I just tried something "the other
way round". That means I extracted all files
from the .tar file without conversion, then I converted
the files forrest, forrestbot and ant
(the shell scripts) from ascii to ebcdic.

When calling forrest, I get the following exception:


Deleting directory /u/uni1/test/build/tmp/work
Created dir: /u/uni1/test/build/tmp/work
Copying 3 files to /u/uni1/test/build/site
Copying 19 files to /u/uni1/test/build/site/skin/images
Copying 3 files to /u/uni1/test/build/site/skin

Setup...FATAL_E 2003-03-17 14:20:46.473 [] (): Exception caught
org.xml.sax.SAXParseException: Content is not allowed in trailing section.
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1189)


at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build(DefaultConfigurationBuilder.java:223)


at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build(DefaultConfigurationBuilder.java:192)


at org.apache.cocoon.Main.main(Main.java:390)


BUILD FAILED
file:///u/uni1/apache-forrest-0.4-bin/forrest.build.xml:557: Java returned:
1

Total time: 16 seconds
__


Thanks, Oliver



IBM Deutschland Entwicklung GmbH, Schönaicher Str. 220, D-71032 Böblingen
eServer Software Management, D4357, Intern: 7103-06, Tel. 902-2790,
Tel.: ++49-(0)7031-16-4280, Fax.: 07031-16-2790
Internet: [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]



[SUMMARY] mod_proxy w/ multiple webapps

2003-03-19 Thread Lorenzo De Sio
Thanks, Charles.

I ended up with the following:

RewriteEngine On
RewriteRule "^/webapp/(.*)\.(css|gif|jpg|jpeg)$" "/var/webapps/webapp/$1.$2"
[L]

ProxyPass /webapp/ http://localhost:8080/webapp/
ProxyPassReverse /webapp/ http://localhost:8080/webapp/


which allows selected static content to be served straight from Apache.


L.

-Messaggio originale-
Da: Charles Yates [mailto:[EMAIL PROTECTED]
Inviato: martedì 18 marzo 2003 19.38
A: [EMAIL PROTECTED]
Oggetto: Re: Repost: mod_proxy w/ multiple webapps


ProxyPass /webapp1/ http://localhost:8080/lwebapp1/
ProxyPassReverse /webapp1/ http://localhost:8080/webapp1/
ProxyPass /webapp2/ http://localhost:8080/webapp2/
ProxyPassReverse /webapp2/ http://localhost:8080/webapp2/


Lorenzo De Sio wrote:

>Hi all,
>
>did anyone succeed in configuring Apache's mod_proxy to serve Cocoon
>(http://wiki.cocoondev.org/Wiki.jsp?page=ApacheModProxy), mounting it in a
>subdir and not as /?
>
>( original post was
>http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104764398500822&w=2 )
>
>Cheers,
>
>L.
>
>-
>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]



[SUMMARY] XPathDirectoryGenerator - need help {namespace handling}

2003-03-19 Thread hgadm
Thanks Jeff, that was the solution !

Obviously the XPathDirectoryGenerator does not handle
tags with namespaces. These need to be replaced by
local-names as indicated by you !

Thanks 

Holger

On Wed, 19 Mar 2003, Jeff Turner wrote:

> 
> On Tue, Mar 18, 2003 at 11:27:27AM -0800,
> [EMAIL PROTECTED] wrote:
> > Maybe I do not understand the
XPathDirectoryGenerator:
> > 
> > Also tried:
> > 
> >  KNO\#/azkno:knowledgeobject/dc:title/text()
> > 
> > Same, tag content is not displayed !?
> 
> Probably because XPathDirectoryGenerator doesn't
> provide a way to
> register namespace-prefix mappings.  Instead, try:
> 
>
...#/*[local-name()='knowledgeobject']/*[local-name()='title']/text()
> 
> --Jeff
> 
> > Any help is appreciated !!
> > 
> > Holger
> 
>
-
> 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]



Re: ???ESQL update table???

2003-03-19 Thread Christian Haul
On 17.Mar.2003 -- 09:48 AM, Delis, Christopher E. wrote:
> on a slightly different note, is there "place-holder" functionality in esql
> stylesheet language?  e.g.,
> 
> insert into atable (field1, field2) values (?, ?)
> select * from atable where field1 = ? limit ?

Yes, see  it is equivalent to (and mapped to) JDBC
parameters in prepared statements.

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

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



Re: Modular Database Actions: Urgently seeking documentation

2003-03-19 Thread Christian Haul
On 18.Mar.2003 -- 03:15 PM, Richard In Public wrote:
> Hi Chris
> 
> Firstly, thanks for your response.  I have been mulling over this and
> revisiting the docs, but I have not managed to get things working.
> 
> I suspect that my problem lies in chanelling the request parameters passed
> by the form into the database action.
> Specifically, I cannot figure out what:
> 
> > I've not tested it, but in theory you could set the path separator for
> > the action to "/" and use the xmlform input module. Drawback is, you
> > need to pass the module name and form id for every value OR create
> > different instances of the xmlform module for each and every form
> > id.
> 
> would look like in practice.  Do you have any samples?

No, I haven't tested this.

First, you need to have a separate instance for the xmlform module in
cocoon.xconf


   42



To change the path separator, add
 /
to the action's config. This will change "table.column[row]" to
"table/column[row]". You might need to add
 false
as well to make it "table/row". In addition, switch the default input
to this new module:
 xmlform-42

In sitemap.xmap:

  

   
  database.xml
  false
  /
  false
  xmlform-42
   

  

and

 

 


Now, given a suitable database.xml which basically needs to list the
tables and columns, the above *should* be able to store values from an
XMLForm with id "42" to the database.

If this turns out to be useful, we could try to find a way to get the
xmlform-id to the xmlform module at run-time. It's a bit tricky,
though, so it hasn't been done, yet.

This is untested functionality and may or may not work. In any case
I'd be happy to hear about the outcome or even fixes.

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

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



Cocoon on OS/390 Unix System Services

2003-03-19 Thread Oliver Alth
Hello,

I am trying to get the tool forrest running on OS/390 Unix System
Services.
I posted the problem (see below) on the forrest-dev list, and Jeff
Turner helped me. We tried different things (mainly encoding
workarounds, because we believe its and ASCII-EBCDIC encoding issue).
We got to the point we think that the problem is the underlying cocoon.

Has anybody got experience with cocoon/forrest on OS/390.


Here's the original post:

I just tried something "the other
way round". That means I extracted all files
from the .tar file without conversion, then I converted
the files forrest, forrestbot and ant
(the shell scripts) from ascii to ebcdic.

When calling forrest, I get the following exception:


Deleting directory /u/uni1/test/build/tmp/work
Created dir: /u/uni1/test/build/tmp/work
Copying 3 files to /u/uni1/test/build/site
Copying 19 files to /u/uni1/test/build/site/skin/images
Copying 3 files to /u/uni1/test/build/site/skin

Setup...FATAL_E 2003-03-17 14:20:46.473 [] (): Exception caught
org.xml.sax.SAXParseException: Content is not allowed in trailing section.
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1189)

at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build(DefaultConfigurationBuilder.java:223)

at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build(DefaultConfigurationBuilder.java:192)

at org.apache.cocoon.Main.main(Main.java:390)


BUILD FAILED
file:///u/uni1/apache-forrest-0.4-bin/forrest.build.xml:557: Java returned:
1

Total time: 16 seconds
__


Thanks, Oliver



IBM Deutschland Entwicklung GmbH, Schönaicher Str. 220, D-71032 Böblingen
eServer Software Management, D4357, Intern: 7103-06, Tel. 902-2790,
Tel.: ++49-(0)7031-16-4280, Fax.: 07031-16-2790
Internet: [EMAIL PROTECTED]


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