MYSQL error in JDeveloper 10g using ADF Swing

I am trying to update data in mysql database. But the following error appears in JDeveloper 10g using ADF Swing
Mysql library is mysql-connector-java-3.1.12
What is the problem ? INSERT and SELECT queries do not give errors. But UPDATE has problem.
Thank you in advance.
Sony Kalkan
(oracle.jbo.DMLException) JBO-26041: Failed to post data to database during "Update": SQL Statement "UPDATE banner Banner SET imptotal=? WHERE bid=?".
----- LEVEL 1: DETAIL 0 -----
(java.sql.SQLException) You have an error in your SQL syntax near 'Banner SET imptotal=22 WHERE bid=1' at line 1

After i put a jtable,navigator on the form using appmoduledatacontrol on the top-right side of the jdeveloper, i run the form. Everything goes ok listing rows of data. But the error appears when i change the value of a field on the table and updating it using navigator.
Thank you very much.

Similar Messages

  • Jdeveloper 10g with Adf training

    Dear all,
    I need to know anybody is interested to provide me
    jdeveloper 10g with Adf training in chennai during feb 2006.
    Dont suggest oracle corpration it is too costly for me.
    please send me the list of computer education institutes/indiviguals in chenai
    thanks and regards
    selva

    Dear all,
    I need to know anybody is interested to provide me
    jdeveloper 10g with Adf training in chennai during feb 2006.
    Dont suggest oracle corpration it is too costly for me.
    please send me the list of computer education institutes/indiviguals in chenai
    thanks and regards
    selva

  • How make LOV in JDeveloper 10g by ADF

    How make LOV in JDeveloper 10g by ADF
    please help guys ?

    433592,
    Looks like you've ended up in the wrong Forum.
    This one is for Oracle HTML DB.
    Thanks,
    - Scott -

  • Getting HTTP 500 Internal Server Error in JDeveloper 10g Release 3

    Hello,
    I had run a web page of JSF a month ago with no issues from the server. Now however whnever I try running any page from the IDE, I keep getting following message in the log:
    [i]Mar 1, 2008 10:06:25 AM com.evermind.server.ApplicationStateRunning initConnector
    SEVERE: Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1961)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
         at com.evermind.server.Application.setConfig(Application.java:391)
         at com.evermind.server.Application.setConfig(Application.java:309)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1532)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:939)
         at com.evermind.server.OC4JRestarter.run(OC4JRestarter.java:35)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
         at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:322)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:1997)
         ... 11 more
    Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:247)
         at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:107)
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
         ... 13 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: com.mysql.jdbc.Driver
         Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
         Loader: oc4j:10.1.3
         Code-Source: /C:/Program Files/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\Program Files\j2ee\home\oc4j.jar
    This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2061)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1665)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:244)
         ... 15 more
    08/03/01 10:06:25 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Mar 1, 2008 10:06:25 AM com.evermind.server.Application setConfig
    WARNING: Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    2008-03-01 10:06:25.109 WARNING J2EE 0JR0013 Exception initializing deployed application: current-workspace-app. Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 22578 ms.
    Target URL -- http://192.168.1.2:8989/AVTproject-ViewController-context-root/faces/HomeLogin.jspx
    [Another instance of the server is still running.  JDeveloper will shut it down and then restart the server.]
    Process exited.
    **** Server startup cancelled by the user.
    I finally deleted the MYSQL Database connection to the application. Still it doesnt work. Please help me as I really cant track why this is so.

    Hello,
    Thank You very much for the solution. I had uninstalled the previous JDeveloper 10g installation and installed a new instance of the same. After which it worked without much of a problem.
    However, my application requires to use MySQL database, so how do I tackle such an error. What was wrong with the connection? I mean MySQL instance seemed to work fine. Is there any version with which JDeveloper can work? Right now am using MySQL 5.0.? Please do advise.

  • Error in Jdeveloper 10g in Remote deployment : Help Needed ASAP

    Hi,
    Am trying to deploy the simple application to remote oracle IAS server from Jdeveloper 10g. It is not allowing me to deploy any application remotely. The deployment log window shows following message:
    Target platform is Oracle9i Application Server (AppServerConnection1).
    Wrote WAR file to C:\jdev10g\jdev\mywork\Business Insight\Project1\deploy\webapp1.war
    Wrote EAR file to C:\jdev10g\jdev\mywork\Business Insight\Project1\deploy\webapp1.ear
    Invoking DCM servlet client...
    C:\jdev10g\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdev10g\jdev\lib\oc4j_remote_deploy.jar http://as18schgefage:1811/Oc4jDcmServletAPI/ ias_admin **** redeploy /home/ias/unified C:\jdev10g\jdev\mywork\Business Insight\Project1\deploy\webapp1.ear webapp1 home
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy /home/ias/unified C:\jdev10g\jdev\mywork\Business Insight\Project1\deploy\webapp1.ear webapp1 home
    Command = INVALID_COMMAND
    #### Invalid command: redeploy /home/ias/unified C:\jdev10g\jdev\mywork\Business Insight\Project1\deploy\webapp1.ear webapp1 home
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    #### Could not send command to Oc4jDcmServlet
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-6)
    #### HTTP return code was -6
    Exit status of DCM servlet client: -6
    Elapsed time for deployment: 4 seconds
    #### Deployment incomplete. #### Mar 16, 2005 9:20:03 AM
    Please help asap.
    Regards,
    Ujwala

    1. Re-test your connection from JDev to AS and it must success.
    I suggest to create a new OC4J instance on AS and fill
    the instance name on the dialog window while
    creating AS Connection on JDev. i.e OC4J instance name (optional)
    2. For JDev 9.0.5.x/10.1.2 using AS 9.0.4,
    don't forget to install ADF Runtime Libraries on AS.
    3. Make sure your AS support JDK/J2SE version as in JDev.
    JDev 10.1.2 need AS to use JDK version 1.4.2_04-b05.
    You can download it from http://java.sun.com/products/archive/j2se/1.4.2_04/index.html
    and install it.
    To cek your ORACLE_HOME/jdk/bin/java -fullversion
    Regs,
    Ferry Situmorang

  • Error installing jdeveloper 10g

    i have this error when trying to unzip and install jdeveloper 10g (jdev9052.zip)
    it says..
    Error loading Theme
    The file "C:\WINDOWS\system32\Themes\MyTheme.Theme" is not a valid theme.
    therefore, i cant install jdeveloper 10g..which i need it for my school assignment.
    hope anyone out there can help me with this problem i'm encounting..thanks for your help
    ps: i'm using XP pro for my OS

    Try it on another computer this probably has more to do with your computer than with JDeveloper.
    Joris

  • Deploying to AS with jDev 10g using ADF

    Hi everyone, could anyone tell me the steps to deploy an application in the AS, i'm using jDeveloper 10g ADF and in my application i have an jsp that displays info from a database, when i test it with the embebed oc4j from jDev it works great, the problem is when i try to deploy it to the AppServer, jDev generate and deploys my ear file into de AS but when i look into my web app properties (into the web module, war file) in the JSP/servlet options i can't see my jsp page. I supose that i'm not doing right my Deployment Descriptor. Any suggestion?? thanks in advance.
    Mauricio

    Hi Prasoon,
    I'm not sure where your ADFdefault.do has come from.
    But I'd suggest that rather than trying to create code based on an online demo (they are not really designed for you to follow every step, more as a taster) you follow this How To that documents and takes you through the development and running of a very similar web service using Struts.
    http://otn.oracle.com/products/jdev/howtos/10g/WS_ADF/ADFWS_HowTo.html
    You don't have to use Struts to test and run a web service. There are other demos and Tutorials:
    This one takes you through end to end development and testing:
    http://otn.oracle.com/products/jdev/viewlets/10g/WS_End2End_Demo_viewlet_swf.html
    or this tutorial:
    http://otn.oracle.com/obe/obe9051jdev/WebServicesOBE/OBEWebServices.htm
    regards
    Susan
    JDeveloper PM

  • Error deploying JDeveloper project using ant-sca-compile.xml

    Hi all, I'm having problems on deploying a JDeveloper project using ant-sca-compile.xml. The output in C:\XXXX\YYYYY\SCA-INF\classes\scac.log is:
    java.lang.NoClassDefFoundError: 4\jdeveloper\////oracle_common
    Caused by: java.lang.ClassNotFoundException: 4\jdeveloper\....oracle_common
         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:305)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    Could not find the main class: 4\jdeveloper\/../oracle_common. Program will exit.
    Exception in thread "main"
    What's missing in wich classpath?
    Regards
    Efren.

    Same composite we were able to deploy successfully without any error, from Monday onward we are experiencing this issue.
    We checked in Installation Guide provided by oracle. Oracle has suggested few memory related changes in ant-sca-compile.xml file.
    Increasing Memory to avoid Compilation Errors
    To avoid out-of-memory errors during compilation of a SOA composite application, you need to
    increase the following memory settings.
    To increase memory settings:
    1. Open the ant-sca-compile.xml file in the SOA_HOME/bin directory.
    2. Under the scac element, increase the following memory settings.
    <jvmarg value="-Xms2048m"/>
    <jvmarg value="-Xmx2048m"/>
    <jvmarg value="-XX:PermSize=32m"/>
    <jvmarg value="-XX:MaxPermSize=256m"/>
    3. For Windows change the following memory settings to.
    <jvmarg value="-Xms1536m"/>
    <jvmarg value="-Xmx1536m"/>
    <jvmarg value="-XX:PermSize=32m"/>
    <jvmarg value="-XX:MaxPermSize=256m"/>
    We did those changes but still experiencing same error. I checked H:\AIASOAProject\AIAReceiptInterface\ReceiptListEbizProvider\SCA-INF\classes\scac.log ; file its showing Could not create the Java virtual machine.
    Regards
    Manish

  • [SOLVED]JDeveloper 10g and ADF: How to create proxy from WSDL behind SSL?

    Hi all,
    I have successfully created web service proxies using the "Create Web Service Proxy" wizard. However, when I attempt to generate proxy from a wsdl file behind a ssl connection, JDeveloper throws a "SSLHandshakeException". I have a working java keystore file which was verified by using the soapUI tool. Within the soapUI tool, there is a "SSL Settings" preference tab which allows me to point to a *.jks file/password. I tried looking for a similar setting in JDeveloper preference with no luck. Is anyone familiar with this type of request?
    Many thanks,
    Wes
    Edited by: Wes Fang on Sep 21, 2010 10:25 AM

    add certificate to java keystore with something similar to the following:
    C:\jdev10134\jdk\jre\lib\security>keytool -import -trustcacerts -file MYCERTIFICATE.cer -alias MYCERTIFICATEALIAS -keystore cacerts
    Enter keystore password: *******
    Certificate already exists in system-wide CA keystore under alias <MYCERTIFICATEALIAS>
    Do you still want to add it to your own keystore? [no]: yes
    Certificate was added to keystore
    The reason it said certificate already exist is because I also added it to the JAVA_HOME\ path.
    I restarted jdeveloper and used the proxy generation wizard again, everything worked fine.

  • Problem connecting to SQL Server from JDeveloper 10g using jdbc third party

    I am using Oracle 10g Jdeveloper and I tried to setup a database
    connection to SQL Server using various Drivers for JDBC as Merlin, jtds, inet.tds, etc.
    (I had no problem to set up a connection to an Oracle Database using the
    Oracle JDBC driver).
    When I am testing the connection throughout the wizard, I do receive
    this error message: "Unable to find driver:
    com.microsoft.jdbc.sqlserver.SQLServerDriver".
    I m not understanding from last 3 days where to place the corresponding JAR files so thaI may not get the Error.
    When I hit n trialed at various directories of the JDeveloper as </rootDir/jdbc/lib>
    </rootDir/lib>
    </root/jdev/my Work/Application1/Project1/public_html>
    </root/jdev/my Work/Application1/Project1/public_html/web-inf/>
    when I tested the connection I do received:
    "Unable to find driver:
    xxx.xxx.xxx.xxxxxxx Unable to find driver:
    Obviously it can't locate the Micrososft JDBC driver but I can't
    figure out why.
    I tried all kind of things without any success. Is somebody can help
    me and took me beyond this.
    I m trying to build DataSource connection from JavaBeans.
    Please make me out of this cave. I m not finding any of the way to do this.
    The last code I tried is
    try {
    Class.forName("com.inet.pool.PoolDriver");
    com.inet.tds.TdsDataSource tds = new com.inet.tds.TdsDataSource();
    tds.setServerName( "local" );
    tds.setDatabaseName( "bluff" );
    tds.setUser( dbUserName );
    tds.setPassword( dbPassword );
    DataSource ds = tds;
    Connection con = ds.getConnection(dbUserName,dbPassword);
    Statement stmt;
    ResultSet rs = null;
    Thanks,

    you are confusing me at least as your error is discussing the microsoft driver yet you are configuring the inet datasource.
    I do not use JDeveloper, but you need to make sure that whatever is servicing your web app/JavaBean has access to the driver. Not sure why you are not doing a JNDI look up of the resoure, but because you are not you can stick the driver jar in the lib directory within the WAR bundle. I would suggest that you add the driver to the lib/ext or the lib directory which is loaded at boot time for your web container and then use JNDI to look up your DataSource to reduce your coding maintenance headaches.

  • Error when trying to use ADF UIX ORDVIDEODOMAIN

    Dear sirs...
    i want to use OrdVideoDomain to get the content of ORDVIDEO field.
    the code is:
    package server.view;
    import oracle.adf.controller.struts.actions.DataActionContext;
    import oracle.adf.controller.struts.actions.DataForwardAction;
    import oracle.ord.im.OrdVideoDomain;
    public class DataPage10Action extends DataForwardAction
    // To handle an event named "yourname" add a method:
    public void onAaa(DataActionContext ctx)
    OrdVideoDomain aa;
    try
    aa=(OrdVideoDomain)ctx.getBindingContext().findDataControl("AppModuleDataControl").getApplicationModule().findViewObject("T3View1").getCurrentRow().getAttribute("Nn");
    System.out.println(aa.getContentLength());
    catch (Exception e)
    {System.out.println(e.toString());}
    // To override a method of the lifecycle, go to
    // the main menu "Tools/Override Methods...".
    , when i compile the code i get the following errors:
    Error: cannot access class oracle.sql.ORAData; file oracle\sql\ORAData.class not found
    Error: cannot access class oracle.sql.CustomDatum; file oracle\sql\CustomDatum.class not found
    Error: cannot access class oracle.sql.CustomDatumFactory; file oracle\sql\CustomDatumFactory.class not found
    what is the problem??
    best regards

    Dear Mr. Steve Muench
    Thanks for help alot, i found the error. All i have to do is the following:
    1- Goto Tools in JDeveloper
    2- Goto Project Properties
    3- Select Libraries
    4- Add BC4J Datum
    5- Add BC4J Domain
    and it works fine
    thanks for all & best regards

  • CVS error in JDeveloper 10g

    HI all: Using JDev 9.0.5.2 and latest Tortoise CVS and can do most cvs operations on a file except commit. Get this:
    J:\childcarecvs\childcare\htroot>
    cmd.exe /c cvs -r edit index.html J:\childcarecvs\childcare\htroot> cmd.exe /c cvs -r commit -F
    C:\DOCUME~1\Allan\LOCALS~1\Temp\.jdevcvs_cmt57460.tmp index.html cvs [server aborted]: cannot open file index.html for comparing:
    Permission denied
    This happens on any file. Can use Tortoise to do the commiting but that's a hack since I want to use the integration with the IDE.
    Any ideas?

    1. Re-test your connection from JDev to AS and it must success.
    I suggest to create a new OC4J instance on AS and fill
    the instance name on the dialog window while
    creating AS Connection on JDev. i.e OC4J instance name (optional)
    2. For JDev 9.0.5.x/10.1.2 using AS 9.0.4,
    don't forget to install ADF Runtime Libraries on AS.
    3. Make sure your AS support JDK/J2SE version as in JDev.
    JDev 10.1.2 need AS to use JDK version 1.4.2_04-b05.
    You can download it from http://java.sun.com/products/archive/j2se/1.4.2_04/index.html
    and install it.
    To cek your ORACLE_HOME/jdk/bin/java -fullversion
    Regs,
    Ferry Situmorang

  • How to learn Jdeveloper tool using ADF.

    Hi,
    i am currently working with JDeveloper Studio 11.1.1.6.0.i do not know any framework.kindly help me.
    Thank's
    Rajesh Ranjan

    hi,
    read these links carefully and make some small projects and if u can download some projects and refer.
    these r for ADF.
    http://download.oracle.com/otndocs/otnvdd-fusiondev/OTNDD_WebCenter_Lab_Rev2.pdf
    http://docs.oracle.com/cd/E23943_01/web.1111/b31973/gs_jdev.htm
    http://www.pearltrees.com/#/N-p=47457761&N-play=0&N-u=1_669834&N-fa=5305643&N-s=1_5307692&N-f=1_5307692
    http://adffunda.blogspot.com/2012/12/getting-started-on-oracle-adf.html
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html#CodeCornerSamples
    http://pillaistechblogs.blogspot.com/2013/01/oracle-jdeveloper-111160.html#!/2013/01/oracle-jdeveloper-111160.html
    txs.

  • How to ignore JSP errors in JDeveloper 10g IDE?

    How do I ignore errors in JSPs? I forgot it is in server.xml or some other xml configuration file.

    Thanks for your reply. there is 'deprecation warnings' under Project Properties--> Compiler. These errors are not deprecation errors.
    The below code doesn't help either.
    <jsp-config>
    <jsp-property-group>
    <url-pattern>*.jsp</url-pattern>
    <el-ignored>false</el-ignored>
    </jsp-property-group>
    </jsp-config>

  • Metadata access in Jdeveloper 10g using Oracle 9i

    Hello everyone. I´m using Jdev 10 g (release 3) and im trying to create a database connection in the connections tab (new database conection wizard) and after complete all steps an brownsing the "tables" item in the navigator(connection itens treeview), Jdev only shows the tables of my own, in other words: I have select permition in all database tables but only the tables created by me appears in the navigator. There are something that i can do to show all objects that i have permition?
    ps: I tried to use a sys user like "system" and all the tables are showed, but i can´t still using this user, only my one :(
    Thankx
    Aracaju - Sergipe - Brazil

    right click your connection and choose filter - this will let you set which schemas to show.

Maybe you are looking for

  • [SOLVED] xorg 1.5 + keyboard key

    Certain of the keyboard keys do not work after the upgrade to xorg 1.5  These include the arrow keys and the page up and page down keys (possibly more but I didn't do a thorough check).  They work fine in the virtual consoles 1-6, however. i'm using

  • Internet - Mail Problem

    Sorry if this is the wrong forum, but I cannot seem to send mail out on my new apple.com web address. I've been trying to send one email out all day and this is all I get: The connection to the server "smtp.mac.com" on port 25 timed out. Select a dif

  • On a Screen 2 Table Cursor need to be Synchroize

    Hi All. I have a problem. In my Screen I have two table Control. both the Table have different data but the no of Column and column are same. My Requirement is that : My user want to synchronize the Cursor movement of table Control. Its only Horizont

  • Entry in outbound table not found E0 400

    Hi all,     Can anyone please help me with the below error which i am facing in ALE IDOCS. status 29: Entry in outbound table not found E0 400 I am unable to see my port name in the created IDOC and the basic type is incorrectly called. may I know wh

  • Switching between https secure zone to http domain

    Hi, I'd like to know what the best way to link back to a non secure zone http domain from a secure https (worldsecuresystems.com) domain. I've seen a few articles on this subject and tried a few different approaches, but nothing that I've read/tried