Xalan XSLTC  problem

I've been trying to do a simple XSLTC transformation using JDK 1.4.2, but I get the following error:
java.lang.IllegalAccessError: class org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2$AncestorIterator cannot access its superclass
org.apache.xml.dtm.ref.DTMDefaultBaseIterators$InternalAxisIteratorBaseI believe this is because of the fact that the JDK files comes with some XML libraries bundled and this clashes with the downloaded Xalan libraries.
I'm just wondering if anybody has managed to do a XSLTC transformation using the JDK 1.4.2. and if they encountered any problems.
Thank you for everything!
Gustavo

Using JRE 1.4.x, the Applet that used XSLT, stared giving exception. The reason, the Xalan-Java package (older version)had been included from JDK 1.4 release on-wards. The suggested work around was to use Endrosed mechanism. But how do we use endrosed mechanism for Applets (which uses browser's JRE) ?

Similar Messages

  • (newbie) Xalan XSLTC problem

    Hi all,
    I'm using latest versions of jdk and xalan-j, if try to transform the following xml+xsl with XSLTC
    <?xml version="1.0" encoding="UTF-8" ?>
    <root>
         <XWC:surname xmlns:XWC="http://www.something.it/XWC/2.0">
              Jones
         </XWC:surname>
    </root>
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:XWC="http://www.something.it/XWC/2.0">
    <xsl:output method="html"/>
    <xsl:template match="XWC:*">
         <xsl:element name="{name()}">
              <xsl:apply-templates/>
         </xsl:element>
    </xsl:template>
    </xsl:stylesheet>
    I get the following exception:
    ERROR: ''
    javax.xml.transform.TransformerException: java.lang.NullPointerException
         at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:604)
         at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:277)
         at it.wecode.jfx.xml.sax.Pipeline.transform(Pipeline.java:20)
         at it.wecode.jfx.test.Main.main(Main.java:74)
    Caused by: java.lang.NullPointerException
         at org.apache.xml.serializer.ToHTMLStream.endElement(ToHTMLStream.java:822)
         at org.apache.xml.serializer.ToHTMLStream.endElement(ToHTMLStream.java:1606)
         at xsl.template$dot$0()
         at xsl.applyTemplates()
         at xsl.applyTemplates()
         at xsl.applyTemplates()
         at xsl.transform()
         at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:580)
         at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:597)
         ... 3 more
    java.lang.NullPointerException
         at org.apache.xml.serializer.ToHTMLStream.endElement(ToHTMLStream.java:822)
         at org.apache.xml.serializer.ToHTMLStream.endElement(ToHTMLStream.java:1606)
         at xsl.template$dot$0()
         at xsl.applyTemplates()
         at xsl.applyTemplates()
         at xsl.applyTemplates()
         at xsl.transform()
         at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:580)
         at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:597)
         at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:277)
         at it.wecode.jfx.xml.sax.Pipeline.transform(Pipeline.java:20)
         at it.wecode.jfx.test.Main.main(Main.java:74)
    Exception in thread "main"
    It works well usign interpretative Xalan or if I change the output-method to "xml".
    Any help will be appreciated!
    Giuseppe Moscarella

    A clue: it doesn't throw an exception if the output-method is 'xml' instead of 'html'...

  • Error with xalan xsltc transformation

    Hi Everybody,
    I am currently working on a performance enhancement change for my project which uses xsl for jsp html display. Due to some client requirement, we have decided to convert all our xsl stylesheets to XSLTC translet class files. Although I have managed to compile all the stylesheets to java classes, I am getting a strange runtime error for some of the xsl-jsp pages. please kindly help me as I have no clue about this error. It has now become a showstopper issue for my project delivery. I am using Websphere 5.1 jre and xml jar libraries for doing the transform. The tranformation works fine with the default xalan transformer(not xsltc). The XSLTC version is 4.0 .
    [2/6/06 17:41:33:979 IST] beb3ed2 WebGroup E SRVE0026E: [Servlet Error]-[&#40;class: com/synergy/xsl/translet/mmtoolb, method: topLevel signature: &#40;Lorg/apache/xalan/xsltc/DOM&#59;Lorg/apache/xml/dtm/DTMAxisIterator&#59;Lorg/apache/xml/serializer/SerializationHandler&#59;&#41;V&#41; Incompatible object argument for method call]: java.lang.VerifyError: (class: com/synergy/xsl/translet/mmtoolb, method: topLevel signature: (Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;)V) Incompatible object argument for method call
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java(Compiled Code))
         at java.lang.Class.getConstructor1(Class.java(Compiled Code))
         at java.lang.Class.newInstance3(Class.java(Compiled Code))
         at java.lang.Class.newInstance(Class.java(Compiled Code))
         at org.apache.xalan.xsltc.trax.TemplatesImpl.getTransletInstance(TemplatesImpl.java:345)
         at org.apache.xalan.xsltc.trax.TemplatesImpl.newTransformer(TemplatesImpl.java:374)
         at org.apache.xalan.xsltc.trax.TemplatesImplProxy.newTransformer(TemplatesImplProxy.java:106)
         at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:570)
         at com.synergy.service.XSLTTransformServiceHelper.getTransformer(XSLTTransformServiceHelper.java:296)
         at com.synergy.service.XSLTTransformServiceHelper.getTransformer(XSLTTransformServiceHelper.java:243)
         at com.synergy.service.XSLTTransformServiceHelper.transform(XSLTTransformServiceHelper.java:155)
         at com.synergy.tags.xslt.XSLTTransformTag.doEndTag(Unknown Source)
         at org.apache.jsp._mmtoolb._jspService(_mmtoolb.java:2392)
         at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:683)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:781)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Compiled Code))
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:61)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:204)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:286)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    Please reply incase you need more information about the error.
    Thanks and Regards,
    sunil kumar
    Polaris software lab ltd
    India

    The XSLTC version is 4.0Is that the version under which you compiled the classes, or the version in Websphere where you are running the classes? The error message seems to suggest there is some incompatibility happening.

  • Xalan-j problem

    Hi all friends!
    pls....i have this problem...
    E:\saxon\db2>java org.apache.xalan.xslt.Process -in usedb.xml -xsl database-access.xsl
    <html>
    <head>
    <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>HR employee listing</title>
    </head>
    <body>
    <h1>HR employee listing</h1>
    <h2>Employees by department</h2>
    </body>
    file:///E:/saxon/db2/database-access.xsl; Line #23; Column #32; XSLT Error (javax.xml.transform.TransformerException): org.apache.xpath.objects.XNodeSet.<i
    nit>(Lorg/w3c/dom/NodeV
    E:\saxon\db2>

    I forgot to mention that I did all the download and edit the classpath as the instruction in apache website.

  • XALAN Running problem

    Hi,
    I use XALAN parser but when I launch OC4J the website java.sun.com is called. XALAN needs DTD templates.
    How can I switch it off?
    Have you got any ideas?
    Rergards,
    Martin.

    And dont [url http://forum.java.sun.com/thread.jsp?forum=31&thread=537233&tstart=0&trange=15]crosspost
    Mike

  • Problem with xsltc

    Hi
    I'm working on a servlet for xsl transformation. I'm getting an error on run time :
    =============================================
    javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.xsltc.trax.TransformerFactoryImpl
    not found
         at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:100)
         at test.HelloServlet.Trans(HelloServlet.java:206)
         at test.HelloServlet.doGet(HelloServlet.java:92)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:113)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:90)
         at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99)
         at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:210)
         at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163)
         at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208)
         at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259)
         at com.caucho.server.port.TcpConnection.run(TcpConnection.java:341)
         at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:467)
         at com.caucho.util.ThreadPool.run(ThreadPool.java:408)
         at java.lang.Thread.run(Thread.java:534)
    =====================================================
    I have put the required file xsltc.jar in the claspath. If I unzip the jar file in the same place, it works.
    Any idea ?

    I have put the required file xsltc.jar in the claspath. CNF always means CLASSPATH problems. How did you put it into the CLASSPATH? System environment variable?
    If I unzip the jar file in the same place, it works.You shouldn't do this.
    Any idea ?Put the JAR into the WEB-INF/lib directory for your Web app. That's certainly in the CLASSPATH.
    %

  • Xslt transform problem on Sun AS 8PE

    Hi,
    I have following xslt:
    <xsl:call-template name="CustomerFilter">
    <xsl:with-param name="custFilterPath" select="CustomerFilter"/>
    </xsl:call-template>
    <xsl:template name="CustomerFilter">
         <xsl:param name="custFilterPath"/>
         <xsl:text>Customer filter: </xsl:text>
         <strong>
              <xsl:value-of select="$custFilterPath/Type/text()"/> - <xsl:value-of select="$custFilterPath/Name/text()"/>
         </strong>
    </xsl:template>
    I have following xml :
    <CustomerFilter id="0" idDb="0">
    <Name>All</Name>
    <Type>All</Type>
    </CustomerFilter>
    I perform a server xml-xslt tranform to html using xalan 2.5.2 on tomcat5.0.x server with following code without any errors:
    TransformerFactory tf = TransformerFactory.newInstance();
    tf.setURIResolver(new ServerURIResolver(server_url));
    Transformer t = tf.newTransformer(new StreamSource(stylesheet));
    t.setOutputProperty(OutputKeys.INDENT, indenting);
    t.setOutputProperty(OutputKeys.ENCODING, encoding);
    t.setParameter("server_url", server_url);
    t.transform(new DOMSource(response_doc), new StreamResult(response_stream));
    But when I deployed the code on Sun App Server Update1 I get following error:
    [#|2004-10-25T11:54:48.757+0200|SEVERE|sun-appserver-pe8.0.0_01|javax.enterp
    rise.system.container.web|_ThreadID=13;|StandardWrapperValve[xmlgate]:
    Servlet.service() for servlet xmlgate threw exception
    javax.xml.transform.TransformerException: java.lang.RuntimeException:
    Invalid conversion from 'reference' to 'java.lang.String'.
    at
    org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:6
    44)
    at
    org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:3
    17)
    at
    the last line of sample code
    This code ran without any problems on Sun AS 7 (with Xalan 2.3.1_01).
    I don't know why it's not working. Can anybody help me?
    Thank you,
    Miro

    Actually Xalan version shipped with AS 8.0 is Xalan 2.5.2 + bugfixes. So it is possible that slightly different version might have gone into Tomcat but i am not sure here.
    So it would be good to know, how are you making sure that the same Xalan version is used with AS 8.0 or Tomcat ?
    Best Regards

  • Running problem with a translet & Java

    Hi!
    I'm usign JDK 1.4 and Xalan 2.6.0.
    I'm able to compile the stylesheet filterAbsolutePathEscanearFuentes.xsl with the command line utility:
    java org.apache.xalan.xsltc.cmdline.Compile filterAbsolutePathEscanearFuentes.xsl
    However, when I try to run the XSL transformation using the generated translet, with the command line utility:
    java org.apache.xalan.xsltc.cmdline.Transform input.xml filterAbsolutePathEscanearFuentes
    the next error appear:
    Exception in thread "main" java.lang.VerifyError: (class: filterAbsolutePathEscanearFuentes, method: topLevel signature: (Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;)V) Bad type in putfield/putstatic
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
    at java.lang.Class.getConstructor0(Class.java:1922)
    at java.lang.Class.newInstance0(Class.java:278)
    at java.lang.Class.newInstance(Class.java:261)
    at org.apache.xalan.xsltc.cmdline.Transform.doTransform(Transform.java:100)
    at org.apache.xalan.xsltc.cmdline.Transform.main(Transform.java:297)
    Could you help me, please? I don't know what's the problem.
    Thank you so much for read this e-mail.

    It blocks because whoever is reading the other end is
    slow and all the intermediate buffers have been
    filled up. There is nothing short of NIO that you can
    do about it at the writing end. You need to
    investigate why the reader is slow.That was it! The application was running in debug mode, and my read loop sometimes logs statistic info. Which is bad when blocked. Now I have thrown out the unnecessary debug statements, and it runs smoothly. Thanks alot ejp!

  • Oracle iAS  10.1.3.5.0 Release 3 XALAN XSLT BSF Manager not found

    Hello to all,
    I have a strange problem.
    I have a very well running app under the iAS release 2.
    Now I have to go at release 3.
    The main problem that I face has to do with the XALAN libraries.
    I used to load some templates (XSL) in memory like this:
    System.setProperty("javax.xml.transform.TransformerFactory","org.apache.xalan.processor.TransformerFactoryImpl")
    InputStream xslInput = new FileInputStream(buf.toString());
    Source xslSource = new StreamSource( xslInput );
    TransformerFactory factory = TransformerFactory.newInstance();
    Templates tempFalseGlobal = factory.newTemplates( xslSource );
    This code breaks with the new release.
    More specifically it throws an InvocationException and BSFManaget not found. NullPointerException....
    I could paste the full stack trace if required.
    The error is being raised when I try to execute the transformation
    transformer.transform(xml, out);
    Thus I tried to use the latest XalanJ 2.7.1 and I have set
    System.setProperty("javax.xml.transform.TransformerFactory","org.apache.xalan.xsltc.trax.TransformerFactoryImpl");
    This requires changes into my XSLs since the Javascript extensions are not supported by the SUN's implementation.
    I tried to comment out all the setProperty statements and I receive the following error:
    <Line 1077, Column 92>: XML-22016: (Error) Extension function namespace should s
    tart with 'http://www.oracle.com/XSL/Transform/java/'.
    I am blocked right now, could you please give me some pointers here how to proceed.
    I would like to make the same application to work with no or the minimum changes required.
    Thank you in advance,

    Finally I found the answer.
    for a strange reason the classloader in release 3 was not able to find the BSF provider although the bsf.jar was inside the applib.
    Thus I have set the
    System.setProperty("org.apache.xalan.extensions.bsf.BSFManager","class to load");
    Could someone explain me why the application server was not able to locate the class although the iAS release 2 was working fine ?
    Thank you.

  • XSLTC on weblogic 9.1

    HI,
    My application is using xsltc to create PDFs.The application is deployed on weblogic 9.1.
    I have compiled my xsl files using xalan-j_2_7_0 from command-line and deployed the classes on the server.
    The problem i am facing is that the TransformerFactory implementation class which i expected to get by default from weblogic9.1(as mentioned in its documentation :
    http://e-docs.bea.com/wls/docs91/ConsoleHelp/pagehelp/Corexmlregistryxmlregistrytitle.html
    should have been com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.But what i am getting is :weblogic.xml.jaxp.RegistrySAXTransformerFactory
    I am not quite sure how to make this work with the default Factory as specified in the documentation.
    Can anyone please help out.
    Thanks

    yes i have done that.Basically i have also tried setting the System properties with the code i.e
    /* Setting the System properties. */
    Properties props = System.getProperties();
    String key = "javax.xml.transform.TransformerFactory";
    String value = "org.apache.xalan.xsltc.trax.TransformerFactoryImpl";
    props.put(key, value);
    I have the xalan.jar included in my path which gives me the
    org.apache.xalan.xsltc.trax.TransformerFactoryImpl class.
    However if i dont set the above weblogic should give me the default TransformerFactory class(i.e com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl) on its own.
    However it does not.When i do a getClass on my TF instance i get
    weblogic.xml.jaxp.RegistrySAXTransformerFactory class and my PDF Generation fails.

  • Heap implementation problem

    Could anyone give me some idea about heap imlementation with linked structure?(As far as i know, i had no problem with the "HeapNode" class, but i have a lot of difficulties with implementing the heap class. Also, i got the following code segment from a programming book, but i really cant keep everything in my mind.
    public void insertItem(Object k, Object e)
             throws InvalidKeyException {
    if (!comparator.isComparable(k))
             throw new InvalidKeyException("Invalid Key")
    Position z; // Position to insert
         if (isEmpty())
             z = root();
         else {
             z = last;
        while (!isRoot(z) && !isLeftChild(z))
             z = parent(z);
        if (!isRoot(z))
             z = rightChild(parent(z));
        while (!isExternal(z))
              z = leftChild(z);
      expandExternal(z);
      replace(z, new KeyElementPair(k, e));
    last = z;
      // Up-heap bubbling comes next
    Position u;
    while (!isRoot(z)) { //Up-heap bubble
        u = parent(z);
    if (comparator.isLessThanOrEqualTo(
                                keyOfPosition(u),
                                keyOfPosition(z))) break;
    swap(u, z);
    z = u;
    private Object keyOfPosition(Position p)
                       throws InvalidPositionException {
      return ((KeyElementPair) p.element()).key();
    // cast on line above should not fail
    any help would be greatly appreciated.

    I'm just using the -xml option. But I don't know what is the "datapath" element.
    This is my command line:
    java -Xmx1024M -classpath ".\UploadTest\classes;E:\software\apache\java\xalan-j_2_7_1-bin\xalan.jar;E:\software\apa che\java\xalan-j_2_7_1-bin\serializer.jar" -Djavax.xml.transform.TransformerFactory=org.apache.xalan.xsltc.trax.TransformerFactoryIm pl com.adobe.adept.upload.UploadTest http://************:8080/packaging/Package "E:\Documenti\eBook personali\****\*****.pdf" -pass ******** -xml -jpg
    The xalan implementation for xml serialization is more efficient. The -xml that you suggested is already on the command line.
    The xml content is:
    <package xmlns="http://ns.adobe.com/adept">
    <metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
      <dc:title>*******</dc:title>
      <dc:creator>**************</dc:creator>
      <dc:publisher>**********</dc:publisher>
      <dc:format>application/pdf</dc:format>
    </metadata>
    <permissions>
      <display>
       <device/>
       <until>2013-01-13T13:10:49-07:00</until>
      </display>
      <excerpt>
       <until>2013-01-13T13:10:49-07:00</until>  
      </excerpt>
      <print>
       <count initial="10" max="20" incrementInterval="3600"/>
       <maxResolution>300</maxResolution>
      </print>
    </permissions>
    </package>
    What's "the path of the using the dataPath element"?
    Thank you.
    Gianpiero

  • Xalan Templates serialize & de-serialize

    i tried to serialize the Templates object to a blob in the database
    when i try to deserialize it, i cannot simply cast it to Templates
    object - it expects/looks for all classes(translets) contained in the Templates -
    is there some way i can reload the Templates object?
    thanks
    Dee

    i tried using the same code to serialize and deserialize
    from the filesystem -
    but i get the same problem while deserializing templates -
    here is the stack
    ava.lang.ClassNotFoundException: ReNotification$0
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:195)
    at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:654)
    at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:918)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
    at java.io.ObjectInputStream.inputArray(ObjectInputStream.java:1142)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:374)
    at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at org.apache.xalan.xsltc.trax.TemplatesImpl.readObject(TemplatesImpl.java:178)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2213)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1410)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at corpact.business.process.notification.format.util.NotifPDFConfigUtil.readXSLTemplatesFromFS(NotifPDFConfigUtil.java:93)
    at corpact.business.process.notification.format.util.NotifTransformUtil.getXSLTemplates(NotifTransformUtil.java:181)
    at corpact.business.process.notification.format.util.NotifTransformUtil.transform(NotifTransformUtil.java:122)
    at corpact.business.process.notification.format.util.NotifTransformUtil.convertToPDF(NotifTransformUtil.java:89)
    at corpact.business.process.notification.format.TestReNote.main(TestReNote.java:54)

  • XSLTC not working in -server mode of JVM

    I am translating one of my request xml to response xml using SinglePropertyAvailabilityRQ.xsl. I am using XSLTC technique of transformation. This works perfectly when I am running it normal JVM mode. But when I run this in �-server� mode of JVM it gives �Stylesheet compilation error�. Attaching my program and request xml and xsl used for transformation. The transform(Node node, String xslFile) method does the actual transformation and TemplateObjectFactory class maintains compiled Templates.
    public class TemplateObjectFactory
    private static final NB4Logger logger =
    NB4Logger.getLogger(XMLUtility.class.getName());
    private static Hashtable htTemplates = new Hashtable();
    private static Templates translet = null;
    private static TransformerFactory tFactory = null;
    private static void init() throws Exception
    String key = "javax.xml.transform.TransformerFactory";
    String value = "org.apache.xalan.xsltc.trax.TransformerFactoryImpl";
    Properties props = System.getProperties();
    props.put(key, value);
    System.setProperties(props);
    try
    tFactory = TransformerFactory.newInstance();
    catch (TransformerFactoryConfigurationError e)
    throw new Exception(e);
    // The hashtable object should be available through out the life cycle of
    // web services application. Hence the Hashtable has been made a class
    // variable
    // Hashtable object is synchonized by default and hence no need to
    // check thread safe issues.
    // check if template object already exists in the hashtable
    // if exists return it or else create a new template object
    // store it in the hashtable and return it to the caller.
    * Method which returns Template objects
    * @param strRoot - XML Root tag
    * @return Templates - reference to a translet
    * @throws Exception
    public static Templates getTemplateObject(String strRoot) throws Exception
    try
    if (tFactory == null)
    if (logger.isDebugEnabled())
    logger.debug(
    "Transformer Factory object is null. Need to initialize it");
    init();
    else
    if (logger.isDebugEnabled())
    logger.debug("Transformer Factory object is not null.");
    if (htTemplates.containsKey(strRoot))
    // Template object already exists in hashtable
    translet = (Templates) htTemplates.get(strRoot);
    else
    // Template object does not exists in hashtable
    // Need to create new template object.
    // XSL stylesheet to create a translet as a Templates object.
    // translet = tFactory.newTemplates(new StreamSource(xslFile));
    translet = tFactory.newTemplates(new StreamSource(strRoot));
    // add the template object into hashtable
    htTemplates.put(strRoot, translet);
    catch (Exception e)
    logger.error("Exception Occured " + e.getMessage());
    throw new Exception(e);
    return translet;
    public static Node transform(Node node, String xslFile)
    throws WSApplicationException
    Node resultNode = null;
    //apply transform on this node
    try
    if (logger.isDebugEnabled())
    logger.debug("Inside XMLUtility.transform ");
    TransformerFactory tFactory = TransformerFactory.newInstance();
    if (tFactory.getFeature(DOMSource.FEATURE)
    && tFactory.getFeature(DOMResult.FEATURE))
    Templates translet =
    (Templates) TemplateObjectFactory.getTemplateObject(xslFile);
    if (translet == null)
    logger.error("Translet is null");
    throw new Exception("Translet is null");
    Transformer transformer = translet.newTransformer();
    DOMSource xmlDomSource = new DOMSource(node);
    if (logger.isDebugEnabled())
    logger.debug("Testing the input of transformer - node (see console)");
    if (transLogger.isDebugEnabled())
    transLogger.debug("before trasformation for : " + xslFile);
    writeToConsole(node);
    DOMResult domResult = new DOMResult();
    // Perform the transformation, placing the output in the DOMResult.
    transformer.transform(xmlDomSource, domResult);
    if (logger.isDebugEnabled())
    logger.debug(
    "Testing the Output of transformer - node (see console)");
    if (transLogger.isDebugEnabled())
    transLogger.debug("after trasformation for : " + xslFile);
    writeToConsole(node);
    resultNode = domResult.getNode();
    else
    throw new org.xml.sax.SAXNotSupportedException(
    "SAX processing not supported!");
    catch (TransformerException te)
    logger.error("Transformer Exception occured",te);
    throw new WSApplicationException(FrameworkErrorCodeConstants.eqstrTRANSFORMATION_EXCP,te.getMessage());
    catch (Exception e)
    logger.error("Exception occured",e);
    throw new WSApplicationException(FrameworkErrorCodeConstants.eqstrWS_APP_EXCP,e.getMessage());
    return resultNode;
    XSL IS:
    ======
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:hotelml="http://www.xpegs.com/v2001Q3/HotelML">
         <xsl:output method="xml" encoding="UTF-8"/>
         <xsl:template match="/SinglePropertyAvailabilityRQ">
         <xsl:param name="corpinfo">CorpInfo</xsl:param>
         <xsl:param name="freqguest">FreqGuest</xsl:param>
         <xsl:param name="udsource"></xsl:param>
    <xsl:param name="uddestintion"></xsl:param>
              <hotelml:HotelML>
                   <xsl:variable name="V1" select="."/>
                   <hotelml:Head>
                        <hotelml:Process>
                             <xsl:variable name="V43834416_27497032" select="'/HotelML/Form/PropertyInformation'"/>
                             <xsl:attribute name="DataPath"><xsl:value-of select="$V43834416_27497032"/></xsl:attribute>
                             <xsl:variable name="V43834608_27497784" select="'TI_PropertyInformationV1_1'"/>
                             <xsl:attribute name="Function"><xsl:value-of select="$V43834608_27497784"/></xsl:attribute>
                             <xsl:for-each select="ProcessingDirectives">
                                  <xsl:for-each select="@Token">
                                       <xsl:attribute name="Token"><xsl:value-of select="."/></xsl:attribute>
                                  </xsl:for-each>
                             </xsl:for-each>
                        </hotelml:Process>
                        <hotelml:Route>
                        <xsl:attribute name="Source"><xsl:value-of select="$udsource"/></xsl:attribute>
                        <xsl:attribute name="Destination"><xsl:value-of select="$uddestintion"/></xsl:attribute>
                        </hotelml:Route>
                   </hotelml:Head>
                   <hotelml:Form>
                        <hotelml:PropertyInformation>
                             <xsl:for-each select="Property">
                                  <xsl:for-each select="@DataSet">
                                       <xsl:attribute name="DataSet"><xsl:value-of select="."/></xsl:attribute>
                                  </xsl:for-each>
                             </xsl:for-each>
                             <xsl:for-each select="Property">
                                  <xsl:variable name="V6" select="."/>
                                  <xsl:for-each select="@ChainCode">
                                       <xsl:variable name="V43835568_43898712" select="."/>
                                       <xsl:for-each select="$V6/@PropertyCode">
                                            <xsl:variable name="V43835568_43898568" select="."/>
                                            <xsl:variable name="V43835568_26210968" select="';'"/>
                                            <xsl:variable name="V43835568_23714840" select="concat($V43835568_43898712,$V43835568_26210968)"/>
                                            <xsl:variable name="V43835568_27496472" select="concat($V43835568_23714840,$V43835568_43898568)"/>
                                            <xsl:attribute name="PropertyCode"><xsl:value-of select="$V43835568_27496472"/></xsl:attribute>
                                       </xsl:for-each>
                                  </xsl:for-each>
                             </xsl:for-each>
                             <hotelml:PropertyRate>
                                  <xsl:for-each select="AvailabilitySearchCriteria">
                                       <xsl:for-each select="@MatchingQualifier">
                                            <xsl:variable name="V43835760_43899784" select="."/>
                                            <xsl:variable name="V43835760_27498472" select="'ExactAndPublic'"/>
                                            <xsl:variable name="V43835760_27499064" select="$V43835760_43899784 = $V43835760_27498472"/>
                                            <xsl:variable name="V43835760_27497856" select="'ExactAndPublic'"/>
                                            <xsl:variable name="V43835760_27563088">
                                                 <xsl:choose>
                                                      <xsl:when test="$V43835760_27499064">
                                                           <xsl:value-of select="$V43835760_43899784"/>
                                                      </xsl:when>
                                                      <xsl:otherwise>
                                                           <xsl:value-of select="$V43835760_27497856"/>
                                                      </xsl:otherwise>
                                                 </xsl:choose>
                                            </xsl:variable>
                                            <xsl:attribute name="MatchingQualifier"><xsl:value-of select="$V43835760_27563088"/></xsl:attribute>
                                       </xsl:for-each>
                                  </xsl:for-each>
                                  <xsl:for-each select="AvailabilitySearchCriteria">
                                       <xsl:for-each select="@NumberOfAdults">
                                            <xsl:attribute name="NumberOfAdults"><xsl:value-of select="."/></xsl:attribute>
                                       </xsl:for-each>
                                  </xsl:for-each>
                                  <xsl:for-each select="AvailabilitySearchCriteria">
                                       <xsl:for-each select="@NumberOfBeds">
                                            <xsl:attribute name="NumberOfBeds"><xsl:value-of select="."/></xsl:attribute>
                                       </xsl:for-each>
                                  </xsl:for-each>
                                  <xsl:for-each select="AvailabilitySearchCriteria">
                                       <xsl:for-each select="@NumberOfChildren">
                                            <xsl:attribute name="NumberOfChildren"><xsl:value-of select="."/></xsl:attribute>
                                       </xsl:for-each>
                                  </xsl:for-each>
                                  <xsl:for-each select="AvailabilitySearchCriteria">
                                       <xsl:for-each select="@NumberOfRooms">
                                            <xsl:attribute name="NumberOfRooms"><xsl:value-of select="."/></xsl:attribute>
                                       </xsl:for-each>
                                  </xsl:for-each>
                                  <hotelml:DateRange>
                                       <xsl:for-each select="DateRange">
                                            <xsl:for-each select="@ArrivalDate">
                                                 <xsl:variable name="V39113288_39096080" select="."/>
                                                 <xsl:variable name="V39113288_39659576" select="'-'"/>
                                                 <xsl:variable name="V39113288_39389216" select="'4'"/>
                                                 <xsl:variable name="V39113288_39219288" select="'1'"/>
                                                 <xsl:variable name="V39113288_39206792" select="'2'"/>
                                                 <xsl:variable name="V39113288_39206432" select="'4'"/>
                                                 <xsl:variable name="V39113288_39206288" select="'7'"/>
                                                 <xsl:variable name="V39113288_39223248" select="substring($V39113288_39096080,$V39113288_39206432,$V39113288_39206792)"/>
                                                 <xsl:variable name="V39113288_39213664" select="substring($V39113288_39096080,$V39113288_39206288,$V39113288_39389216)"/>
                                                 <xsl:variable name="V39113288_40407544" select="concat($V39113288_39213664,$V39113288_39659576)"/>
                                                 <xsl:variable name="V39113288_39227648" select="substring($V39113288_39096080,$V39113288_39219288,$V39113288_39206792)"/>
                                                 <xsl:variable name="V39113288_39754960" select="concat($V39113288_40407544,$V39113288_39227648)"/>
                                                 <xsl:variable name="V39113288_40050096" select="concat($V39113288_39754960,$V39113288_39659576)"/>
                                                 <xsl:variable name="VX1" select="concat($V39113288_40050096,$V39113288_39223248)"/>
                                                 <xsl:attribute name="InDate">
                                                      <xsl:value-of select="$VX1"/>
                                                 </xsl:attribute>
                                            </xsl:for-each>
                                       </xsl:for-each>
                                       <xsl:for-each select="DateRange">
                                            <xsl:for-each select="@DepartureDate">
                                                 <xsl:variable name="V39113480_39096272" select="."/>
                                                 <xsl:variable name="V39113480_40854384" select="'7'"/>
                                                 <xsl:variable name="V39113480_40819072" select="'1'"/>
                                                 <xsl:variable name="V39113480_40355560" select="'4'"/>
                                                 <xsl:variable name="V39113480_39729264" select="'-'"/>
                                                 <xsl:variable name="V39113480_39604688" select="'2'"/>
                                                 <xsl:variable name="V39113480_40211880" select="substring($V39113480_39096272,$V39113480_40854384,$V39113480_40355560)"/>
                                                 <xsl:variable name="V39113480_40972544" select="concat($V39113480_40211880,$V39113480_39729264)"/>
                                                 <xsl:variable name="V39113480_39498544" select="substring($V39113480_39096272,$V39113480_40355560,$V39113480_39604688)"/>
                                                 <xsl:variable name="V39113480_40211952" select="substring($V39113480_39096272,$V39113480_40819072,$V39113480_39604688)"/>
                                                 <xsl:variable name="V39113480_40924360" select="concat($V39113480_40972544,$V39113480_40211952)"/>
                                                 <xsl:variable name="V39113480_40057704" select="concat($V39113480_40924360,$V39113480_39729264)"/>
                                                 <xsl:variable name="V39113480_39469104" select="concat($V39113480_40057704,$V39113480_39498544)"/>
                                                 <xsl:attribute name="OutDate">
                                                      <xsl:value-of select="$V39113480_39469104"/>
                                                 </xsl:attribute>
                                            </xsl:for-each>
                                       </xsl:for-each>
                                  </hotelml:DateRange>
                             <xsl:for-each select="RatePlan">
                             <hotelml:RateSearch>
                                       <xsl:for-each select="@RatePlanCode">
                                                 <xsl:attribute name="RatePlanCode">
                                                      <xsl:value-of select="."/>
                                                 </xsl:attribute>
                                  </xsl:for-each>
                                            <xsl:for-each select="@RatePlanType">
                                                 <xsl:attribute name="RatePlanType">
                                                      <xsl:value-of select="."/>
                                                 </xsl:attribute>
                                            </xsl:for-each>      
                                       <xsl:if test="$V1/ClientFileIdentification/@ClientFileType[.!='']">
                                            <xsl:variable name="testcp" select="$V1/ClientFileIdentification/@ClientFileType"/>
                                            <xsl:if test="$corpinfo=$testcp">
                                            <hotelml:CorpInfo>
                                                 <xsl:for-each select="$V1/ClientFileIdentification">
                                                      <xsl:variable name="V26" select="."/>
                                                      <xsl:for-each select="@ClientFileType">
                                                      <xsl:variable name="V43837680_43899976" select="."/>
                                                      <xsl:if test="$corpinfo=$V43837680_43899976">
                                                           <xsl:for-each select="$V26/@ClientFileNumber">
                                                                <xsl:variable name="V43837680_43899000" select="."/>
                                                                <xsl:variable name="V43837680_42661680" select="'CorpInfo'"/>
                                                                <xsl:variable name="V43837680_42657544" select="$V43837680_43899976 = $V43837680_42661680"/>
                                                                <xsl:variable name="V43837680_43918784" select="''"/>
                                                                <xsl:variable name="V43837680_42658496">
                                                                     <xsl:choose>
                                                                          <xsl:when test="$V43837680_42657544">
                                                                               <xsl:value-of select="$V43837680_43899000"/>
                                                                          </xsl:when>
                                                                          <xsl:otherwise>
                                                                               <xsl:value-of select="$V43837680_43918784"/>
                                                                          </xsl:otherwise>
                                                                     </xsl:choose>
                                                                </xsl:variable>
                                                                <xsl:attribute name="Code"><xsl:value-of select="$V43837680_42658496"/></xsl:attribute>
                                                           </xsl:for-each>
                                                      </xsl:if>
                                                      </xsl:for-each>
                                                 </xsl:for-each>
                                            </hotelml:CorpInfo>
                                            </xsl:if>
                                            </xsl:if>
                                            <xsl:if test="$V1/ClientFileIdentification/@ClientFileType[.!='']">
                                            <xsl:variable name="testfr" select="$V1/ClientFileIdentification/@ClientFileType"/>
                                            <xsl:if test="$freqguest=$testfr">
                                            <hotelml:FreqGuest>
                                                 <xsl:for-each select="$V1/ClientFileIdentification">
                                                      <xsl:variable name="V29" select="."/>
                                                      <xsl:for-each select="@ClientFileType">
                                                      <xsl:variable name="V43837872_43899976" select="."/>
                                                      <xsl:if test="$freqguest=$V43837872_43899976">
                                                           <xsl:for-each select="$V29/@ClientFileNumber">
                                                                <xsl:variable name="V43837872_43899000" select="."/>
                                                                <xsl:variable name="V43837872_42659040" select="'FreqGuest'"/>
                                                                <xsl:variable name="V43837872_42660064" select="$V43837872_43899976 = $V43837872_42659040"/>
                                                                <xsl:variable name="V43837872_43918856" select="''"/>
                                                                <xsl:variable name="V43837872_42661136">
                                                                     <xsl:choose>
                                                                          <xsl:when test="$V43837872_42660064">
                                                                               <xsl:value-of select="$V43837872_43899000"/>
                                                                          </xsl:when>
                                                                          <xsl:otherwise>
                                                                               <xsl:value-of select="$V43837872_43918856"/>
                                                                          </xsl:otherwise>
                                                                     </xsl:choose>
                                                                </xsl:variable>
                                                                <xsl:attribute name="Code"><xsl:value-of select="$V43837872_42661136"/></xsl:attribute>
                                                           </xsl:for-each>
                                                           </xsl:if>
                                                      </xsl:for-each>
                                                 </xsl:for-each>
                                            </hotelml:FreqGuest>
                                            </xsl:if>
                                       </xsl:if>
                                  </hotelml:RateSearch>
                                  </xsl:for-each>
                             </hotelml:PropertyRate>
                        </hotelml:PropertyInformation>
                   </hotelml:Form>
              </hotelml:HotelML>
         </xsl:template>
    </xsl:stylesheet>
    Request XML is:
    =============
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <SinglePropertyAvailabilityRQ Language="-1">
    <AvailabilitySearchCriteria AlternatePropertyFlag="False" NumberOfAdults="1" NumberOfChildren="1" NumberOfRooms="1"/>
    <Promotion PromotionCode=""/>
    <RatePlan/>
    <RatePlan RatePlanCode="Eco" RatePlanType="Standard"/>
    <RatePlan RatePlanCode="EQUR" RatePlanType="Standard"/>
    <ProcessingDirectives InstanceId="1" Token="1088400136957"/>
    <Property ChainCode="XX" PropertyCode="61309" PropertyCodeType="RV"/>
    <DateRange ArrivalDate="07/03/2004" DepartureDate="07/04/2004" NumberOfNights="1"/>
    <SuppressZeroRates Code="NO"/>
    </SinglePropertyAvailabilityRQ>

    JVM gives an Exception. I don't have the complete stack trace. But just have the message of the Exception.
    javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
    Soon I will paste the complete StackTrace.

  • Xalan error in Weblogic console

    Hi,
    I'm trying to deploy an existing application (developped for Weblogic 8.1) on Weblogic 10.0 MP1. My application is packaged as a WAR file and contains xalan.jar (because I use XSLT). After my application is deployed when I try to access some page of Weblogic console I get an error with a long stack trace. If I undeploy my application and restart Weblogic it works again.
    Here is the stack I get when I try to access myrealm configuration. Any idea?
    <31 juil. 2008 14 h 43 CEST> <Error> <Console> <BEA-240003> <Console encountered the following error Exception during RequestDispatcher.include().
    Throwable: javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.xsltc.trax.TransformerFactoryImpl not found
    Stack Trace:
    javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.xsltc.trax.TransformerFactoryImpl not found
         at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:109)
         at com.bea.console.taglib.html.TemplateTag.doAfterBody(TemplateTag.java:42)
         at jsp_servlet._jsp._security._realm.__realmgeneralform._jsp__tag6(__realmgeneralform.java:415)
         at jsp_servlet._jsp._security._realm.__realmgeneralform._jsp__tag4(__realmgeneralform.java:336)
         at jsp_servlet._jsp._security._realm.__realmgeneralform._jsp__tag1(__realmgeneralform.java:210)
         at jsp_servlet._jsp._security._realm.__realmgeneralform._jspService(__realmgeneralform.java:133)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
         at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.java:119)
         at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:551)
         at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:363)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:483)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
         at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
         at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
         at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
         at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
         at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:285)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
         at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
         at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
         at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
         at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
         at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
         at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
         at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
         at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:285)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
         at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
         at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
         at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
         at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
         at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
         at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
         at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
         at jsp_servlet._framework._skeletons._default.__flowlayout._jspService(__flowlayout.java:281)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
         at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
         at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
         at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
         at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
         at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
         at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
         at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
         at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:285)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
         at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
         at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
         at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
         at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:188)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:142)
         at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:377)
         at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:253)
         at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:206)
         at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:191)
         at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:266)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:124)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    >
    <31 juil. 2008 14 h 43 CEST> <Error> <netuix> <BEA-423405> <An exception [javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.xsltc.trax.TransformerFactoryImpl not found] was thrown while rendering the content at [jsp/security/realm/RealmGeneralForm.jsp].
    javax.servlet.ServletException: javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.xsltc.trax.TransformerFactoryImpl not found
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:324)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
         Truncated. see log file for complete stacktrace
    javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.xsltc.trax.TransformerFactoryImpl not found
         at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:109)
         at com.bea.console.taglib.html.TemplateTag.doAfterBody(TemplateTag.java:42)
         at jsp_servlet._jsp._security._realm.__realmgeneralform._jsp__tag6(__realmgeneralform.java:415)
         at jsp_servlet._jsp._security._realm.__realmgeneralform._jsp__tag4(__realmgeneralform.java:336)
         at jsp_servlet._jsp._security._realm.__realmgeneralform._jsp__tag1(__realmgeneralform.java:210)
         Truncated. see log file for complete stacktrace
    >
    <31 juil. 2008 14 h 43 CEST> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI /jsp/security/realm/RealmGeneralForm.jsp.>

    Hi,
    Thanks for your interest.
    This application was working on Weblogic 8.1 SP1 for 4 years (before it was Weblogic 6). But with Weblogic 8.1 we had to use the endorsed mecanism to make xalan working in our application. With 10.0 we don't need it anymore (our application is working) but it is now the Weblogic console that is failing...
    I will try to use endorsed again, but I don't understand why a deployed application breaks Weblogic console. Is there no classloader isolation?
    Best regards,
    Julien

  • Xslt conversion not working: nosuchmethoderror:org.apache.xml.dtm.ref.sax2d

    hi all, iam trying to convert xml file to html using xslt.
    for that iam using xalan implementation 2.6. this was working fine when i checked it from the application, no iam using servet which instantiates a object of the class and calls the method...and it not working now.
    it is giving this errror
    java.lang.NoSuchMethodError: org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.(Lorg/apache/xml/dtm/DTMManager;Ljavax/xml/transform/Source;ILorg/apache/xml/dtm/DTMWSFilter;Lorg/apache/xml/utils/XMLStringFactory;ZIZZ)V
         at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.(SAX2DTM2.java:1901)
         at org.apache.xalan.xsltc.dom.SAXImpl.(SAXImpl.java:767)
         at org.apache.xalan.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:390)
         at org.apache.xalan.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:267)
         at org.apache.xalan.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:477)
         at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:637)
         at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:317)
    ...can anyone tell me what the problem is? iam setting the system property at runtime like,
    java -Djavax.xml.transformer.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl GetTestiam using the standard way of instantiating the trnaformer like
    TransformerFacotry fac= transformerFactory.newinstance() etc.etc.
    is it beaucse iam not specifiying the imlementation in the application???if so how can i do that.
    thankyou.

    found the answer !!!
    i was using a buggy implementation of xalan. on loading the good xalan.jar and xercesImpl.jar files it started working.
    found that there was a memory leak in 2 places. not sure what that meant but some how the virtual machine wasnt getting the right values for the transformer.
    cheers.

Maybe you are looking for

  • Wacom Tablet Issues with LR 5.6

    Ever since I upgrade to LR 5.6, I'm having problems with my wacom tablet (intuos 5 wireless small).  When I use the TAT, as I move up and down the slider moves a couple of numbers and them stops.  If I use my blue tooth mouse, it works just fine.  Al

  • How to eliminate duplicate copies after doing a sort

    I did a filter/sort across 100's of folders then exported the results to a separate folder. I later noticed way too many duplicates in the new folder. Does Lightroom have a feature to automatically remove or eliminate duplicates when doing such a pro

  • What is the best program for scrapbooking

    What is the best, but easiest program to use for scrapbooking?

  • BPC Run Allocation Logic

    Dear All, I am new in BPC world so i want ur help in solving one error when running allocation logic, it is not accepting more than 1 member in the denominator the factor i am using is 1/using can u pls help on this thanks.

  • Where is the discussion for mac mail

    They list virtually all other apps, itunes, safari etc. but there is no forum for the mail application.  I see people have all kinds of problems with it but those don['t seem to be gathered under any specific heading where you can look for them or wh