Error running app at 10g 1.3 with MySql driver

I am beginner of using JDeveloper. When i right click the JSP file i create and click RUN. It show the error mesage like below. Any expert know wat happen?? From what i thought is, it cannot find the driver class, but i already add in the driver in the project library..
Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
06/12/07 12:15:38 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
06/12/07 12:15:38 SEVERE: ApplicationStateRunning.initConnector 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:2072)
     at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:2017)
     at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1272)
     at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:345)
     at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:206)
     at com.evermind.server.Application.setConfig(Application.java:413)
     at com.evermind.server.Application.setConfig(Application.java:314)
     at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
     at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1608)
     at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:990)
     at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
     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:326)
     at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2053)
     ... 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:284)
     at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:108)
     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: /D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar
     Configuration: <code-source> in META-INF/boot.xml in D:\jdevstudio10131\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:2078)
     at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1679)
     at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
     at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
     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:281)
     ... 15 more

For non-Oracle database, you need to use the OracleAS release of DataDirect JDBC drivers available from either the OracleAS DC or OracleAS download area.
Kuassi,
http://db360.blogspot.com/2006/08/oracle-database-programming-using-java_01.html

Similar Messages

  • Error deploying app to 10g 1.3 with SQLServer drivers...

    I developed a web application using JDeveloper 10.1.3 using Microsofts SQL Drivers to access SQLServer databases. The defined data sources work fine under the built in OC4j in Jedeveloper (10.1.3). The problem I encounter is when I try to deploy it to the llive server. It is encountering an error when trying to define the data sources. The error follows:
    [Oct 11, 2006 1:18:58 PM] Initializing ClassLoader(s)
    [Oct 11, 2006 1:18:58 PM] Initializing EJB container
    [Oct 11, 2006 1:18:58 PM] Loading connector(s)
    [Oct 11, 2006 1:18:58 PM] Starting up resource adapters
    [Oct 11, 2006 1:18:58 PM] Warning. Unable to set up connection factory to location valspar-intranet for a resource adapter in {1}
    [Oct 11, 2006 1:18:58 PM] application : valspar-intranet is in failed state
    [Oct 11, 2006 1:18:58 PM] Operation failed with error: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.microsoft.jdbc.sqlserver.SQLServerDriver
    I have uploaded the libraries necessary to use the drivers. Can anyone shed any light on this issue?
    Thanks in advance.

    i think you only want to add the Sql deriver jars to the library of the OC4J and this can be done as follow
    In a text editor, edit the application.xml file in <OracleHome>/j2ee/home/config/.
    Add <library> tags pointing to msbase.jar , msutil.jar, and mssqlserever.jar The syntax is <library path="<path>">
    For example, if you used the default installation path, you would add the following tags to the application.xml file:
    <library path="C:\Program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar"/>
    <library path="C:\Program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar"/>
    <library path="C:\Program files\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar"/>
    for more Information
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtTopicFile.bc4j%7Cforeign_db%7Cbc_psqlserver%7Ehtml/

  • WLS: Error running app in Weblogic 1035

    I have an application created in JDeveloper using ADF ADF 11115-Security. successfully deployed in WLS 10.3.5. The JDBC configuration and myreal ConnectionGoldDS was created called ERPDaniela provider, and its configuration by using sql statements for what algortinmo indicated the SHA-1 and style PLAINTEXT password, and log all sql statements for users, groups and group members. When running the deployed application, I get the welcome screen asking for user name and password, you enter these data and does not display the system menu but it is looking for the site and the WLS throws the error mentioned in your console :
    running app in Weblogic deployed ADF 10.3.5, error message:
    <jdbc> <error> <bea-001112> "text select 1 from dual"set up for pool "ConnectionGold" failed with exception: java.lang.NullPointerException
    in other file the directiry
    E:\Oracle\Middleware\WebLogic10.3.5\user_projects\domains\ERPDaniela\servers\AdminServer\adr\diag\ofm\erpdaniela\adminserver\incident\incdir_8
    display mesage:
    Caused By: java.lang.NullPointerException
         at daniela.backings.DanielaParam.getCapturarUsuario(DanielaParam.java:169)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
         at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
         at com.sun.el.parser.AstValue.getValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
         at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:184)
         at

    I have developed an application which includes a jsp file using a java bean.
    I am getting below error, and could not find what the error is. Could you please help me!!
    My jsp file has the following line:
    <jsp:useBean id = "sb" scope="session" class="cncExec.cncExecSelectionBean" />
    Error: 500
    Location: /wls/cncexec/jsp/cncExecSelection.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile class for JSPc:\users\www\work\localhost_8080%2Fwls%2Fcncexec\_0002fjsp_0002fcncExecSelection_0002ejspcncExecSelection_jsp_0.java:63: Class jsp.cncExec. cncExecSelectionBean not found.
    cncExec.cncExecSelectionBean sb = null;
    ^Looks like the class cncExec.cncExecSelectionBean is not deployed with your WAR file or is not otherwise available to the class loader for your WAR in tomcat. Make sure the JAR file is included in the WEB-INF/lib directory in your WAR archive.
    Rob

  • I have a MBP 13" running 10.8, can I also install 10.6 to run apps that don't work with 10.8?

    I have a 13" MBP running 10.8.2, can I also install 10.6 to run some apps that don't work with 10.8?

    Uninstall Genieo:
    http://www.thesafemac.com/arg-genieo/
    See if that makes a difference.
    Ciao.
    DawnHerbie wrote:
    Also is Safeboot ok to use?
    Yes, it will do no harm, but it is meant for trouble shooting and you should not have to use it all the time.
    Message was edited by: OGELTHORPE

  • Errors trying to compile PHP for use with MySQL

    I have installed and am using the GNU based tools from the Sunfreeware site to compile PHP. I already have Apache, MySQL, and Oracle compiled and working properly. Below is my configure string for my PHP build:
    ./configure --prefix=/usr/local/php5 \
    --with-config-file-scan-dir=/usr/local/php5/php.d \
    --with-apxs2=/var/apps/apache/bin/apxs \
    --with-ldap \
    --with-mysql=/var/apps/mysql \
    --with-mysqli=/var/apps/mysql/bin/mysql_config \
    --with-xsl=/usr/local/include/libxslt \
    --with-ncurses \
    --enable-xslt \
    --with-xslt-sablot \
    --with-bz2=/usr \
    --with-gd \
    --with-gdbm=/usr/local/lib \
    --with-openssl \
    --with-imap=/usr/local/imap-2006e \
    --with-imap-ssl \
    --with-freetype-dir=/usr/local/include/freetype2/freetype/freetype.h \
    --with-expat-dir \
    --with-tiff-dir \
    --with-zlib \
    --with-jpeg-dir=/usr/local/include/jpeglib.h \
    --with-png-dir=/usr/include/libpng12/png.h \
    --with-mcrypt \
    --with-curl \
    --with-curlwrappers \
    --with-gettext \
    --disable-short-tags \
    --disable-debug \
    --enable-calendar \
    --enable-ctype \
    --enable-discard-path \
    --enable-exif \
    --enable-ftp \
    --enable-memory-limit \
    --enable-sysvem \
    --enable-sysvshm \
    --enable-gd-native-ttf \
    --enable-soap \
    --enable-shmop \
    --enable-sockets \
    --enable-xslt \
    --enable-mbstring \
    --with-sqlite=shared \
    --with-pdo-sqlite=shared \
    --with-pdo-mysql=shared,/var/apps/mysql \
    --enable-pdo=shared \
    --enable-bcmath \
    --with-oci8=sharedI have ld, make, and various tools linked to /usr/local/bin/<toolname>. The configure string completes with no issue and the make runs for about 30 minutes before it stops with the following warnings/errors:
    /usr/ccs/bin/ld: warning: libssl.so.0.9.8, needed by /usr/local/lib/libldap.so, may conflict with libssl.so.0.9.7
    /usr/ccs/bin/ld: warning: libssl.so.0.9.8, needed by /usr/local/lib/libldap.so, may conflict with libssl.so.0.9.7
    /usr/ccs/bin/ld: warning: libssl.so.0.9.8, needed by /usr/local/lib/libldap.so, may conflict with libssl.so.0.9.7
    /usr/ccs/bin/ld: warning: libssl.so.0.9.8, needed by /usr/local/lib/libldap.so, may conflict with libssl.so.0.9.7
    /usr/ccs/bin/ld: warning: libssl.so.0.9.8, needed by /usr/local/lib/libldap.so, may conflict with libssl.so.0.9.7
    /usr/ccs/bin/ld: warning: libssl.so.0.9.8, needed by /usr/local/lib/libldap.so, may conflict with libssl.so.0.9.7
    /usr/ccs/bin/ld: warning: libcrypto.so.0.9.8, needed by /usr/local/lib/libldap.so, may conflict with libcrypto.so.0.9.7
    /usr/ccs/bin/ld: warning: libcrypto.so.0.9.8, needed by /usr/local/lib/libldap.so, may conflict with libcrypto.so.0.9.7
    /usr/ccs/bin/ld: warning: libcrypto.so.0.9.8, needed by /usr/local/lib/libldap.so, may conflict with libcrypto.so.0.9.7
    /usr/ccs/bin/ld: warning: libcrypto.so.0.9.8, needed by /usr/local/lib/libldap.so, may conflict with libcrypto.so.0.9.7
    /usr/ccs/bin/ld: warning: libcrypto.so.0.9.8, needed by /usr/local/lib/libldap.so, may conflict with libcrypto.so.0.9.7
    /usr/ccs/bin/ld: warning: libcrypto.so.0.9.8, needed by /usr/local/lib/libldap.so, may conflict with libcrypto.so.0.9.7
    <snip>....
    /var/apps/php-5.2.5/ext/mysqli/mysqli_nonapi.c:209: undefined reference to `mysql_sqlstate'
    /var/apps/php-5.2.5/ext/mysqli/mysqli_nonapi.c:200: undefined reference to `mysql_set_server_option'
    /var/apps/php-5.2.5/ext/mysqli/mysqli_nonapi.c:212: undefined reference to `mysql_set_server_option'
    ext/mysqli/.libs/mysqli_nonapi.o: In function `zif_mysqli_query':
    /var/apps/php-5.2.5/ext/mysqli/mysqli_nonapi.c:251: undefined reference to `mysql_set_server_option'
    ext/mysqli/.libs/mysqli_nonapi.o: In function `zif_mysqli_get_warnings':
    /var/apps/php-5.2.5/ext/mysqli/mysqli_nonapi.c:298: undefined reference to `mysql_warning_count'
    ext/mysqli/.libs/mysqli_nonapi.o: In function `zif_mysqli_stmt_get_warnings'
    /var/apps/php-5.2.5/ext/mysqli/mysqli_warning.c:195: undefined reference to `mysql_warning_count'
    collect2: ld returned 1 exit status
    make: *** [sapi/cli/php] Error 1:
    There are many, many more "undefined reference" messages all mysql related.
    Here is my environment and crle output:
    LD_LIBRARY_PATH=/usr/local/ssl/lib:/usr/local/lib:/usr/local/BerkeleyDB.4.2/lib:/var/apps/mysql/lib/mysql
    PATH=/usr/local/bin:/usr/bin:/usr/sbin:/usr/local/sbin:/opt/sfw/bin:/usr/local/ssl/bin:/usr/ucb:/usr/ccs/bin:/opt/VRTS/bin:/etc:/opt/EMCpower/bin:/opt/EMCpower/bin/sparcv9:/etc/emc/bin:/opt/VRTSagents/ha/bin:/usr/local/include:/usr/include:/usr/platform/`uname -i`/sbin:/var/apps/mysql/bin:/var/apps/mysql/include/mysql:/opt/RICHPse/bin:/usr/local/php5/bin:/opt/sfw/sbin
    crle output
    Configuration file [version 4]: /var/ld/ld.config
    Default Library Path (ELF): /lib:/usr/lib:/usr/local/lib
    Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default)
    Any ideas as to how I can get around the MySQL errors, etc. would be appreciated.

    Here are the requirments for 10.5.8:
    Mac computer with an Intel, PowerPC G5, or PowerPC G4 (867MHz or faster) processor
    512MB of memory
    DVD drive for installation
    9GB of available disk space
    You have to purchase the upgrade from Apple for $129. You ned to call and order ti since it is not listed in their on-line store. You can also try eBay or Craig's List. 

  • User error when connecting to Apex on XE with Oracle drive

    Hi,
    When I tried to connect to Apex (webdav) on an XE database to access themes and css with Oracle Drive it sends incorrect user or password message, I tried with sys, system and other users.
    With windows explorer I could connect using the same user.
    Any help to sove my problem is welcome
    thanks

    Steve_Macleod wrote:
    I am having some issues with connecting to Apex Listener via SQL Developer. I get "cannot connect to connection" when I attempt to connect.
    I do get apex pages (when I use the Glassfish default port - it doesn't seem to take the specified port which is defined as 7788 in the apex.properties at the config.dir location). The port specified in apex.properties is only used by Standalone Mode, the port that GlassFish uses is configured by GlassFish, not Listener.
    I have defined the user via the war config (which is written to the credentials file), and added the users under default config > file realm in Glassfish.You only need to do the former, doing the latter should have no effect, I would remove the user in the GlassFish file realm, to avoid causing confusion.
    I wonder if anyone has had a similar issue?
    Ensure you have spelt the role name correctly when setting up the user, any typos (it is case sensitive) and it won't match the role, and will therefore refuse access.
    You have disabled SSL verfication as well? (If you are not using SSL)
    http://docs.oracle.com/cd/E37099_01/doc/doc.20/e25066/install.htm#CHDJFAAI
    If neither of those work, try turning on logging in the Listener to see if the request is even reaching Listener (It sounds like it's not even connecting TBH).
    https://cdivilly.wordpress.com/2013/03/11/configuring-logging-with-oracle-application-express-listener-and-glassfish/
    I am using the following:
    Glassfish 3.1.2.2
    Apex Listener 2.0.2.133.14.50
    SQL Dev 3.2.09
    Edited by: Steve_Macleod on May 24, 2013 2:42 PM
    Edited by: Steve_Macleod on May 24, 2013 2:57 PM

  • Working with MySQL driver

    I'm trying to use MySql Driver instead of ODBC in an application developed with JBuider.
    When the instruction:
    Class.forName("com.mysql.jdbc.Driver");
    is processed I receive the message:
    Class Driver ERROR java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    Where should I put mysql-connector-java-3.0.8-stable-bin.jar?????
    Please help me
    Thanks to everyone

    I think that JBuilder doesn't use system classpath but build it by his run configuration.
    What I don't understand is how to include my .jar in it.
    bye

  • IPhone SDK beta 4: error running app on device

    My app ran fine on my iPhone up until beta 4. I've fixed in in accordance with the changes to the SDK, and it runs perfectly on the simulator. I've also followed the directions in the Program Portal to use code signing for the app.
    When I try to compile it for the device, I get the following errors:
    cc1obj: error: /var/folders/pA/pAvrzjzKGQe5O6saRJWAXE+TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/iCrosswordPrefix-ayguzoobuyunjzbvsayctaqnkcfp/iCrosswordPrefix.pch: No such file or directory
    cc1obj: error: one or more PCH files were found, but they were invalid
    cc1obj: error: use -Winvalid-pch for more information
    I get about 7 copies of those errors, once per header file in my app.
    Does anyone know what this means, or how to fix it?
    Thanks,
    Eliza

    Sorry, I'm an idiot; I didn't clean my targets before compiling. After cleaning targets, it installed and ran without any trouble.
    Message was edited by: Eliza Block

  • Error running app wich uses Cristal Reports XI in client PCs

    Hello,
    have Crystal Reports XI for Developers. I have develop an application qich connects with CR to show reports. When I try to execute the app in a client computer (not my developing machine) and i have an error when i try to connect and show a report.
    The error is number 512 and its description: Print Engine not opened
    In the developing computer there is no error because i have installed the desktop application, but i would like not to have to install the Desktop Application of CR in each client computer where i would like to run my application.
    Whit dll,s or something else i need to avoid this problem??
    Thanks.

    Hello,
    crpe32 as a report engine was deprecated as of CR 9. But I now assume you maybe using Delphi? Would be more informative if you gave all this info first so we don't have to ask or guess...
    Search here if you are using delphi on "delphi" and you'll find more info and how to's.
    If you are not using Delphi then your only option now is to either move to the RDC which also was deprecated in CR XI R2 or use our .NET assemblies and upgrade to Visual Studio 2008 or 2010.
    Thank you
    Don

  • Error running App: "Item Not Available"

    I have an iOS application that I developed that runs fine newer iPhones and iPads.
    I get this error on a 1st generation iPad running iOS 5.1.1: "The item you've requested is not currently available in the U.S. store."
    The app is distributed by the B2B store and was installed using a coupon code.
    5.1.1 is the latest version that will run on a 1st generation iPad.
    I double checked the app's settings in itunes connect and it is marked as available in the U.S. store; in fact, that is the only store it is available in.
    Other similar apps that I have developed will run fine on the iPad 1, BUT those apps are built for the public Appstore. This is why I am pursuing B2B as the problem.
    A user reported this problem to me, and I was able to reproduce it easily, so it is not limited to one device.  But seems to be limited to iPad 1 or iOS 5.1.1.
    I cannot find any documentation that this should not work.
    How can I get the real reason this is failing?
    Is there documentation on minimum version of iOS that supports B2B distribution?
    What else should I check?

    You are likely to get better replies in the developer forums : https://devforums.apple.com/index.jspa

  • Error on win 7 install on iMac with 2 drives

    OK been round this a few times.
    iMac (i7)
    1Tb HD & 256 SSD
    used bootcamp to partition
    made it through win install
    and clikced Bootcamp partition, then advanced, then format.
    Finishes format and the I click
    NEXT
    error
    Windows is unable to install to the selected location.
    Error: 0x80300024
    Which someone online said is due to having more tha one drive.
    I dont really want to crack open the iMac and remove a drive.
    Suggestions?
    thanks
    b

    I haven't heard of any fix from Adobe but maybe this will hwlp.
    I kept getting an error this morning when trying to install Windows updates on my PC. One of the updates was trying to update Visual C++ (vc_red) from a folder on the C drive which was locked. The folder had a very long name (2f4b86.....). I kept getting a popup box pointing to the folder but it would not install the update from there. I had to copy the folder to the C:\Users\Public Downloads folder to get it to install. I mention this because vc_red seems to be involved with the previous Acrobat XI installation issue I had.
    I would try looking at your installed updated and see if you have either update installed.:
    Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package (KB2538242)
    Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package (KB2538243)
    Removing them may allow Acrobat XI to be installed.

  • Error message when populating drop-down list with mysql DB

    Hi everyone,
    i'm having an error message which gives zero result on google...
    here's the context: i have a drop-down list called "Patient" in the template pages of a livecycle form. The binding is set to Global so that the value is the same on the two pages of the form. I have also linked the items of the list to a mysql database (with DataConnection) by clicking the "Specify Item Values" link on the Binding tab of the element.
    now, when i open my form (or preview) i get this message, in french:
    "Propriété incorrecte de l'opération SET; dataGroup ne possède pas de propriété id."
    which is, in english (personal translation):
    "Incorrect property of the SET operation; dataGroup doesn't have an id property."
    this message appears in a messagebox, the background is empty (standard gray color)
    Then i click "OK" (which is the only button available), and my form appears, the list is populated with the values of my database table, so it actually works...
    As i said, i have zero results on google with this message...
    any idea what it means and how to avoid it?
    Thanks!

    Hi,
    For all things XFA Forms and Databases there is no place better than Stefan Cameron's blog: http://forms.stefcameron.com/.
    Have a look here: http://forms.stefcameron.com/2006/12/18/databases-inserting-updating-and-deleting-records/ and at comment 60.
    Good luck,
    Niall

  • Java with MYSQL in Linux

    i am using JSP in Linux Platform. when i connected to mysql with mysql driver for odbc by using the following code,
    import java.sql.*;
    public class TestMysql
    public static void main(String args[]) {
    try {
              Connection con;
              String connStr = "jdbc:mysql://localhost/test?user=root&password=mysql";
              Class.forName( "com.mysql.jdbc.Driver" ).newInstance();
              System.out.println("OK");
              con = DriverManager.getConnection( connStr );
              System.out.println("Again OK");
    catch( Exception x )
    x.printStackTrace();
    i got the following exception
    OK
    java.sql.SQLException: Error during query: Unexpected Exception: java.io.CharConversionException message given: null
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.io.CharConversionException
    STACKTRACE:
    java.io.CharConversionException
    at gnu.gcj.convert.Input_iconv.read(char[], int, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.String.init(byte[], int, int, java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.String.String(byte[], int, int, java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at com.mysql.jdbc.SingleByteCharsetConverter.SingleByteCharsetConverter(java.lang.String) (Unknown Source)
    at com.mysql.jdbc.SingleByteCharsetConverter.initCharset(java.lang.String) (Unknown Source)
    at com.mysql.jdbc.SingleByteCharsetConverter.getInstance(java.lang.String, com.mysql.jdbc.Connection) (Unknown Source)
    at com.mysql.jdbc.Connection.getCharsetConverter(java.lang.String) (Unknown Source)
    at com.mysql.jdbc.StringUtils.getBytes(java.lang.String, java.lang.String, java.lang.String, boolean, com.mysql.jdbc.Connection) (Unknown Source)
    at com.mysql.jdbc.Buffer.writeStringNoNull(java.lang.String, java.lang.String, java.lang.String, boolean, com.mysql.jdbc.Connection) (Unknown Source)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(com.mysql.jdbc.Statement, java.lang.String, java.lang.String, com.mysql.jdbc.Buffer, int, com.mysql.jdbc.Connection, int, int, boolean, java.lang.String, boolean) (Unknown Source)
    at com.mysql.jdbc.Connection.execSQL(com.mysql.jdbc.Statement, java.lang.String, int, com.mysql.jdbc.Buffer, int, int, boolean, java.lang.String, boolean, boolean) (Unknown Source)
    at com.mysql.jdbc.Connection.configureClientCharacterSet() (Unknown Source)
    at com.mysql.jdbc.Connection.initializePropsFromServer() (Unknown Source)
    at com.mysql.jdbc.Connection.createNewIO(boolean) (Unknown Source)
    at com.mysql.jdbc.Connection.Connection(java.lang.String, int, java.util.Properties, java.lang.String, java.lang.String) (Unknown Source)
    at com.mysql.jdbc.NonRegisteringDriver.connect(java.lang.String, java.util.Properties) (Unknown Source)
    at java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties) (/usr/lib/libgcj.so.5.0.0)
    at java.sql.DriverManager.getConnection(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at TestMysql.main(java.lang.String[]) (Unknown Source)
    ** END NESTED EXCEPTION **
    at com.mysql.jdbc.Connection.execSQL(com.mysql.jdbc.Statement, java.lang.String, int, com.mysql.jdbc.Buffer, int, int, boolean, java.lang.String, boolean, boolean) (Unknown Source)
    at com.mysql.jdbc.Connection.configureClientCharacterSet() (Unknown Source)
    at com.mysql.jdbc.Connection.initializePropsFromServer() (Unknown Source)
    at com.mysql.jdbc.Connection.createNewIO(boolean) (Unknown Source)
    at com.mysql.jdbc.Connection.Connection(java.lang.String, int, java.util.Properties, java.lang.String, java.lang.String) (Unknown Source)
    at com.mysql.jdbc.NonRegisteringDriver.connect(java.lang.String, java.util.Properties) (Unknown Source)
    at java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties) (/usr/lib/libgcj.so.5.0.0)
    at java.sql.DriverManager.getConnection(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at TestMysql.main(java.lang.String[]) (Unknown Source)
    i have the database, hello.
    The same code works well in Windows, But in Linux, the above exception.
    By using the username root and password mysql , i can connect to mysql directly from the mysql prompt.
    Pls help me..
    I have already put the query 'access denied problem in Mysql' some day before. from the reply, i made some changes in user table(ie. set the password for [email protected].).After this change, this new Exception came..
    The structure of my mysql.user table is
    #     host                         user          password
    1     localhost                    root          68d4f47c49a579c9
    2     localhost.localdomain          root          68d4f47c49a579c9
    3     localhost.localdomain          
    4     localhost          
    Pls help me.
    Edited by: SUMESHBABU_R on Sep 30, 2007 11:36 PM

    Well, at least the trace tells me that this issue is to be tracked back to the core of the MySQL JDBC driver and the Linux's implementation of JVM. It might be worth the effort to post this issue at their website/forum/issuetracker. It might also be worth the effort to tryout the newer MySQL JDBC driver 5.1, as it is written specific for JDK 6.0 (while MySQL JDBC driver 5.0 is targeted at JDK 5.0).

  • Discoverer Viewer(4i) to run Discoverer-reports(10g) with Apps(11.5.0)

    We are running Discoverer Viewer(4i) to run Discoverer-Workbooks(10g) with Apps(11.5.0) but we are facing error like 'Unable to fetch workbook' .I guess this is b'coz EUL created in 10g not getting compatible with 4i Discoverer Viewer.
    If this is the problem what is my next step?
    Can anyone plz help me in detail.
    Thanks in advance.

    Hi
    You would need to upgrade everything to the same level if you want to open Discoverer 10g workbooks. This means your EUL will need to be upgraded and you will need to abandon the 4i server and upgrade to the 10g server.
    I would encourage you to do so anyway because 10g is much better than 4i.
    Best wishes
    Michael

  • Error running forms 10g with OC4J

    Hi everyone,
    I installed Oracle DB 10g and Developer Suite 10g (did not install Ap. Server) at the same machine (different homes), everything seemed to be OK, I use sqlplus with no problems, then I did this:
    1) Created a table with just one field
    2) Created a test form with Forms 10g using wizard with just that table and that field (I connect to oracle with no problems on forms builder)
    3) Started OC4J Instance
    4) When I run the form, it opens Internet explorer then shows Oracle application server forms service, but with this message ORA-12560 TNS: Protocol Adapter error, I click OK and ask me for a user and password, but the same error!!
    IS there any configuration that I have to do on OC4J?? Why I can connect to oracle from sqlplus, enterprise manager and so, but it fails running forms, specifically when open OC4J???
    Thanks in advance

    Did you save the form before running it, in the context of the builder? there is a known bug in this area.
    Patrick.

Maybe you are looking for

  • I need to edit pdf's that I have created in zipforms further.

    How do I unsecure without having to print and scan back in?  Since I am the original author I dont see why it isn't easier to unsecure but it requires a password that I am completely unaware of. I downloaded acrobat and see the option where I can uns

  • Problem of home sharing on appleTV

    My home sharing is not working. Im using the same acount, and home sharing on my Mac and appleTV are both on. But appleTV just chouldn't find it... (To acces your itunes library on apple TV, turn on home sharing on your computer using [email protecte

  • Problem with session.removeAttribute()

    Hi, After doing <% session.removeAttribute("USER");%>from one jsp, if i say <% =session.getAttribute("USER") %>in another jsp, I still get the value of the session variable USER. Can anybody tell what might be the problem ??? Thanks !

  • Half of line disappearing at end of page.

    When I include footnotes in my documents, they sometimes cut off half of the last line of body text. Any ideas how to fix this?

  • G570 hard disk drive replacement

    Hello to all fellow Lenovo owners. Recently, my G570 Hard drive crashed. I  removed it and will purchase a new one but desperately need detailed, specific instructions about formatting, partitioning and installing Windows 7 and whatever else is neces