One ugly way is to rename them to aXalan.jar, axerces.jar... therefore
putting them alphabetically before jaxp.jar
They would have to be in the same directory, though.

Like I said, ugly.

                -----Original Message-----
                From:   Peter Delahunty
[mailto:[EMAIL PROTECTED]]
                Sent:   Thursday, February 08, 2001 4:21 AM
                To:     Orion-Interest
                Subject:        Controlling the Class path order for XALAN


                Hi guys

                i am trying to run Xalan with Orion. However i am having
some problems.  

                i get "Namespace not supported by SAXParser" error. Now i
have found that
                this is because jaxp.jar is also on the classpath. However
Orion requires
                this to work. 

                So to solve this problem i need to have jaxp.jar come after
xalan.jar on the
                class path for me running my application under orion. 

                eg. xalan.jar;jaxp.jar
                This way the classes in xalan.jar are loaded first and are
used instead of
                jaxp.jar

                as far as i know the avaiale classpath directories are, in
this order i
                think

                1.      /orion  root (currently contains jaxp.jar and orions
versions of
                xalan.jar and xerces.jar)
                2.      /orion/lib      for golbal files (currently does not
contain any
                files related to me)
                3.      <my-app-directory>/web-inf/lib (currently contains
the lastest
                versions of xalan.jar and xerces.jar)


                So my question is how do i get my version of Xalan.jar and
xerces.jar to
                load before jaxp.jar

                cheers 

Reply via email to