RE: Random ArrayIndexOutOfBoundsException

2003-06-26 Thread Schaper, Christoph
We got a very similar looking problem with a different jdk and different app
server (but as well cocoon 2.0.4). Difference was that the exception was not
in endElement but in comment.
We never really traced it down.
I happended only on one certain page, and after we restructured it a bit the
problem vanished 

-Original Message-
From: Gabriel Egolf [mailto:[EMAIL PROTECTED]
Sent: 25 June 2003 20:48
To: [EMAIL PROTECTED]
Subject: Random ArrayIndexOutOfBoundsException


Hello all.

I'm in the last stages of development on a rather large project, and for 
some time now have been plagued by a rather annoying problem.  I'm not 
sure even how the problem began, but I'll try to give as much 
information as possible and hopefully one of you has run across it in 
the past.  Generally, the problem manifests itself as a blank page 
containing nothing but the XML PI (?xml version=1.0 
encoding=utf-8?).  Occasionally, I'll get the contents of 2 unrelated 
pages together.  Unfortunately, this problem seems to be a completely 
random occurence, and usually a server restart will solve it temporarily.

Here's my software environment:
JDK 1.4.1_02
Jetty 4.2.9
Cocoon 2.0.4

I've supplied an error trace from my error.log at the end of this 
message.  If you've seen this before, please let me know how you fixed it.

Thanks.

Gabriel Egolf
Developer
Bob Jones University
[EMAIL PROTECTED]

ERROR   (2003-06-25) 14:24.36:802   [access] (/giving/index) 
PoolThread-9/CocoonServlet: Problem with Cocoon servlet
  11535 org.apache.cocoon.ProcessingException: Exception during 
processing of cocoon://giving/index.html: 
java.lang.ArrayIndexOutOfBoundsException: -3
  11536 at 
org.apache.cocoon.components.source.SitemapSource.toSAX(SitemapSource.java:3
93)
  11537 at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:143)
  11538 at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:250)
  11539 at 
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:395)
  11540 at 
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri
alizeNode.java:154)
  11541 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85)
  11542 at 
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp
eNode.java:158)
  11543 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85)
  11544 at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:166)
  11545 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
  11546 at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:151)
  11547 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
  11548 at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:145)
  11549 at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:332)
  11550 at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:293)
  11551 at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod
e.java:124)
  11552 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
  11553 at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectN
ode.java:140)
  11554 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
  11555 at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:151)
  11556 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
  11557 at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:145)
  11558 at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:332)
  11559 at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:293)
  11560 at org.apache.cocoon.Cocoon.process(Cocoon.java:579)
  11561 at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043)
  11562 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  11563 at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
  11564 at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:294)
  11565 at 

RE: Perplexing PDF SVG question

2003-06-23 Thread Schaper, Christoph
Just guessing: You are on Unix and you don't have the display variable set
when you run  cocoon? 
If this is the case, either point the display variable to your X environment
or, if you don't have one search in the cocoon docu for headless.


Christoph

-Original Message-
From: Irving Salisbury III [mailto:[EMAIL PROTECTED]
Sent: 23 June 2003 15:27
To: [EMAIL PROTECTED]
Subject: Perplexing PDF SVG question


I have embedded an SVG image into my xsl:fo document.  It renders fine 
when using command line fop.  However, when I put it in a cocoon 
pipeline, I am getting the following error:

ERROR   (2003-06-23) 08:02.42:903   [sitemap.serializer.fo2pdf.fop] 
(/medicaid/sequence/first/pdf) Thread-10/PDFRenderer: svg graphic could 
not be built: null
java.lang.NullPointerException
at java.net.URL.init(URL.java:366)
at java.net.URL.init(URL.java:329)
at java.net.URL.init(URL.java:321)
at java.net.URL.init(URL.java:252)
at java.net.URL.init(URL.java:275)
at org.apache.batik.util.ParsedURLData.buildURL(Unknown Source)
at org.apache.batik.util.ParsedURLData.openStreamInternal(Unknown 
Source)
at org.apache.batik.util.ParsedURLData.openStream(Unknown Source)
at org.apache.batik.util.ParsedURL.openStream(Unknown Source)
at 
org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown 
Source)
at org.apache.batik.bridge.DocumentLoader.loadDocument(Unknown Source)
at org.apache.batik.bridge.URIResolver.getNode(Unknown Source)
at org.apache.batik.bridge.URIResolver.getElement(Unknown Source)
at 
org.apache.batik.bridge.BridgeContext.getReferencedElement(Unknown Source)
at org.apache.batik.bridge.CSSUtilities.convertClipPath(Unknown Source)
at 
org.apache.batik.bridge.AbstractGraphicsNodeBridge.buildGraphicsNode(Unknown

Source)
at 
org.apache.batik.bridge.SVGShapeElementBridge.buildGraphicsNode(Unknown 
Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
at org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(Unknown 
Source)
at org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(Unknown Source)
at org.apache.fop.svg.SVGArea.render(Unknown Source)
at 
org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea(Unknown 
Source)
at org.apache.fop.layout.inline.ForeignObjectArea.render(Unknown Source)
at org.apache.fop.render.AbstractRenderer.renderLineArea(Unknown Source)
at org.apache.fop.layout.LineArea.render(Unknown Source)
at org.apache.fop.render.AbstractRenderer.renderBlockArea(Unknown 
Source)
at org.apache.fop.layout.BlockArea.render(Unknown Source)
at 
org.apache.fop.render.AbstractRenderer.renderAreaContainer(Unknown Source)
at org.apache.fop.layout.ColumnArea.render(Unknown Source)
at org.apache.fop.render.AbstractRenderer.renderSpanArea(Unknown Source)
at org.apache.fop.layout.SpanArea.render(Unknown Source)
at 
org.apache.fop.render.AbstractRenderer.renderBodyAreaContainer(Unknown 
Source)
at org.apache.fop.render.pdf.PDFRenderer.renderPage(Unknown Source)
at org.apache.fop.render.pdf.PDFRenderer.render(Unknown Source)
at org.apache.fop.apps.StreamRenderer.queuePage(Unknown Source)
at org.apache.fop.layout.AreaTree.addPage(Unknown Source)
at org.apache.fop.fo.pagination.PageSequence.format(Unknown Source)
at org.apache.fop.apps.StreamRenderer.render(Unknown Source)
at org.apache.fop.fo.FOTreeBuilder.endElement(Unknown Source)
at 
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)
at 
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.
java:307)
at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
684)
at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2182)
at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
678)
at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2182)
at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer
Impl.java:2008)
at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1171)
at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3135)
at java.lang.Thread.run(Thread.java:536)

Here is the start of the SVG element:

fo:block
fo:instream-foreign-object height=480px width=640px
svg fill-opacity=1 color-rendering=auto 
color-interpolation=auto 

RE: SAX Validation

2003-04-02 Thread Schaper, Christoph
Use xerces, its supports full w3c schema

-Original Message-
From: Bruno Dumon [mailto:[EMAIL PROTECTED]
Sent: 02 April 2003 13:32
To: [EMAIL PROTECTED]
Subject: Re: SAX Validation


On Wed, 2003-04-02 at 13:17, [EMAIL PROTECTED] wrote:
 Hello all,
 
 Does anybody know if its possible in Java to validate SAX Events against a
 schema (or at least against a subset of w3c schema)?
 Are there any implementations available? If not, then it should be at
least
 possible - shouldn´t it?
 

Sun's MSV (Multi Schema Validator) can do that. It supports most of the
W3C schema spec. You can find it here:

http://wwws.sun.com/software/xml/developers/multischema/

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


-
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: Weblogic6.1Sp3+cocoon2.1-org.apache.avalon.framework.component.ComponentException: UnnamedSelector:

2003-03-20 Thread Schaper, Christoph
Hmmm ... we have cocoon 2.0.4 running with wl6.1 sp2/3/4 without problems

But, we do not place any cocoon stuff in the wl classpath. Just deploy
exploded and rename the cocoon libs as indicated below. Maybe this is your
problem, that there is actually something you don't have in your classpath
(but just in the webapp) and then the system classloader is not able to find
it (the system classloader is used because other cocoon classes are in the
classpath ...). Try to do like we did, i.e. no cocoon stuff in the WL
classpath. Otherwise it may of course be something specific to cocoon 2.1
which we are not (yet) using .
Christoph

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


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
 ?xml version=1.0?
 map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0;
 !-- === Components
  --
  map:components
   map:matchers default=wildcard/
   map:selectors default=browser/
   map:generators default=file/
   map:transformers default=xslt/
   map:readers default=resource/
   map:serializers default=html/
  /map:components
  map:pipelines
   map:pipeline
   map:match pattern=*/*.xml
   map:generate src=content/{1}.xml/
   map:transform src=transformation/{1}.xsl 
 map:parameter name=brand value={1} /
   /map:transform
   map:serialize/
   /map:match
 /map:pipeline
  /map:pipelines
 /map:sitemap

 -
 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

RE: has anybody gotten JSPEngineImplNamedDispatcherInclude to work in weblogic 6.1?

2003-03-20 Thread Schaper, Christoph
This is a known problem with cocoon and WL 7. We did quite a lot of research
to get JSPs working with Cocoon and WL7 (as well with the help of BEA
support), finally with no succes. You can not used the jasper JSP engine
(classcastexceptions from the WL class loader), and you cannot use the WL
one either (it expect some WL specific request classes) the only workaround
could maybe be to write a custom JSPEngineImpl for WL7, but it is not
straightforward either. We finally gave up and used XSPs instead. The
support case with BEA is still open, if they come up with a workoaround, I
will of course post it here ...

Christoph

-Original Message-
From: Jay W Kim [mailto:[EMAIL PROTECTED]
Sent: 20 March 2003 22:59
To: [EMAIL PROTECTED]
Subject: Re: has anybody gotten JSPEngineImplNamedDispatcherInclude to
work in weblogic 6.1?



Sorry, I'm actually using

 

 WebLogic Server 7.0 SP1

 









 

  Jay W

  Kim/CIV/SC/CSC   To:
[EMAIL PROTECTED]

  @CSC cc:

   Subject: has anybody gotten
JSPEngineImplNamedDispatcherInclude to work in weblogic 
  03/20/2003 04:54 6.1?

  PM

  Please respond

  to cocoon-users

 

 






I'm running weblogic 6.1 and cocoon 2.0.3:

created my.roles file with this in it:

?xml version=1.0?
role-list
  role name=
org.apache.cocoon.components.jsp.JSPEngineImplNamedDispatcherInclude
shorthand=jsp-engine default-class=
org.apache.cocoon.components.jsp.JSPEngineImplNamedDispatcherInclude/
/role-list

and updated cocoon.xconf with this:

  jsp-engine
  parameter name=servlet-name  value=*.jsp/
  /jsp-engine


and I get this error message:

ERROR   (2003-03-20) 16:38.32:845   [sitemap] (/nbs/ldf/ldf-url-map)
ExecuteThread: '12' for queue: 'default'/PipelineNode: Error while
processing pipeline at
org.apache.cocoon.ProcessingException: Exception JspGenerator.generate():
java.lang.ClassCastException:
weblogic.utils.classloaders.ChangeAwareClassLoader
  at
org.apache.cocoon.generation.JspGenerator.generate(JspGenerator.java:145)


really appreciate any assistance



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



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: 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
?xml version=1.0?
map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0;
!-- === Components
 --
 map:components
  map:matchers default=wildcard/
  map:selectors default=browser/
  map:generators default=file/
  map:transformers default=xslt/
  map:readers default=resource/
  map:serializers default=html/
 /map:components
 map:pipelines
  map:pipeline
  map:match pattern=*/*.xml
  map:generate src=content/{1}.xml/
  map:transform src=transformation/{1}.xsl 
map:parameter name=brand value={1} /
  /map:transform
  map:serialize/
  /map:match
/map:pipeline
 /map:pipelines
/map:sitemap





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



RE: jboss and cocoon

2003-02-18 Thread Schaper, Christoph
Or write a custom generator. We have a custom writer transforming certain
JAVA classes to SAX events and use it in a generator
like

myJAVA = getSomehowTheJAVA();
contentHandler.startDocument();
XMLSaxWriter writer;
// generate the actual xml
writer = new XMLSaxWriter(contentHandler);
writer.toXML(resultList);
contentHandler.endDocument();



Christoph


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 18 February 2003 15:18
To: [EMAIL PROTECTED]
Subject: AW: jboss and cocoon


Whats about castor? Serienlize your DataVO to XML and deserialize the XML
file to a DataVO.

Juraj



-Ursprüngliche Nachricht-
Von: arnaud [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 18. Februar 2003 14:58
An: cocoon
Betreff: jboss and cocoon


hi

does anybody used cocoon with jboss ?

i would like to use mey ejb method : toXML()
who transform ejb data in xml

what kind of generator may i use ?

thanks

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

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

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

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

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.


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

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




RE: weblogic problem: could we ship jasper with cocoon and deploy coc oon in weblogic?

2003-02-17 Thread Schaper, Christoph
Tried that as well to workaround the problem with weblogic jsp engine .
however, that way does not seem to be straightforward either. There seem to
be conflicts between the weblogic internal classloader and jasper
(classloader exceptions when trying to use jasper as jsp engine). Have not
investigated to deeply though ...

-Original Message-
From: Tsui, Alban [mailto:[EMAIL PROTECTED]]
Sent: 17 February 2003 14:22
To: [EMAIL PROTECTED]
Subject: weblogic problem: could we ship jasper with cocoon and deploy
coc oon in weblogic?


Hi

Currently, cocoon doesn't seem to work under weblogic 7 etc. due to problem
of jsp handling... from cocoon to app servers' jspengine except tomcat (see
other threads by doing a search on weblogic and jsp). 

I am wondering if it is possible to ship cocoon with jasper jsp compiler
together so that we can still deploy cocoon in other app servers like
weblogic but instead cocoon uses jasper to serve the jsp pages (for reader
or generator). Is it feasible? I am trying to look for a solution for
deploying my webapp based on cocoon onto weblogic app server.

Any ideas or suggestion would be appreciated.

Cheers
Alban 

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

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

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

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.


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

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




RE: Running cocoon2.0.4 on weblogic7.0 with JSPs

2003-02-10 Thread Schaper, Christoph
Hi, we have the problem as well.
Unfortunatly, the request dispatcher way does not work either, even if we
try to customise it specifically for Weblogic Request dispatcher (the
customisation is needed, as the WL request dispatcher requires WL specific
wrapper classes, but due to the great avalon role implementation
customisation possibilities in Cocoon, all this is possible).
Unfortunatly, WL is still having problem to correctly process the JSP
request. We have an open call with BEA regarding that.
Will post the solution here (and maybe provide a custom JSPEngine class for
WL7) once we have any.

Christoph


-Original Message-
From: Konstantin Piroumian [mailto:[EMAIL PROTECTED]]
Sent: 10 February 2003 09:13
To: [EMAIL PROTECTED]
Subject: Re: Running cocoon2.0.4 on weblogic7.0 with JSPs


From: Girish Bhakta [EMAIL PROTECTED]

 Hi,
 i am facing problems with respect to JSPs of Cocoon on
 Weblogic 7.0 . I have successfully setup the Cocoon
 2.0.4 on weblogic 7.0 and can see all the samples
 running but it gives folloing error when trying to run
 the hello jsp page of cocoon sample.

 org.apache.cocoon.ProcessingException: Exception
 JspGenerator.generate(): java.lang.ClassCastException:
 weblogic.utils.classloaders.ChangeAwareClassLoader

This happens because JSP engine in Cocoon uses container specific classes
and it should be customized for each server (It is setup for Tomcat by
default). Basically, you should specify the servlet that will handle JSP
requests in cocoon.xconf. Search for jsp-engine in WEB-INF/cocoon.xconf
and read comments. You should also try to modify the cocoon.roles (it's in
cocoon.jar: org/apache/cocoon/ package) to use another JSP engine class.

But there were known problems with WebLogic 6 and higher because of the
changes in their Http API implementation. You can try to use the Request
dispatcher include version (it's somewhere in
src/java/org/apache/cocoon/components/jsp/).

-- Konstantin


 I have setup the classpath to have xml-apis,xalan
 parsers in the beginning.
 Anybody facing the same problem?R there any
 alternatives ?

 GB.

 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com

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

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




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

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

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.


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

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




RE: cocoon portability

2003-01-31 Thread Schaper, Christoph
About the app servers.
Have experience with two different ones:
1) JBoss: No problem, runs out of the box.
2) Weblogic: Quite straightforward in general (it becomes a lot easier if
you deploy exploded), but there are some issues with some specific
features (eg the JSPGenerator)

Christoph

-Original Message-
From: Tellis George [mailto:[EMAIL PROTECTED]]
Sent: 31 January 2003 17:30
To: [EMAIL PROTECTED]
Subject: cocoon portability


Hi,

How easy is it to configure cocoon to work with other app servers such as 
weblogic, jetty, sun one etc...?

Basically after I gave them a presentation, my management is keen on cocoon 
but they insist that I show them that there is a way to transition smoothly 
to  alternatives to tomcat if required.

Also they want to know how much of the effort of setting up a cocoon can be 
reused if we decide not to go with cocoon. I suppose the business logic can 
be reused and possible the stylesheets but I am not sure.

Any advise will be great !!

Regards
Tellis




_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://messenger.msn.co.uk


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

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

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.


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

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




RE: deploy cocoon-2.0.3 under WebLogic7.0SP1

2003-01-15 Thread Schaper, Christoph
We successfully deployed cocoon 2.0.4 on WebLogic7.0SP1 as a war file.
With a previous version of either WL or cocoon it does not seem to work.


Christoph

-Original Message-
From: Xiaonan Zheng [mailto:[EMAIL PROTECTED]]
Sent: 15 January 2003 15:49
To: [EMAIL PROTECTED]
Subject: deploy cocoon-2.0.3 under WebLogic7.0SP1


Hi All,

We have an application built upon cocoon-2.0.3 that is running under
Tomcat.  We are in the process to migrate the application to
WebLogic7.0SP1.  I have troubles to deploy cocoon in the war format.
However, if I deploy cocoon in an exploded format, everything looks fine.
I contacted WebLogic support.  Natually, they say this is a cocoon problem,
because cocoon developer hard coded the classpath loading.  Does anybody
experience the same problem?  If you do, can you tell me what exactly the
issue is?  More importantly, is there a way to fix this?  I hate to deploy
our app in an exploded format in production.

Thanks,
Shannon.



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

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

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.


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

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