You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/11/14 22:54:08 UTC

DO NOT REPLY [Bug 1930] - Problem with extensions using Weblogic 6.X and JBoss

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1930>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1930

Problem with extensions using Weblogic 6.X and JBoss





------- Additional Comments From david.schneider@thestreet.com  2001-11-14 13:54 -------
hi.  i'm experiencing the same (or similar) problem with jrun.

here is my environment (called immediately before the transformation)

/opt/JRun/bin/../lib/ext:/opt/JRun/bin/../lib/ext/US_export_policy.jar:/opt/JRun
/bin/../lib/ext/activation.jar:/opt/JRun/bin/../lib/ext/ejb.jar:/opt/JRun/bin/..
/lib/ext/iioprt.jar:/opt/JRun/bin/../lib/ext/jce1_2_1.jar:/opt/JRun/bin/../lib/e
xt/jcert.jar:/opt/JRun/bin/../lib/ext/jdbc.jar:/opt/JRun/bin/../lib/ext/jms.jar:
/opt/JRun/bin/../lib/ext/jndi.jar:/opt/JRun/bin/../lib/ext/jnet.jar:/opt/JRun/bi
n/../lib/ext/jsse.jar:/opt/JRun/bin/../lib/ext/jta.jar:/opt/JRun/bin/../lib/ext/
local_policy.jar:/opt/JRun/bin/../lib/ext/mail.jar:/opt/JRun/bin/../lib/ext/pop3
.jar:/opt/JRun/bin/../lib/ext/servlet.jar:/opt/JRun/bin/../lib/ext/sunjce_provid
er.jar:/opt/JRun/bin/../lib/ext/xalan.jar:/opt/JRun/bin/../lib/ext/xerces.jar:/o
pt/JRun/bin/../lib/jrun.jar:/opt/JRun/bin/../lib/install.jar:/opt/JRun/bin/../li
b/jsp.jar:/opt/JRun/bin/../lib/ssi.jar:/opt/JRun/bin/../lib/wddx.jar:/opt/JRun/b
in/../lib/xt.jar:/opt/JRun/bin/../lib/rhino.jar:/opt/JRun/bin/../servers/lib:/op
t/JRun/bin/../servers/lib/jrun_drivers.jar:/opt/JRun/bin/../servers/lib/jruntags
.jar:/opt/JRun/bin/../servers/lib/pbembedded35RE.jar:/opt/JRun/servers/default/l
ib

i have the same application running smoothly using resin (and even jrun on 
another machine -- windows 2000), so it's obviously some sort of configuration 
issue.  but i'm at a loss.

here's the trace

java.lang.NoSuchMethodException: For extension function, could not find method 
org.apache.xerces.dom.DocumentFragmentImpl.validateFile([ExpressionContext,] ).
        at org.apache.xalan.extensions.MethodResolver.getMethod
(MethodResolver.java:307)
        at org.apache.xalan.extensions.ExtensionHandlerJavaPackage.callFunction
(ExtensionHandlerJavaPackage.java:368)
        at org.apache.xalan.extensions.ExtensionsTable.extFunction
(ExtensionsTable.java:253)
...

and the xsl

<xsl:stylesheet
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
       xmlns:lxslt="http://xml.apache.org/xslt"
       xmlns:util="com.thestreet.cms.util.RenderUtil"
       extension-element-prefixes="util"
	version="1.0">
...
<xsl:choose>
	<xsl:when test="util:validateFile($icon)">
		<a href="{LINK}"><img src="http://images.thestreet.com/{$icon}" 
width="45" height="55" border="0"/></a><br/><img src="/tsc/c.gif" border="0" 
width="1" height="10"/>
	</xsl:when>
	<xsl:otherwise>
		<a href="{LINK}"><img 
src="http://images.thestreet.com/tsc/common/images/regulars/1001101.gif" 
width="45" height="55" border="0"/></a><br/><img src="/tsc/c.gif" border="0" 
width="1" height="10"/>
</xsl:otherwise>
</xsl:choose>

the odd thing is that i have no problem when doing the same transformation, say 
by calling a jsp that calls the same methods.

hopefully this info will help..

david