Running sample of Apache/xalan

Hi,
I have downloaded xalan-j_2_2 and i try to run the sample demo "SimpleTransform". I run like this:
java SimpleTransformand i got:
Exception in thread "main" javax.xml.transform.TFactoryConfigurationError: org.apache.xalan.processor.TransformerFactoryImpl
     at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:134)
     at SimpleTransform.main(SimpleTransform.java:85)
The files xalan.jar,xml-apis.jar,xerces.jar etc.. are all in my CLASSPATH.
What's wrong ??
Thanks for help.

Hi,
I ran into the same problem when I tried out examples in the sample folder.
TransformerConfiguration error is caused usually because you have a version of xalan which is not stable. Make sure you extract the zip file in the same directory. (for e.g c://xalan.zip should be extracted to c:/xalan)
Set the system classpath to xerces.jar, xalan.jar, xml-apis.jar. If your running samples you'll probably need samples.jar etc as mentioned in the usagepatterns link of the xml.apache.org website.
Hope this helps.

Similar Messages

  • TransformerException -- possible bug in weblogic.apache.xalan.transformer.TransformerImpl

    Using WebLogic Server 6.1 SP2. Am using xslt to transform xml into html. After
    repeatedly
    using the same Transformer object to transform different xml documents, the Transformer
    eventually becomes corrupt – sometimes after 20 or so transforms, sometimes only
    after
    thousands.
    Once the Transformer object becomes corrupt, any additional attempt to call the
    transform
    method results in the following exception:
    =============================
    javax.xml.transform.TransformerException: -1
    at weblogic.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1248)
    at weblogic.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:483)
    at weblogic.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1153)
    at … <snip>
    Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
    at weblogic.apache.xml.utils.NodeVector.popQuick(NodeVector.java:247)
    at weblogic.apache.xpath.XPathContext.popCurrentNode(XPathContext.java:552)
    at weblogic.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2100)
    at weblogic.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1225)
    at … <snip>
    =============================
    Using cavaj to decompile weblogic.apache.xalan.transformer.TransformerImpl yields:
    Method: applyTemplateToNode:
    try
    pushElemTemplateElement(elemtemplateelement1);
    m_xcontext.pushCurrentNode(node);
         <snip>
    catch(SAXException saxexception)
    throw new TransformerException(saxexception);
    finally
    m_xcontext.popCurrentNode();
         <snip>
    So what appears to be happening is that one of the two push calls at the beginning
    of the try
    block is throwing an Exception, causing the pop method to be called in the finally
    block without
    first having had a successful call to push. The corresponding NodeVector inside
    m_xcontext
    thereupon becomes corrupt, and it is only a matter of time before the above
    ArrayIndexOutOfBoundsException appears.
    Unfortunately, we are unable to consistently reproduce this Transformer corruption
    and
    currently have no idea how it happens in the first place. We figure there’s probably
    some sort
    of error in our xsl stylesheet which is at the root of all this, but have had
    no luck in finding it.
    So, two questions:
    1.) Has anyone encountered this problem of having a bad xsl stylesheet which,
    when applied
    repeatedly on certain xml documents, can cause the Transformer to become corrupt
    as a result
    of calling NodeVector.pop without a corresponding call to NodeVector.push? If
    so, do you have
    a simple example of the type of xsl template and/or xml document which might reproduce
    the
    scenario.
    2.) Would not the above code snippet in TransformerImpl be considered buggy in
    any case,
    since it should not be possible for an invalid xsl stylesheet to permanently corrupt
    the
    Transformer? If there’s agreement that this represents a bug in TransformerImpl,
    has it been
    fixed in 6.1 SP3 or higher, or in subsequent versions of the Weblogic Server?
    Thanks,
    John

    hi,
    I've just recently started getting this error too. It's completely random as
    to when it occurs. My system can process hundreds of translations with no problems
    and then once and awhile I get this exact error.
    I'm using WebLogic v7.0 sp2. I've noticed however that this only happens on my
    Windows system - I've got it running on a solairs box with no problems.
    Has anyone else seen this ?
    Thanks.
    Jerry
    "John Lame" <[email protected]> wrote:
    >
    Using WebLogic Server 6.1 SP2. Am using xslt to transform xml into html.
    After
    repeatedly
    using the same Transformer object to transform different xml documents,
    the Transformer
    eventually becomes corrupt – sometimes after 20 or so transforms, sometimes
    only
    after
    thousands.
    Once the Transformer object becomes corrupt, any additional attempt to
    call the
    transform
    method results in the following exception:
    =============================
    javax.xml.transform.TransformerException: -1
    at weblogic.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1248)
    at weblogic.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:483)
    at weblogic.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1153)
    at … <snip>
    Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
    at weblogic.apache.xml.utils.NodeVector.popQuick(NodeVector.java:247)
    at weblogic.apache.xpath.XPathContext.popCurrentNode(XPathContext.java:552)
    at weblogic.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2100)
    at weblogic.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1225)
    at … <snip>
    =============================
    Using cavaj to decompile weblogic.apache.xalan.transformer.TransformerImpl
    yields:
    Method: applyTemplateToNode:
    try
    pushElemTemplateElement(elemtemplateelement1);
    m_xcontext.pushCurrentNode(node);
         <snip>
    catch(SAXException saxexception)
    throw new TransformerException(saxexception);
    finally
    m_xcontext.popCurrentNode();
         <snip>
    So what appears to be happening is that one of the two push calls at
    the beginning
    of the try
    block is throwing an Exception, causing the pop method to be called in
    the finally
    block without
    first having had a successful call to push. The corresponding NodeVector
    inside
    m_xcontext
    thereupon becomes corrupt, and it is only a matter of time before the
    above
    ArrayIndexOutOfBoundsException appears.
    Unfortunately, we are unable to consistently reproduce this Transformer
    corruption
    and
    currently have no idea how it happens in the first place. We figure
    there’s probably
    some sort
    of error in our xsl stylesheet which is at the root of all this, but
    have had
    no luck in finding it.
    So, two questions:
    1.) Has anyone encountered this problem of having a bad xsl stylesheet
    which,
    when applied
    repeatedly on certain xml documents, can cause the Transformer to become
    corrupt
    as a result
    of calling NodeVector.pop without a corresponding call to NodeVector.push?
    If
    so, do you have
    a simple example of the type of xsl template and/or xml document which
    might reproduce
    the
    scenario.
    2.) Would not the above code snippet in TransformerImpl be considered
    buggy in
    any case,
    since it should not be possible for an invalid xsl stylesheet to permanently
    corrupt
    the
    Transformer? If there’s agreement that this represents a bug in TransformerImpl,
    has it been
    fixed in 6.1 SP3 or higher, or in subsequent versions of the Weblogic
    Server?
    Thanks,
    John

  • Org.apache.xalan.transformer.TransformerImpl

    I have an ecr.index servlet which is run on Tomcat, here is the part of it's code:
               javax.xml.transform.sax.SAXTransformerFactory factory = ( javax.xml.transform.sax.SAXTransformerFactory ) javax.xml.transform.TransformerFactory.newInstance();
               Source ss = new StreamSource( new FileInputStream( context.getRealPath( xsl_file ) ) );
               ss.setSystemId( context.getRealPath( xsl_file ) );
               javax.xml.transform.sax.TransformerHandler handler = factory.newTransformerHandler( ss );
           131:handler.setResult( new StreamResult( response.getOutputStream() ) );When I access the page the exception is thrown:
    org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xalan}content-handler' property!
         at org.apache.xalan.serialize.SerializerFactory.getSerializer(SerializerFactory.java:142)
         at org.apache.xalan.transformer.TransformerImpl.createResultContentHandler(TransformerImpl.java:1048)
         at org.apache.xalan.transformer.TransformerImpl.createResultContentHandler(TransformerImpl.java:975)
         at org.apache.xalan.transformer.TransformerHandlerImpl.setResult(TransformerHandlerImpl.java:209)
         at ecr.index.service(index.java:131)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:339)
         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:415)
         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:716)
         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:650)
         at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:829)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
         at java.lang.Thread.run(Thread.java:534)But I don't use org.apache.xalan.transformer.TransformerImpl, even the package org.apache.xalan.transformer isn't imported, but this package is present in classpath, where is the error?

    Here is the reason for this problem....
    JDK 1.4 comes with a version of Xalan...
    Somewhere around 1.4.2_03 the Xalan version that shipped with the JDK was upgraded because the XSLT spec was completed/revised or something like that.. When this happend the namespace identifier for xalan custom 'tags' changed. The content-handler tag used to be in the xslt name space.. now it is in the xalan namespace.
    Problem is many stylesheets don't specifically set the output format so the defaults are used and the values are initialized from a properties file. However.... and this is where the problems comes in...
    The Namespaces are used as prefixes to the keys in the file... AND... Tomcat''s WebappClassLoader is not safe about ensuring that a resource is loaded from the same Jar file as the classes that use it....
    So what is happening is... the Xalan from your JVM is being used... but it is loading the formatting properties from a Xalan that is included in your Webapp.... which of course don't match....
    All you need to do is remove the xalanXXX.jar from WEB-INF/lib and this problem will go away...
    Matt Brozowski
    The OpenNMS Group, Inc...

  • Weblogic.apache.xalan.xpath.dtm.DTMException:

    Hi,
    I got two different behaviors when trying to the XSLT processor:
    1) When running the XSLT processor using the XSLT JSP tag, everything works
    fine.
    2) When running the XSLT process from a Java program, got the following
    error:
    weblogic.apache.xalan.xpath.dtm.DTMException:
    at
    weblogic.apache.xalan.xpath.dtm.DTMProxy.getChildNodes(DTMProxy.java:
    255)
    at com.agilesoft.common.BOMRollUp.getRollupPrice(BOMRollUp.java:42)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.apache.xalan.xpath.XSLTJavaClassEngine.callJava(XSLTJavaClas
    sEngine.java:397)
    at
    weblogic.apache.xalan.xpath.XSLTJavaClassEngine.callFunction(XSLTJava
    ClassEngine.java:668)
    at
    weblogic.apache.xalan.xpath.ExtensionFunctionHandler.callFunction(Ext
    ensionFunctionHandler.java:282)
    at
    weblogic.apache.xalan.xpath.xml.XMLParserLiaisonDefault.extFunction(X
    My XSL file contains Java extension to call a Java program where it needs to
    call Element.getElementsByTagName() method,
    which causes the DTMException.
    I am using WebLogic 6.0sp2 on NT. Do I need to configure the default XSLT
    parser when running
    the processor from a Java program? Is it possible to get info. about the
    XSLT JSP tags are executing
    the XSLT processor?
    Thanks,
    Hien

    Hi,
    I got two different behaviors when trying to the XSLT processor:
    1) When running the XSLT processor using the XSLT JSP tag, everything works
    fine.
    2) When running the XSLT process from a Java program, got the following
    error:
    weblogic.apache.xalan.xpath.dtm.DTMException:
    at
    weblogic.apache.xalan.xpath.dtm.DTMProxy.getChildNodes(DTMProxy.java:
    255)
    at com.agilesoft.common.BOMRollUp.getRollupPrice(BOMRollUp.java:42)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.apache.xalan.xpath.XSLTJavaClassEngine.callJava(XSLTJavaClas
    sEngine.java:397)
    at
    weblogic.apache.xalan.xpath.XSLTJavaClassEngine.callFunction(XSLTJava
    ClassEngine.java:668)
    at
    weblogic.apache.xalan.xpath.ExtensionFunctionHandler.callFunction(Ext
    ensionFunctionHandler.java:282)
    at
    weblogic.apache.xalan.xpath.xml.XMLParserLiaisonDefault.extFunction(X
    My XSL file contains Java extension to call a Java program where it needs to
    call Element.getElementsByTagName() method,
    which causes the DTMException.
    I am using WebLogic 6.0sp2 on NT. Do I need to configure the default XSLT
    parser when running
    the processor from a Java program? Is it possible to get info. about the
    XSLT JSP tags are executing
    the XSLT processor?
    Thanks,
    Hien

  • Error in running Sample Application

    When I run sample applications I get the following message in a command window:
    PANIC: YS::ERROR::ILLEGAL IN JspApp at line 239 of .\wrkctx.c
    abnormal program termination.
    Any idea what is wrong.
    I am running OAS 4.0.8.1 on Windows NT.
    Gajendra Sirohi
    919-905-2447

    When I run sample applications I get the following message in a command window:
    PANIC: YS::ERROR::ILLEGAL IN JspApp at line 239 of .\wrkctx.c
    abnormal program termination.
    Any idea what is wrong.
    I am running OAS 4.0.8.1 on Windows NT.
    Gajendra Sirohi
    919-905-2447

  • Memory leak in org.apache.xalan.trasnformer.TransformerImpl

    I am using Xalan library, I notice there is a memory leak in org.apache.xalan.trasnformer.TransformerImpl class.
    Every time I call transform(), the size of the instances grows and it won't reduce after garbage collection.
    Does anyone experience the same thing? or do I miss anything when I use this class?

    I just found out the transformer objects are supposed to be used for single transformation only.
    If multiple transformations with same stylesheet is needed, we should create a Templates object and then for each transformation, create a transformer object by Templates.newTransformer().

  • WL10.3.3 Console Provider org.apache.xalan.processor.TransformerFactoryImp

    Getting the following error:
    An error occurred during activation of changes, please see the log for details.
    [Management:141191]The prepare phase of the configuration update failed with an exception:
    Provider org.apache.xalan.processor.TransformerFactoryImpl not found
    Note: we have the FOP added to the domain as a shared library with the following libraries:
    avalon-framework-cvs-20020806.jar
    batik.jar
    fop.jar
    xalan-2.4.1.jar
    xercesImpl-2.2.1.jar
    xml-apis.jar
    Note: Also, the shared libraries are not displaying referencing applications
    Edited by: SK Jennings on Nov 9, 2010 10:25 AM
    Added more info.

    Hi,
    I'm getting the same ClassCastException when I try to activate the changes of my EJB application. Were you able to resolve the error you were getting? Please let me know.
    Thanks

  • WL 10.3.3 Console org.apache.xalan.processor.TransformerFactoryImpl not fou

    Getting the following error:
    An error occurred during activation of changes, please see the log for details.
    [Management:141191]The prepare phase of the configuration update failed with an exception:
    Provider org.apache.xalan.processor.TransformerFactoryImpl not found
    Note: we have the FOP added to the domain as a shared library with the following libraries:
    avalon-framework-cvs-20020806.jar
    batik.jar
    fop.jar
    xalan-2.4.1.jar
    xercesImpl-2.2.1.jar
    xml-apis.jar
    Note: Also, the shared libraries are not displaying referencing applications

    Getting the following error:
    An error occurred during activation of changes, please see the log for details.
    [Management:141191]The prepare phase of the configuration update failed with an exception:
    Provider org.apache.xalan.processor.TransformerFactoryImpl not found
    Note: we have the FOP added to the domain as a shared library with the following libraries:
    avalon-framework-cvs-20020806.jar
    batik.jar
    fop.jar
    xalan-2.4.1.jar
    xercesImpl-2.2.1.jar
    xml-apis.jar
    Note: Also, the shared libraries are not displaying referencing applications

  • Trying to run sample applet 'Wallet'. What is PIN?

    Dear
    I'm trying to run sample applet 'Wallet' in java card development kit.
    I have 2 questions.
    1) I successfully upload 'cap file'. but I got an error when I install it.
    I don't know why.
    Below is the APDU
    cm> upload "C:\wallet.cap"
    => 80 E6 02 00 16 09 77 61 6C 6C 65 74 70 6B 67 08 ......walletpkg.
    A0 00 00 00 03 00 00 00 00 00 00 00 ............
    (114664 usec)
    <= 00 90 00 ...
    Status: No Error
    => 80 E8 00 00 FF C4 82 02 A8 01 00 13 DE CA FF ED ................
    01 02 04 00 01 09 77 61 6C 6C 65 74 70 6B 67 02 ......walletpkg.
    00 1F 00 13 00 1F 00 0D 00 0B 00 66 00 12 01 87 ...........f....
    00 0A 00 3A 00 00 00 DD 00 00 00 00 00 00 01 01 ...:............
    00 04 00 0B 01 00 01 07 A0 00 00 00 62 01 01 03 ............b...
    00 0D 01 09 77 61 6C 6C 65 74 61 70 70 00 01 06 ....walletapp...
    00 12 00 80 03 02 00 01 04 04 00 00 00 3A FF FF .............:..
    00 2D 00 42 07 01 87 00 04 30 8F 00 0A 18 1D 1E .-.B.....0......
    8C 00 09 7A 05 40 18 8C 00 16 18 8F 00 10 3D 06 ...z.@........=.
    10 08 8C 00 15 87 00 AD 00 19 1E 1F 8B 00 03 18 ................
    8B 00 12 7A 01 10 AD 00 8B 00 08 61 04 03 78 04 ...z.......a..x.
    78 01 10 AD 00 8B 00 06 7A 02 21 19 8B 00 02 2D x.......z.!....-
    18 8B 00 0F 60 03 7A 1A 03 25 10 B0 6A 08 11 6E ....`.z..%..j..n
    00 8D 00 0D 1A 04 25 75 00 2D 00 04 00 20 00 27 ......%u.-... .'
    00 30 00 21 00 40 00 1B 00 50 00 15 18 19 8C 00 [email protected]......
    0E 7A 18 19 8C 00 04 7A 18 19 8C 00 17 7A 18 19 .z.....z.....z..
    8C 00 0B 7A 00 ...z.
    (551929 usec)
    <= 90 00 ..
    Status: No Error
    => 80 E8 00 01 FF 11 6D 00 8D 00 0D 7A 03 24 AD 00 ......m....z.$..
    8B 00 13 61 08 11 63 01 8D 00 0D 19 8B 00 02 2D ...a..c........-
    1A 07 25 32 19 8B 00 07 5B 29 04 1F 04 6B 07 16 ..%2....[)...k..
    04 04 6A 08 11 67 00 8D 00 0D 1A 08 25 29 05 16 ..j..g......%)..
    05 10 64 6E 06 16 05 63 08 11 6A 83 8D 00 0D AF ..dn...c..j.....
    01 16 05 41 11 27 10 6F 08 11 6A 84 8D 00 0D 18 ...A.'.o..j.....
    AF 01 16 05 41 89 01 7A 03 24 AD 00 8B 00 13 61 ....A..z.$.....a
    08 11 63 01 8D 00 0D 19 8B 00 02 2D 1A 07 25 32 ..c........-..%2
    19 8B 00 07 5B 29 04 1F 04 6B 07 16 04 04 6A 08 ....[)...k....j.
    11 67 00 8D 00 0D 1A 08 25 29 05 16 05 10 64 6E .g......%)....dn
    06 16 05 63 08 11 6A 83 8D 00 0D AF 01 16 05 43 ...c..j........C
    63 08 11 6A 85 8D 00 0D 18 AF 01 16 05 43 89 01 c..j.........C..
    7A 03 22 19 8B 00 02 2D 19 8B 00 11 32 19 05 8B z."....-....2...
    00 0C 1A 03 AF 01 8D 00 18 3B 19 03 05 8B 00 05 .........;......
    7A 04 22 19 8B 00 02 2D 19 8B 00 07 5B 32 AD 00 z."....-....[2..
    1A 08 1F 8B 00 14 61 08 11 63 00 8D 00 0D 7A 08 ......a..c....z.
    00 0A 00 00 00 .....
    (405152 usec)
    <= 90 00 ..
    Status: No Error
    => 80 E8 80 02 AE 00 00 00 00 00 00 00 00 05 00 66 ...............f
    00 19 02 00 00 00 02 00 00 01 03 80 0A 01 03 80 ................
    09 08 06 00 00 F0 03 80 0A 04 03 80 09 05 03 80 ................
    0A 06 03 80 09 02 06 00 00 0D 01 00 00 00 06 00 ................
    01 69 03 80 0A 09 06 80 07 01 06 00 01 49 03 80 .i...........I..
    03 03 01 80 09 00 03 80 0A 07 03 80 03 01 03 80 ................
    09 04 03 80 09 01 06 80 09 00 06 80 03 00 06 00 ................
    00 94 06 80 10 06 09 00 3A 00 0E 1F 02 0F 0D 5A ........:......Z
    41 11 05 05 41 0E 05 16 1A 00 28 04 06 07 04 07 A...A.....(.....
    0A 04 08 0D 07 05 10 1D 06 06 06 07 08 08 04 09 ................
    12 15 10 10 08 04 09 12 15 0D 0F 05 06 07 07 07 ................
    05 0A 08 00 ....
    (658167 usec)
    <= 00 90 00 ...
    Status: No Error
    Load report:
    684 bytes loaded in 1.8 seconds
    effective code size on card:
    + package AID 9
    + applet AIDs 16
    + classes 21
    + methods 394
    + statics 0
    + exports 0
    overall 440 bytes
    cm> install -i 77616c6c6574617070 -q C9#() 77616c6c6574706b67 77616c6c6574617070
    => 80 E6 0C 00 24 09 77 61 6C 6C 65 74 70 6B 67 09 ....$.walletpkg.
    77 61 6C 6C 65 74 61 70 70 09 77 61 6C 6C 65 74 walletapp.wallet
    61 70 70 01 00 02 C9 00 00 00 app.......
    (269663 usec)
    <= 6A 80 j.
    Status: Wrong data
    jcshell: Error code: 6a80 (Wrong data)
    jcshell: Wrong response APDU: 6A80
    Unexpected error; aborting execution
    Another question
    2) According to the code I have to specify PIN number when I
    install it. Is PIN different from PIN in the card?
    Is it application dependent?
    private WalletApp (byte[] bArray, short bOffset, byte bLength){
              pin = new OwnerPIN(PIN_TRY_LIMIT, MAX_PIN_SIZE);
              // bArray contains the PIN initialization value
              pin.update(bArray, bOffset, bLength);
              // register the applet instance with the JCRE
              register();
         } // end of the constructor
    Anyone can help?
    I really appreciate your help

    2) According to the code I have to specify PIN number when I
    install it. Is PIN different from PIN in the the card?
    Is it application dependent?Yes, it is an card idependent but application dependent PIN.
    Jan

  • How I can run servlets in Apache 1.3.2.7

    hi i am using JSP as Interface..and Servlets as controller...
    also Using Apache Httpd server,verion is 1.3.2.7
    plz tell me how i can use apache to run my servlets.
    Rahul.

    To run servlets in Apache you need the mod_jk module. But as the previous post, it is better to use Tomcat and putting both, Apache and Tomcat, working together. Tomcat will serve all the java related things, and the Apache, the html, php, etc.

  • How can I Serialize the Object of org.apache.xalan.transformer.TransformerI

    Teachers:
    How can I Serialize the Object of org.apache.xalan.transformer.TransformerImpl.

    org.apache.xalan.transformer.TransformerImpl doesn't appear to be serializable... what do you try to achieve?

  • Howto run appserver behind apache proxy

    I have an existing site that runs great on apache and have installed oracle application server elsewhere, now I need apache to redirect pages of /foo to oracle application server
    in my apache config I have proxypass and proxypassreverse
    when I access /foo then oracle application server sends a redirect using the host name of the box it's running on (which is behind the firewall and not accessisable) looking at the generated source all paths are relative so it appears the redirect is coming before the webapp ever sees the request
    I'm using version 0.1.2.0.2
    Has anyone done this? How do I do it?

    We are using mod_proxy to proxy requests for JSP and servlets to oc4j . This works fine
    <IfModule mod_proxy.c>
    ProxyRequests On
    ProxyPass /servlets http://oc4j_server_name:port/web_app/servlet
    ProxyPassReverse /servlets http://oc4j_server_name:port/web_app/servlet
    ProxyPass /jsp http://oc4j_server_name:port/web_app/jsp
    ProxyPassReverse /jsp http://oc4j_server_name:port/web_app/jsp
    </IfModule>

  • Error running sample application

    Not able to run sample application. while compiling *.java files it's giving error oracle.ifs.bean.* not found. pls. suggest asap.

    Do you have your CLASSPATH setup correctly? Your CLASSPATH must include the iFS libraries if you want to compile anything. Read the devkit documentation for more info.

  • Apache/Xalan

    I need to use the library org.apache.xalan.xpath for programming Xpath and XLS but the compiler dosen�t recognize the files. I have the jar Files but I'm not sure where to put then.

    I'm not quite sure what you mean by "doesn't recognize them", but I'll toss in something that might help.
    I have been working with Apache's Xerces package (XML SAX parsing), and had considerable trouble getting it working initially. I finally solved my problems by adjusting the order of my ClassPath. The problem was that Xerces jar files needed to be seen before the J2EE jar files.
    Try putting the Xalan jar files in the front of your classpath, and see if that helps at all.
    Good luck!

  • Error While running sample Webservice

    Hi,
    I deployed Hello WebService sample on Oracle 9iAS 9.0.2 Server.
    I can access and see WSDL.
    Also, I could download client proxy from the server.
    but, when I try to invoke service from the client proxy.i get the following exception:
    [java] [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type
    "text/html", must be: "text/xml". Response was:
    [java] <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HE
    AD><BODY><H1>500 Internal Server Error</H1><PRE>oracle.j2ee.xanadu.J
    asperGenerationError: no source generated during code generation!: 1 in getFile name: \Hello.cl
    ass
    [java] <br>1 in getFile name: \Hello.java
    [java] <br>error: error message &apos;class.format&apos; not found<br>binary c
    lass definition not found: Hello
    [java] <br>
    [java] <br> at oracle.j2ee.ws.JavaWrapperGenerator.generate(JavaWrapperGenerator.ja
    va:267)
    [java] <br> at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java
    :662)
    [java] <br> at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:436)
    [java] <br> at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:767)
    [java] <br> at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:309)
    [java] <br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
    [java] <br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    [java] <br> at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http
    .ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
    [java] <br> at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    [java] <br> at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http
    .ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:535)
    [java] <br> at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http
    .ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:281)
    [java] <br> at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http
    .HttpRequestHandler.processRequest(HttpRequestHandler.java:766)
    [java] <br> at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http
    .AJPRequestHandler.run(AJPRequestHandler.java:152)
    [java] <br> at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http
    .AJPRequestHandler.run(AJPRequestHandler.java:72)
    [java] <br> at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExe
    cutor.java:802)
    [java] <br> at java.lang.Thread.run(Thread.java:484)
    [java] <br></PRE></BODY></HTML>
    [java] ]
    [java] at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:201)
    [java] at org.apache.soap.rpc.Call.invoke(Call.java:260)
    [java] at HelloProxy.makeSOAPCallRPC(HelloProxy.java:49)
    [java] at HelloProxy.sayHello(HelloProxy.java:33)
    [java] at HelloClient.main(HelloClient.java:6)
    [java] Exception in thread "main"
    [java] Java Result: 1
    Also, i checked the application log file in the server. The content of Log application.log file is given below:
    ----------------------------------------------------------3/22/04 1:18 PM hellows-web: Servlet error
    oracle.j2ee.xanadu.JasperGenerationError: no source generated during code generation!: 1 in getFile name: \Hello.class
    1 in getFile name: \Hello.java
    error: error message 'class.format' not found
    binary class definition not found: Hello
         at oracle.j2ee.ws.JavaWrapperGenerator.generate(JavaWrapperGenerator.java:267)
         at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:662)
         at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:436)
         at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:767)
         at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:309)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:535)
         at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:281)
         at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:766)
         at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:152)
         at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
         at java.lang.Thread.run(Thread.java:484)
    Please, can anybody help me in resolving this problem.
    Thanks,
    Sekhar

    Anirudh,
    iam using SOA 10.1.3.1 Version.
    Other WS's i was able to run.
    the following is the error message while running AmazonSearch Service.
    *[2011/01/28 09:18:36]*
    Faulted while invoking operation "KeywordSearchRequest" on provider "AmazonSearchService".
    - <messages>
    - <input>
    - <request>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="KeywordSearchRequest">
    - <KeywordSearchRequest>
    *<keyword>*
    paul
    *</keyword>*
    *<page/>*
    *<mode/>*
    *<tag/>*
    *<type/>*
    *<devtag/>*
    *<sort/>*
    *<locale/>*
    *<price/>*
    *</KeywordSearchRequest>*
    *</part>*
    *</request>*
    *</input>*
    - <fault>
    - <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="summary">
    *<summary>*
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 410 Gone
    *</summary>*
    *</part>*
    *</remoteFault>*
    *</fault>*
    *</messages>*
    *[2011/01/28 09:18:36]*
    *"{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown.*
    - <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="summary">
    *<summary>*
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 410 Gone
    *</summary>*
    *</part>*
    *</remoteFault>*
    regards
    sridhar

Maybe you are looking for

  • Payroll : Mid Month joining

    Dear Experts, Generally Payroll will be generated based on Payroll area ( Example D1 ) for group of employees. But one Person ( Ex : Person No - 1000 ) joined in one company in mid of the month and he belongs to same Payroll area ( D1) how can we run

  • Adobe Acrobat 6 pro in win 7 install problem

    hi iam tring to install Acrobat 6 pro in windows 7 64bit . when i launch setup.exe a windows 7 compaitabilty error message pop up when i click on run program it will start installing and again it gives a setup error saying "adobe acrobat 6 pro setup

  • Problem with Unlocked 6131

    hi all, i unlocked the secure-element of 6131phone and in the previous months i am using this phone for installing, deleting and accessing the cardlets inside the phone. But accidentally i tried several times through a java program to access the secu

  • How to Implement XMLA?

    Hi Guys, I have a scenario where I want to get a subset of data from a cube and export that data out of BW in XML format and use that xml data to feed gauges in portal. Kindly provide steps as to how can I achieve this. I learnt that you can use XMLA

  • No Authorization to maintain absence "BAPI_ABSENCE_CREATE"

    Hello Experts, I have a problem with BAPI_ABSENCE_CREATE. I call this from a workflow but i get this error on return "No Authorization to maintain absence 0004". What kind of error is that. I make an absence from pa61 for this employee without errors