Have you got another XML processor in your class path that's maybe overriding the one that comes shipped with Ant?
> -----Original Message----- > From: Peng Annie / FINLAND [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 3:18 PM > To: 'Tomcat Users List' > Subject: RE: Context problem, urgent! > > > This is the full error message I got during building: > > > build-main: > [style] DEPRECATED - xslp processor is deprecated. Use > trax or xalan > instead > . > [style] java.lang.NoClassDefFoundError: > com/kvisco/xsl/XSLProcessor > [style] at > org.apache.tools.ant.taskdefs.optional.XslpLiaison.<init>(Xsl > pLiaison.java:80) > [style] at java.lang.Class.newInstance0(Native Method) > [style] at java.lang.Class.newInstance(Class.java:237) > [style] at > org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XS > LTProcess.java:376) > [style] at > org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProc > ess.java:557) > [style] at > org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess > .java:195) > [style] at org.apache.tools.ant.Task.perform(Task.java:319) > [style] at > org.apache.tools.ant.Target.execute(Target.java:309) > [style] at > org.apache.tools.ant.Target.performTasks(Target.java:336) > [style] at > org.apache.tools.ant.Project.executeTarget(Project.java:1306) > > [style] at > org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) > [style] at org.apache.tools.ant.Task.perform(Task.java:319) > [style] at > org.apache.tools.ant.Target.execute(Target.java:309) > [style] at > org.apache.tools.ant.Target.performTasks(Target.java:336) > [style] at > org.apache.tools.ant.Project.executeTarget(Project.java:1306) > > [style] at > org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) > [style] at org.apache.tools.ant.Task.perform(Task.java:319) > [style] at > org.apache.tools.ant.Target.execute(Target.java:309) > [style] at > org.apache.tools.ant.Target.performTasks(Target.java:336) > [style] at > org.apache.tools.ant.Project.executeTarget(Project.java:1306) > > [style] at > org.apache.tools.ant.Project.executeTargets(Project.java:1250 > ) > [style] at org.apache.tools.ant.Main.runBuild(Main.java:610) > [style] at org.apache.tools.ant.Main.start(Main.java:196) > [style] at org.apache.tools.ant.Main.main(Main.java:235) > [style] java.lang.NoClassDefFoundError: > org/apache/xalan/xslt/XSLTProcessorF > actory > [style] at > org.apache.tools.ant.taskdefs.optional.XalanLiaison.<init>(Xa > lanLiaison.java:84) > [style] at java.lang.Class.newInstance0(Native Method) > [style] at java.lang.Class.newInstance(Class.java:237) > [style] at > org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XS > LTProcess.java:379) > [style] at > org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProc > ess.java:554) > [style] at > org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess > .java:195) > [style] at org.apache.tools.ant.Task.perform(Task.java:319) > [style] at > org.apache.tools.ant.Target.execute(Target.java:309) > [style] at > org.apache.tools.ant.Target.performTasks(Target.java:336) > [style] at > org.apache.tools.ant.Project.executeTarget(Project.java:1306) > > [style] at > org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) > [style] at org.apache.tools.ant.Task.perform(Task.java:319) > [style] at > org.apache.tools.ant.Target.execute(Target.java:309) > [style] at > org.apache.tools.ant.Target.performTasks(Target.java:336) > [style] at > org.apache.tools.ant.Project.executeTarget(Project.java:1306) > > [style] at > org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) > [style] at org.apache.tools.ant.Task.perform(Task.java:319) > [style] at > org.apache.tools.ant.Target.execute(Target.java:309) > [style] at > org.apache.tools.ant.Target.performTasks(Target.java:336) > [style] at > org.apache.tools.ant.Project.executeTarget(Project.java:1306) > > [style] at > org.apache.tools.ant.Project.executeTargets(Project.java:1250 > ) > [style] at org.apache.tools.ant.Main.runBuild(Main.java:610) > [style] at org.apache.tools.ant.Main.start(Main.java:196) > [style] at org.apache.tools.ant.Main.main(Main.java:235) > > BUILD FAILED > file:C:/jakarta-tomcat-4.1.18-src/webapps/tomcat-docs/build.xml:82: > javax.xml.tr > ansform.TransformerFactoryConfigurationError: Provider for > javax.xml.transform.T > ransformerFactory cannot be found > > > > > > > -----Original Message----- > From: Roberts, Eric [mailto:[EMAIL PROTECTED]] > Sent: 30. tammikuuta 2003 15:54 > To: Tomcat Users List > Subject: RE: Context problem, urgent! > > > Hi, > > The missing jar is xml-apis.jar which is an Ant distribution jar. > > Have you set the ANT_HOME environment variable? > > -----Original Message----- > From: Peng Annie / FINLAND [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 30. J�nner 2003 14:18 > To: 'Tomcat Users List' > Subject: RE: Context problem, urgent! > > > Hi, > > I am still struggling with ant. After puting the library > files manually, I > got this error message: > > BUILD FAILED > file:C:/jakarta-tomcat-4.1.18-src/webapps/tomcat-docs/build.xml:82: > javax.xml.tr > ansform.TransformerFactoryConfigurationError: Provider for > javax.xml.transform.T > ransformerFactory cannot be found > > Which lib file is missing? > > > Thanks in advance. > > > > -----Original Message----- > From: Barney Hamish [mailto:[EMAIL PROTECTED]] > Sent: 30. tammikuuta 2003 13:53 > To: 'Tomcat Users List' > Subject: RE: Context problem, urgent! > > > It doesn't really matter if it downloads the zipped tar or > the zip, they're > both pretty much the same and should work on either platform... > > My guess is your firewall is getting in the way of ant's > efforts to download > the beanutils. Check in the build script or the instructions where it > expects to find the bean utils package, download it yourself > and put it > there. > > > > -----Original Message----- > > From: Peng Annie / FINLAND [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 30, 2003 12:26 PM > > To: 'Tomcat Users List' > > Subject: RE: Context problem, urgent! > > > > > > OK Now when I run ant in tomcat src dir it doesn't complain. > > But it was > > failed with the following message: > > > > [echo] download > > http://jakarta.apache.org/builds/jakarta-commons/release/commo > > ns-beanutils/v > > 1.4.1/commons-beanutils-1.4.1.tar.gz > > > > testexist: > > [echo] Testing for > > /usr/local/commons-beanutils-1.4.1/commons-beanutils.jar > > > > downloadgz: > > [get] Getting: > > http://jakarta.apache.org/builds/jakarta-commons/release/commo > > ns-beanutils/v > > 1.4.1/commons-beanutils-1.4.1.tar.gz > > [get] Error getting > > http://jakarta.apache.org/builds/jakarta-commons/release/commo > > ns-beanutils/v > > 1.4.1/commons-beanutils-1.4.1.tar.gz to \usr\local\file.tar.gz > > > > BUILD FAILED > > file:C:/jakarta-tomcat-4.1.18-src/build.xml:564: > > java.io.FileNotFoundException: > > http://jakarta.apache.org/builds/jakarta-commons/release/commo > > ns-beanutils/v > > 1.4.1/commons-beanutils-1.4.1.tar.gz > > > > Total time: 2 seconds > > > > > > I am using W2k, why it tried to download tar.gz? > > > > > > > > -----Original Message----- > > From: Barney Hamish [mailto:[EMAIL PROTECTED]] > > Sent: 30. tammikuuta 2003 13:13 > > To: 'Tomcat Users List' > > Subject: RE: Context problem, urgent! > > > > > > It sounds like you're running ant from the wrong directory... > > Try running Ant from the directory where the Tomcat build.xml is. > > > > Hamish > > > > > -----Original Message----- > > > From: Peng Annie / FINLAND [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, January 30, 2003 11:59 AM > > > To: 'Tomcat Users List' > > > Subject: RE: Context problem, urgent! > > > > > > > > > Hi Bill, > > > > > > Thanks a lot for the instruction. But where shall I put Ant? > > > When I run 5) > > > step in your instruction, it always complain "build.xml > > > doesn't existed!" > > > > > > BR, > > > > > > Annie > > > > > > -----Original Message----- > > > From: Bill Barker [mailto:[EMAIL PROTECTED]] > > > Sent: 30. tammikuuta 2003 11:23 > > > To: [EMAIL PROTECTED] > > > Subject: Re: Context problem, urgent! > > > > > > > > > Since 13040 is still marked "NEW", I'm afraid so. > > > > > > It's really not as scary as it sounds. The steps are > (assuming that > > > jakarta-ant-1.5.x is already installed, and in your PATH): > > > 1) download and un-pack the Tomcat source distribution. > > > 2) download and un-pack the Connector source distribution > > > 3) cd to the directory where you unpacked the Tomcat source > > > (by default > > > .../jakarta-tomcat-4.1.x-src), and copy the > > > 'build.properties.sample' file > > > to 'build.properties' > > > 4) edit the 'build.properties' file to set the 'jtc.home' > > > property to the > > > location of the Connector source dowload. Last time that I > > > did this, you > > > also need to set the 'jasper.home=jasper' property. If you > > > are behind a > > > firewall, then you also have to set the 'proxy.host' and > > > 'proxy.port' to > > > your proxy server's values. These (as well as the > 'proxy.use') are > > > commented out by default: uncomment them if this applies. > > > 5) run the command 'ant download' to install the additional > > libraries. > > > 6) apply the patch to the source code. > > > 7) run the command 'ant dist' to create a new Tomcat > distribution in > > > .../jakarta-tomcat-4.1.x-src/dist. > > > > > > "Peng Annie / FINLAND" <[EMAIL PROTECTED]> wrote in message > > > > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > Thanks Bill. It is exactly my problem. It is a bug of > > > TC4.1.12. I noticed > > > > that there is fixing solution to the source code. Does it > > > mean that I have > > > > to download the source code and modify it and recompile it? > > > > > > > > -----Original Message----- > > > > From: Bill Barker [mailto:[EMAIL PROTECTED]] > > > > Sent: 30. tammikuuta 2003 9:18 > > > > To: [EMAIL PROTECTED] > > > > Subject: Re: Context problem, urgent! > > > > > > > > > > > > Look at > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13040 to see if > > it > > > looks like what you are seeing. > > > > > > "Peng Annie / FINLAND" <[EMAIL PROTECTED]> wrote in message > > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > > > Hi, > > > > > > In Tomcat4, I can not get the right context of other > webapp from my app. > > My > > > app is set as the doc root. For example I have configuration like > > > > > > <Context path="" docBase="MyApp" debug="0" reloadable="true" > > > crossContext="true"/> > > > <Context path="/OtherApp" docBase="OtherApp" debug="0" > reloadable="true" > > > crossContext="true"/> > > > > > > in server.xml. But the difference from in Tomcat3.2 is, > when I user the > > > following statement in my servlet: > > > > > > ServletContext sc = > > > > this.getServletConfig().getServletContext().getContext("/OtherApp"); > > > > > > > sc.getRequestDispatcher("/servlet/ControllerServlet").forward(request, > > > response); > > > > > > Tomcat can not find the "OtherApp" context! > > > > > > Can anybody help? This is really urgent! > > > > > > Many thanks in advance! > > > > > > Annie > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- > 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] > > --------------------------------------------------------------------- > 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]
