Thanks for the info Shane. I'm a bit new to using .war's and JBoss, so the
errors that I am seeing may seem rudimentary.
I ran the org.apache.xalan.xslt.EnvironmentCheck program inside of my code
to determine my env. After changing a few things around, I still get the
same error. What I'm not sure about is:
1) how do I know that Xalan in the classpath is the problem - I never
downloaded Xalan specifically, but assume it is part of the JBoss/Tomcat
download???
2) This is the env checker output:
#---- BEGIN writeEnvironmentReport($Revision: 1.10 $): Useful stuff
found: ----
version.DOM.draftlevel=2.0fd
java.class.path=C:\jdk1.3\bin\lib\tools.jar;..\lib\crimson.jar;run.jar;/D:/J
Boss/jboss/log/;/D:/JBoss/jboss/lib/ext/activation.jar;SKIPPED_A_BUNCH_OF_PA
TH_INFO_HERE;/D:/build/jars/xml.jar;/D:/JBoss/tomcat/lib/ant.jar;/D:/JBoss/t
omcat/lib/jasper.jar;/D:/JBoss/tomcat/lib/jaxp.jar;/D:/JBoss/tomcat/lib/pars
er.jar;/D:/JBoss/tomcat/lib/servlet.jar;/D:/JBoss/tomcat/lib/webserver.jar
version.JAXP=1.1
java.ext.dirs=C:\JBuilder4\jdk1.3\jre\lib\ext
version.xerces2=not-present
version.xerces1=Xerces 1.2.0
version.xalan2_2=not-present
version.xalan1=not-present
version.ant=not-present
java.version=1.3.0
version.DOM=2.0
version.crimson=present-unknown-version
sun.boot.class.path=C:\JBuilder4\jdk1.3\jre\lib\rt.jar;C:\JBuilder4\jdk1.3\j
re\lib\i18n.jar;C:\JBuilder4\jdk1.3\jre\lib\sunrsasign.jar;C:\JBuilder4\jdk1
.3\jre\classes
#---- BEGIN Listing XML-related jars in:
foundclasses.java.class.path ----
crimson.jar-apparent.version=crimson.jar from crimson-1.1.1
crimson.jar-path=D:\JBoss\jboss\bin\..\lib\crimson.jar
xml.jar-apparent.version=xml.jar present-unknown-version
xml.jar-path=d:\build\jars\xml.jar
jaxp.jar-apparent.version=jaxp.jar from jaxp1.0.1
jaxp.jar-path=d:\jboss\tomcat\lib\jaxp.jar
parser.jar-apparent.version=parser.jar from jaxp1.0.1
parser.jar-path=d:\jboss\tomcat\lib\parser.jar
#----- END Listing XML-related jars in: foundclasses.java.class.path
-----
version.SAX=2.0
version.xalan2x=2.0
#----- END writeEnvironmentReport: Useful properties found: -----
# YAHOO! Your environment seems to be OK.
- I'm not sure what the xalan2_2, xalan1, and xalan2x variables are?
3) what SHOULD my classpath have in it to fix this problem and should any
jar files come before any other specific jar files?
I've changed my classpath to now be
C:\jdk1.3\bin\lib\tools.jar;..\lib\crimson.jar;run.jar;D:\xalan-j_2_3_1\bin\
xalan.jar;D:\xalan-j_2_3_1\bin\xml-apis.jar;D:\xalan-j_2_3_1\bin\xercesImpl.
jar;.....
and I'm getting a different error, but I think it is along the same lines as
the orig:
javax.servlet.ServletException at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
...
Root cause:
java.lang.NoSuchMethodError
at
org.apache.xalan.processor.StylesheetProcessor.getTemplatesBuilder(Styleshee
tProcessor.java:346)
...
Thanks,
Mike
-----Original Message-----
From: Shane Curcuru [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 11:53 AM
To: [EMAIL PROTECTED]
Subject: Re: NoSuchMethodError on ChildWalkerMultiStep.getNextNode()
method
Well, the two classic questions for errors like these when you're in a
servlet environment are:
- Which Xalan-J version do you think you're using?
- Which Xalan-J version is your application actually using?
See http://xml.apache.org/xalan-j/faq.html#faq-9 and the
EnvironmentCheck utility, although it's functionality may be slightly
different in past builds. Or download the latest xml-commons and use
the Which utility from there: http://xml.apache.org/commons/#java
ChildWalkerMultiStep hasn't been around for a while, although in the
2.0.1 build it did have a getNextNode() even though it was protected.
=====
- Shane
<eof aka="mailto:[EMAIL PROTECTED]"
.sig="Du sublime au ridicule il n'y a qu'un pas." />
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com