You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by RD...@netscape.net on 2005/09/02 22:44:31 UTC

Unable to get transformer handler - WebLogic

Hello everyone,

On a brand new Lenya 1.2.4 install on Solaris using WebLogic as the app server, whenever I log into the Default publication as Editor, I get:

"Unable to get transformer handler for cocoon://lenya-page/default/authoring/index.xml?doctype=homepage"

The login action itself seems to be working;  it's the generation of the index page that fails.

See stack trace below. I've seen similar errors from other Lenya users (http://thread.gmane.org/gmane.comp.cms.lenya.user/7677 and the Lenya FAQ), but trying those solutions hasn't helped.  I upgraded WebLogic's versions of Xalan and Xerces with what came with Lenya 1.2.4, and I've verified that the server can do an HTTP connection to itself (that is, to the host name assigned to the WebLogic instance, *not* localhost).

This problem seems to exist for every page that requires a log in (the Lenya start page works fine, for example).

http://wiki.apache.org/cocoon/BeaWeblogic doesn't seem to apply to the Cocoon 2.1.7/WebLogic 8.1 combination.  (Am I wrong?)

My setup:

* Solaris 9 on a Sun server
* WebLogic 8.1 SP4
* Cocoon 2.1.7 built from unix source
* Lenya 1.2.4 built from unix source
* Deployed in WebLogic as expanded war, nostage

------------ Stack trace follows --------------

java.lang.RuntimeException: java.lang.NullPointerException

org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://lenya-page/default/authoring/index.xml?doctype=homepage: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler

cause: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException

full exception chain stacktrace[hide]

org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://lenya-page/default/authoring/index.xml?doctype=homepage: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler
    at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:318)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:398)
    at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:620)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:503)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:455)
    at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
    at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:102)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
    at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:138)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
    at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)

and dozens more...


__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Unable to get transformer handler - WebLogic

Posted by Michael Wechner <mi...@wyona.com>.
RDHarner@netscape.net wrote:

>Hello everyone,
>
>On a brand new Lenya 1.2.4 install on Solaris using WebLogic as the app server, whenever I log into the Default publication as Editor, I get:
>
>"Unable to get transformer handler for cocoon://lenya-page/default/authoring/index.xml?doctype=homepage"
>
>The login action itself seems to be working;  it's the generation of the index page that fails.
>
>See stack trace below. I've seen similar errors from other Lenya users (http://thread.gmane.org/gmane.comp.cms.lenya.user/7677 and the Lenya FAQ), but trying those solutions hasn't helped.  I upgraded WebLogic's versions of Xalan and Xerces with what came with Lenya 1.2.4,
>

I remember with 8.1SP2 that it was very important to get the endorsed 
libraries right, e.g.

Xalan
Xerces
xml-apis
bcel
regexp
rhino


> and I've verified that the server can do an HTTP connection to itself (that is, to the host name assigned to the WebLogic instance, *not* localhost).
>  
>

we also had a similar problem re the scheduler

<!-- This transformer can cause trouble with WebLogic Server on AIX -->
            <map:transform 
src="cocoon://scheduler/{../../1}/{page-envelope:area}/{../../3}.xsl"/>

within usecase.xmap, but we actually fixed this problem

>This problem seems to exist for every page that requires a log in (the Lenya start page works fine, for example).
>
>http://wiki.apache.org/cocoon/BeaWeblogic doesn't seem to apply to the Cocoon 2.1.7/WebLogic 8.1 combination.  (Am I wrong?)
>
>My setup:
>
>* Solaris 9 on a Sun server
>* WebLogic 8.1 SP4
>* Cocoon 2.1.7 built from unix source
>* Lenya 1.2.4 built from unix source
>* Deployed in WebLogic as expanded war, nostage
>  
>

you might want to debug it by commenting one transformer after the other
or by inserting

<map:serialize type="xml"/>

and work your way up to the root sitemap

HTH

Michi

>------------ Stack trace follows --------------
>
>java.lang.RuntimeException: java.lang.NullPointerException
>
>org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://lenya-page/default/authoring/index.xml?doctype=homepage: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler
>
>cause: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
>
>full exception chain stacktrace[hide]
>
>org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://lenya-page/default/authoring/index.xml?doctype=homepage: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler
>    at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:318)
>    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:398)
>    at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:620)
>    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:503)
>    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:455)
>    at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120)
>    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
>    at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:102)
>    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
>    at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:138)
>    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
>    at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
>    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
>    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
>    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
>
>and dozens more...
>
>
>__________________________________________________________________
>Switch to Netscape Internet Service.
>As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
>
>Netscape. Just the Net You Need.
>
>New! Netscape Toolbar for Internet Explorer
>Search from anywhere on the Web and block those annoying pop-ups.
>Download now at http://channels.netscape.com/ns/search/install.jsp
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>For additional commands, e-mail: user-help@lenya.apache.org
>
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org