Ping JDBC connetion to MySQL

Clicking "New Connetion" in pingmain.jsp, I was able to connect to mysql jdbc by entering user, password, and URL as "jdbc:mysql://localhost:3306/canaust".
I set up a JDBC datasource "jdbc/canaust" using exactly same info above, but when clicking "Server Datasources" in pingmain.jsp page and then choosing the "jdbc/canaust", I got the following error:
SQLException is :com.sun.enterprise.repository.J2EEResourceException
java.lang.NoSuchMethodException: setpassword
Thanks,

Hi Henry,
Please post the <jdbc-connection-pool> part from your server.xml file .That would enable us to look into the problem.
I guess,there are whitespaces in the name attribute of the property tag in your server.xml file as in the example below
(whitespace after password) :
<property value="scott" name="password "/>
Please remove the whitespaces if present.
Get back if you have any issues.
-Amol

Similar Messages

  • Stored procedure : how to call SP in sender JDBC adapter for mysql

    HI friends ,
    we have JDBC---->XI--
    >SAP  scenario. For some business requirement, we have to call STORED PROCEDURE , please let me know how to call  SP in sender JDBC adapter for mysql .
    Thanks
    mojib

    Hi Mojib,
    Please create a sample stored procedure like this which contains select statement and in communication channel give
    wite stored procedure name only to sql query statment and in update statement write <test>.
    I am executing this stored procedure successfully.
    Create Proc GetResultX As
    Begin
    Select * From TESTX
    End
    Execute statement for stored procedure is :
    Exec GetResultX
    Regards
    Laxmi Bhushan Jha
    Rewards point if found usful
    I have given same answer to one of the same  thread

  • JDBC with Embedded mysql

    Hi,
    i'd like to use JDBC connection with Mysql which is embedded in my application(not client/server version).How can i code to connect my application to such embedded server.
    Can anyone help me.Thanx in advance...

    Hi,
    i'd like to use JDBC connection with Mysql which is
    embedded in my application(not client/server
    version).How can i code to connect my application to
    such embedded server.
    This might be possible with a lot of work. And a non-trivial amount of code in C/C++. If you are not experienced with C/C++ then I would not suggest that you try this.
    This implies that MySQL is running in the same process space as the jvm. That means that you will need to write a shell in C/C++ that starts the JVM and starts MySQL. Starting the JVM in C/C++ is detailed in the JNI. It should certainly be possible to start MySQL from your own C/C++ code, but you would have to track down the documentation to do it.
    Starting this up is going to take as much time as starting the JVM and MySQL server together.
    You could still use the same jdbc driver or you could modify it (with a lot of work) to go direct.

  • Jdbc drivers for mysql

    HI,
    could please suggest me for which drivers are suitable to create data server of mysql.
    please share any links for jdbc specification.
    Regards,
    Surya

    Hi,
    You should have mysql-connector-java driver. you can down load from here http://dev.mysql.com/downloads/connector/j/
    then use
    JDBC Driver: com.mysql.jdbc.Driver
    Url: jdbc:mysql://55.118.21.187:3306/dtbs3306
    Thanks.

  • Beginner Has Problem With Loading JDBC Driver Using MySQL

    Hi, I am having problem with loading JDBC driver, and need your diagnotic help.
    1. I have installed MySQL (C:\mysql), created a databse (soup), and created a littel table (VIDEOS). I am able to see the table in the console:
    sql> select * from videos
    2. I have downloaded the latest version of Connector/J (mysql-connector-java-3.1.0-alpha.zip), and unzip the zip file into my C:\ directory.
    3. I copied the mysql-connector-java-3.1.0-alpha-bin.jar to the C:\j2sdk1.4.1_02\jre\lib\ext folder and it is in my CLASSPATH
    4. MySQL server is running
    C:\> C:\mysql\bin\mysqld-nt --standalone
    5. open another DOS window and use the database
    mysql>USE SOUP
    6. succesfully compiled a Java program (javac Test.java):
    import java.sql.* ;
    public class Test
    public static void main( String[] args )
    try
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    try
    Connection con = DriverManager.getConnection( "jdbc:mysql://localhost:3306/soup" );
    try
    Statement statement = con.createStatement();
    ResultSet rs = statement.executeQuery("SELECT TITLE FROM VIDEOS");
    while ( rs.next() )
    System.out.println( rs.getString( "TITLE" ) );
    rs.close();
    statement.close();
    catch ( SQLException e )
    System.out.println( "JDBC error: " + e );
    finally
    con.close();
    catch( SQLException e )
    System.out.println( "could not get JDBC connection: " + e );
    catch( Exception e )
    System.out.println( "could not load JDBC driver: " + e );
    7. when I run the Java program (java Test), I got
    the message:
    could not load JDBC driver: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    What am I missing?

    Hi,
    I missed to specify test in my last post.
    Try running your program by explicitly setting the classspath when
    running your program . java -classpath c:\mysql-connector-java-3.1.0-alpha-bin.jar test
    Make sure your jar file contains org.gjt.mm.mysql.Driver class

  • JDBC + Mandrake Linux + Mysql + netbeans

    I'm trying to conecto to a mysql server using the following code of netbeans. It compiles, but I got a java.lang.NoClassDefFoundError on execution time.
    Does anyone have any clue of how to solve it?
    (I got the netbeans+sdk package, is it complete? Maybe the jdbc class is missing? Where can I get it?)
    Thanks!
    import java.sql.*;
    public class Connect
    public static void main (String[] args)
    Connection conn = null;
    try
    String userName = "root";
    String password = "kron9013";
    String url = "jdbc:mysql://192.168.0.109/Solbet";
    Class.forName ("com.mysql.jdbc.Driver").newInstance ();
    conn = DriverManager.getConnection (url, userName, password);
    System.out.println ("Database connection established");
    catch (Exception e)
         System.out.println (e.toString());
    System.err.println ("Cannot connect to database server");
    finally
    if (conn != null)
    try
    conn.close ();
    System.out.println ("Database connection terminated");
    catch (Exception e) { /* ignore close errors */ }
    Exception in thread "main" java.lang.NoClassDefFoundError: mysql/Connect (wrong name: Connect)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

    On this line:
    Class.forName ("com.mysql.jdbc.Driver").newInstance ();I'm 99.99% sure you can drop the newInstance() part. However, I'm not certain if that's why it's failing.

  • JDBC Driver for MySQL database which should support JDBC2.0 function

    Hi, Guys,
    I'm using JDK1.3 and mm.mysql-2.0.4-bin.jar in Windows NT. When I run following program, I got the error: java.sql.SQLException: ResultSet not updatable. (the function rs.last() is working).
    Based on the documentation, mm.mysql-2.0.4-bin.jar driver should support JDBC2.0 function, but in fact, it's not. So, what's wrong or where is the correct driver?
    Thank you in advance anyway!
    import java.sql.*;
    import java.sql.ResultSet.*;
    import java.util.*;
    public class BridgeMysql{
    public static void main (String[] args) throws Exception {
    String sTable = "test";
    try {
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    Connection conMysql = DriverManager.getConnection("jdbc:mysql://localhost/myDatabase?user=user&password=password");
    Statement st = conMysql.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
    ResultSet rs = st.executeQuery("Select * from "+sTable);
    //rs.last();
    rs.moveToCurrentRow();
    System.out.println("Table "+sTable+" contains "+String.valueOf(rs.getRow())+" rows");
    rs.close();
    st.close();
    conMysql.close();
    catch (Exception e)
    System.out.println(e);

    Thought I might add something interesting I found.
    You need to include the field in your primary key. I only have one field in the key so I dont know how it works if you have more than one key.
    Makes sense considering Mark stated that you need the primary index defined. Looks like you need the fields as well from the select statement.
    Can anyone comment on why this is?

  • Jdbc connectivity with mysql database

    I created a database in mysql, but I have problems communicating with the DB in java 
    here is the error
    java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/books
    at java.sql.DriverManager.getConnection(DriverManager.java:604)
    at java.sql.DriverManager.getConnection(DriverManager.java:221)
    at displayauthors.DisplayAuthors.main(DisplayAuthors.java:30)
    java.lang.NullPointerException
    at displayauthors.DisplayAuthors.main(DisplayAuthors.java:66)
    BUILD SUCCESSFUL (total time: 1 second)
    I edited the system variables in windowds
    CLASSPATH
    .;C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip
    CLASSPATH1 (notice the 1 at the end, I don't want to override the previous one
    .,C:\Program Files (x86)\MySQL\Connector J 5.1.30\mysql-connector-java-5.1.30-bin.jar
    The Hostname: localhost   Port: 3306
    Username: root
    password:   Tpswsd77? (changed for thios post)
    Stored Connection: Local instance MySQL56
    connection Method: Standard(TCP/IP)
    HERE IS THE CODE 
    public class DisplayAuthors {
    // database URL                             
       static final String DATABASE_URL = "jdbc:mysql://localhost:3306/books";
       // launch the application
       public static void main( String args[] )
          Connection connection = null; // manages connection
          Statement statement = null; // query statement
          ResultSet resultSet = null; // manages results
          // connect to database books and query database
          try
            // establish connection to database                             
             connection = DriverManager.getConnection(
               // DATABASE_URL, "deitel", "deitel" );
                     //<editor-fold defaultstate="collapsed" desc="comment">
                     DATABASE_URL, "root", "Tpswsd77?" );
             //</editor-fold>
                  // create Statement for querying database
             statement = connection.createStatement();
             // query database                                       
             resultSet = statement.executeQuery(           
                "SELECT authorID, firstName, lastName FROM authors" );
             // process query results
             ResultSetMetaData metaData = resultSet.getMetaData();
             int numberOfColumns = metaData.getColumnCount();    
             System.out.println( "Authors Table of Books Database:\n" );
             for ( int i = 1; i <= numberOfColumns; i++ )
                System.out.printf( "%-8s\t", metaData.getColumnName( i ) );
             System.out.println();
             while ( resultSet.next() )
                for ( int i = 1; i <= numberOfColumns; i++ )
                   System.out.printf( "%-8s\t", resultSet.getObject( i ) );
                System.out.println();
             } // end while
          }  // end try
          catch ( SQLException sqlException )                               
             sqlException.printStackTrace();
          } // end catch                                                    
          finally // ensure resultSet, statement and connection are closed
             try                                                       
                resultSet.close();                                     
                statement.close();                                     
                connection.close();                                    
             } // end try                                              
             catch ( Exception exception )                             
                exception.printStackTrace();                           
             } // end catch                                            
          } // end finally                                             
       } // end main
    } // end class DisplayAuthors

    I edited the system variables in windowds
    CLASSPATH
    .;C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip
    CLASSPATH1 (notice the 1 at the end, I don't want to override the previous one
    .,C:\Program Files (x86)\MySQL\Connector J 5.1.30\mysql-connector-java-5.1.30-bin.jar
    A few facts:
    1. You NEED to have the JDBC driver jar on the Java classpath
    2. You don't NEED to have the jar on the Windows classpath
    3. You don't NEED to 'override' the Windows classpath - you can just append the JDBC jar to it
    Just use #3 above - edit the Windows CLASSPATH environment variable and add the JDBC jar to it. At it at the start and follow it with a semicolon. Or at it at the end AFTER adding a semicolon.
    Or specify the CLASSPATH on the command line when you launch Java. Use the '-cp' or '-classpath <class . . >' options. Just type 'java' at the command line to see the list of parameters that can be used.

  • Urgent- Jdbc configuration settings (mysql)

    Hi,
    I do want to do a scenario like File to jdbc.
    I have installed mysql in my laptop. can anybody tell me how do I configure the driver settings prior to the doing the same.
    And also let me know, how do I find the driver and connection parameters for the same.
    cheers.,
    Stallin

    Hi Stallin
    check this pdf
    <b>How To Install and Configure External Drivers for JDBC & JMS Adapters</b>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a
    also check
    Otther option is download JDBC Driver from Microsoft Website
    http://www.microsoft.com/downloads/details.aspx?FamilyID=6D483869-816A-44CB-9787-A866235EFC7C&displaylang=en
    and deploy the JDBC driver using SDM.
    <b>JDBC Driver Deployment Guide...</b>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a
    <b>
    how to configure drivers:</b>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    also http://www.oracle.com/technology/software/tech/windows/odbc/index.html
    Help Required on File to JDBC scenario
    JDBC Driver?
    Thanks
    Regards
    Abhishek Agrahari

  • Where should I put JDBC driver for MySQL

    I am trying to connect MySQL with JDBC 2.0 API. I have downloaded the driver file mm.mysql-2.0.4-bin. Where should I put this driver to make it run ?
    According to mysql.org, it says "Put mysql.jar in your classpath". I am confuse by classpath. Is it same as the path ? or is another system variable.
    thanks for clear my doubt. ^_^

    it is a different variable, but also in the same file (autoexec.bat) as path;
    set CLASSPATH=%classpath%;C:\JDK1.3.0_02\bin;c:\path\mm.mysql-2.0.4-bin
    Jamie

  • External JDBC Connexion to Mysql in BAM Server 11g

    Hi,
    I try to create an external datasource to a Mysql Server.
    When I test it, it runs well.
    I create a data object using this external datasource, I can "Browse" all tables of the MySQL schema.
    But when I try to see the CONTENT of my Data Object, I have this message :
    BAM-01262: Active Data Cache server exception in openViewset().
    Source: "ActiveDataCache" ID: "ADCServerException"
    Erreur de syntaxe près de '"flyspray_projects"' à la ligne 1
    Source: "com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de '"flyspray_projects"' à la ligne 1"
    In the nohup file of the server, I can see this message :
    SEVERE: ActiveDataCache: Exception occurred in method openViewset(_TestFSListProjet,0)
    Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de "flyspray_projects" à la ligne 1
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:930)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2864)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1567)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1659)
    at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
    at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1143)
    at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1256)
    at oracle.bam.adc.common.externaldatasources.JDBC.getDataReader(JDBC.java:335)
    at oracle.bam.adc.kernel.datasets.ExternalStorageEngine.getDataReader(ExternalStorageEngine.java:76)
    at oracle.bam.adc.kernel.viewsets.utilities.externaldata.DataImporter.executeQuery(DataImporter.java:95)
    at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalData(ExternalDataManager.java:233)
    at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalFactData(ExternalDataManager.java:156)
    at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.getExternalData(ExternalDataManager.java:108)
    at oracle.bam.adc.kernel.viewsets.Viewset.loadData(Viewset.java:259)
    at oracle.bam.adc.kernel.viewsets.ViewsetBase.initialize(ViewsetBase.java:169)
    at oracle.bam.adc.kernel.viewsets.Viewset.initialize(Viewset.java:220)
    at oracle.bam.adc.kernel.viewsets.ViewsetBase.open(ViewsetBase.java:152)
    at oracle.bam.adc.kernel.viewsets.ViewsetManager.initViewset(ViewsetManager.java:368)
    at oracle.bam.adc.kernel.viewsets.ViewsetManager.openViewset(ViewsetManager.java:361)
    at oracle.bam.adc.kernel.server.DataStoreServer.openViewset(DataStoreServer.java:1072)
    at oracle.bam.adc.ejb.BamAdcServerBean.openViewset(BamAdcServerBean.java:894)
    at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.bam.adc.ejb.BamAdcServerBean.interceptor(BamAdcServerBean.java:263)
    at sun.reflect.GeneratedMethodAccessor356.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.security.jps.wls.JpsWlsEjbInterceptor$1.run(JpsWlsEjbInterceptor.java:88)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsEjbInterceptor.intercept(JpsWlsEjbInterceptor.java:106)
    at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
    at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy197.openViewset(Unknown Source)
    at oracle.bam.adc.ejb.BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.openViewset(BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.java:3231)
    at oracle.bam.adc.api.client.BamAdcClient.openViewset(BamAdcClient.java:930)
    at sun.reflect.GeneratedMethodAccessor359.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.bam.common.remoting.BamEjbProxy.invoke(BamEjbProxy.java:209)
    at $Proxy196.openViewset(Unknown Source)
    at oracle.bam.adc.api.viewsets.Viewset.open(Viewset.java:75)
    at oracle.bam.web.architect.DataObjectsContents.internalContentsByRowID(DataObjectsContents.java:582)
    at oracle.bam.web.architect.DataObjectsContents.contentsByRowID(DataObjectsContents.java:463)
    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 oracle.bam.web.shared.WebPage.invokeWebMethod(WebPage.java:496)
    at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:430)
    at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:312)
    at jsp_servlet._6512._architect.__default._jspService(__default.java:71)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.cache.ClientSideCache.doFilter(ClientSideCache.java:93)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.filters.GZIPFilter.doFilter(GZIPFilter.java:86)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.filters.ValidateBrowserSession.doFilter(ValidateBrowserSession.java:213)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.redirect.Redirect.doFilter(Redirect.java:79)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.filters.ValidateBrowserSupport.doFilter(ValidateBrowserSupport.java:133)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.filters.CharsetFixupFilter.doFilter(CharsetFixupFilter.java:65)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Does any body have an idea to solve this problem ?
    In advance,
    Thanks,
    Jerome

    Answer of the Second question.
    2. Can you please check the data types of the columns of the MySQL table and test again one by one for which data type and for what data, this error is getting thrown?
    Here is the description of the table "flyspray_projects" :
    Field                    Type               Null      Key          Default          Extra          
    project_id               int(3)                         PRI                         auto_increment
    project_title          varchar(100)                    
    theme_style               varchar(20)                              0     
    default_cat_owner     int(3)                                   0     
    intro_message          longtext                    
    project_is_active     int(1)                                   0     
    visible_columns          varchar(255)                    
    others_view               int(1)                                   0     
    anon_open               int(1)                                   0     
    notify_email          longtext                    
    notify_jabber          longtext                    
    notify_reply          text               YES               
    notify_types          varchar(100)                         0     
    feed_img_url          text               YES               
    feed_description     text               YES               
    notify_subject          varchar(100)                    
    lang_code               varchar(10)                              en     
    comment_closed          int(1)                                   0     
    auto_assign               int(1)                                   0     
    last_updated          int(11)                                   0     
    default_task          text               YES               
    default_entry          varchar(8)                              index     
    In my DataObject, I try with only ONE field.
    1) With "project_id", which is a number
    2) With "project_title" which is a varchar
    The result was the same Error Message :
    Logging Writeline(single parameter) Exception: java.lang.IllegalArgumentException: can't parse argument number - Exception occurred in method count(oracle.bam.adc.common.Modifier@33888bf4 DatasetID="_MysqlTestStringSeulement" Distinct=false AllFields=false Fields={} RecordFieldInfo=[] LookupInfo={} Ordering=[] Groupings={oracle.bam.adc.common.Groupings@366f70e Groups=[oracle.bam.adc.common.Group@366f71a FieldID="null" GroupRefID=null GroupRecordFieldInfo=[] GroupFields=[]]} Expression={null} GroupFilter={null} MaxRows=-1 TopN=-1 WithTies=false CollapseAggregates=false,true)
    Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de '"flyspray_projects"' à la ligne 1
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:930)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2864)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1567)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1659)
    at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
    at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1143)
    at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1256)
    at oracle.bam.adc.common.externaldatasources.JDBC.getDataReader(JDBC.java:335)
    at oracle.bam.adc.kernel.datasets.ExternalStorageEngine.getDataReader(ExternalStorageEngine.java:76)
    at oracle.bam.adc.kernel.datasets.Dataset.count(Dataset.java:4019)
    at oracle.bam.adc.kernel.server.DataStoreServer.count(DataStoreServer.java:886)
    at oracle.bam.adc.ejb.BamAdcServerBean.count(BamAdcServerBean.java:621)
    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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.bam.adc.ejb.BamAdcServerBean.interceptor(BamAdcServerBean.java:263)
    at sun.reflect.GeneratedMethodAccessor356.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.security.jps.wls.JpsWlsEjbInterceptor$1.run(JpsWlsEjbInterceptor.java:88)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsEjbInterceptor.intercept(JpsWlsEjbInterceptor.java:106)
    at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
    at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy197.count(Unknown Source)
    at oracle.bam.adc.ejb.BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.count(BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.java:1205)
    at oracle.bam.adc.api.client.BamAdcClient.count(BamAdcClient.java:641)
    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 oracle.bam.common.remoting.BamEjbProxy.invoke(BamEjbProxy.java:209)
    at $Proxy196.count(Unknown Source)
    at oracle.bam.adc.api.datasets.Dataset.count(Dataset.java:1421)
    at oracle.bam.web.architect.DataObjectsView.general(DataObjectsView.java:182)
    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 oracle.bam.web.shared.WebPage.invokeWebMethod(WebPage.java:496)
    at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:430)
    at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:312)
    at jsp_servlet._6512._architect.__default._jspService(__default.java:71)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.cache.ClientSideCache.doFilter(ClientSideCache.java:93)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.filters.GZIPFilter.doFilter(GZIPFilter.java:86)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.filters.ValidateBrowserSession.doFilter(ValidateBrowserSession.java:213)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.redirect.Redirect.doFilter(Redirect.java:79)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.filters.ValidateBrowserSupport.doFilter(ValidateBrowserSupport.java:133)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.filters.CharsetFixupFilter.doFilter(CharsetFixupFilter.java:65)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Jan 8, 2010 10:44:45 AM oracle.bam.common.logging.Log writeLine
    SEVERE: ActiveDataCache: Exception occurred in method openViewset(_MysqlTestStringSeulement,0)
    Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de "flyspray_projects" à la ligne 1
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:930)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2864)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1567)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1659)
    at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
    at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1143)
    at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1256)
    at oracle.bam.adc.common.externaldatasources.JDBC.getDataReader(JDBC.java:335)
    at oracle.bam.adc.kernel.datasets.ExternalStorageEngine.getDataReader(ExternalStorageEngine.java:76)
    at oracle.bam.adc.kernel.viewsets.utilities.externaldata.DataImporter.executeQuery(DataImporter.java:95)
    at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalData(ExternalDataManager.java:233)
    at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalFactData(ExternalDataManager.java:156)
    at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.getExternalData(ExternalDataManager.java:108)
    at oracle.bam.adc.kernel.viewsets.Viewset.loadData(Viewset.java:259)
    at oracle.bam.adc.kernel.viewsets.ViewsetBase.initialize(ViewsetBase.java:169)
    at oracle.bam.adc.kernel.viewsets.Viewset.initialize(Viewset.java:220)
    at oracle.bam.adc.kernel.viewsets.ViewsetBase.open(ViewsetBase.java:152)
    at oracle.bam.adc.kernel.viewsets.ViewsetManager.initViewset(ViewsetManager.java:368)
    at oracle.bam.adc.kernel.viewsets.ViewsetManager.openViewset(ViewsetManager.java:361)
    at oracle.bam.adc.kernel.server.DataStoreServer.openViewset(DataStoreServer.java:1072)
    at oracle.bam.adc.ejb.BamAdcServerBean.openViewset(BamAdcServerBean.java:894)
    at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.bam.adc.ejb.BamAdcServerBean.interceptor(BamAdcServerBean.java:263)
    at sun.reflect.GeneratedMethodAccessor356.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.security.jps.wls.JpsWlsEjbInterceptor$1.run(JpsWlsEjbInterceptor.java:88)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsEjbInterceptor.intercept(JpsWlsEjbInterceptor.java:106)
    at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
    at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy197.openViewset(Unknown Source)
    at oracle.bam.adc.ejb.BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.openViewset(BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.java:3231)
    at oracle.bam.adc.api.client.BamAdcClient.openViewset(BamAdcClient.java:930)
    at sun.reflect.GeneratedMethodAccessor359.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.bam.common.remoting.BamEjbProxy.invoke(BamEjbProxy.java:209)
    at $Proxy196.openViewset(Unknown Source)
    at oracle.bam.adc.api.viewsets.Viewset.open(Viewset.java:75)
    at oracle.bam.web.architect.DataObjectsContents.internalContentsByRowID(DataObjectsContents.java:582)
    at oracle.bam.web.architect.DataObjectsContents.contentsByRowID(DataObjectsContents.java:463)
    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 oracle.bam.web.shared.WebPage.invokeWebMethod(WebPage.java:496)
    at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:430)
    at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:312)
    at jsp_servlet._6512._architect.__default._jspService(__default.java:71)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.cache.ClientSideCache.doFilter(ClientSideCache.java:93)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.filters.GZIPFilter.doFilter(GZIPFilter.java:86)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.filters.ValidateBrowserSession.doFilter(ValidateBrowserSession.java:213)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.redirect.Redirect.doFilter(Redirect.java:79)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.filters.ValidateBrowserSupport.doFilter(ValidateBrowserSupport.java:133)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bam.web.filters.CharsetFixupFilter.doFilter(CharsetFixupFilter.java:65)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

  • JDBC talking to MySQL

    Hi all,
    I'm using NetBeans 4 as an IDE and i'm having some trouble with MySQL.
    My program runs fine and i can update field on the MySQL when i'm running the program from within NetBeans but when i run the .jar file externally, there is an error that is caught that says as written below:
    com.mysql.jdbc.driver
    This is my code..... it's not very big but it's in 3 classes and i'm pretty new to coding so it's all over the place. I'll show the class that does the SQL work only because the others only call functions and parse in things for this class to do.
    Any help would be appreciated i know i'm a little vague!!!
    Wes
    import javax.swing.JOptionPane;
    import java.math.*;
    import java.sql.*;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class SQLAccess
    public SQLAccess()
    //empty constructor
    public SQLAccess(String name, int age)
    String userName = "root";
    String password = "root";
    String url = "jdbc:mysql:///Storage";
    Connection conn = null;
    try
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    conn = DriverManager.getConnection(url, userName, password);
    if(!conn.isClosed())
    System.out.println("Successfully connected to " +
    "MySQL server using TCP/IP...");
    Statement stmt = conn.createStatement();
    //SQL command sequence to place a new entry into the table
    String input = ("INSERT INTO info VALUES('" +
    name + "' , '" + age + "')");
    stmt.executeUpdate(input);
    catch(Exception e)
    System.err.println("Exception: " + e.getMessage());
    JOptionPane.showMessageDialog(null, e.getMessage());
    finally
    try
    if(conn != null)
    conn.close();
    catch(SQLException e) {}
    ////////////////////////////////////////////////////////////////////////////////

    i put
    -classpath .;"C:\Program
    Files\Java\jdk1.5.0_02\jre\lib\extmysql-connector-java
    -3.1.8-bin.jar" but it still don't work.
    it just ain't goin well for me today...but i do agree
    about the windows classpath part.....that would add
    the path for every future compile so thanks for the
    tip :)
    Presumably you are still getting the class not found exception.
    The above is not a complete command line. As a guess you are still running it as an executable jar.
    You have a choice. You will need to do one of the following.
    1. Run it as a jar, not an executable jar.
    2. Figure out how manifests work. An executable jar ignores all forms of external class path (command line and env vars.) Basically you have to include the driver jar in the executable jar and create a manifes that tells the jar that the driver is in there. There are examples of this in the forums somewhere.

  • JDBC connecting with MYSQL

    i has install JAVA 2 SDK and MYSQL to do my DBMS, i try to making connection between JAVA and MYSQL, after complie and run java file, i got the Error: java.sql.SQLException: No suitable driver

    have you include the jdbc driver in your classpath
    try put the jar of jdbc driver in your project 's lib foler
    or add it to your system's classpath
    and it may work well
    good luck

  • Problem with JDBC driver for mysql

    I have downloaded the Connector/J3.0 mysql-connector-java-3.0.7-stable.tar.gz from www.mysql.com/downloads/api-jdbc-stable.html web site and used gunzip and tar to extract the file. I have received the following error message:
    tar: directory checksum error
    Will this error cause some problem later on?
    Which directory should I put the driver into? Can I put it in any directory?
    Do I need to set the classpath for the driver? If yes, how can I set it?
    What is the connect string? Can you give a sample for me? I am using Solaris 5.8 and mysql is on the same machine.
    Thanks a lot,
    Lisa

    this is an example of a connect string for mysql that i used...
    public Connection CreateConnection () throws Exception
         Connection myConn = null;
         String driverName = "org.gjt.mm.mysql.Driver";
         String dbUrl = "jdbc:mysql://www.desres.com/jhazrd?user=jhazrd&password=????";
         Class.forName(driverName);
         myConn = DriverManager.getConnection (dbUrl);
    return myConn;
    }

  • Transferring DB2 JDBC Calls to MySQL Database

    I am working on J2EE technology and the DB Tier for it is on IBM DB2. At offshore we are setting up the database as MySQL and not DB2. How should I implement this so that without changing any part of the existing application code, all the JDBC calls meant for DB2 is directed to MySQL database. What
    (The same code has to be moved to Client Side Server so I am very much reluctant to change the code for beans.) The application is developed on Websphere IDE
    Thanks In Advance
    KK
    The greatest thing since the creation of the world,except for the incarnation and death of Him who created it,is the discovery of the Indies. -- Francisco Lopez De Gomara
    ****************************

    Hi,
    I do not know how have you implemented your application.I guess that the most correct thing is to define a datasource in your application server and access it from there. If you have hardcoded the database connection settings then you cannot avoid the changes.
    Kiros

Maybe you are looking for

  • Error mesg. KI248 when billing release to accounting

    Hi expert, Scenario: A sales order is created with internal order (statistical) and during billing release to accounting I hit the beloow error: Account 87585800 requires an assignment to a CO object Diagnosis All given account assignment objects (or

  • Error while extracting data from Generic datasource

    Hello Gurus, I have encountered an error "Errors in source system" with status red while extracting data from generic datasource into DSO. I have done below things:- 1. Checked the jobs in source system, the job is successfully completed 2. The gener

  • I keep losing my music on my iphone.

    I keep losing my music on my iphone. when i try to sync the music back, i always get this msg saying itunes can't detect the apps. I can see the music but its like faded and have the syncing symbol next to it. I almost tried every possible solution t

  • Managed Metadata Refiner and Displaying the Full Path

    Does anyone know how best to work with the metadata refiner for a column that is set to show the full path of the tag?  We need to display the full path for this column when used in various views; however, when the full path is shown is the search re

  • CC-"Download Error"

    I'm receiving a "Download Error" alert with in my CC Installer pop up when I try to update (Reflow) or download Illustrator. I've restarted. Logged in and out.....nothing seems to work. Thanks.