Subjects
Home
Xalan extension functions
Fomatting question serializing DOM with pretty print
xalan with pull parser
Cannot find the declaration
Apache Xalan drop support to run on JRE 1 1 x
Why does Doctype change processing of a document
Node set to XML string via Java extensions in Xalan J: possible?
Templates/Transformers + thread safety???
Problem evaluating xpath with muliple prefix with different namespace
remove an arbitrary attribute from xsl output
Xalan3 XSLT 2 0 XPath 2 0 support?
Problem using compiled translets with Xalan !!
Xalan and jstl 1 1 problem with transform tag
NullPointer in DOM2DTM getLocalName
URIResolvers base parameter with xsltc and cascaded imports
Performance problem for Xalan J on intel dual core
Standard libraries in JAXP?
Serializing a DOM tree to XML file, customize entities replacement
Library Conflict Involving BCEL Library
A question on how users are using <xsl:message >
Kevin Cormier as a new Apache Xalan J committer
Struggling to iterate over tokenized string
Xalan count() trouble
Problem with recursive xpath
Error when switching to java 1 5
document( ' ')
Problem with Xalan2 7 0 transformation
cr/lf options
entity encoded XML
can xalan transform 2 xml using one xslt?
Xalan J JIRA defect review Monday October 16, 2006 from 2:00 to 3:30 pm ED
xsl transform with cdata section elements
xslt parameters not expanded
Weird behavior of XPath evaluate()
How to avoid <xsl:message > instruction prints stylesheet file informations ?
Cannot find SimpleTransform subdirectory after installing Xalan J
recover from document not found exceptions
jdk1 5 and Xalan jar differences?
Performance Issue
Error/Bug adding floating point numbers
XPathAPI: eval exp using nodes with default namespace
modifying xalan to output invalid XML
NullPointerException
mege two separate xml nodes into one
Is this a XALAN document identification bug?
is StylesheetRoot really java io Serializable ?
transform() fails for DOMSource but succeeds for StreamSource
Thoughts on Transformer parameter passing
HELP, Xalan and jstl 1 1 problem with transformer
Problem with XPath namespace axis?
string utils:replace deleting search string if replacement string is an HTML
help with enumeration values pls
xalan 2 5 1 vs 2 7 performance question
How to insert/update in XML document
HTML Serialization and Handling of Ampersands in HREF Attributes
XHTML link tag stripping
SystemId Unknown; Line #24; Column #49; java lang NullPointerException
xpath text() help
Apostrophe problem with xalan 2 7 0
How to set variables in XML document?
Links
Home
Oracle database error code ...
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Xalan servlet samples on Tomcat

Xalan servlet samples on Tomcat

2003-01-29       - By Gary L Peskin
Reply:     1     2     3     4     5     6  

Hmmm.  You mentioned that you were using the IBM JDK.  I think it might come
with some of this stuff in the lib/ext directory.  Can you check there?

Gary

> -----Original Message-----
> From: Balint Fulop [mailto:fuli42@(protected)]
> Sent: Wednesday, January 29, 2003 12:43 PM
> To: garyp@(protected); xalan-j-users@(protected)
> Subject: RE: Xalan servlet samples on Tomcat
>
>
>
> Thank you Gary, i really appreciate your support. Sorry if my
> question was
> off-topic.
>
> I have deleted SimpleXSLTServlet.class from the
> testapp\WEB-INF\classes
> directory, and somehow I can still access it, even after a
> server restart,
> through
> http://localhost:8080/testapp1/servlet/servlet.SimpleXSLTServlet
>
> There is a major goo somewhere in the system. The
> SimpleXSLTServler.class is
> not present anywhere else in the Tomcat install directory
> (and subdirs).
>
> The testapp1\WEB-INF\lib directory includes:
> bsf.jar
> xalan.jar
> xalansamples.jar
> xalanservlet.jar
> xerceslmpl.jar
> xml-apis.jar
>
> all from the Xalan package. Could it be the xalansamples file?
>
> I am just guessing, I am really a Java analphabet. I couldn't
> even insert
> compile a HelloWolrd program after inserting your code (and
> trying with the
> code found at the Xalan FAQ site). Problem: cannot resolve
> symbol: class
> EnvironmentCheck
> Even though it would be interesting to see its results.
>
> If I could only somehow get the samples going, i could do
> wonders with it.
> It is to be used on a weblog for friend of mine.
>
> Any ideas?
>
> Thanks for the help
>
> Balint
>
>
>
>
> >From: "Gary L Peskin" <garyp@(protected)>
> >To: "'Balint Fulop'" <fuli42@(protected)>,
> ><xalan-j-users@(protected)>
> >Subject: RE: Xalan servlet samples on Tomcat
> >Date: Wed, 29 Jan 2003 12:02:59 -0800
> >MIME-Version: 1.0
> >Received: from apache.org ([208.185.179.12]) by
> mc4-f10.law16.hotmail.com
> >with Microsoft SMTPSVC(5.0.2195.5600); Wed, 29 Jan 2003
> 12:08:43 -0800
> >Received: (qmail 70663 invoked by uid 500); 29 Jan 2003
> 20:04:28 -0000
> >Received: (qmail 70634 invoked from network); 29 Jan 2003
> 20:04:28 -0000
> >Received: from dodo.mail.pas.earthlink.net (207.217.120.99)  by
> >daedalus.apache.org with SMTP; 29 Jan 2003 20:04:28 -0000
> >Received: from gary004 (hsa057.pool007.at001.earthlink.net
> >[216.249.78.57])by dodo.mail.pas.earthlink.net (8.9.3/8.9.3)
> with ESMTP id
> >MAA24098;Wed, 29 Jan 2003 12:04:15 -0800 (PST)
> >Mailing-List: contact xalan-j-users-help@(protected); run by ezmlm
> >Precedence: bulk
> >list-help: <mailto:xalan-j-users-help@(protected)>
> >list-unsubscribe: <mailto:xalan-j-users-unsubscribe@(protected)>
> >list-post: <mailto:xalan-j-users@(protected)>
> >Delivered-To: mailing list xalan-j-users@(protected)
> >Message-ID: <00d901c2c7d1$6d9c5750$0c6ca8c0@(protected)>
> >X-Priority: 3 (Normal)
> >X-MSMail-Priority: Normal
> >X-Mailer: Microsoft Outlook, Build 10.0.4510
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
> >Importance: Normal
> >In-Reply-To: <F75j6Yn6FEPx4EYklS80000388d@(protected)>
> >X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
> >Return-Path:
> xalan-j-users-return-2864-fuli42=hotmail.com@(protected)
> >X-OriginalArrivalTime: 29 Jan 2003 20:08:43.0445 (UTC)
> >FILETIME=[3913BE50:01C2C7D2]
> >
> >If you have changed SimpleXSLTServlet to not look for
> trax.xml and it's
> >still looking for trax.xml, you are executing a different version of
> >SimpleXSLTServlet.  Your UseStylesheetParamServlet also indicates a
> >CLASSPATH problem and it seems that you are mixing components from
> >different versions of Xerces.
> >
> >This is really a Tomcat question since you haven't even
> invoked XalanJ
> >yet.
> >
> >What jar files are in testapp1/WEB-INF/lib?
> >
> >Also, please insert the line
> >
> >   (new EnvironmentCheck()).checkEnvironment(yourPrintWriter);
> >
> >into your servlet after creating a PrintWriter.  This will
> help us see
> >what your environment looks like.
> >
> >HTH,
> >Gary
> >
> > > -----Original Message-----
> > > From: Balint Fulop [mailto:fuli42@(protected)]
> > > Sent: Wednesday, January 29, 2003 11:37 AM
> > > To: xalan-j-users@(protected)
> > > Subject: Xalan servlet samples on Tomcat
> > >
> > >
> > > Hello!
> > >
> > > Please could anyone point why my setup is malfunctioning?
> > > Description as follows.
> > > Thanks everyone in advance.
> > >
> > >
> > > Problem:
> > > I am trying to run the servlet samples that came with Xalan, but
> > > none of them has given any positive result so far.
> > >
> > >
> > > The setup:
> > >
> > > WinXP Pro, Java SDK 1.3 from IBM, Tomcat 4.1.18 (the full
> version),
> > > and Xalan-J 2.4.1
> > > I have enabled the Invoker Servlet, and Root Context on
> > > Tomcat, turned on
> > > Servlet Reloading, and set the Java_Home path, the casspaths
> > > for the .jar
> > > files that came with Xalan, and the servlet.jar file that
> > > came with Tomcat
> > > (and the current dir (.) and my development dir as well.)
> > > I have succesfully tested the setup with a few simple
> > > servlets, including
> > > ones that use packages and utilities.
> > >
> > >
> > > The webapp:
> > >
> > > I have created a directory called testapp1, which
> includes all the
> > > dirs, that the Root has, plus a classes and lib directory in
> > > Web-inf. I have placed the .jar files that came with Xalan in
> > > the lib dir within
> > > testapp1/WEB-INF, compiled the sample java files, and put
> them in the
> > > classes dir. The xml, and xsl sample files went into the
> > > testapp1 root dir.
> > >
> > >
> > > The errors:
> > >
> > > I am getting all kinds of error messages. The SimpleXSLTServlet
> > > gives an
> > > FileNotFoundException: trax.xml error, even though I have
> changed,
> > > and recomplid, and updated the java code, and class and it does
> > > not even has the
> > > term 'trax.xml' in it !!
> > > For the UseStylesheetParamServlet sample I am getting:
> > > java.lang.VerifyError: Class
> > > org/apache/xerces/impl/XMLNSDocumentScannerImpl$NSContentDispa
> > > tcher is
> > > subclass of final class
> > > org/apache/xerces/impl/XMLDocumentScannerImpl$ContentDispatcher
> > > etc. etc.
> > >
> > >
> > > I have went through the maillist archives, goolge, ask.com, but I
> > > could not resolve the errors. I have practically zero knowledge of
> > > Java, I just want
> > > to use the Xalan samples to do simple transforms, and queries
> > > for my friends
> > > weblog. The samples would more that adequate for the job.
> > >
> > >
> > > Thanks for the help and your time,
> > >
> > >
> > > Balint
> > >
> > > _________________________________________________________________
> > > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> > > http://join.msn.com/?page=features/virus
> > >
>
>
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
>