XML class generator error

Hi all:
I've download the XDK and I got the error when I try to run the demo by typing following command
xmlcg -d CG.dtd sample.xml
"Failed to initialize parser, code 201"
Any help will be very appreciated
Regards
Ivan Chung

Set the following environmental variables
ORA_XML_MESG = <path to XDK directory>/mesg
ORA_NLS33 = <path to nlsdata>
virus
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ivan Chung ([email protected]):
Hi all:
I've download the XDK and I got the error when I try to run the demo by typing following command
xmlcg -d CG.dtd sample.xml
"Failed to initialize parser, code 201"
Any help will be very appreciated
Regards
Ivan Chung<HR></BLOCKQUOTE>
null

Similar Messages

  • ANN: XML Class Generator for Java Available

    The Oracle XMCL Class Generator for Java is now available as an
    initial beta release on the Oracle Technology Network at
    http://technet.oracle.com. Select 'xml' from the Technology menu.
    The XML Class Generator will generate a set of Java source files
    based on an input DTD. The generated Java source files can then
    be used to construct, optionally validate, and print a XML
    document that is compliant to the DTD specified. This is an early
    beta release and has the following features:
    * Creates Java Classes from DTDs to enable the programmatic
    construction of XML documents.
    * Supports validation mode to assist debugging.
    * Works with the Oracle XML Parser in Java.
    * Creates documents conforming to the W3C XML 1.0
    Recommendation.
    * Supports creating documents in the following encodings:
    UTF-8
    UTF-16
    ISO-10646-UCS-2
    ISO-10646-UCS-4
    US-ASCII
    EBCDIC-CP-US
    ISO-8859-1
    Shift_SJIS
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

    Thanks,
    Rob
    Oracle XML Team wrote:
    : First, the link has been fixed. As to your access exception,
    we
    : have traced it to a difference between JDK 1.1.x and JDK 1.2.
    : You can solve it by using a 1.1.x version of the JDK or wait
    till
    : our production version of our XML Parser becomes available
    within
    : a week which will work with 1.2.
    : Oracle XML Team
    : http://technet.oracle.com
    : Rob Edagr (guest) wrote:
    : : 1) The HREF on the download page for the NT version points
    to
    : : the version 102 parser not the classgen.
    : : 2) After downloading and installing the classgen (by
    guessing
    : : what the url was) I ran it and get the following
    : : C:\jdk1.2\xml\ora\classgen\sample>java SampleMain -root
    : : wddxPacket wddx_0090.dtd
    : : Exception in thread "main" java.lang.IllegalAccessError: try
    to
    : : access class oracle/xml/parser/XMLNode from class
    : : oracle/xml/classgen/ClassGenerator
    : : at oracle.xml.classgen.ClassGenerator.generate
    (Compiled
    : : Code)
    : : at SampleMain.main(SampleMain.java:65)
    : : Any idea on what the problem is (same error with sample dtd)
    : : Rob
    : : Oracle XML Team wrote:
    : : : The Oracle XMCL Class Generator for Java is now available
    as
    : : an
    : : : initial beta release on the Oracle Technology Network at
    : : : http://technet.oracle.com. Select 'xml' from the
    Technology
    : : menu.
    : : : The XML Class Generator will generate a set of Java source
    : : files
    : : : based on an input DTD. The generated Java source files can
    : : then
    : : : be used to construct, optionally validate, and print a XML
    : : : document that is compliant to the DTD specified. This is
    an
    : : early
    : : : beta release and has the following features:
    : : : * Creates Java Classes from DTDs to enable the
    programmatic
    : : : construction of XML documents.
    : : : * Supports validation mode to assist debugging.
    : : : * Works with the Oracle XML Parser in Java.
    : : : * Creates documents conforming to the W3C XML 1.0
    : : : Recommendation.
    : : : * Supports creating documents in the following
    encodings:
    : : : UTF-8
    : : : UTF-16
    : : : ISO-10646-UCS-2
    : : : ISO-10646-UCS-4
    : : : US-ASCII
    : : : EBCDIC-CP-US
    : : : ISO-8859-1
    : : : Shift_SJIS
    : : : Oracle XML Team
    : : : http://technet.oracle.com
    : : : Oracle Technology Network
    : Oracle Technology Network
    null

  • IMPORTANT: XML Class Generator Feature Test

    To Those of you who are using our XML Class Generator, we would
    really like some feedback regarding your tests of the following
    features:
    1) validation -- turn it on/off with DTDs
    2) character set encoding -- ask them to try different ones
    3) DTDs -- included in the XML file and also have it as an
    external DTD;
    4) XML 1.0 conformance -- see if the XML documents created
    conform to the spec;
    5) print methods -- try them out
    We would like to go production in the near future and need this
    feedback.
    Thanks,
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

    Posted reply to:
    Re: xml class generator NullPointerException when element type is base64Binary
    -Blaise

  • XML Class Generator for C++

    I could not locate the package from the download site anymore.
    Any idea ?
    null

    Alex Liu (guest) wrote:
    : I could not locate the package from the download site anymore.
    : Any idea ?
    It is back again at technet.oracle.com/tech/xml.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Java Class Generator

    Hi
    I found an example code for generating Java class based on the xml file.
    i just want to know which package the following classes belongs to.Here the the classes
    1. DTD
    2.ClassGenarator
    Thanks in advance
    Balaji

    Hi !
    I am facing a similar problem
    I am using classgen version 1.0.1.0.0
    and xmlparser version 2.0.0.1.0....
    everythings in the CLASSPATH...
    I could compile the SampleMain.java in the classgen/samples directory .
    But when i run it with any dtd or the provided widl.dtd i get the following error
    XML Class Generator: Error Attribute Value should start with quote
    Attribute Value should start with quote
    at oracle.xml.parser.v2.XMLError.flushErrors(XMLError.java:191)
    at oracle.xml.parser.v2.XMLError.error(XMLError.java:97)
    at oracle.xml.parser.v2.XMLError.error(XMLError.java:135)
    at oracle.xml.parser.v2.NonValidatingParser.parseAttrValue(Compiled Code
    at oracle.xml.parser.v2.ValidatingParser.parseAttr(ValidatingParser.java
    :418)
    at oracle.xml.parser.v2.NonValidatingParser.parseAttributes(Compiled Cod
    e)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(Compiled Code)
    at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
    er.java:89)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:181)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:142)
    at SampleMain.main(SampleMain.java:45)
    please help !
    thanks
    amit
    null

  • XML Schema Class Generator Problem compiling generated java programs

    Hi,
    I ran oracg on the po.xsd schema from X3Cs XML Schema Part 0: Primer which successfully generated the java codes. I ran into problems when I compile the generated classes. Here's what I'm getting:
    C:\oracle\xml\xdk\demo\java\classgen\Po2>javac -classpath ".;C:\oracle\xml/lib/xmlparserv2.jar;C:\oracle\xml/lib/xschema.jar;C:\oracle\xml/l
    ib/classgen.jar;.;C:\Program Files\VicunaJ521\java\lib\collections.jar;C:\Program Files\VicunaJ521\java\lib\vicunalite.jar;C:\Program Files\
    XConverter\XConverter.jar;C:\Program Files\XConverter\IDLGenerator.jar; c:\jdk1.2.2\lib\dt.jar;c:\jdk1.2.2\lib\jvm.jar;c:\jdk1.2.2\lib\tools
    .jar;c:\oracle\ora81\jdbc\lib\classes12.zip;c:\oracle\ora81\jdbc\nls_charset12.zip;C:\oracle\xml\lib\classgen.jar;C:\oracle\xml\lib\xmlparse
    rv2.jar" *.java
    .\types\PurchaseOrderType.java:75: Type expected.
    public void addComment(null.Comment thecomment)
    ^
    .\types\Items.java:141: Type expected.
    public void addComment(null.Comment thecomment)
    ^
    2 errors
    Running the demo which comes with oracles version of po.xsd was OK. What's the difference between the po.xsd from oracle and the po.xsd from W3C? Are there any W3C recommendation for XML Schema not supported by Oracle's class generator?

    Which po.xsd do you use? Would you post it?
    Thanks. Here's the copy of the po.xsd from the W3C website. (http://www.w3.org/TR/xmlschema-0/#po.xsd)
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:annotation>
    <xsd:documentation xml:lang="en">
    Purchase order schema for Example.com.
    Copyright 2000 Example.com. All rights reserved.
    </xsd:documentation>
    </xsd:annotation>
    <xsd:element name="purchaseOrder" type="PurchaseOrderType"/>
    <xsd:element name="comment" type="xsd:string"/>
    <xsd:complexType name="PurchaseOrderType">
    <xsd:sequence>
    <xsd:element name="shipTo" type="USAddress"/>
    <xsd:element name="billTo" type="USAddress"/>
    <xsd:element ref="comment" minOccurs="0"/>
    <xsd:element name="items" type="Items"/>
    </xsd:sequence>
    <xsd:attribute name="orderDate" type="xsd:date"/>
    </xsd:complexType>
    <xsd:complexType name="USAddress">
    <xsd:sequence>
    <xsd:element name="name" type="xsd:string"/>
    <xsd:element name="street" type="xsd:string"/>
    <xsd:element name="city" type="xsd:string"/>
    <xsd:element name="state" type="xsd:string"/>
    <xsd:element name="zip" type="xsd:decimal"/>
    </xsd:sequence>
    <xsd:attribute name="country" type="xsd:NMTOKEN"
    fixed="US"/>
    </xsd:complexType>
    <xsd:complexType name="Items">
    <xsd:sequence>
    <xsd:element name="item" minOccurs="0" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="productName" type="xsd:string"/>
    <xsd:element name="quantity">
    <xsd:simpleType>
    <xsd:restriction base="xsd:positiveInteger">
    <xsd:maxExclusive value="100"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="USPrice" type="xsd:decimal"/>
    <xsd:element ref="comment" minOccurs="0"/>
    <xsd:element name="shipDate" type="xsd:date" minOccurs="0"/>
    </xsd:sequence>
    <xsd:attribute name="partNum" type="SKU" use="required"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <!-- Stock Keeping Unit, a code for identifying products -->
    <xsd:simpleType name="SKU">
    <xsd:restriction base="xsd:string">
    <xsd:pattern value="\d{3}-[A-Z]{2}"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:schema>

  • XML Parser, Class Generator demo problem

    Hello,
    I have downloaded today the XML Parser and the Class Generator. I have successfully compiled the SampleMain.java coming with the kit. When running it there is a problem with the expected DTD filename input.
    The program prints out the needed format as:
    Usage: java SampleMain [-root <rootName>] <fileName>
    fileName Input file, XML document or external DTD file
    -root <rootName> Name of the root Element (required if the input file is an external DTD)
    Whatever I try as DTD filename input fails.
    I work on Windows-NT!
    I have tried running with JDK 1.1.7.a and JDK 1.2.2.
    Thanks, Yigal.

    java SampleMain Widl.xml
    or
    java SampleMain -root WIDL Widl.dtd
    Make you have Widl.xml and Widl.dtd are
    in the current directory. Also, remember
    Java is case sensitive.
    If you are still getting errors, please
    post the error message.
    null

  • Validating XML files and generating error codes

    I want to validate an XML file with a schema & also get hold of the fields/attributes/tags
    that caused an error and generate error codes based on that. Any suggestion on
    how this can be done. DOM, SAX allow to do validation but how do I know exactly
    know which tags caused errors. We have to track the errors codes.

    "SP" <[email protected]> wrote:
    Use the HandlerBase class for getting hold of the tags and its attributes.
    The methods in this class take the tags and attributes and throw the
    SAXException. You can use these methods to find out which tag is throwing
    an
    exception.
    Hope this helps
    SP
    I am using the DOMParser.parse method with the xerces parser. I have an error
    handler registered to get hold of the errros. What happens is the parsing stops
    at the first instance of an error. I want to continue parsing to get hold of all
    errors. How can I achieve that?
    >
    "leena" <[email protected]> wrote in message
    news:[email protected]..
    I want to validate an XML file with a schema & also get hold of thefields/attributes/tags
    that caused an error and generate error codes based on that. Anysuggestion on
    how this can be done. DOM, SAX allow to do validation but how do Iknow
    exactly
    know which tags caused errors. We have to track the errors codes.

  • Error while defining class: com.crystaldecisions.data.xml.CRDB_XMLImpl This error indicates that the class: OCA.OCAdbdll.DbDLLOperations could not be located while defining the class: com.crystaldecisions.data.xml.CR...

    Post Author: lkamesam
    CA Forum: Integrated Solutions
    Hi,
            I am running Crystal Reports version 10 from IBM Rational 6.0.1  build 20050725_1800 XML data source. When I try to run the report under WAS 6.0.1 I get the following error:
    Does any body have any clue how to resolve my problem? Thanks
    Error 500: Error while defining class: com.crystaldecisions.data.xml.CRDB_XMLImpl This error indicates that the class: OCA.OCAdbdll.DbDLLOperations could not be located while defining the class: com.crystaldecisions.data.xml.CRDB_XMLImpl This is often caused by having the class at a higher point in the classloader hierarchy Dumping the current context classloader hierarchy: ==> indicates defining classloader *** indicates classloader where the missing class could have been found ==>&#91;0&#93; com.ibm.ws.classloader.CompoundClassLoader@163dd786 Local ClassPath: C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\classes;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\bobj_platform_jsf.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\cecore.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\celib.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\ceplugins.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\cereports.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\cesession.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\clientlogic.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\Concurrent.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CorbaIDL.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CRDBXMLExternal.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CRDBXMLServer.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalCharting.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalCommon.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalContentModels.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalExporters.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalExportingBase.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalFormulas.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalQueryEngine.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalReportEngine.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalReportingCommon.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\ebus405.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\icu4j.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\jrcerom.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\jsf_common.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\keycodeDecoder.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\log4j.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\MetafileRenderer.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\rasapp.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\rascore.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\rpoifs.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\serialization.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\URIUtil.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\webreporting-jsf.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\webreporting.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\xercesImpl.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\xmlParserAPIs.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent; Delegation Mode: PARENT_FIRST &#91;1&#93; com.ibm.ws.classloader.JarClassLoader@338761606 Local Classpath: Delegation mode: PARENT_FIRST &#91;2&#93; com.ibm.ws.classloader.ProtectionClassLoader@38e75786 &#91;3&#93; com.ibm.ws.bootstrap.ExtClassLoader@7e475784 &#91;4&#93; sun.misc.Launcher$AppClassLoader@7e5a5784 &#91;5&#93; sun.misc.Launcher$ExtClassLoader@7e565784 -Original exception- java.lang.NoClassDefFoundError: OCA/OCAdbdll/DbDLLOperations at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code)) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:576) at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code)) at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code)) at com.crystaldecisions.reports.queryengine.driver.i.<init>(Unknown Source) at com.crystaldecisions.reports.queryengine.driver.i.case(Unknown Source) at com.crystaldecisions.reports.queryengine.av.ak(Unknown Source) at com.crystaldecisions.reports.queryengine.av.else(Unknown Source) at com.crystaldecisions.reports.queryengine.av.byte(Unknown Source) at com.crystaldecisions.reports.queryengine.av.do(Unknown Source) at com.crystaldecisions.reports.queryengine.as.new(Unknown Source) at com.crystaldecisions.reports.queryengine.at.long(Unknown Source) at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source) at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source) at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source) at com.crystaldecisions.reports.reportdefinition.cy.b(Unknown Source) at com.crystaldecisions.reports.reportdefinition.cy.long(Unknown Source) at com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source) at com.crystaldecisions.reports.reportdefinition.a1.a(Unknown Source) at com.crystaldecisions.reports.common.ab.a(Unknown Source) at com.crystaldecisions.reports.common.ab.if(Unknown Source) at com.crystaldecisions.reports.reportdefinition.a1.if(Unknown Source) at com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source) at com.crystaldecisions.reports.reportengineinterface.a.a(Unknown Source) at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown Source) at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown Source) at com.crystaldecisions.report.web.a.a.K(Unknown Source) at com.crystaldecisions.report.web.event.aa.a(Unknown Source) at com.crystaldecisions.report.web.event.aa.a(Unknown Source) at com.crystaldecisions.report.web.event.bx.a(Unknown Source) at com.crystaldecisions.report.web.event.b1.broadcast(Unknown Source) at com.crystaldecisions.report.web.event.as.a(Unknown Source) at com.crystaldecisions.report.web.WorkflowController.if(Unknown Source) at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source) at com.crystaldecisions.report.web.ServerControl.a(Unknown Source) at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source) at com.crystaldecisions.report.web.viewer.taglib.ServerControlTag.doEndTag(Unknown Source) at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.doEndTag(Unknown Source) at com.ibm._jsp._sample._jspx_meth_crviewer_viewer_0(_sample.java:135) at com.ibm._jsp._sample._jspService(_sample.java:77) at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629) at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117) at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:171) at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:230) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220) at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021) at

    For those who would have the same problem, here is how I could eventually fix it.
    Since the Flex Test Drive is sometimes out of sync with flash builder 4, I recreated a project using other help pages on Adobe site :
    Entry point :
    http://help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08- 7ffd.html
    As suggested, I used the New Project wizard to create a new project, with :
    Application server type : J2EE
    Check the radio button "Use remote object access service : BlazeDS"
    Then, as indicated in following pages (section "Accessing BlazeDS")... :
    file:///C:/Mes%20documents%20C/Commun/Developpement/Documentation/HT-Tracks/AccessingData/ help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08-7ffe.ht ml#WSbde04e3d3e6474c4-19a3f0e0122be55e1b7-8000
    ...I selected the "Data / Connect to Data/Services..." menu option, which started the Data/service connection wizard.
    There, I selected a BlazeDS (and not Web Services) service type, and everything went fine.
    Suggestion to adobe staff : maybe it would be useful to update the Flex Test Drive to reflect Flash Builder 4 ?
    Very nice product anyway, so far, congratulations...
    Rgds
    Marc.

  • Error in XML process generated

    Hi,
    please, I need your help. I have an XML develped in APEX 4.1.1. but I have a problem, because the "SRI_COMPRAS" table has 38 columns with 950 rows, and the xml is generated only when considering the first 14 columns of this table with all existing records. But I need generate this XML with all the columns of "SRI_COMPRAS".
    The process is:
    declare
    begin
    select xmlElement(
    "iva",
    xmlElement("numeroRuc",J.RUC),
    xmlElement("mes", J.MES),
    xmlElement(
    "compras", (
    select xmlAgg(
    xmlElement(
    "detalleCompra",
    xmlElement("codSustento", K.COD_SUSTENTO),
    xmlElement("tpldProv", K.TPLD_PROV ),
    xmlElement("idProv", K.ID_PROV ),
    xmlElement("tipoComprobante", K.TIPO_COMPROBANTE),
    xmlElement("fechaRegistro",to_char(K.FECHA_REGISTRO, 'DD/MM/YYYY') ),
    xmlElement("establecimiento", K.ESTABLECIMIENTO ),
    xmlElement("puntoEmision", K.PUNTO_EMISION ),
    xmlElement("secuencial", K.SECUENCIAL),
    xmlElement("fechaEmision", to_char(K.FECHA_EMISION, 'DD/MM/YYYY') ),
    xmlElement("autorizacion", K.AUTORIZACION ),
    xmlElement("baseNoGraIva", K.BASE_NO_GRA_IVA ),
    xmlElement("baseImponible", K.BASE_IMPONIBLE ),
    xmlElement("baseImpGrav", K.BASE_IMP_GRAV ),
    xmlElement("montoIce", K.MONTO_ICE ),
    xmlElement("montoIva", K.MONTO_IVA ),
    xmlElement("valorRetBienes", K.VALOR_RET_BIENES),
    xmlElement("valorRetServicios",K.VALOR_RET_SERVICIOS),
    xmlElement("valorRetServ100",K.VALOR_RET_SERV_100),
    xmlElement("estabRetencion1", K.ESTAB_RETENCION_1),
    xmlElement("ptoEmiRetencion1", K.PTO_EMI_RETENCION_1),
    xmlElement("secRetencion1", K.SEC_RETENCION_1),
    xmlElement("autRetencion1", K.AUT_RETENCION_1),
    xmlElement("fechaEmiRet1", to_char(K.FECHA_EMI_RET_1,'DD/MM/YYYY')),
    xmlElement("docModificado", K.DOC_MODIFICADO),
    xmlElement("estabModificado", K.ESTAB_MODIFICADO),
    xmlElement("ptoEmiModificado", K.PTO_EMI_MODIFICADO),
    xmlElement("secModificado", K.SEC_MODIFICADO),
    xmlElement("autModificado", K.AUT_MODIFICADO)
    xmlElement(
    "air", (
    select xmlAgg (
    xmlElement (
    "detalleAir",
    xmlForest (
    P.COD_RET_AIR as "codRetAir",
    from ANEXO_COMPRAS P
    from SRI_COMPRAS K
    ) )).getClobVal()
    into l_clob_XML
    from ...
    LOOP
    buffer := DBMS_LOB.SUBSTR(l_clob_XML, text_1, text_2);
    EXIT WHEN buffer IS NULL;
    sys.htp.p(buffer);
    text_1 := text_1 + text_2;
    END LOOP;
    end;
    The error generate is: "error on line 2 at column 1: expect '>'"
    Edited by: JohannaCevallos07 on Sep 28, 2012 6:37 AM

    Hi,
    Actually the problem occurs when the xml file is generated with all the columns of the tables. Not seeing any data in th xml file and includes that message of error.
    When in the xml code I determined display all the information of the tables considering only specific columns (14 columns for example) the xml file is generated successfully with all the information contained in the table only for those columns. but I need this xml file is generated with all the information for the tables columns describes in the first post publicated. : (
    Do you have any idea of the cause for this error? Can you help me, please?

  • XML C++ SDK Class Generator Question

    Hello.
    I have an XML schema definition file where some elements are defined inside other elements. When I generate classes for this schema I don't get classes for such elements (but only for the outermost level elements). How to use the class generator in this situation ? Do I miss something ?
    Thank you.
    Mark

    Questions related to the XDK products should be posted in the Technologies -> XML -> General Forum. If you like I can move you post to that forum.

  • Generate nested XML using OracleXMLQuery generates error

    Hello,
    I have oracle 8.1.6 with XSQL 1.0.4 and need to generate XML out of a query that contains the // init the OracleXMLQuery
    OracleXMLQuery qry = new OracleXMLQuery(conn, query);
    // shape the XML doc generated
    qry.setMaxRows(2); // set the maximum number of rows to be returned
    qry.setSkipRows(3); // numbers of rows to skipped
    qry.setRowsetTag("MYDOC"); // set the tags encapsulating the whole doc
    qry.setRowTag("RECORD"); // sets the row separator tag
    qry.setRowIdAttrName("cnt"); // sets the id attribute of the row element
    qry.useNullAttributeIndicator(true); // use attr. to indicate nullness
    qry.useUpperCaseTagNames(); // use upper case tag names
    qry.setErrorTag("ERR"); // tag for errors writen to XML doc
    XMLDocument myXMLDocument = (XMLDocument)qry.getXMLDOM();
    PrintWriter out = response.getWriter();
    myXMLDocument.print(out);
    out.close();null

    I have exactly the same problem by using XSU.
    If somebody solve it already ?
    David, can you please provide more information or small example, how can I extract OracleConnection or Oracle Specific Driver inside the Weblogic App. Server and not generic weblogic.jdbc.rmi.SerialConnection instance.
    I'm using Oracle thinDriver on Oracle8i.
    Thank you in advance.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by David G:
    have seen similar problems with wrapped jdbc driver being passed into Weblogic pool service and then cast back into OracleDriver after getting it back from Weblogic's JNDI DataSource lookup ...the Oracle extensions do not seem to survive Weblogic's jdbc pool services handling. I have gone over to running all my connection pools in Oracle's own namespace jdbc_access:// for JNDI lookups on DataSource pools instead. Much happier. <HR></BLOCKQUOTE>
    null

  • Generic Populating the XML document using Java Class Generator and Reflection

    I am looking for a generic source code in order to convert the data parsed from any tabular text form ( tab delimited for example that maps certain XML Schema created form Database Schema for Oracle.
    I know it is possible to generate XML DTD or XSD from Oracle database table schema by XSU utility from XDK. And also it is possible to create Java source files from an XML DTD or XSD by using XML Clas Generator.
    I believe there must be some generic code that parses tabular text data and converts them to XML format using above mentioned generated Java source files and may be Java reflection mechanism.
    If anyone has any tool or knows any free ware that helps me, I would like to know about it, and I would really appreciate it.

    1. Read the XML file into a DMO object, walk the DOM to find the list, insert your new entry as a child, write the DOM back to a file.
    2. If the XML is not in a file, but in a string, then you can do the same with string input and output.

  • 10.1.3.26 Generator Error - nullPGItemModel is Not Defined

    Snippet from Re: problem to generate secret field with JHeadstart 10.1.3.1.0
    Posted: Mar 28, 2007 5:39 AM
    With 10.1.3.1.26, I'm able to generate once but later generation runs give this error:
    Could not instantiate JhsApplicationGenerator class: No bean named 'nullPGItemModel' is defined
    I'm unclear from the thread where I need to look for the problem template.
    >>>>>>>>>>>
    Steven Davelaar Reply
    Please start a new thread for a new problem the next time.
    When you get this error, you forgot to set the display type for an item. The navigator tree should also show a warning icon for the item to indicate the missing required property.
    Steven Davelaar,
    JHeadstart Team.
    >>>>>>>>>>>>
    Thanks Steven,
    Sorry. I saw the similar error message in that thread about nullPG ... model and thought it was the same problem. In any case, this is a new one now so I can relate my solution in case someone else runs into it.
    I was getting that generator error message even though all my items had display types and no warning icons appeared in the navigator tree.
    However, I had a master group with no items in it and had made changes to region-metadata.xml. After backing out the region-metadata changes and adding a master group item, I was able to generate. I suspect the region-metadata changes more than the missing item because a group with no items throws a clear message that the Descriptor Item is missing. Of course, I can't reproduce the error at the moment.
    Peter Koletzke

    ah...it was erroring because i didnt include the
    xpath.js

  • How to compile the Java classes generated in JAXB

    I am using Windows 2000 Operating System. I found a xjc
    batch file on the sun's java forum.
    I used that to generate classes from XML. After generating
    the classes I could not compile
    the classes each depends on other AND THEY REQUIRE BOTH
    CLASS FILES.
    I will attach the schema file and dtd . Can you explaine me the problem.
    #<transactions.dtd>
    <?xml version="1.0" encoding="UTF-8"?>
    <!ELEMENT transactions (cardtocard*)>
    <!ELEMENT cardtocard (tocard, fromcard, fromcardver, amount, transdate, transid)
    >
    <!ELEMENT tocard (#PCDATA)>
    <!ELEMENT fromcard (#PCDATA)>
    <!ELEMENT fromcardver (#PCDATA)>
    <!ELEMENT amount (#PCDATA)>
    <!ELEMENT transdate (#PCDATA)>
    <!ELEMENT transid (#PCDATA)>
    transactions.xjs
    <xml-java-binding-schema>
    <element name="transactions" type="class" root="true"/>
    <element name="cardtocard" type="class"/>
    </xml-java-binding-schema>
    XML file
    ?xml version="1.0" encoding="UTF-8"?>
    <!--Sample XML file generated by XML Spy v4.4 U (http://www.xmlspy.com)-->
    <transactions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="C:\My Documents\Xml\SVTConcord.xsd">
    <cardtocard>
    <tocard>1111222233334444</tocard>
    <fromcard>6666777788889999</fromcard>
    <fromcardver>567</fromcardver>
    <amount>100.00</amount>
    <transdate>2002-06-04 00:00:00.000</transdate>
    <transid>1111222202</transid>
    </cardtocard>
    </transactions>
    the XJC compiler for windows is
    @echo off
    echo JAXB Schema Compiler
    echo --------------------
    if "%JAVA_HOME%" == "" goto errorJVM
    if "%JAXB_HOME%" == "" goto errorJAXB
    set JAXB_LIB=%JAXB_HOME%\lib
    set JAXB_CLASSES=%JAXB_HOME%\classes
    echo %JAVA_HOME%\bin\java.exe -jar %JAXB_LIB%\jaxb-xjc-1.0-ea.jar %1 %2 %3 %4 %5
    %JAVA_HOME%\bin\java.exe -jar %JAXB_LIB%\jaxb-xjc-1.0-ea.jar %1 %2 %3 %4 %5
    goto end
    :errorJVM
    echo ERROR: JAVA_HOME not found in your environment.
    echo Please, set the JAVA_HOME variable in your environment to match the
    echo location of the Java Virtual Machine you want to use.
    echo For example:
    echo set JAVA_HOME=c:\jdk1.4.0_01
    goto end
    :errorJAXB
    echo ERROR: JAXB_HOME not found in your environment.
    echo Please, set the JAXB_HOME variable in your environment to match the
    echo location of the JAXB installation directory.
    echo For example:
    echo set JAXB_HOME=c:\jdk1.4.0_01\jaxb-1.0-ea
    :end

    When you compile the generated classes, be sure to put jaxb-rt-1.0-ea.jar in your classpath!

Maybe you are looking for

  • Hi guys,Explain how to find whether the user request is dialog or bc ...

    how to find whether the user request is dialog or bc or some other wp and where we can see that ?

  • Events in oops alv

    hello can anyone tell how we can handle the event hotspot_click in oops alv with some sample code. thanks, srinu

  • Confirmation question - advice needed

    Hi would just like some confirmation before i buy an airport express and can't seem to find this question directly answered. Ok i have a cable modem that runs into the WAN port of a linksys router - which then connects up two pc's using standard RJ45

  • Time Machine backing up for no reason

    I am running Time Machine on an iMac with OS 10.6.8.  It backs up to a 250Gb Time Machine backing uMinimax hard drive via Firewire cable.  I have set up about 120Gb to be backed up.  However, after doing that, every one of its hourly backups consists

  • How do I properly dealloc without using autorelease?

    I am a bit new to the iPhone developing world.  Just trying to figure out how to properly dealloc this block of code since autorelease should not be used: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)