B2B-50014:  General Error: java.lang.ClassCastException: oracle.xml.parser.

Hi Gurus,
Trying to pass an OAG XML 9.0 payload to a remote trading Partner, over an AS2 channel -- message is both Signed and Encrypted, Cert has been imported.
I get the B2B-50014: General Error.
B2B is able to identify the Agreement correctly.
LOGS:
[2011-05-12T12:27:03.292+00:00] [soa_ms_1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@243d15ed] [userId: <anonymous>] [ecid: bb3e7e8ee8316823:74cad781:12fc9c42815:-7ff5-0000000000172f4e,0] [APP: soa-infra] Error -: B2B-50014: General Error: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException[[
     at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1571)
     at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:800)
     at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3785)
     at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
     at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
     at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
     at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
     at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
     at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused by: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
     at oracle.tip.b2b.document.oag.OagDocumentPlugin.validateXMLDocument(OagDocumentPlugin.java:1237)
     at oracle.tip.b2b.document.oag.OagDocumentPlugin.processOutgoingDocument(OagDocumentPlugin.java:819)
     at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1483)
     at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:990)
     at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1511)
     ... 8 more
java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
     at oracle.tip.b2b.document.oag.OagDocumentPlugin.validateXMLDocument(OagDocumentPlugin.java:1237)
     at oracle.tip.b2b.document.oag.OagDocumentPlugin.processOutgoingDocument(OagDocumentPlugin.java:819)
     at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1483)
     at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:990)
     at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1511)
     at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:800)
     at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3785)
     at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
     at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
     at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
     at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
     at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
     at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Error -: B2B-50014: General Error: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
     at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1571)
     at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:800)
     at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3785)
     at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
     at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
     at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
     at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
     at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
     at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused by: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
     at oracle.tip.b2b.document.oag.OagDocumentPlugin.validateXMLDocument(OagDocumentPlugin.java:1237)
     at oracle.tip.b2b.document.oag.OagDocumentPlugin.processOutgoingDocument(OagDocumentPlugin.java:819)
     at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1483)
     at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:990)
     at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1511)
     ... 8 more
Kindly advise.
Regards,
Sambhav.

Hi Anuj,
Thanks, i disabled the agreement validation, ran the file through. It worked.
Also, tried to validate the XML instance with the XSD, and it threw no errors, so the payload conforms to the XSD, but will validate.
Other thing being, this is an OAG-XML PO, so had the XSD, not the Guideline file.
Regards,
Sambhav.

Similar Messages

  • Java.lang.ClassCastException: oracle.xml.parser.v2.XMLText cannot be cast to org.w3c.dom.Element

    Hello
    I am getting java.lang.ClassCastException: oracle.xml.parser.v2.XMLText cannot be cast to org.w3c.dom.Element error. This code is in java which is present in java embedding.
    The SOA is parsing the xml in java code using oracle.xml.parser.v2 . This wont be a problem if the SOA uses default w3c DOM parser. How do i force SOA to use w3c DOM parser.
    Is there any thing i can do with class loading?
    Kindly help.
    Regards
    Sharat

    Can you paste your java code here ? I assume, you must have tried type-casting.

  • Error : java.lang.NoSuchMethodError: oracle.xml.parser.v2.

    Hello,
    We have installed successfully XSQLServlet engine and configured Apache server as per release document.
    When we tried to run xsql/demo/helloworld.xsql we are getting following error.
    Am I missing any classpath in jserv.properties? Any pointers to resolve this issue will be appreciated.
    Thanks,
    Shree
    Actual Error
    [18/02/2000 16:20:00:156 PST] java.lang.NoSuchMethodError: oracle.xml.parser.v2.
    XMLNode: method selectNodes(Ljava/lang/String;)Lorg/w3c/dom/NodeList; not found
    at oracle.xml.xsql.XSQLDocHandler.getDocument(Compiled Code)
    at oracle.xml.xsql.XSQLPageProcessor.process(Compiled Code)
    at oracle.xml.xsql.XSQLServlet.doGet(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at org.apache.jserv.JServConnection.processRequest(Compiled Code)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)

    Steve,
    Thanks for the response. Now we are getting different error. In one of the questions earlier posted, someone (I think Jon) noted that following error (the one we are getting) can be resolved by using JDK 1.1.8, is there any specific JDK pre-req for XML Parser 0.9.8.6?
    Is it possible, to enhance release notes for 0.9.8.6 to include
    a) Tips mentioned in your mail (i.e. putting oracle xml parser 2.0.x before Apache/OJSP xmlparserv2.jar
    b) Dependencies on specific version of JDK
    Once again thanks for the responding to the mail and will appreciate a help to resolve this current error.
    Thanks,
    Shree
    Actual error :
    java.lang.IllegalArgumentException: sun.io.CharToB
    yteUTF-8
    at sun.io.CharToByteConverter.getConverterClass(Compiled Code)
    at sun.io.CharToByteConverter.getConverter(Compiled Code)
    at java.io.OutputStreamWriter.<init>(Compiled Code)
    at org.apache.jserv.JServConnection.getWriter(Compiled Code)
    at oracle.xml.xsql.XSQLServletPageRequest.setupWriter(Compiled Code)
    at oracle.xml.xsql.XSQLServletPageRequest.setContentType(Compiled Code)
    at oracle.xml.xsql.XSQLPageProcessor.process(Compiled Code)
    at oracle.xml.xsql.XSQLServlet.doGet(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at org.apache.jserv.JServConnection.processRequest(Compiled Code)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    null

  • Java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build

    The following code works fine with JDeveloper 10.1.2 with the xmlparserv2.jar file provided with JDeveloper.
    =====
    XSDBuilder schemaBuilder = new XSDBuilder();
    URL xsdURL = new URL(schemaUrl);
    XMLSchema xmlschema = (XMLSchema) schemaBuilder.build(xsdURL);
    ========
    However when I try to put this in Oracle Application Server 10.1.2.0.2, I get the following error:
    ====
    java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build
    ====
    It seems like the oracle version is different in app server 10.1.2.0.2 that that of JDeveloper 10.1.2.
    When we rename the parser, the application works BUT the Oracle Enterprise Manager does not work properly as it depends on the latest version of the parser.
    Please help.
    Thanks,
    Madhav

    I am able to reproduce this problem. I have a jar file MyLib.jar which contains a class MyXmlUtils with a method called validate. This JAR file was created in JDeveloper 9.0.5.2.
    Now I create a Test class in JDeveloper 10.1.2 and use the method in the JAR file and it crashes in build method. The error says "NoSuchMethod".
    However if I import MyXmlUtils class in to the Test project, everything works fine.
    What is going on here?
    // MyLib.jar (Created in JDeveloper 9.0.5.2)
    public class MyXmlUtils
    public static void validate(String xml, String schemaUrl) throws Exception
    XSDBuilder schemaBuilder = new XSDBuilder();
    URL xsdURL = new URL(schemaUrl);
    XMLSchema xmlschema = (XMLSchema) schemaBuilder.build(xsdURL);
    dp.setValidationMode(XMLParser.SCHEMA_VALIDATION);
    dp.setXMLSchema(xmlschema);
    ====
    // Test project created in JDeveloper 10.1.2
    import MyXmlUtils;
    public class Test
    public static void main(String[] args)
    Test t = new Test();
    try
    String xml = "<Person><Name>John</Name></Person>";
    String xsd = "file:\\c:\\Person.xsd";
    MyXmlUtils.validate(xml, xsd);
    catch (Exception e)
    System.out.println(e.getMessage());
    System.exit(1);
    Thanks,
    Madhav

  • Error -:  AIP-50031:  B2B adapter general error: java.lang.NullPointerExce

    I have configured two B2B trading partner over ebMS communication. I have also configured an internal delivery channel using JMS.I am posting a msg(the Tp identification is through duns no.) on the JMS queue and I am not able to receive it on the Tp side and i am getting the following error
    008.11.28 at 01:53:36:544: Thread-13: B2B - (ERROR) java.lang.NullPointerException
         at oracle.tip.adapter.b2b.msgproc.DbAccess.insertMsgTblRow(DbAccess.java:806)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireBusinessToErrorState(DbAccess.java:5365)
         at oracle.tip.adapter.b2b.engine.Engine.handleOutboundException(Engine.java:4109)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1130)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:137)
         at oracle.tip.transport.basic.jms.JMSMonitor.processMessages(JMSMonitor.java:610)
         at oracle.tip.transport.basic.jms.JMSMonitor.run(JMSMonitor.java:236)
    2008.11.28 at 01:53:36:544: Thread-13: B2B - (ERROR) Error -: AIP-50031: B2B adapter general error: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireBusinessToErrorState(DbAccess.java:5426)
         at oracle.tip.adapter.b2b.engine.Engine.handleOutboundException(Engine.java:4109)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1130)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:137)
         at oracle.tip.transport.basic.jms.JMSMonitor.processMessages(JMSMonitor.java:610)
         at oracle.tip.transport.basic.jms.JMSMonitor.run(JMSMonitor.java:236)
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.msgproc.DbAccess.insertMsgTblRow(DbAccess.java:806)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireBusinessToErrorState(DbAccess.java:5365)
    I am able to recevie the Heased but not the payload
         ... 5 more

    Hi,
    ":" - has been used as default separator so if you identifier holds this value, please enable add the tip.properties entry as below and things should be fine.
    oracle.tip.adapter.b2b.partyTypeAndValueSeparator=#.
    Here's a sample for jms enqueue,
    FROM_PARTY= urn:oasis:names:tc:ebXML-cppa:partyid-type:duns#232510151
    TO_PARTY= urn:oasis:names:tc:ebXML-cppa:partyid-type:duns#123456789
    Just replace the "FROM_PARTY" and "TO_PARTY" as "from" and "to" for AQ.
    Thanks,
    Sinkar
    [From Ramesh Team]

  • Java.lang.ClassNotFoundException: oracle.xml.parser.v2.XMLParseException

    Hi there Masters
    I am new in Java and I would need your help please..
    I am calling a function in Java passing 1 parameter and returning an XML back but at the point of execution I get an error below... At the end I have attached my java code...PLEASE HELP
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException
         at oracle.xdb.XMLTypeFactory.create(XMLTypeFactory.java:78)
         at oracle.sql.OPAQUE.toClass(OPAQUE.java:328)
         at oracle.sql.OPAQUE.toJdbc(OPAQUE.java:278)
         at oracle.sql.OPAQUE.toJdbc(OPAQUE.java:259)
         at oracle.jdbc.driver.NamedTypeAccessor.getObject(NamedTypeAccessor.java:190)
         at oracle.jdbc.driver.NamedTypeAccessor.getObject(NamedTypeAccessor.java:117)
         at oracle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:1578)
         at oracle.jdbc.driver.OracleCallableStatementWrapper.getObject(OracleCallableStatementWrapper.java:815)
         at hospitaltool.RunAsnIn.runAsnIn(RunAsnIn.java:41)
         at hospitaltool.HospitalTool.main(HospitalTool.java:38)
    Caused by: java.lang.ClassNotFoundException: oracle.xml.parser.v2.XMLParseException
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         ... 10 more
    =====================JAVA CODE====================================
    package hospitaltool;
    import java.sql.*;
    import oracle.jdbc.*;
    import oracle.xdb.XMLType;
    public class RunAsnIn {
    public void runAsnIn(Connection con, Boolean fam) throws SQLException {
    System.out.println("RunASNIn Section");
    String messStatus;
    int numRecs = 0; //to hold the number of Records processed
    int totRecs = 0; //to hold the number of total records processed
    ResultSet rs = null;
    Statement stmt = null;
    stmt = con.createStatement();
    //Delete all already caused messages
    try {
    rs = stmt.executeQuery("DELETE FROM asnin WHERE message_num IN(SELECT message_num FROM asnin MINUS SELECT message_num FROM hospital WHERE family = 'ASNIn')");
    //Select all the uncaused messages
    rs = stmt.executeQuery("SELECT message_num FROM hospital WHERE family = 'ASNIn' and rownum <= 1 MINUS SELECT message_num FROM asnin");
    //Go thru the uncaused messages
    } catch (Exception e) {
    while (rs.next()) {
    String messageNum = rs.getString(1);
    // System.out.println("tableName=" + messageNum);
    System.out.println(messageNum);
    //Get the XMLDoc
    XMLType xml = null;
    //Get the XML Doc
    CallableStatement cs1 = null;
    //CallableStatement proc = con.prepareCall("? {call rmsauto.hospitaltool.getmessagedoc(?)}");
    try {
    cs1 = con.prepareCall("{? = call rmsauto.hospitaltool.getmessagedoc(?)}");
    cs1.registerOutParameter(1, OracleTypes.OPAQUE, "SYS.XMLTYPE");
    cs1.setString(2, messageNum);
    cs1.execute();
    } catch (Exception e) {
    xml = (XMLType) cs1.getObject(1);
    System.out.println(xml.getStringVal());
    }

    I did google this and found that I needed a specific jar file called xmlparserv2.jar and I did download it and loaded it on as part of my Libraries the I got a new error... I am using NetBeans
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/binxml/BinXMLMetadataProvider
         at oracle.xdb.XMLTypeFactory.create(XMLTypeFactory.java:78)
         at oracle.sql.OPAQUE.toClass(OPAQUE.java:328)
         at oracle.sql.OPAQUE.toJdbc(OPAQUE.java:278)
         at oracle.sql.OPAQUE.toJdbc(OPAQUE.java:259)
         at oracle.jdbc.driver.NamedTypeAccessor.getObject(NamedTypeAccessor.java:190)
         at oracle.jdbc.driver.NamedTypeAccessor.getObject(NamedTypeAccessor.java:117)
         at oracle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:1578)
         at oracle.jdbc.driver.OracleCallableStatementWrapper.getObject(OracleCallableStatementWrapper.java:815)
         at hospitaltool.RunAsnIn.runAsnIn(RunAsnIn.java:41)
         at hospitaltool.HospitalTool.main(HospitalTool.java:38)
    Caused by: java.lang.ClassNotFoundException: oracle.xml.binxml.BinXMLMetadataProvider
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         ... 10 more
    Java Result: 1

  • Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/

    Hi!
    Kindly assist on the following error.
    I'm doing the sample acmevideo on Cashier Application deploying as a Java Application from JDeveloper3.0 and Oracle8i 8.1.5. And I had this error after executing the following command;
    Path=e:\javaWebServer2.0\jre\bin;%Path%
    jre -cp "e:\cashier\acme.jar" acmevideo.swing.CashierApp
    ERROR MESSAGE ARE FOLLOWS:
    E:\cashier>jre -cp "e:\cashier\acme.jar" acmevideo.swing.CashierAppException in thread "main" java.lang.NoClassDefFoundError:
    oracle/xml/parser/v2/DOMParser
    at
    at oracle.jbo.server.SessionImpl.init(SessionImpl.java:82)
    at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:81)
    at oracle.dacf.dataset.SessionInfo._createAppModule(SessionInfo.java:1776)
    at oracle.dacf.dataset.SessionInfo.connect(SessionInfo.java:1370)
    at oracle.dacf.dataset.SessionInfo.open(Compiled Code)
    at oracle.dacf.dataset.SessionInfo.publishSession(SessionInfo.java:952)
    at oracle.dacf.dataset.SessionInfo.publishSession(SessionInfo.java:934)
    at acmevideo.infoswing.ViewRentalsForm.<init>(ViewRentalsForm.java:189)
    at acmevideo.swing.CashierApp.<init>(CashierApp.java:45)
    at acmevideo.swing.CashierApp.main(CashierApp.java:141)

    Make sure the classpath for the application includes all necessary dependency archives.
    The error in question is referring to the XMLParverv2.jar. This needs to be in the application's classpath when you launch it.
    The jar is available from JDEV_HOME\lib.
    Laura

  • Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parse

    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/
    XSLException
    Hi
    I have downloaded XDK and was trying to use the XSU feature..
    I unzipped the XDK file, I ran the following query on SQL plus
    select * from emp. It displayed the full table.
    Then i set the class path for XDK,XMLparserv2,oracle JDBC driver and then ran the same query on dos prompt(that is front end command line for java in my case).
    The following is the line i tried to execute on the command prompt
    java OracleXML getXML -user "scott/tiger" -conn "jdbc:oracle:thin:@localhost
    :1521:PomonaT" "select * from emp"
    PomonaT is the db name(Host string i use to enter SQL+)
    I get the following error
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/
    XSLException
    at OracleXML.To_XML(OracleXML.java:1038)
    at OracleXML.ExecuteGetXML(OracleXML.java:917)
    at OracleXML.main(OracleXML.java:184)
    IS SOMETHING MISSING IN MY CLASSPATH??
    IF YES? Could anyone tell what??
    Kunal

    Add xmlparserv2.jar to Classpath & reboot.

  • Oracle reports developer 11g java.lang.NoClassDefFoundError oracle/xml/parser/v2/XMLParserException

    Hi All,
    Need expertise help to resolve the issue I am getting with Oracle Report builder.
    I have installed and configured Oracle Forms and Reports Builder 11g  on my Windows 7 & 64 bit machine.
    Oracle Forms are working fine and I am getting an error while I am launching the Oracle Report Builder.
    It says
    The error is;
    java.lang.NoClassDefFoundError:
    oracle/xml/parser/v2/XMLParserException
    once I close th eabove error window, then it says java.lang.NullPOinterException.
    I have done all modifications to Middleware\as_1\bin rwbuilder.bat file as below
    @echo off
    @echo INFO: The Reports Builder is only supported on the Linux x86 and Windows x86 operating systems, for further information, please refer to the Release Notes ...
    @echo Starting Reports 11g Builder...
    setlocal
    call C:\Oracle\Middleware\asinst_1\config\reports\bin\reports.bat
    @echo on
    start C:\Oracle\Middleware\as_1\bin\rwbuilder.exe %*
    @echo off
    endlocal
    :end
    @echo on
    But report builder is not working. (Error comes when launching the Report Builder ).
    Quick support is highly appreciated.
    Thanks
    Muditha

    Hi All,
    Need expertise help to resolve the issue I am getting with Oracle Report builder.
    I have installed and configured Oracle Forms and Reports Builder 11g  on my Windows 7 & 64 bit machine.
    Oracle Forms are working fine and I am getting an error while I am launching the Oracle Report Builder.
    It says
    The error is;
    java.lang.NoClassDefFoundError:
    oracle/xml/parser/v2/XMLParserException
    once I close th eabove error window, then it says java.lang.NullPOinterException.
    I have done all modifications to Middleware\as_1\bin rwbuilder.bat file as below
    @echo off
    @echo INFO: The Reports Builder is only supported on the Linux x86 and Windows x86 operating systems, for further information, please refer to the Release Notes ...
    @echo Starting Reports 11g Builder...
    setlocal
    call C:\Oracle\Middleware\asinst_1\config\reports\bin\reports.bat
    @echo on
    start C:\Oracle\Middleware\as_1\bin\rwbuilder.exe %*
    @echo off
    endlocal
    :end
    @echo on
    But report builder is not working. (Error comes when launching the Report Builder ).
    Quick support is highly appreciated.
    Thanks
    Muditha

  • Error in Inbound B2B: AIP-50031:  B2B adapter general error: java.lang.Null

    Hi,
    I am getting the following error in inbound B2B - Custom Document over Generic Exchange - SFTP
    Description: B2B adapter general error
    StackTrace:
    Error -: AIP-50031: B2B adapter general error
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1900)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2657)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2527)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2482)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:530)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:376)
         at java.lang.Thread.run(Thread.java:534)
    ]]>
    The outbound B2B is working fine; however for the inbound file transfer the file is picked up from the trading partner and this exception occurs.
    Thanks

    Please paste more log in trace 32 mode. What is the name of the file you are receiving? By default B2B expects incoming filename as -
    <FromTPName>UniqueId.<anyFile_Extn>
    For e.g., if partner MarketInc is sending the file then it's name should be - MarketInc_12345.dat or MarketInc_34567.xml
    Make sure that listening channel is not marked as internal as well.
    Regards,
    Anuj

  • Issue with java.lang.ClassCastException: oracle.sql.StructDescriptor

    Hi ,
    I'm creating a dbadapter for a custom API written in APPS schema -
    TYPE MISIPM_LOB IS RECORD (
    FILE_ID IPM_LOBS.FILE_ID%TYPE,
    FILE_NAME IPM_LOBS.LOB_NAME%TYPE );
    TYPE MISIPM_LOB_LIST IS TABLE OF MISIPM_LOB;
    PROCEDURE GET_FILE_ID_DETAILS(
    P_SOURCE_SYSTEM IN VARCHAR2,
    p_entity_value IN VARCHAR2,
    p_entity_code IN VARCHAR2,
    P_ORG_ID IN NUMBER,
    P_MISIPM_FILES_LIST OUT MISIPM_LOB_LIST,
    P_ERRCODE OUT VARCHAR2,
    P_ERRMESSAGE OUT VARCHAR2);
    From JDeveloper, there is a wrapper package is getting created and the compilation/deployment of this composite is also without any error.
    But when I run the composite, I'm surprisingly getting the below error -
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'GetAttachmentMetaData' failed due to: Interaction processing error. Error while processing the execution of the APPS.BPEL_GETATTACHMENTMETADATA1.XX_DELIVER_BLOB$GET_FILE_ API interaction. An error occurred while processing the interaction for invoking the APPS.BPEL_GETATTACHMENTMETADATA1.XX_DELIVER_BLOB$GET_FILE_ API. Cause: java.lang.ClassCastException: oracle.sql.StructDescriptor Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. This exception is considered not retriable, likely due to a modelling mistake. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    I recreated the adapter multiple times within the composite and also tried to create a separate composite and all the cases the error message received was same. There two more similar procedure call's in the composite and all rest of them are working fine.
    I can call the wrapper from sql script separately.
    Verified that the XSD generated and the wrapper package parameters are matching as well.
    Did anyone face the same issue or any explanation/help is much appreciated.
    Regards,
    Debanjan

    Hi Vijay,
    I have checked the number of parameters as well.
    <element name="InputParameters">
    <complexType>
    <sequence>
    <element name="P_SOURCE_SYSTEM" type="string" db:index="1" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    <element name="P_ENTITY_VALUE" type="string" db:index="2" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    <element name="P_ENTITY_CODE" type="string" db:index="3" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    <element name="P_ORG_ID" type="decimal" db:index="4" db:type="NUMBER" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <element name="OutputParameters">
    <complexType>
    <sequence>
    <element name="P_MISIPM_FILES_LIST" type="db:APPS.XX_DELIVER_X35784324X1X5" db:index="5" db:type="Array" minOccurs="0" nillable="true"/>
    <element name="P_ERRCODE" type="string" db:index="6" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    <element name="P_ERRMESSAGE" type="string" db:index="7" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="APPS.XX_DELIVER_X35784324X1X6">
    <sequence>
    <element name="FILE_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="FILE_NAME" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="2000"/>
    </restriction>
    </simpleType>
    </element>
    </sequence>
    </complexType>
    <complexType name="APPS.XX_DELIVER_X35784324X1X5">
    <sequence>
    <element name="P_MISIPM_FILES_LIST_ITEM" type="db:APPS.XX_DELIVER_X35784324X1X6" db:type="Struct" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
    </sequence>
    </complexType>
    Regards,
    Debanjan

  • Java.lang.ClassCastException: oracle.jsp.runtimev2.JspServlet

    Hi I am new Jdeveloper and java
    I am getiing the following error when I try to run the project
    500 Internal Server Error
    java.lang.IllegalAccessError: javax/naming/InitialContext     at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)     at javax.servlet.GenericServlet.init(GenericServlet.java:259)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2365)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4807)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2833)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:534)
    and the OC4j server log show as java.lang.ClassCastException: oracle.jsp.runtimev2.JspServlet
    Can any one help me resolving the issue
    Thanks,
    Krish

    Hi I am new Jdeveloper and java
    I am getiing the following error when I try to run the project
    500 Internal Server Error
    java.lang.IllegalAccessError: javax/naming/InitialContext     at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)     at javax.servlet.GenericServlet.init(GenericServlet.java:259)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2365)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4807)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2833)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:534)
    and the OC4j server log show as java.lang.ClassCastException: oracle.jsp.runtimev2.JspServlet
    Can any one help me resolving the issue
    Thanks,
    Krish

  • Re : Error java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDrive

    Hello All,
    I am writing this simple program which connects to Oracle DB ( 10.2 ). The Java version I have is 1.5.0_13 . I do have oracle client installed. When I run the below code ...I get error
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
            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:306)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:164)
            at OraThin.main(OraThin.java:13)The code I have is :
    import java.io.*;
    import java.sql.*;
    public class OraThin {
      public static void main(String[] args) {
        try {
    System.out.println(System.getProperty ("java.class.path") );
          Connection con=null;
          Class.forName("oracle.jdbc.driver.OracleDriver");
          con=DriverManager.getConnection(
            "jdbc:oracle:thin:@hostname:15282:ServiceName",
            "scott",
            "tiger");
          Statement s=con.createStatement();
          s.execute("SELECT SYSDATE FROM DUAL");
          s.close();
          con.close();
      } catch(Exception e){e.printStackTrace();}
    } Please suggest as to what am I missing, I am not that well versed with Java.
    Thanks in advance,
    Sam

    Hello Paul,
    Thanks for you suggestion. Based on it , I did add the exact jar file in the PATH environmental variable in XP.
    Path=C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar;C:\oraclexe\a
    pp\oracle\product\10.2.0\server\bin;C:\oracle\product\10.2.0\client_1\bin;C:\Ora
    cle\product\10.1.0\Client_1\bin;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\
    client;C:\j2sdk1.4.2_06\bin;Even after adding the specific jar file *("C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar")* ..I am getting the exact same error. moreover, to verify this I also tried to import import oracle.jdbc.driver.*.....and now my code would not even complie and I get error *(c:\Program Files\Java\jdk1.5.0_13\bin\OraThin.java:3: package oracle.jdbc.driver*
    does not exist ) . I also rebooted my machine just to make sure ...that didnt work either. Also, I changed these jar to be first in the PATH varibale ..to avoid conflict with any later .jar's classes. The code is :
    import java.io.*;
    import java.sql.*;
    import oracle.jdbc.driver.*;
    public class OraThin {
      public static void main(String[] args) {
        try {
    System.out.println(System.getProperty ("java.class.path") );
          Connection con=null;
          Class.forName("oracle.jdbc.driver.OracleDriver");
          con=DriverManager.getConnection(
            "jdbc:oracle:thin:@hostname:15282:ServiceName",
            "scott",
            "tiger");
          Statement s=con.createStatement();
          s.execute("SELECT SYSDATE FROM DUAL");
          s.close();
          con.close();
      } catch(Exception e){e.printStackTrace();}
    }What am I missing here!! ?
    Thanks again,
    Sam

  • Crystal Reports 2013 java-error "java.lang.ClassCastException: class com.crystaldecisions..." when promoting

    Hi,
    when promoting "Crystal Report 2013" report (with data connectivity BW MDX Query) from BO DEV to BO PROD with BO Promotion Mgmt (LCM), we get the following error message in LCM jobs history:
    Resolution Status=Overwritten, Dependency Status=All the required dependencies are included.,
    Commit Status=Commit attempted and failed.,
    Promotion Status=Failure : Object promoted. Update failed.
    Error: java.lang.ClassCastException: class com.crystaldecisions.sdk.occa.report.lib.ByteArray:java.net.URLClassLoader@1d634758 incompatible
    with class com.crystaldecisions.sdk.occa.report.lib.PropertyBag:java.net.URLClassLoader@1d634758
    The report itself is present on BO PROD, but the overwrite (BW DEV MDX Query-> BW PROD MDX Query) is not applied, so report connectivity still points to the BW Query on the development system :-( .
    Moreover, the overwrite itself is detected when the job is "test promoted" ("active overwrite").
    Before, we successfully were able to transport crystal reports 2013 with overwrite (the connection then pointed to BW PROD). No idea yet what suddenly changed that...
    Any ideas what causes the error and what can fix it (no posts found, no SAP note, google also no hits)?
    Best regards
    Florian Pitschi

    Update:
    After more investigation, it looks as if the BO Server "CrystalReports2013ReportApplicationServer"
    from time to time has an issue - not only when promoting, but also when viewing publications that contain Crystal Report documents or when executing them, the java class error or similar issue is thrown.
    Did sb face similar behaviour and knows what is the root cause for "CrystalReports2013ReportApplicationServer" not working probably and throwing the java-class error? - it was running fine for several months, now, the class error showed up twice in one month.
    We need to find out what is causing the issue (aleady checked tomcat and BO-logfiles...).
    Best Regards
    Florian

  • Error : java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

    Hi,
    I am writing an application and am trying to open a connection to Oracle database that is on a server. I am using the following test code to check if it connects to the database.
    import java.sql.*;
    class dbAccess {
      public static void main (String args []) throws SQLException
            String DBurl = "jdbc:oracle:thin:@local:1522:DBORA";
            String user = "test";
            String pwd = "test123";
            Class.forName("oracle.jdbc.driver.OracleDriver");
            con = DriverManager.getConnection(DBurl, user, pwd);
    }On running the above program I keep on getting the following error:
    Error : java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    java.lang.NullPointerException
    If I open the connection using JDeveloper wizard I can see the DB. But if running the above program in the JDev, JCreator or commandline keep on getting the error. Any help is appreciated. Thanks

    How do I set the path for the Oracle Driver. ThanksI dunno. You're supposed to know where that class is (what jar it lives in). You set it up in JDeveloper in the first place, so you must have known where it is. After you know that, it's up to you to figure out how JCreator projects are set up to include jars in a project (just like JDeveloper projects do). For the command-line way, you set the classpath on the command-line arguments:
    java -cp (your classpath here, which must include the jars it needs) ...

Maybe you are looking for

  • URLClassLoader slower than system loader

    I'm subclassing URLClassLoader to load jar files on the local file system. I noticed that URLClassLoader loads about 30% slower than placing the jar files on the system class path. In my app, class loading performance in very important -even though i

  • Import Export Utility not working on Windows Vista

    Hi I installed Oracle 10g XE on my brand new Windows Vista Business (SP1) machine 2 weeks ago. I then sucessfully imported an oracle export file which I had. I later installed Oracle Forms & Reports. However, today trying to use import or export give

  • Target boot not working

    I am trying to target boot a 2008 Macbook Pro (dead logic board) with a 2006 Macbook Pro acting as the host via firewire. The hard drive from the target mac is not showing up on the host, any suggestions?

  • Integrating ADF UI with IBM Filenet

    I am working on latest jDEV(PS1) and developing UI using ADF. One of my requirement is to integrate ADF pages with IBM Filenet. For example if I am displaying Sales Order details on the page and when we click on some info button I need to display the

  • Drivers Lenovo B590

    Buenos dias, hace poco formateé e instale windows 8 64bits, hasta ahi todo bien, he instalado los drivers del sonido, Ethernet, pantalla, Bluetooth, pero los del wifi y los del scroll para no tener que bajar con los cursores no hay manera. En la pagi