Jdbc.dbaccess.dbconversion error

I recently moved my JSP application from my test Windows NT box to a Sun Server. I am using Tomcat with Apache on the Sun Server. Everything worked fine on the NT box, but now a few pages are experiencing an error. I am receiving the following error messages:
java.lang.NoClassDefFoundError: oracle/sql/LnxLib
     at oracle.jdbc.dbaccess.DBConversion.NumberBytesToBigDecimal(Compiled Code)
     at oracle.jdbc.driver.OracleStatement.getBigDecimalValue(Compiled Code)
     at oracle.jdbc.driver.OracleStatement.getObjectValue(Compiled Code)
     at oracle.jdbc.driver.OracleStatement.getObjectValue(Compiled Code)
     at oracle.jdbc.driver.OracleResultSetImpl.getObject(Compiled Code)
     at oracle.jdbc.driver.OracleResultSet.getObject(Compiled Code)
     at layer_sizes2_1._jspService(Compiled Code)
     at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code)
     at javax.servlet.http.HttpServlet.service(Compiled Code)
     at org.apache.tomcat.facade.ServletHandler.doService(Compiled Code)
     at org.apache.tomcat.core.Handler.invoke(Compiled Code)
     at org.apache.tomcat.core.Handler.service(Compiled Code)
     at org.apache.tomcat.facade.ServletHandler.service(Compiled Code)
     at org.apache.tomcat.core.ContextManager.internalService(Compiled Code)
     at org.apache.tomcat.core.ContextManager.service(Compiled Code)
     at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Compiled Code)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Compiled Code)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Compiled Code)
     at java.lang.Thread.run(Thread.java:479)
I'm still a little new at this so I'm unsure as to how to read the above messages. Is this saying that my code can't find the NumberBytesToBigDecimal routine?
Any help would be appreciated.
Thanks,
Brian
[email protected]

Hi,
java.lang.NoClassDefFoundError: oracle/sql/LnxLib at
oracle.jdbc.dbaccess.DBConversion.NumberBytesToBigDecimal(Compiled Code)
Is this saying that my code can't find the NumberBytesToBigDecimal routine?NumberBytesToBigDecimal is looking for LnxLib.class in oracle.sql packaage.
Check for that package and put the package in classpath of your
system/application.
Hope this helps.
Good Luck.
Gayam.Srinivasa Reddy
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support/

Similar Messages

  • JDBC ResultSet.next() Error

    Can anyone help me with this error? I am running this in AIX box (java 1.3) using OCI to VMS RDB Server. I get this error when looping through the ResultSet.next().
    Thanks
    --Elie
    Exception in thread "main" java.sql.SQLException: ORA-09100: Message 9100 not found; No message file for product=NATCONN, facility=GTW
    %SYSTEM-F-NOMSG, Message number 0000C1C4
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java(Compiled Code))
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java(Compiled Code))
    at oracle.jdbc.oci8.OCIDBAccess.fetch(OCIDBAccess.java(Compiled Code))
    at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java(Compiled Code))
    at mbr.main(mbr.java(Compiled Code))

    I got it resolved by using NVL function on each of my DATE columns. I found a log from the RDB server complaining about dates. The NVL seems did the trick.
    Thanks again for your reply.
    --Elie                                                                                                                                                                                                                                                                                                                                                                                                           

  • Character set not supported!! DBConversion error. Need Help!

    I installed JDeveloper9.2 on windows 2000. When I try to make a database server connection by using OCI8 driver, it gives me a "Character set not supported DBConversion error". After that I tried to connect database by using Thin driver, everything is OK. I really need your help.
    I used database connection wizard to make the connection. Connection type I selected ORACLE(JDBC) and drive I selected OCI8. After that I tried to test connection, it gave me above error. I noticed that JDeveloper did not talked with database server at all, I tried to connect with a database server which does not exist, it still gave me the same error.

    Just ran into this myself yester day.
    There is a Metalink Note on it.
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showFrameDocument?p_database_id=NOT&p_id=190281.1
    Problem Description
    You are using OC4J and trying to connect to a database using JDBC OCI and
    are getting:
    "java.sql.SQLException: Character Set Not Supported !!: DBConversion"
    Solution Description
    Replace the <OC4J_HOME>\jdbc\lib\classes12dms.jar with
    <ORACLE_HOME>\jdbc\lib\classes12.jar and rename it with classes12dms.jar.
    Explanation
    It seems there is a mismatch of classes12.zip supplied with OC4J 9.0.2
    and the Oracle9i client libraries ocijdbc8.dll or ocijdbc8.so.
    OC4J 9.0.2 does not use jdbc\lib\classes12.jar instead it uses
    jdbc\lib\classes12dms.jar. So, in order to use the 9.0.1 client with OC4J, you
    will need to make a copy of classes12.jar and rename it to classes12dms.jar
    References
    [NOTE:108876.1] Creating Connection gives "No ocijdbc8 in java.library.path"
    [NOTE:174808.1] JDev9i and OCI Connections
    I copied and renamed the jar (classes12.jar) as they stated.
    Note: It should be in the directory you set in the JDev.conf, mine is
    AddNativeCodePath D:\OraNT\9iDS\bin
    Didn't try the other reply's suggestion of setting an environment variable.

  • Oracle.jdbc.dbaccess.Messages exception

    i have an application throwing a jdbc
    exception that starts out:
    java.sql.SQLException: Message file
    'oracle.jdbc.dbaccess.Messages' is missing.
    i realize that the exception is being thrown
    for another reason and i'm guessing that when
    the process tries to lookup the appropriate
    message, some message file cannot be found.
    but, where should this message file be. the
    client where this code runs has a Oracle client install.
    what is missing?
    thanks, ron....

    Hi,
    I got the following from another message (I use Visual Age and just had to do an import on the property files!).
    Allen
    agvkumar
    unregistered posted July 09, 2000 08:13 AM
    I too used to get this error when the classes111.zip was unzipped, but this should not cause any problem if classess111.zip is used in the classpath.
    It is trying to load the messages.properties
    as a resource.
    Do not use a deployment tool to pull all the required classes, they miss these kinda properties file and you end up in trouble.
    Check your IDE if any which may do this in the background.
    null

  • Oracle.jdbc.dbaccess.Messages

    I'm getting the following error when executing selects against Oracle 8i with Java 2 in WebSphere:
    java.sql.SQLException: Message file 'oracle.jdbc.dbaccess.Messages' is missing.
    There is no class file by this name, although there is a Messages.properties
    null

    Hi,
    I got the following from another message (I use Visual Age and just had to do an import on the property files!).
    Allen
    agvkumar
    unregistered posted July 09, 2000 08:13 AM
    I too used to get this error when the classes111.zip was unzipped, but this should not cause any problem if classess111.zip is used in the classpath.
    It is trying to load the messages.properties
    as a resource.
    Do not use a deployment tool to pull all the required classes, they miss these kinda properties file and you end up in trouble.
    Check your IDE if any which may do this in the background.
    null

  • Error: [SQLServer JDBC Driver]Syntax error at token 0, line 0 offset 0

    Hi:
    I´m working with system driver at de JDBC connection in VA. When a record is inserted/updated this error is display:
    NWMss  SQLServer JDBC Driver  Syntax error at token 0, line 0 offset 0
    The record is inserted/updated but when the operation ends the exception is throw.
    I Google the error but I didn´t find how to solve it.
    Any idea?
    Thanks a lot for your time on this post.
    Rocío.

    Hi,
    Rocío Lorena Suárez wrote:
    NWMss  SQLServer JDBC Driver  Syntax error at token 0, line 0 offset 0
    I think that you may be trying to construct an SQL query using some logic. Is that right?
    I hav encountered this problem when trying these types of code - If possible please debug the code and see if there is any particular case in which the SQL string in which the command is saved becomes null.
    When it is null or blank - the SQL Driver will throw such an error.
    Also, if you can elaborate more on the problem - I can give you some more help.
    Thanks.
    p256960

  • JDBC to IDOC Error

    Hi Guys
    On my Scenario Jdbc to Idoc (Asynch) I am using  FLCUSTOMER_CREATEFROMDATA.FLCUSTOMER_CREATEFROMDATA01
    as a Receiver Interface, now when testing on the sxmb_moni I get two flags the Black and While and the Red the one the is Back and While shows that the Sender is my JDBC Adapter which is right
    but now the Red flag show that the Sender is IDoc(FLCUSTOMER_CREATEFROMDATA.FLCUSTOMER_CREATEFROMDATA01)  is also Sender of which I used it as a Receiver Interface, I dont know how to stop this IDoc Adapter not to send but to receiver.
    Basical my scenario is meant to create an IDoc but is is not doing it when going to TCode WE02/WE05 I get message : "No IDocs selected"
    Thanks
    Yonela

    Hi
    I don't have any conditions, to Send and Receive, by the way I went to  TCode IDX5 my Outbnd is right but Inbound thats where I get the below error:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error
    I have done these:
    SM59- To Create RFC Destinations
    WE21- To Create IDoc Ports
    SALE- To Create Logical System
    WE20- To Create Partner Profiles
    IDX1- Port Maintenance in IDoc Adapter
    IDX2- Metadata Overview for IDoc
    On the ID I created the the IDoc Receiver:
    RFC Destinatin: IDOC_RECEIVER
    Interface Version: SAP Release 4.0 or Higher
    Port:   SAPPI1
    SAP Release: 701
    What could be the problem
    Thanks,
    Yonela

  • JDBC Receiver CC Error

    Hi,
    I have configured JDBC Reciever Adapater and i have given the paramenter like following -
    JDBC Drvier : com.microsoft.sqlserver.jdbc.SQLServerDriver
    Connection : jdbc:sqlserver://<dbServer>:14330;databaseName=<dbName>
    (Note - with the above details we have a sender channel which is perfectly working fine)
    JDBC Receiver Channel in RWB is giving the following error in adapter channel monitoring -
    Configuration error: com.sap.aii.af.service.util.configuration.MandatoryParameterMissingException: Value missing for mandatory configuration attribute tableEOColumnNameId
    Please help me.
    Thanks in Advance!!

    Check these threads:
    Error while executing JDBC receiver and sender CC
    Re: JDBC Adapter  Conect to Oracle Database
    and this:
    http://help.sap.com/saphelp_nw70/helpdata/en/b0/676b3c255b1475e10000000a114084/frameset.htm
    Regards,
    ravi

  • JDBC to IDoc ( error when mapping multiple JDBC records to IDoc)

    Hi,
    I am working on JDBC to IDoc scenario, I have declared row as 0 to unbounded and by default the IDoc structure is 1..1.
    Inorder to map multiple rows from JDBC to get multiple IDoc's, I have changed the occurrence of IDoc in "Messages" tab of Message mapping to 0 to unbounded.
    I have mapped "row" to "IDoc".
    When I test the mapping, it works fine, giving the same number of IDoc's with that of row.
    When I test end to end, in SXMB_MONI, it gives me following error:
    <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>MSGGUID 54A3A64E895D48EC3F20C69FEFE2E82B: Tag found instead of tag IDOC BEGIN=</SAP:P1>
    can any one help me out with this.
    Thanks in advance.

    Hi Jwalith,
    Check this blog from Michel
    The specified item was not found.
    Make sure that you changed occurance as per this blog.
    hope this is helpful
    regards,
    Venkat.

  • JDBC receiver report error message:  attribute action missing

    Hello Colleagues,
    I am working on a scenario:
    SAP ECC>XI proxy>XI server>JDBC adapter>oracle database.
    SAP ECC is sending a request(SQL query) to get the result from DB.
    The payload is
    ==========================================================================
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MT_B1_MES_GETMAT_IN xmlns:ns1="http://boe.com.cn/b1/cim">
    - <root>
    - <stmt>
    - <Query action="SQL_QUERY">
      <access>SELECT productspecname AS MATNR, productiontype AS DISGR, SUBSTR(factoryname,1,1) AS SHOP FROM PRODUCTSPEC WHERE activestate = 'Active'</access>
      </Query>
      </stmt>
      </root>
      </ns1:MT_B1_MES_GETMAT_IN>
    ============================================================================
    As you might already seen, the action attribute is there, but i always get the error log:
    Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
    I searched for the threads in forum but it seems, people get the same error always due to the wrong XML document.
    but i check my xml, it looks right. why still get the "action attribute missing" error...
    Best regards, Charlie Cai

       <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MT_B1_MES_GETMAT_IN xmlns:ns1="http://boe.com.cn/b1/cim">
    - <root>
    - <stmt>
    - <Query action="SQL_QUERY">
       <access>SELECT productspecname AS MATNR, productiontype AS DISGR, SUBSTR(factoryname,1,1) AS SHOP FROM PRODUCTSPEC WHERE activestate = 'Active'</access>
       </Query>
       </stmt>
       </root>
       </ns1:MT_B1_MES_GETMAT_IN>
    In your query, are you executing Select Statement ?
    For Target JDBC, you can Insert data in table, Update Data in table & Execute Stored Procedures from PI System.
    using Actions
    INSERT
    UPDATE
    EXECUTE.
    Change your scenario Action as per your requirement.
    No idea for ACTION = SQL_QUERY.

  • JDBC Receiver Adapter Error

    Hi All,
    I am executing SP by using JDBC Receiver Adapter.
    My strcture is follows
    <STATEMENT2>
    <SP_CREATE_T_BATCH action="EXECUTE">
    <spName type="VARCHAR">SP_CREATE_T_BATCH</spName>
    <IN_Control_Recipe hasQuot="No" type="Integer">100000000001723850</IN_Control_Recipe>
    </SP_CREATE_T_BATCH>
    </STATEMENT2>
    The below error I am getting
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SP_CREATE_T_BATCH' (structure 'STATEMENT2'): java.lang.NumberFormatException: For input string: "100000000001723850"
    Any help on this

    Hi Ram,
    Since you mentioned that your SP has one input parameter and one output parameter, the structure of the XML message at the JDBC receiver side should be:
    <STATEMENT2>
    <SP_CREATE_T_BATCH action="EXECUTE">
    <IN_Control_Recipe isInput="true" hasQuot="No" type="BIGINT">100000000001723850</IN_Control_Recipe>
    <Output_Parameter isOutput="true" type="SQLDataType"></Output_Parameter>
    </SP_CREATE_T_BATCH>
    </STATEMENT2>
    Here, i have assumed the following:
    SP_CREATE_T_BATCH   - The name of the Stored Procedure to be executed
    IN_Control_Recipe - Input parameter of the SP and its SQLDataType is BIGINT as suggested by Stefan.
    Output_Parameter - Output parameter of the SP. You may enter the SQL data type as per the output of your Stored Procedure.
    The following SQL data types are supported:
    INTEGER, BIT, TINYINT, SMALLINT, BIGINT, FLOAT, REAL, DOUBLE, NUMERIC, DECIMAL, CHAR, VARCHAR, STRING, LONGVARCHAR, DATE, TIME, TIMESTAMP, BINARY, VARBINARY, LONGVARBINARY, BLOB (input and output),CLOB (input and output), CURSOR (output; only in conjunction with the Oracle JDBC driver).
    Hope this will surely solve your problem.
    Regards, Gaurav.

  • JDBC receiver adapter - Error processing request in sax parser

    Hello,
    I want to INSERT idoc data via JDBC adapter into a MS SQL database. After digging through SAP Help, numerous blogs and forum discussions on SDN and even posting an OSS message I still get the same error:
    'Error: TransformException error in xml processor class: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)'
    When testing my mapping in the Integration Repository the resulting XML message is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Employee xmlns:ns0="http://prodrive.nl/xi/HRMasterdata/HRMD_A_2_d_bcommerp">
       <STATEMENT>
          <T_PD_Employees action="INSERT">
             <access>
                <KeyTag>00088888</KeyTag>
                <PerNo>00088888</PerNo>
             </access>
          </T_PD_Employees>
       </STATEMENT>
    </ns0:Employee>
    The connection to the database is fine, Sender adapter with a SELECT * works perfect.
    Can anyone help me solve this problem? I'm lost.
    Best regards,
    Roelof Jan Bouwknegt

    Hi Bhavesh,
    I have tried out the change you suggested. Without success. Message I get back is
    - 2006-12-28 10:34:08 CET: Error: TransformException error in xml processor class: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
    structure in testtool:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Employee xmlns:ns0="http://prodrive.nl/xi/HRMasterdata/HRMD_A_2_d_bcommerp">
       <STATEMENT>
          <T_PD_Employees action="INSERT">
             <ACCESS>
                <KEYTAG>00088888</KEYTAG>
                <PERNO>00088888</PERNO>
             </ACCESS>
          </T_PD_Employees>
       </STATEMENT>
    </ns0:Employee>
    Somehow the SAX  parser doesn't like the result of my mapping. Maybe there is something wrong with the structure cardinality. Let me describe what I have built:
    XSD:
    WA_T_PD_Employees - Complex Type
    > STATEMENT - Element - Occurence = 1
    >> T_PD_Employees - Element - Occurence = 1
    >>> STATEMENT - Attribute - Occurence = optional
    >>> access - Element - Occurence = 1..Unbounded
    Best regards Roelof Jan and thanks for your quick response

  • JDBC Receiver: FATAL ERROR document format: invalid level 4

    Hi,
    I am creating an IDOC -JDBC scenario .
    The XML created has action as delete.
    but in the comminication channel i am  getting an error which is
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'T_SAP_WBS' (structure 'statement1'): java.sql.SQLException: FATAL ERROR document format: invalid level 4' found (structure 'statement1')
    does any one have any idea on this?
    Regards,
    Tarun Bahal

    Hi,
    The JDBC format which you are using is incorrect.....please maintain the format as mentioned in this document...there seems to be some mismatch
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    By maintaining the format i mean:
    1) maintain the hierarchy as mentioned in the link
    2) maintain the case (upper/ lower) for the standard elements (you seem to be using statement1 instead of Statement)
    3) If there are no multiple stattements then have the name as Statement
    If still facing the problem....provide your structure in sdn
    Regards,
    Abhishek.

  • JDBC to RFC- Error in RWB

    Gurus,
    Background :We have fresh installation of SAP PO 7.3 (Single Stack ) on SQL Server 2013.
    Scenraio is : JDBC to RFC async scerio; i can pull data from SQL database but not able to post to SAP
    Please advise what to do.
    I always provide points for helpful answers

    Hi V Jay - Did you check the below thread?
    RfcClientException: functiontemplate from repository was <null>
    Q 16: While sending a message to the RFC Adapter the error "... functiontemplate from repository was <null>" is shown. What is the reason?
                  A: After receiving a message from the Adapter Engine, the RFC Adapter extracts the payload from the message. Normally this should be an XML document in the RFC-XML format. In this format the root element of the XML document represents the name of the function module and is enclosed in the fixed RFC namespace 'urn:sap-com:document:sap:rfc:functions'. But this only will be checked at a later point, when the conversion from XML to native RFC is done. As prerequisite of this conversion the structures and types of the function module parameters has to be known. This is also called metadata or function template. To get this function template the name of the function module is extracted from the root element of the XML document and is queried against the metadata repository of the communication channel. If the metadata repository doesn't have a function module with this name, the exception named above is thrown. Possible reasons are
    The XML document, which was sent to the RFC Adapter, is not a RFC-XML document. So the root element name of this document is not the name of a function module and thus can't be found in the metadata repository.
    The metadata repository doesn't contain an entry for this function module name. Normally the metadata repository will be an R/3 system and it's function module repository can be searched with the transaction SE37
    Reference :  730870 - FAQ XI 3.0/ PI 7.0/ PI 7.1/ PI 7.11/ PI 7.2/ 7.3 RFC Adapter

  • JDBC Adapter throws error for Null Data

    Hi All,
              I am running a interface Proxy to JDBC. But in case if proxy has no new data, the message which goes to the database is:
    <b>  <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:MT_Material xmlns:ns1="urn:sce-com:xi:fi:UnitEstimateData">
    - <Insert_Material>
    - <dbTableName action="INSERT">
      <table>SCEI_UE_MATERIALS</table>
      </dbTableName>
      </Insert_Material>
      </ns1:MT_Material></b>
    and I get the error in RWB as <b>Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SCEI_UE_MATERIALS' (structure 'Insert_Material'): java.sql.SQLException: FATAL ERROR document format in structure 'Insert_Material': expected 'access' tag(s) not found</b>.
    Is there a way so that the JDBC adapter doesn't throw any error if there is no access node??
    Pls advice...
    XIer

    Xier,
    Why it will create multiple Insert_Material nodes? Use  like this
    Mandatory segment ->Remove context->Collapse Context ---> Exists -
    >insert_material.
    Try the above and let me know if it doesn't helps!!
    raj.

Maybe you are looking for

  • Stored Procedure for Accounts Receivable

    Hi. First off, apologies in advance if I have put this question into the wrong topic. Secondly, I first saw SAP 3 weeks ago when I stared my new job and have had no training so please bear with me if some of what I ask doesn't make much sense. OK, th

  • Diffrent prints of same pld layout from diffrent printers

    Hi I have freezed one sales invoice pld for a pre printed invoice. When i print it from one printer then it shows exact print on the pre printed paper as desired. Now on another system and printer i use same pld, it shows different print and there is

  • Fields Relevant to Printouts of Changes

    Hi: We need to trigger a PO change message only at the time a new PO line item is created, does any one know how to resolve this? Thanks Regards, Daniel Guillen Skyworks Inc.

  • MUTILPLE CONTACT TEXT MESSAGING

    Has anyone figured out how to text message more that one contact at a time? If you have a short cut let me know

  • Recruitment steps in sap hr?

    Hello All, I am currently working on recruitment module as per the requirement of the client. I have completed all the steps upto PB10.Now I an a bit confused as in how to go futher. Can somebody come up with the complete recruitment steps and help m