Non supported SQL92 token at position: 887: Message -regarding javamail api

I executed a procedure in java for sending mail.
But ended in exception which is shown below.
" 17034 : null : java.sql.SQLException: Non supported SQL92 token at position: 887: Message
java.sql.SQLException: Non supported SQL92 token at position: 887: Message
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.ja "
how to add more api's in Odi.
is it the jar files to store in ODI\jre\lib directory .
I did it but again exception .
plz reply a suggestion,
thanks in advance
sanal

I Think U need to set the path of jar files in classpath Enviroment variable

Similar Messages

  • Non supported SQL92 token at position: 32531: OVERFLOW

    While using Jdevloper9i to edit/create Oracle PL/SQL stored procedure Web Application that has { or } bracket in it gives me the following error:
    Non supported SQL92 token at position: 32531: OVERFLOW
    I know internally Jdevloper uses JDBC to connect to database and if you have setEscapeProcessing turned on then it craps out. The question is how am I going to turn that off on Jdeveloper or can I?
    Thanks!

    Just to confirm, can you state what version of JDeveloper you're using? (9.0.2 Production, or 9.0.3 Developer's Preview?)
    Reading this reminded me of a bug I filed (#2237101) that is fixed in 9.0.3 Dev Preview, but might not be the same issue. Here is the bug report for that particular problem.
    [OTN Thread: Re: Optimistic Locking and web-based transaction
    Pressing [Ctrl]-[Shift]-[F9] to "Make" a PL/SQL package corrupts
    the source code of the PL/SQL package by turning question mark
    characters into JDBC bind variable place holders.
    In the user's testcase, the line:
    d := utl_tcp.write_line(c, '<?xml version=' || DQUOTE || '1.0' || DQUOTE ||
    '?>');
    Is turned into:
    d := utl_tcp.write_line(c, '<:1xml version=' || DQUOTE || '1.0' || DQUOTE
    || ':2>');
    which corrupts the test and ruins the functionality of his routine that's
    trying to output XML.
    Using the OTN user's testcase, I'm able to reproduce the problem
    he is reporting, however, with a smaller testcase the problem
    does not reproduce.
    WORKAROUND: Define a constant for the question mark character, and use
    ----------  the constant instead of the literal question mark.

  • Java.sql.SQLException: Non supported SQL92 token at position: 377:

    hi,
    i have to create oracle-java source from java program. my code is :
    ( In Java which create java source in oracle)
    strQuery = "CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED
    \"ASCOMPONENT\" AS ";
    strQuery += "import javax.xml.parsers.DocumentBuilderFactory; ";
    strQuery += "import javax.xml.parsers.DocumentBuilder; ";
    strQuery += "import org.xml.sax.SAXException; ";
    strQuery += "import org.xml.sax.SAXParseException; ";
    strQuery += "import org.w3c.dom.Document; ";
    strQuery += "import org.w3c.dom.*; ";
    strQuery += "import java.io.*; ";
    strQuery += "import oracle.jdbc.driver.*; ";
    strQuery += "import java.sql.*; ";
    strQuery += "public class ASComponent ";
    strQuery += "\n ";
    strQuery += "{ "; // error here.../
    strQuery += "\n ";
    strQuery += "public static void readXML(String strXML,String
    strTable) ";
    strQuery += "\n ";
    strQuery += "{ ";
    strQuery += "\n ";
    strQuery += " } ";
    strQuery += "\n ";
    strQuery += " } ";
    strQuery += "\n ";
    System.out.println("Query = " + strQuery);
    stmt.executeQuery(strQuery);
    i am getting error :
    java.sql.SQLException: Non supported SQL92 token at position: 377:
    so, what is that error ?
    i think when it is getting '{ ' it is giving error...?
    how we can use token '{}' in jdbc.
    so, what is the error..?
    please help me its urgent..
    Thanks in advance...

    thanks for reply.
    according to my project requirement i have to execute that script using my java program.
    java source which i am creating in oracle is :
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "ASCOMPONENT" AS
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.DocumentBuilder;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.w3c.dom.Document;
    import org.w3c.dom.*;
    import java.io.*;
    import oracle.jdbc.driver.*;
    import java.sql.*;
    public class ASComponent
    public static void readXML(String strXML,String strTable)
    // code here
    when i am creating above program from sql prompt, it works fine.
    but when i am creting that from java program, it is giving me exception.
    my java code to create above script is :
    conn = getConnection();
    stmt = conn.createStatement();
    strQuery = "CREATE OR REPLACE AND RESOLVE JAVA SOURCE
    NAMED \"ASCOMPONENT\" AS ";
    strQuery += "\n ";
    strQuery += "import javax.xml.parsers.DocumentBuilderFactory; ";
    strQuery += "\n ";
    strQuery += "import javax.xml.parsers.DocumentBuilder; ";
    strQuery += "import org.xml.sax.SAXException; ";
    strQuery += "import org.xml.sax.SAXParseException; ";
    strQuery += "import org.w3c.dom.Document; ";
    strQuery += "import oracle.jdbc.driver.*; ";
    strQuery += "import java.sql.*; ";
    strQuery += "public class ASComponent ";
    strQuery += "\n ";
    strQuery += " { ";
    strQuery += "\n ";
    strQuery += "public static void readXML(String strXML,String strTable) ";
    strQuery += "\n ";
    strQuery += " { ";
    strQuery += "\n ";
    strQuery += " } ";
    strQuery += "\n ";
    strQuery += " } ";
    strQuery += "\n ";
    System.out.println("Query = " + strQuery);
    stmt.executeQuery(strQuery);
    so, how we can create above sql script from java program ?
    i think token " { } " is not supporting that...
    please reply , its urgent....

  • Non supported SQL92 token error

    DB: 9.2.0.6.0
    SQLDev 1.0.0.15.57
    Error 'Non supported SQL92 token at position: xxxx: APL was raised because I had braces '{ }' in my comments:
    eg
    -- stuff {APL, STUFF}
    Weird thing is that an error raised when running statement (ie. using F9) but was NOT raised when running as script (ie using F5).
    Removing the braces worked.

    I am using 9.2 on Sun OS and get a similiar error when trying to compile in Enterprise Manager. I am using the Web Server Generator to gen html with some java script in it...the braces seem to be causing the parser to revolt!
    My code is as follows
    BEGIN
    WSGL.OpenPageHead(''||' : '||'Texas Register');
    regviewer$ext.TemplateHeader(TRUE,0);
    htp.p('<SCRIPT>');
    htp.p('<!-- Hide from old browsers');
    htp.p('function backbu() {');
    htp.p('history.back()');
    htp.p('return null;');
    htp.p('}');
    htp.p('function forwardbu() {');
    htp.p('history.forward()');
    htp.p('return null;');
    htp.p('}');
    htp.p('//-->');
    htp.p('</SCRIPT>');
    proctac.jlib(3);
    WSGL.ClosePageHead;
    Has this been resolved? Our db should be up to date on any patches. Going to transition to 10 or 11 at the end of the year but I am just trying to do some edits on a package and can't get past the parser.
    Thanks for any help.
    Bryan
    Edited by: ca106255 on Sep 29, 2008 4:03 PM

  • How to send a message with javamail api

    Hi, anybody can tell me how i do to send a message with javamail?
    Thanks.
    Daniele.

    [rossifumi80],
    Here's a simple JavaMail application SendMessage.java that will connect a SMTP host and send a mail message out:
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class SendMessage {
      public static void main (String args[]) throws Exception {
        String host = args[0];
        String from = args[1];
        String to = args[2];
        // Get system properties
        Properties props = System.getProperties();
        // Setup mail server
        props.put("mail.smtp.host", host);
        // Get session
        Session session = Session.getDefaultInstance(props, null);
        // Define message
        MimeMessage message = new MimeMessage(session);
        // Set the from address
        message.setFrom(new InternetAddress(from));
        // Set the to address
        message.addRecipient(Message.RecipientType.TO,
          new InternetAddress(to));
        // Set the subject
        message.setSubject("Hello JavaMail");
        // Set the content
        message.setText("Welcome to JavaMail");
        // Send message
        Transport.send(message);
    }HTH.
    Allen Lai
    Developer Technical Support
    SUN Microsystems
    http://www.sun.com/developers/support/

  • When i am trying to create an itunes account in ipad 3 and in payment method i select none and after it when i select create ID. "Please contact ITunes Support to complete the transcation" this message will appear. kindly help me

    when i am trying to create an itunes account in ipad 3 and in payment method i select none and after it when i select create ID. "Please contact ITunes Support to complete the transcation" this message will appear. kindly help me

    You can contact iTunes support via this page (these are user-to-user forums) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • J'ai un message erreur openGl non supportée

    lorsque je lance vlc cela me marque :
    acceleration quartz OpenGl non supportée sur votre mac.
    votre mac n'a pas d'acceleration Quartz Extreme, qui est necessaire pour la sortie video .
    je comprends pas depuis que j'ai fait la nouvelle mise a jour que des bugs .
    mon mac est
    INTEL CORE 2 duo 3,06ghz
    4GO 1067 MHZ RAM
    et ma carte graphique ATI RAdeon HD 4670 256MO

    Bonjour.
    De quel logiciel parlez-vous ?
    Sur quel support essayez-vous d'enregistrer (réseau ? clé USB ? …)

  • How to print on a non supported AirPrint printer

    We have a wireless HP 6300 inkjet printer.

    It's possible to use free software (Virtualbox and Ubuntu) to fix the broken iOS 5 Airprint printing with non supported printers.  Here's a fix that works on my imac, but should also work on even a windows pc.
    My setup is a lion imac with 2 non-airprint supported usb printers attached, a belkin wifi router that provides network connectivity for my imac, ipad, and iphone.
    Install ubuntu 11.10 in a virtualbox vm.  Specify to use the "Bridged Adapter" with "en1: WiFi (AirPort)" for the network hardware.  Make sure the imac's usb printers are setup with sharing.  On ubuntu, select System Settings > Printers and add your imac's shared printers to the list.  Then start ubuntu's firefox and set "localhost:631" in the address. On the administration tab, under the Server section, check "Share printers connected to this system" and hit Change Settings button to activate it.  Go back to ubuntu's printer setup, and right click on each printer and check that the properties Policies tab does not have any messages about it being unshared. If so, then go back to firefox and make sure the Server sharing checkbox is enabled. It may help to reboot.
    Fire up virtualbox to be able to use AirPort printing to your imac's usb printers, when you want to print from the iphone or ipad. This also works on iOS 5.
    Only problem is error message from iphone to check the printer for errors, even though it actually prints ok.
    references: 
    http://askubuntu.com/questions/26130/how-can-share-my-printer-so-that-i-can-use- it-with-airprint
    https://lists.ubuntu.com/archives/ubuntu-devel/2011-June/033611.html

  • Non supported character set: ...

    Hi,
    I'm sure I have a well known problem. When trying to post a new row to my DB (Oracle 9i Rel. 2) a java.sql.SQLException is thrown with the message Non supported character set: oracle-character-set-178
    What I did to fix this error is:
    - checked if nls_charset12.jar is in the classpath (it is)
    - tried thin instead of oci (the error is the same)
    - changed my NLS_LANG to ....UTF8 or ....WE8ISO8859P1 (didn't help also)
    Does anybody know something else what I can do?
    Thank you.
    Axel

    I found the solution myself.
    I had to use the classes12.jar (etc) shipped with JDeveloper. I replaced these some day because OCI access didn't work with these classes. But now it seems to work.

  • Non-supported Character Set-36

    I'm using Oracle8 and I have a Java application that tries to insert a text message in a queue. The file works in my company, but when I try to run it from another place it produces an error saying:
    oracle.jms.AQjmsException: Non supported character set: oracle-character-set-36
    Knowing that NLS_LANG parameter is set to American_America.AR8ISO8859P6 (it must be kept as AR due to another application).
    So how can I get rid of this error??
    thanks a lot

    I'm using Oracle8 and I have a Java application that tries to insert a text message in a queue. The file works in my company, but when I try to run it from another place it produces an error saying:
    oracle.jms.AQjmsException: Non supported character set: oracle-character-set-36
    Knowing that NLS_LANG parameter is set to American_America.AR8ISO8859P6 (it must be kept as AR due to another application).
    So how can I get rid of this error??
    thanks a lot

  • UpdateString: non supported character set: oracle-character-set-39

    using the programmatic updates jdbc 2.0 api-sample from OTN (http://technet.oracle.com/sample_code/tech/java/sqlj_jdbc/sample_code_index.htm) - scrollable resultset - I get the message "non supported character set...".
    Database: 8.0.6
    using classes111.zip
    jdk 1.2
    any ideas?
    thanks a lot,
    andreas

    using the programmatic updates jdbc 2.0 api-sample from OTN (http://technet.oracle.com/sample_code/tech/java/sqlj_jdbc/sample_code_index.htm) - scrollable resultset - I get the message "non supported character set...".
    Database: 8.0.6
    using classes111.zip
    jdk 1.2
    any ideas?
    thanks a lot,
    andreas

  • Carte NI TB-4300B apparaît "non supportée" dans MAX

    Bonjour,
    Mon entreprise possède un châssis NI PXIe-1062Q fonctionnant sous Windows 7. Il contient :
    en Slot 1 : carte NI PXIe-8108 (embedded controller)
    en Slot 2 : carte NI PXI-5124
    en Slot 3 : carte NI PXI-5124
    en Slot 4 : carte NI PXIe-4300 sur laquelle est connectée une carte NI TB-4300B (source de mon problème)
    en Slot 5 : carte NI PXI-5124
    J'ai fait la mise à jour de NI DAQmx 9.1.5 vers NI DAQmx 9.2.2. Un clavier et une souris en USB sont connectés au châssis.
    Toutes les cartes NI PXI sont reconnues dans MAX mais lorsque l'on tente d'utiliser (via le panneaux de test) la carte d'acquisition NI PXIe-4300 avec la carte NI TB-4300B connectée dessus, on reçoit le message d'erreur suivant :
    Erreur -201342 s'est produite à daqmxcfg_DAQmx Create Channel (AI-Voltage-Basic).vi:1
    Raison(s) possible(s) :
    Un accessoire non supporté est connecté au module. Insérez un accessoire supporté et relancez la tâche.
    La carte NI TB-4300B est définie comme "Non supportée" dans MAX lorsqu'elle est connectée... Bizarre, non ?
    J'ai eu un ingénieur NI à ce sujet, il m'a conseillé de mettre à jour vers la dernière version NIDAQmx 9.2.2 mais toujours le même problème...
    Résolu !
    Accéder à la solution.

    Bonjour et merci pour votre rapidité.
    Le matériel est tout neuf (réceptionné il y a moins de 2 semaines), je l'ai déballé début de semaine dernière (la carte était dans son emballage).
    La carte NI PXIe-4300 fonctionne correctement lorsque la carte NI TB-4300B n'est pas connectée.
    L'auto-test est OK pour la carte NI PXIe-4300 (carte NI TB-4300B connectée ou non).
    Impossible de lancer un auto-test sur la carte NI TB-4300B.
    Comment fait-on pour créer un périphérique & module simulés ?
    NOTE : en lisant le README de NI DAQmx 9.2.2, je me suis aperçu que la carte NI TB-4300B n'était pas dans la liste des cartes supportées (voir pièce jointe).
    Pièces jointes :
    readme_fra.zip ‏21 KB

  • Java.sql.SQLException: Non supported character set: oracle-character-set-860

    Hi,
    I am working on resultset.updateRow() and found some problem.
    I've tried the same jsp page on 2 WebLogic server
    one is on a Solaris Platfoem and another is on a NT platform
    On NT Platform it seems to be OK and update the database successfully.
    On Solaris, on error message on WebLogic log but error found in the JDBC log
    java.sql.SQLException: Non supported character set: oracle-character-set-860
    P.S. both jsp page connection to the same database server Oracle 8
    The testing JSP page:
    <%@ page language="java" import="java.sql.*, oracle.jdbc.driver.*,
    java.util.*, javax.sql.*" %>
    <html>
    <head>
    <title>Weblogic Oracle Testing - Store Procedure</title>
    <meta http-equiv="Content-Type" content="text/html; charset=big5">
    </head>
    Oracle Connection Testing
    <br>
    <body bgcolor="#FFFFFF">
    <%
    Connection conn = null;
    Statement stmt = null;
    ResultSet rs = null;
    String sql;
    Driver myDriver =
    (Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    try {
    conn=DriverManager.getConnection("jdbc:oracle:thin:sa/z0y1z2y3@oradev01:1521
    :DEV01a");
    DatabaseMetaData DBMetaData = conn.getMetaData();
    boolean support1 =
    DBMetaData.supportsResultSetType(ResultSet.TYPE_SCROLL_SENSITIVE);
    boolean support2 =
    DBMetaData.supportsResultSetType(ResultSet.CONCUR_UPDATABLE);
    %>
    <p><%=support1%></p>
    <p><%=support2%></p>
    <%
    //create a statement
    stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_UPDATABLE);
    //execute a query
    rs = stmt.executeQuery("SELECT tbl_web_trx_hdr.* FROM tbl_web_trx_hdr");
    int concurrency = rs.getConcurrency();
    int type = rs.getType();
    %>
    <p>concurrency: <%=concurrency%></p>
    <p>type: <%=type%></p>
    <%
    rs.moveToInsertRow();
    rs.updateString("org_idx", "CCC");
    rs.updateString("trx_num", "ABC2");
    rs.updateDate("trx_dte", java.sql.Date.valueOf("2001-06-01"));
    rs.updateString("description", "123");
    rs.insertRow();
    rs.updateRow();
    } catch (SQLException e)
    { System.out.println("SQLMessage: " + e.getMessage());
    finally
    { rs.close();
    stmt.close();
    conn.close(); }
    %>
    </body>
    </html>
    Please help
    regards,
    Fannie

    yupp finally i got the solution. . .
    I was using connection from tomcat connection pooling.
    Hence, even though i was setting the classes12.jar and nls_charset12.jar in the classpath and compiling, -In runtime tomcat was using its own classes in the common/lib folder. . .(which might not support oracle-character-set-178.)
    So just added this jars into the common/lib of tomcat instead of web-inf/lib of my project
    and things began working. . .
    Thanks for the hint jshell. . .

  • Non supported disk eject

    How do I use and/or eject a non-supported disk (pc) on my MacBook Pro?
    Recently I put my sons x-ray disk in my MacBook Pro to view his broken elbow.  The cd/dvd player window indicated "non supported disk."  In addition, when I attempted to eject it using the player window, the message "non-supported disk" popped up again.  The disk has yet to be ejected.
    Any suggestions?
    Slamitdown

    Eject it from the Finder's sidebar or from the Disk Utility, which is in the /Applications/Utilities/ folder.
    (92657)

  • Satellite U300 connected to TV - Non supported video format

    I am using Toshiba Satellite U300-15q and it has a vga output so i bought a cable and a box that transfers te analogue signal of vga to digital of hdmi so that i can connect it to my 32' TV Sony make.
    But if i connect it it says on the tv in yellow letters non supported video format.
    Why is that and how can i fix it ?

    In the whole story problem is that you use third part hardware or software so this described issue has nothing to do with your Toshiba notebook or Toshiba in general.
    On notebooks side is important that video signal is sent on proper way. What happen later and why this signal is not transformed correctly is matter of this box.
    Which box do you use?
    In my opinion you should contact manufacturer of this box and their support. They should know how it works and how to fix this.
    Generally speaking, Toshiba has nothing to do with this problem.

Maybe you are looking for

  • How to use CMS Users with SAP BOPC NW 7.5

    Hello, I have problems importing and using CMS Users with BO PC 7.5 NW. I am trying two types of CMS-users 1. CMS Enterprise Users created in CMS and using "Enterprise" authentication 2. SAP BW Users imported into CMS using their SAP authentication "

  • Error while creation financial document while cancellation

    Dear all, After reversing the invoice, the financial accounting document is not getting saved. It is giving error message to select a particular number range. But after this invoice a few more invoices were reversed and the system has not issued any

  • OS 10.7 system upgrade failed can't redownload it

    I am helping a friend with a MacBook Pro. She has 10.7.4 installed, and I told her how to do the five upgrades suggested by the updater. I was with her when we started the download, and then I left. She contacted me later and said that she had a scre

  • Is it possible to create a Event Reciver program as Sandbox solution? - SharePoint 2010

    Dear All, I try to create a Event receiver program as SandBox solution in SharePoint 2010. I want to do a list item updation using this event receiver. Almost all the internet help & examples seems to be written with Farm solution and I got plenty of

  • Why the CPU temperature is so high?

    My NB Model #MB466, the CPU temperature is 40-50C under normal running and the fan is 2000rpm (I use iStat). When the CPU usage is about 80%, the temperature goes up to 70 or 80C, I can feel it, especially the bottom area of the screen, and the fan g