Error using mySQL

Hi. I´m trying use mySQL with SRTutorialADFBC tutorial. I can create connections. I can view my tables, etc. But when I try run the jsp page, I get a error 500:
java.sql.SQLException: No suitable driver
     at java.sql.DriverManager.getConnection(DriverManager.java:545)
     at java.sql.DriverManager.getConnection(DriverManager.java:140)
     at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:189)
     at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:135)
     at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
     at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:326)
     at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
     at java.lang.Thread.run(Thread.java:595)
Can you help me?

Thanks javaX. But the error continue... The message begin:
500 Internal Server Error
JBO-30003: The pool of applications (oracle.srtutorial.datamodel.AppModuleLocal) failed in the checkout module exception:
oracle.jbo.JboException: JBO-29000: JBO-29000: JBO-29000: JBO-26061: Erro ao abrir a conexão JDBC.
     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
     at java.lang.Thread.run(Thread.java:595)
Any new idea?

Similar Messages

  • SAPextractor error using MySQL Server database in OrgChart

    Hi Experts:
    We are now using MySQL Server database for Nakisa OrgChart 2.0. Source-SAP details were specified and test connection to database is successful.  We encountered the following errors when we performed the extraction.
    Processing Function Read Table Function/BAPI Downloading Tables Organizational Assignment
    No Tables were downloaded for Read Table Function/BAPI . Function is flagged as critical.Terminating Extraction.
    Processing Stopped ! ! !
    Downloading from SAP completed.
    Processing Completed.
    From CDS.log, we got the error message below:
    ERROR: Schema : tableName = OrgUnitHierarchy; : Source {.Net SqlClient Data Provider}: Message {Invalid object name 'OrgUnitHierarchy'.}
    ERROR: Schema : tableName = OrgUnitHierarchy; : Source {.Net SqlClient Data Provider}: Message {Invalid object name 'OrgUnitHierarchy'.}
    ERROR: Schema : tableName = OrgUnitHierarchy; : Source {.Net SqlClient Data Provider}: Message {Invalid object name 'OrgUnitHierarchy'.}
    ERROR: Sap Authentication : Source {SAP.Connector}: Message {An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)}
    Can you help us to check how to fix this error. In addition, we would also like to know how to configure XML files required for this installation.
    Thanks.
    Angelo
    Accenture
    SAP Basis

    Hi Angelo,
    Is this still an issue for you? If so can you let me know if you are using 32-bit or 64-bit server and what version you are using of TVN?
    All the best,
    Luke

  • Error using mySQL connection Pool

    I see the following error when my application uses the connection pool - can anyone explain this ?
    INFO: CORE3282: stdout: =======================>ERROR :com.sun.enterprise.repository.J2EEResourceException
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
    INFO: CORE3282: stdout: java.lang.NoSuchMethodException: setdataSourceName

    Hi,
    You have used dataSourceName property while creating a connection pool.This property is not required to be set while creating a connection pool for MySql
    Use the following properties:
    <property name="serverName" value="<name of server>"
    <property name="port" value="<port number>"
    <property name="DatabaseName" value="<your db name>"
    <property name="User" value="<user name>"
    <property name="Password" value="<passwd>"
    Get back in case of any issues

  • Error in extracting data from SAP using mySQL server database

    Hello Experts.
    We are now using MySQL server 2005 database for Nakisa OrgChart. We have already configured the SAPExtractor settings. Source-SAP has been provided and Test connection to destination database is successful. We manually created the database ExtractedData and AnalyticData in the MySQL management studio.
    We are getting the error upon starting the extraction
    Processing Function Read Table Function/BAPI Downloading Tables Organizational Assignment
    No Tables were downloaded for Read Table Function/BAPI . Function is flagged as critical.Terminating Extraction.
    Processing Stopped ! ! !
    Downloading from SAP completed.
    Processing Completed. 
    From CDS.log
    ERROR: Sap Authentication : Source {SAP.Connector}: Message {An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)}
    We would appreciate some assistance on this configuration
    Thanks,
    Angelo
    Accenture inc.
    SAP Basis

    Hello Luke,
    We have not done any modification of the downloadschema file. We receive message: The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.  when we open the file.
    The SAP account we used has SAP_AlLL, SAP_NEW authorizations. Are these authorizations sufficient to perform the data extraction?
    Thanks,
    Angelo

  • How can I use mySQL with OC4J

    Hello,
    I have standalone OC4J and I want to use mySQL database (Oracle is no problem). My data-sources.xml for application (not global data-sources) is:
    <data-sources>
    <data-source class="com.evermind.sql.DriverManagerDataSource"
         connection-driver="org.gjt.mm.mysql.Driver"
         ejb-location="jdbc/MG_DBDS"
         inactivity-timeout="30"
         location="jdbc/MG_DBCoreDS"
         name="MG_DBDS"
         password=""
         pooled-location="jdbc/MG_DBPooledDS"
         url="jdbc:mysql://127.0.0.1:3306/test"
         username="root"
         xa-location="jdbc/xa/MG_DBXADS"/>
    </data-sources>
    Deploy return me:
    Error initializing data-source 'jdbc/MG_DBCoreDS': DriverManagerDataSource driver 'org.gjt.mm.mysql.Driver' not found
    Then I run this command:
    java -jar %OC4J_HOME%\admin.jar ormi://192.168.1.14:23791/ admin heslo -application Register -updateDataSource -oldLocation jdbc/MG_DBCoreDS -jar mysql-2.0.11-bin.jar
    this action is success and create in OC4J folder lib with jar file mysql-2.0.11-bin.
    When I use this configuration in application, I get connection but creating Statement cause SQL Exception - No suitable driver.
    When I try to restart OC4J, I get the same message as throught deploy - Error initializing data-source ...
    What is go wrong???? Could me help anyone?
    Thanks
    Libor

    pooling solution:
    1) put driver mysql.jar into any directory wich described in OC4J application.xml file like
    " <library path="D:\j2ee\home\lib">jdev-generated</library>"
    2) put a new datasource in data-sources.xml:
    <data-sources>
    <data-source name="MySqlDS"
    location="jdbc/MySqlDS"
    class="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource"
    max-connections="100"
    min-connections="5"
    inactivity-timeout="200"
    wait-timeout="10"
    username="scott"
    password="tiger"
    url="jdbc:mysql://localhost:3306/oln?useUnicode=true"/>
    </data-sources>
    OC4J needs a special pooling class in comparision with other containers. For example, JBoss has own implementation of pooling broker, so pooling is enabled by default.

  • Using MySQL database in Jdeveloper

    I am using MySQl database in my applicaion.I have successfully created connection to the database and have created entity beans from the tables and a session bean as well to use the entity beans
    now when i am trying to call persistEntity(object obj) of session bean, basically to insert records into tables.
    i am getting following exception :
    Internal Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"tdmce_approval_status" (APPROVALLEVEL, DOCREFNO, STATUS, COMMEError Code: 1064
    Call:INSERT INTO "tdmce_approval_status" (APPROVALLEVEL, DOCREFNO, STATUS, COMMENTS, DMCETYPE, ACTIONDATE) VALUES (?, ?, ?, ?, ?, ?)
         bind => [1, 12355, Approved, abcd, import, 12/03/2008]
    i believe this insert query is automatically generated by Jdeveloper. have tried executing the same query in sql sheet it has worked perfectly fine.
    Can any one please suggest on this ?

    Hi Frank,
    thanks for your response, there are only setters & getters method in my entity
    my entity look like this
    package buslogic;
    import java.io.Serializable;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.IdClass;
    import javax.persistence.NamedQuery;
    import javax.persistence.Table;
    @Entity
    @NamedQuery(name = "TdmceApprovalStatus.findAll",
    query = "select o from TdmceApprovalStatus o")
    @Table(name = "\"tdmce_approval_status\"")
    @IdClass(TdmceApprovalStatusPK.class)
    public class TdmceApprovalStatus implements Serializable {
    @Column(nullable = false)
    private String actiondate;
    @Id
    @Column(nullable = false)
    private Integer approvallevel;
    private String comments;
    @Column(nullable = false)
    private String dmcetype;
    @Id
    @Column(nullable = false)
    private String docrefno;
    @Id
    @Column(nullable = false)
    private String status;
    public TdmceApprovalStatus() {
    public String getActiondate() {
    return actiondate;
    public void setActiondate(String actiondate) {
    this.actiondate = actiondate;
    public Integer getApprovallevel() {
    return approvallevel;
    public void setApprovallevel(Integer approvallevel) {
    this.approvallevel = approvallevel;
    public String getComments() {
    return comments;
    public void setComments(String comments) {
    this.comments = comments;
    public String getDmcetype() {
    return dmcetype;
    public void setDmcetype(String dmcetype) {
    this.dmcetype = dmcetype;
    public String getDocrefno() {
    return docrefno;
    public void setDocrefno(String docrefno) {
    this.docrefno = docrefno;
    public String getStatus() {
    return status;
    public void setStatus(String status) {
    this.status = status;
    & session bean class to call the same
    package buslogic;
    import buslogic.persistance.TdmceApprovalsFlow;
    import buslogic.persistance.TdmceApprovalsFlowPK;
    import buslogic.persistance.TdmceUserDetails;
    import java.util.List;
    import javax.ejb.Stateless;
    import javax.persistence.EntityManager;
    import javax.persistence.PersistenceContext;
    @Stateless(name = "FirstCheckFacade")
    public class FirstCheckFacadeBean implements FirstCheckFacade {
    @PersistenceContext(unitName = "SOAServices")
    private EntityManager em;
    public FirstCheckFacadeBean() {
    public Object mergeEntity(Object entity) {
    return em.merge(entity);
    public Object persistEntity(Object entity) {
    em.persist(entity);
    return entity;
    /** <code>select o from TdmceApprovalsFlow o</code> */
    public List<TdmceApprovalsFlow> queryTdmceApprovalsFlowFindAll() {
    return em.createNamedQuery("TdmceApprovalsFlow.findAll").getResultList();
    public void removeTdmceApprovalsFlow(TdmceApprovalsFlow tdmceApprovalsFlow) {
    tdmceApprovalsFlow =
    em.find(TdmceApprovalsFlow.class, new TdmceApprovalsFlowPK(tdmceApprovalsFlow.getApprovallevel(),
    tdmceApprovalsFlow.getDmcetype()));
    em.remove(tdmceApprovalsFlow);
    /** <code>select o from TdmceUserDetails o</code> */
    public List<TdmceUserDetails> queryTdmceUserDetailsFindAll() {
    return em.createNamedQuery("TdmceUserDetails.findAll").getResultList();
    public void removeTdmceUserDetails(TdmceUserDetails tdmceUserDetails) {
    tdmceUserDetails =
    em.find(TdmceUserDetails.class, tdmceUserDetails.getUserid());
    em.remove(tdmceUserDetails);
    Where else can i look for the query?or for mysql i have to configure some property.

  • SQL Verification Problem / Muse Form Issue (Server uses MySQL muse uses SQLite) I'm in desperate need of help

           Alright well here is my issue... I have been trying to fix it on my own for the past week non stop and I have finally came to a solid conclusion as to the cause of the issue.
       I always get the error "The server has encountered an error..." in red text when anyone tries to submit a form and also when I try and test it myself. This led me to test the server / site for compatibility or issues by using the test:
    mydomain.com /scripts/form_check.php
    I got the first two checks green (pass) and the third test threw a red check meaning I was having an issue with SQL verification. This then led me to days of trying to work with my hosting provider (one.com) trying to solve the problem and I was told that they use mySQL on their servers and that they couldn't do anything on their end to solve the issue. I read alot that we are recommended in this case to try and get our host to add the SQLite database to their server or whatever it is they would do, long story short I guess many people are able to ask their host to make SQLite work and most accept and add SQLite functionality to their servers but unfortunately my hosting provider doesn't want to do this and they said they were sorry and that I would need to either switch the script to work with mySQL or figure something else out...
       I took a lot of time building my site and I dont want to take the form out. I absolutely need it... I know many post on here saying "forms dont work, oh poop " or "adobe sucks I dont want to use business catalyst grrr" but I tried to find the source of the problem and I've successfully came to the conclusion that my issue is that my script wants to use SQLite but in order for my sites forms to work the server needs to have SQLite as well... My idea is that if I can configure the script and the site itself to use mySQL instead of SQLite the SQL verification will then not be an issue and my websites forms will function with no issues. I am curious if a member of the staff with adobe has experience with this particular issue and can help me out? or if a member of the adobe community has solved this problem? If not I am hoping that with the description I provided that someone with knowledge of mysql, sqlite or code in general could help me modify the script or write a new script that will allow the forms to work properly. I know its a long shot, I say that because this discussion is full of people who used muse in favor of dreamweaver because just like a large number of people in the muse discussion area, I'm a graphic designer, with plenty of computer experience, art and design skill and I am extremely familiar with photoshop. Muse is perfect in so many ways. In fact, like I mentioned above, I don't even have a complaint at this time about muse. I understand the form issue in this case, and I imagine in thousands of other users situations, is all just a matter of scripts and compatibility.. Its just a little issue between the SQLite scripts we are all given when we export our muse website and the SQL version our various hosting service may be using on their servers.
       Just incase I missed anything, to provide just a bit more info on the topic and myself for anyone who may be able to help:
    I can alter the text inside of the scripts easily if anyone happens to know any lines of code that easily solve this issue (making the muse contact forms, which are native to SQLite, functional on a server using mySQL)
    I was told one way I could make the forms work on a server using mySQL (or any version other than SQLite) If I were to make changes to adobe muses SQL version by converting the SQLite db to mySQL db (db = database)
    I am computer literate and I can take any directions necessary, I really just need to get this done, I really appreciate any help I can get!!
    Thank you in advance,
    Roy

    <?php
    If you see this text in your browser, PHP is not configured correctly on this hosting provider.
    Contact your hosting provider regarding PHP configuration for your site.
    PHP file generated by Adobe Muse CC 2014.1.6
    function formthrottle_check()
        if (!function_exists("sqlite_open"))
            return '1';
        $retCode ='5';
        if ($db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
            $res = @sqlite_query($db, "SELECT 1 FROM sqlite_master WHERE type='table' AND name='Submission_History';",  $sqliteerror);
            if ($res == null or @sqlite_num_rows($res) == 0 or @sqlite_fetch_single($res) != 1)
                $created = @sqlite_exec($db, "CREATE TABLE Submission_History (IP VARCHAR(39), Submission_Date TIMESTAMP)",  $sqliteerror);
                if($created)
                    @sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('256.256.256.256', DATETIME('now'))",  $sqliteerror);
                else
                    $retCode = '2';
            if($retCode == '5')
                $res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History;",  $sqliteerror);
                if ($res != null and @sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 0)
                    $retCode = '0';
                else
                    $retCode = '3';
            @sqlite_close($db);
        else
            $retCode = '4';
        return $retCode;
    function formthrottle_too_many_submissions($ip)
        $tooManySubmissions = false;
        if (function_exists("sqlite_open") and $db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
            $ip = @sqlite_escape_string($ip);
            @sqlite_exec($db, "DELETE FROM Submission_History WHERE Submission_Date < DATETIME('now','-2 hours')",  $sqliteerror);
            @sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('$ip', DATETIME('now'))",  $sqliteerror);
            $res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History WHERE IP = '$ip';",  $sqliteerror);
            if (@sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 25)
                $tooManySubmissions = true;
            @sqlite_close($db);
        return $tooManySubmissions;
    ?>

  • Read/Write problems with multiple connections using MySQL & Tomcat

    hello all,
    I am developing a web-based java application that runs on a 4.1 tomcat server and uses MySQL 3.23.52 as db server.
    this program uses hundreds of tables with hundreds of rows each.
    when two or more users are connected, we are experiencing several problems:
    1. when a query is started, they get cross-results that come from both connections.
    2. when inserting/updating (most queries are long and take a few seconds), sometimes data are crossed too, sometimes they are saved incorrectly but get no error message, sometimes they are not saved and get 'null pointer' sqlexception (but tables and queries are correct).
    3. using SHOW PROCESSLIST and SHOW STATUS, we saw that MySQL server hosted no more than 3 max_used_connections, even when my.cnf parameters where set with more. when 3 or more users try to access the database, they get a bad handshake error until other connections are freed.
    any suggestions?
    thanks
    alessandro bonanni
    university of udine

    I am not using a connection pool. I read that when two different connections try to access the same data simultaneously, mysql is not secure. maybe a connection pool could solve that? or maybe is it a mysql limit?
    alessandro

  • 30EA4 Problem using MySql: "Query execution was interrupted"

    Any query executes the first time but a second execution always causes the error "Query execution was interrupted"
    (Update: I just installed the prodcution release of sql delveloper 2.1.1.64.45 and have the same issue)
    I am using MySql driver 5.1.15
    Others seem to have a similar issue and I tries the older JDBC drivers but the 5.0.4 cause the connection to hang and the 5.0.8 caused the same problem "Query execution was interrupted"
    Vendor Code 1317 Query execution was interrupted MySQL
    I am using Windows7 64 bit (sql developer and jdk are 32 bit), see below
    MySql version
    -------------------------------------------------------+
    | Variable_name | Value |
    -------------------------------------------------------+
    | innodb_version | 1.1.4 |
    | protocol_version | 10 |
    | slave_type_conversions | |
    | version | 5.5.8 |
    | version_comment | MySQL Community Server (GPL) |
    | version_compile_machine | x86 |
    | version_compile_os | Win64 |
    -------------------------------------------------------+
    SQL Develper Info:
    About
    Oracle SQL Developer 3.0.03
    Version 3.0.03
    Build MAIN-03.97
    Copyright © 2005, 2011 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.59.36
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.2.03.97
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_24
    Oracle IDE     3.0.03.97
    Versioning Support     3.0.03.97
    Properties
    Name     Value
    ====     =====
    awt.toolkit     sun.awt.windows.WToolkit
    class.load.environment     oracle.ide.boot.IdeClassLoadEnvironment
    class.load.log.level     CONFIG
    class.transfer     delegate
    file.encoding     Cp1252
    file.encoding.pkg     sun.io
    file.separator     \
    http.agent     Mozilla/5.0 (Java 1.6.0_24; Windows 7 6.1 x86; en_IE) ICEbrowser/v6_1_3
    ice.browser.forcegc     false
    ice.pilots.html4.ignoreNonGenericFonts     true
    ice.pilots.html4.tileOptThreshold     0
    ide.AssertTracingDisabled     true
    ide.bootstrap.start     7381246437329
    ide.build     MAIN-03.97
    ide.conf     C:\Program Files (x86)\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.config_pathname     C:\Program Files (x86)\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.debugbuild     false
    ide.devbuild     false
    ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
    ide.firstrun     true
    ide.java.minversion     1.6.0_04
    ide.launcherProcessId     2204
    ide.main.class     oracle.ide.boot.IdeLauncher
    ide.patches.dir     ide/lib/patches
    ide.pref.dir     C:\Users\mark\AppData\Roaming\SQL Developer
    ide.pref.dir.base     C:\Users\mark\AppData\Roaming
    ide.product     oracle.sqldeveloper
    ide.shell.enableFileTypeAssociation     C:\Program Files (x86)\sqldeveloper\sqldeveloper.exe
    ide.splash.screen     splash.gif
    ide.startingArg0     C:\Program Files (x86)\sqldeveloper\sqldeveloper.exe
    ide.startingcwd     C:\Program Files (x86)\sqldeveloper
    ide.user.dir     C:\Users\mark\AppData\Roaming\SQL Developer
    ide.user.dir.var     IDE_USER_DIR
    ide.vcs.noapplications     true
    ide.work.dir     C:\Users\mark\Documents\SQL Developer
    ide.work.dir.base     C:\Users\mark\Documents
    ilog.propagatesPropertyEditors     false
    java.awt.graphicsenv     sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob     sun.awt.windows.WPrinterJob
    java.class.path     ..\..\ide\lib\ide-boot.jar
    java.class.version     50.0
    java.endorsed.dirs     C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\endorsed
    java.ext.dirs     C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
    java.home     C:\Program Files (x86)\Java\jdk1.6.0_24\jre
    java.io.tmpdir     C:\Users\mark\AppData\Local\Temp\
    java.library.path     C:\Program Files (x86)\sqldeveloper;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\TortoiseSVN\bin;C:\Program Files\SlikSvn\bin\;C:\Program Files (x86)\Java\jdk1.6.0_24\bin;C:\Program Files (x86)\OpenVPN\bin;C:\tools\apache-maven-3.0.2\bin;C:\tools\mysql-5.5.8-winx64\bin
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.protocol.handler.pkgs     oracle.jdevimpl.handler
    java.runtime.name     Java(TM) SE Runtime Environment
    java.runtime.version     1.6.0_24-b07
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.6
    java.util.logging.config.file     logging.conf
    java.vendor     Sun Microsystems Inc.
    java.vendor.url     http://java.sun.com/
    java.vendor.url.bug     http://java.sun.com/cgi-bin/bugreport.cgi
    java.version     1.6.0_24
    java.vm.info     mixed mode
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     19.1-b02
    jdbc.library     /C:/Program Files (x86)/sqldeveloper/jdbc/lib/ojdbc6.jar
    line.separator     \r\n
    log.file.name     ..//log/datamodeler.log
    oracle.home     C:\Program Files (x86)\sqldeveloper
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.jdbc.mapDateToTimestamp     false
    oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library     /C:/Program Files (x86)/sqldeveloper/jlib/orai18n.jar
    os.arch     x86
    os.name     Windows 7
    os.version     6.1
    path.separator     ;
    reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    sqldev.debug     false
    sun.arch.data.model     32
    sun.boot.class.path     C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\rt.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\modules\jdk.boot.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\classes
    sun.boot.library.path     C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin
    sun.cpu.endian     little
    sun.cpu.isalist     pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
    sun.desktop     windows
    sun.io.unicode.encoding     UnicodeLittle
    sun.java2d.ddoffscreen     false
    sun.jnu.encoding     Cp1252
    sun.management.compiler     HotSpot Client Compiler
    sun.os.patch.level     
    svnkit.sax.useDefault     true
    user.country     IE
    user.dir     C:\Program Files (x86)\sqldeveloper\sqldeveloper\bin
    user.home     C:\Users\mark
    user.language     en
    user.name     mark
    user.timezone     Europe/Paris
    user.variant     
    windows.shell.font.languages     
    Extensions
    Name     Identifier     Version     Status
    ====     ==========     =======     ======
    Check For Updates     oracle.ide.webupdate     11.1.1.4.37.59.36     Loaded
    Code Editor     oracle.ide.ceditor     11.1.1.4.37.59.36     Loaded
    Component Palette     oracle.ide.palette1     11.1.1.4.37.59.36     Loaded
    Data Miner     oracle.dmt.dataminer     11.2.0.1.9.96     Loaded
    Database Connection Support     oracle.jdeveloper.db.connection     11.1.1.4.37.59.36     Loaded
    Database Object Explorers     oracle.ide.db.explorer     11.1.1.4.37.59.36     Loaded
    Database UI     oracle.ide.db     11.1.1.4.37.59.36     Loaded
    Diagram Framework     oracle.diagram     11.1.1.4.37.59.36     Loaded
    Diagram Javadoc Extension     oracle.diagram.javadoc     11.1.1.4.37.59.36     Loaded
    Diagram Thumbnail     oracle.diagram.thumbnail     11.1.1.4.37.59.36     Loaded
    Diff/Merge     oracle.ide.diffmerge     11.1.1.4.37.59.36     Loaded
    Extended IDE Platform     oracle.javacore     11.1.1.4.37.59.36     Loaded
    External Tools     oracle.ide.externaltools     11.1.1.4.37.59.36     Loaded
    File Support     oracle.ide.files     11.1.1.4.37.59.36     Loaded
    Help System     oracle.ide.help     11.1.1.4.37.59.36     Loaded
    History Support     oracle.jdeveloper.history     11.1.1.4.37.59.36     Loaded
    Import/Export Support     oracle.ide.importexport     11.1.1.4.37.59.36     Loaded
    Index Migrator support     oracle.ideimpl.indexing-migrator     11.1.1.4.37.59.36     Loaded
    JDeveloper Runner     oracle.jdeveloper.runner     11.1.1.4.37.59.36     Loaded
    JViews Registration Addin     oracle.diagram.registration     11.1.1.4.37.59.36     Loaded
    Log Window     oracle.ide.log     11.1.1.4.37.59.36     Loaded
    Mac OS X Adapter     oracle.ideimpl.apple     11.1.1.4.37.59.36     Loaded
    Navigator     oracle.ide.navigator     11.1.1.4.37.59.36     Loaded
    Object Gallery     oracle.ide.gallery     11.1.1.4.37.59.36     Loaded
    Oracle IDE     oracle.ide     11.1.1.4.37.59.36     Loaded
    Oracle SQL Developer     oracle.sqldeveloper     11.1.2.03.97     Loaded
    Oracle SQL Developer - 3rd Party Database Browsers     oracle.sqldeveloper.thirdparty.browsers     11.1.1.03.97     Loaded
    Oracle SQL Developer - DBA Navigator     oracle.sqldeveloper.dbanavigator     11.1.1.03.97     Loaded
    Oracle SQL Developer - Extras     oracle.sqldeveloper.extras     1.1.1.03.97     Loaded
    Oracle SQL Developer - File Navigator     oracle.sqldeveloper.filenavigator     11.1.1.03.97     Loaded
    Oracle SQL Developer - Migrations Antlr3 Translator     oracle.sqldeveloper.migration.translation.core_antlr3     11.1.1.03.97     Loaded
    Oracle SQL Developer - Migrations Application Migration     oracle.sqldeveloper.migration.application     11.1.1.03.97     Loaded
    Oracle SQL Developer - Migrations Core     oracle.sqldeveloper.migration     11.1.1.03.97     Loaded
    Oracle SQL Developer - Migrations DB2     oracle.sqldeveloper.migration.db2     11.1.1.03.97     Loaded
    Oracle SQL Developer - Migrations DB2 Translator     oracle.sqldeveloper.migration.translation.db2     11.1.1.03.97     Loaded
    Oracle SQL Developer - Migrations Microsoft Access     oracle.sqldeveloper.migration.msaccess     11.1.1.03.97     Loaded
    Oracle SQL Developer - Migrations Microsoft SQL Server     oracle.sqldeveloper.migration.sqlserver     11.1.1.03.97     Loaded
    Oracle SQL Developer - Migrations MySQL     oracle.sqldeveloper.migration.mysql     11.1.1.03.97     Loaded
    Oracle SQL Developer - Migrations Sybase Adaptive Server     oracle.sqldeveloper.migration.sybase     11.1.1.03.97     Loaded
    Oracle SQL Developer - Migrations T-SQL Translator     oracle.sqldeveloper.migration.translation.core     11.1.1.03.97     Loaded
    Oracle SQL Developer - Migrations Teradata     oracle.sqldeveloper.migration.teradata     11.1.1.03.97     Loaded
    Oracle SQL Developer - Migrations Translation UI     oracle.sqldeveloper.migration.translation.gui     11.1.1.03.97     Loaded
    Oracle SQL Developer - Object Viewer     oracle.sqldeveloper.oviewer     11.1.1.03.97     Loaded
    Oracle SQL Developer - Real Time SQL Monitoring     oracle.sqldeveloper.sqlmonitor     11.1.1.03.97     Loaded
    Oracle SQL Developer - Reports     oracle.sqldeveloper.report     11.1.1.03.97     Loaded
    Oracle SQL Developer - Scheduler     oracle.sqldeveloper.scheduler     11.1.1.03.97     Loaded
    Oracle SQL Developer - Schema Browser     oracle.sqldeveloper.schemabrowser     11.1.1.03.97     Loaded
    Oracle SQL Developer - SearchBar     oracle.sqldeveloper.searchbar     11.1.1.03.97     Loaded
    Oracle SQL Developer - Snippet     oracle.sqldeveloper.snippet     11.1.1.03.97     Loaded
    Oracle SQL Developer - Spatial     oracle.sqldeveloper.spatial     11.1.1.03.97     Loaded
    Oracle SQL Developer - TimesTen     oracle.sqldeveloper.timesten     2.0.0.03.97     Loaded
    Oracle SQL Developer - Tuning     oracle.sqldeveloper.tuning     11.1.1.03.97     Loaded
    Oracle SQL Developer - Unit Test     oracle.sqldeveloper.unit_test     11.1.1.03.97     Loaded
    Oracle SQL Developer - User Extensions Support     oracle.sqldeveloper.userextensions     11.1.1.03.97     Loaded
    Oracle SQL Developer - Worksheet v2     oracle.sqldeveloper.worksheet     11.1.1.03.97     Loaded
    Oracle SQL Developer - XML Schema     oracle.sqldeveloper.xmlschema     11.1.1.03.97     Loaded
    Oracle SQL Developer Data Modeler     oracle.datamodeler     3.0.0.665     Loaded
    Oracle SQL Developer Data Modeler - Reports     oracle.sqldeveloper.datamodeler_reports     11.1.1.03.97     Loaded
    PROBE Debugger     oracle.jdeveloper.db.debug.probe     11.1.1.4.37.59.36     Loaded
    Peek     oracle.ide.peek     11.1.1.4.37.59.36     Loaded
    Persistent Storage     oracle.ide.persistence     11.1.1.4.37.59.36     Loaded
    Property Inspector     oracle.ide.inspector     11.1.1.4.37.59.36     Loaded
    QuickDiff     oracle.ide.quickdiff     11.1.1.4.37.59.36     Loaded
    Replace With     oracle.ide.replace     11.1.1.4.37.59.36     Loaded
    Runner     oracle.ide.runner     11.1.1.4.37.59.36     Loaded
    VHV     oracle.ide.vhv     11.1.1.4.37.59.36     Loaded
    Versioning Support     oracle.jdeveloper.vcs     11.1.1.4.37.59.36     Loaded
    Versioning Support for Subversion     oracle.jdeveloper.subversion     11.1.1.4.37.59.36     Loaded
    Virtual File System     oracle.ide.vfs     11.1.1.4.37.59.36     Loaded
    Web Browser and Proxy     oracle.ide.webbrowser     11.1.1.4.37.59.36     Loaded
    XML Editing Framework IDE Extension     oracle.ide.xmlef     11.1.1.4.37.59.36     Loaded
    audit     oracle.ide.audit     11.1.1.4.37.59.36     Loaded
    classpath: protocol handler extension     oracle.jdeveloper.classpath     11.1.1.0.0     Loaded
    jdukshare     oracle.bm.jdukshare     11.1.1.4.37.59.36     Loaded
    mof-xmi     oracle.mof.xmi     11.1.1.4.37.59.36     Loaded
    oracle.ide.dependency     oracle.ide.dependency     11.1.1.4.37.59.36     Loaded
    oracle.ide.indexing     oracle.ide.indexing     11.1.1.4.37.59.36     Loaded
    palette2     oracle.ide.palette2     11.1.1.4.37.59.36     Loaded
    status     oracle.ide.status     11.1.1.4.37.59.36     Loaded
    Edited by: user501466 on 19-Mar-2011 03:21

    Hi Dermot,
    Some clarification.
    I have tried these 3 drivers below with the following results:
    5.0.4 First Query succeeds, Second gives error "Unknown prepared statement handler (131072) given to mysqld_stmt_execute". At this point I can exit SQL Developer. If I run it a third time then the query does not complete and any attempt to exit SQL Developer results in "Connection is currently busy, try again?" and ultimately I have to kill it.
    5.0.8 First Query succeeds, Second Query fails with Query execution was interrupted. Subsequent queries give the same result.
    5.1.15 Same as 5.0.8
    I tried your suggestion, removed the driver, restarted, installed the 5.0.4 driver and restated and ran the test,
    (I added a drop table so I could run it repeatedly) and it works repeatedly if I choose "Run as script F5".
    DROP TABLE table1;
    CREATE TABLE table1(col1 int);
    INSERT INTO Table1 values(1);
    SELECT * FROM table1;
    SELECT * FROM table1;
    But If I execute the query "select * from table1" using "Run Statement Ctrl-Enter" twice then I get problem behaviour as described above.
    I looked in the logfile for SQLDeveloper but it was empty.
    I also tried creating a new database as root and connecting as root (same result)
    I also tried the NightlyBuild of 5.1 and 6.0 but gave the same result as 5.1.5.
    I have two other tools for accessing MySql: Toad and MySql workbench, both of which work but I've used SQL Developer with Oracle for some years and would like to keep using it.
    I just tried connecting to a remote MySQL database and that seems to work without problems.
    I'm thinking it may be related to some incompatibility between SQLDeveloper and the MySQL installed locally.
    I'll try another version....
    Ok I installed a 32 bit version of MySql 5.5.10. I thought things were working but now I still get the problem but it is much more intermittent.
    Now I can get it by modifying the query ie.
    select * from table1; (works repeatedly untill followed by a change to the query)
    select * from table1 order by col1; (fails)
    Another case
    select * from table1 order by col1; (works repeatedly)
    select * from table1 order by col1 asc; (fails first time)
    very weird...
    Edited by: user501466 on 26-Mar-2011 06:19

  • Connection verification failed for data source using mySQL

    Hi,
    I having problem with mySQL datasource and getting the above error. This is only happening in our staging server. We are using ColdFusion 8 running JRUN4 and trying to connect to mySQL v 5.1.41. I tried adding DSN from my localhost using ColdFusion 9 developer edition and I am able to connect without error.I know that mysql server, username & password is valid. I can access the mysql also using mySQL gui tool from different pc and it works fine. I'm believe that this has something to do with mySQL driver? Can somebody shed some light on how can I fix my DSN connection problem? Thank you.
    here's the error:
    Connection verification failed for data source: forum
    com.mysql.jdbc.CommunicationsException: Communications link failure  due to underlying exception:   ** BEGIN NESTED EXCEPTION **   java.net.ConnectException MESSAGE: Connection timed out: connect  STACKTRACE:  java.net.ConnectException: Connection timed out: connect      at java.net.PlainSocketImpl.socketConnect(Native Method)      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)      at java.net.Socket.connect(Socket.java:519)      at java.net.Socket.connect(Socket.java:469)      at java.net.Socket.(Socket.java:366)      at java.net.Socket.(Socket.java:208)      at  com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:173)       at com.mysql.jdbc.MysqlIO.(MysqlIO.java:267)      at com.mysql.jdbc.Connection.createNewIO(Connection.java:2739)      at com.mysql.jdbc.Connection.(Connection.java:1553)      at  com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)       at  coldfusion.server.j2ee.sql.pool.JDBCPool.createPhysicalConnection(JDBCPool.java:589)       at  coldfusion.server.j2ee.sql.pool.ConnectionRunner$RunnableConnection.run(ConnectionRunner. java:67)       at java.lang.Thread.run(Thread.java:619)   ** END NESTED EXCEPTION **    Last packet sent to the server was 0 ms ago.

    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6ef0253
    HTH
    Tim Carley
    www.recfusion.com
    [email protected]

  • How to use mysql in J2EE server?

    Hi all,
    I have been learning J2EE and playing around with Pointbase as my database and the IDE that I'm using is Forte For JAVA 4 EE.
    Now, I wanna use mysql in J2EE, EJB. But I do not know how to use mysql in j2ee server. I have try to altered the resources.property file by adding a few lines to called the MYSQL datasource and driver. But, it give me errors when i am doing the deployment process. Can any1 of u help me?
    Thanks in advance..

    Hi,
    I guess there must be some problem with your App Server Configuration settings:
    Kindly Check if you are using the following ones:
    Driver Name: com.mysql.jdbc.Driver
    Url: jdbc:mysql://[hostname][,failoverhost...][:port]/[dbname][?param1=value1][&param2=value2].....
    Thanks & regards,
    Paritosh
    Software Engineer
    L&T Infotech Ltd

  • "catastrophic failure" in Teststand database viewer using mySQL

    Hello all,
    I am using Teststand 3.1 and mySQL version 5.0.3 I have everything set up and teststand seems to be logging results to the database. The reason I say this is because I can see the data using a mySQL query browser. The problem is when I try to use the Teststand database viewer I get a "Catastrophic Failure". I right click on a field from the database and say view data and I get the failure. Any ideas on what this problem is and/or how to fix it?
    Thanks in advance.
    EHat

    EHat -
    I just debugged this problem last week using MYSQL source for their ODBC driver. This appears to be a bug in their ODBC driver.
    Basically the MS DataGrid control is trying to access catalog info from a handle that has not yet been connected to the database. Internally in MYSQL a function table is null and a dereference occurs which causes an access violation. Even though the MS control should be better behaved, the MYSQL driver should be returning an error if the table is null, not crashing.
    For the next version of TestStand we will workaround this problem. I have an updated DatabaseViewer that you can try attached to this posting.
    Scott Richardson
    National Instruments
    Attachments:
    DatabaseViewer.zip ‏138 KB

  • Having J2EE use mySQL

    Hi
    I'm using a standalone RedHat 9 system with J2EE 1.3.1 and mySQL 3.23.54.
    All are working individually.
    My current application creates new tables every time it starts, so I thought it would be dead simple to just ask J2EE to use mySQL. There are currently only two entity beans, and there's the place in the deploytool to enter the database JNDI name, username and password.
    I can't find any information on how to do it though. What do I enter where? Sun's site doesn't seem to tell me about mySQL and J2EE, while mySQL has not one mention of J2EE in its documentation, nor in Kofler (my mySQL book).
    I looked back through this forum too, and there's a link to a blog that doesn't seem relevant either.
    Clues anyone? Much appreciated. If I see you, I'll buy you a pint. Warm, obviously (I'm in the UK). You'll like it, honest :-)
    J

    Hi! I think I may help you. I had the same problem. But I�m Brazilian, I�m learning the English language yet. I�ll try to explain you.
    I am using J2EE version 1.3 with MySQL version 4.1.7 on Windows. You�ll have to configure the two following files:
    - <J2EE_HOME>\bin\setenv.bat
    - <J2EE_HOME>\config\resource.properties
    1) Copy the Jar file of MySQL driver to <J2EE_HOME>\lib directory.
    2) Open the setenv.bat and edit it. Add a reference to that Jar file.
    3) Run the <J2EE_HOME>\bin\j2eeadmin.bat. There are two command lines to be executed, as below:
    j2eeadmin.bat -addJdbcDriver <CLASS NAME OF THE DRIVER>
    j2eeadmin.bat -addJdbcDatasource <JNDI-NAME> <URL>
    For example:
    j2eeadmin.bat -addJdbcDriver "com.mysql.jdbc.Driver"
    j2eeadmin.bat -addJdbcDatasource "jdbc/mysql-connection/test" "jdbc:mysql://localhost/test?user=username&password=password"
    4) Now, the <J2EE_HOME>\config\resource.properties must be modified, with the reference for the MySQL database. Open this file and you will see. But perhaps you will have to configure it editing this file. That�s because I noticed that the character "\" was added erroneously in a lot of places of the code of this file. It seems to be a bug. So I simply removed this character, replacing it.
    5) Run the verbose, none error must appear, and the MySQL can be used with J2EE now! That�s all. Good luck!

  • Can't use MySQL connectionpool?

    I write two javabean in the package "lyo.bbs.xml...".I works well if I don't use MySQL ConnectionPool.But the jsp compiler report error if I use MySQL ConnectionPool in javabean.
    One of my javabean is:"
    ResultSet rs = null;
         Statement stm = null;
         Connection conn = null;
         String sql = "select * from problem";
         //String url = "jdbc:mysql://localhost:3306/test";
         public ReadData(){
              try{
              Context ctx=new InitialContext(); <------If I use it jsp report error :(
              DataSource ds=(DataSource)ctx.lookup("java:comp/env/jdbc/mysql");
              conn=ds.getConnection();
              stm=conn.createStatement();
              rs=stm.executeQuery(sql);
         }catch(Exception e){
              System.out.println(e.toString());
         public List readD(){
              List booklist=new ArrayList();
              Readxml readbean=null;
              try{
              while(rs.next()){
                   readbean=new Readxml();
                   readbean.setId(rs.getInt("id"));
                   readbean.setName(rs.getString("name"));
                   readbean.setTitle(rs.getString("title"));
                   readbean.setContent(rs.getString("content"));
                   readbean.setTime(rs.getString("time"));
                   booklist.add(readbean);
    ////////////////////////////second javabean//////////////
    public void setId(int id){
    this.id=id;
    public int getId(){
    return this.id;
    .............. .........getter and setter method............. ...........
         public Element getXml(Document doc){
              Element root=doc.createElement("guestbook");
              NumberFormat idformat=NumberFormat.getCurrencyInstance(Locale.US);
              Element temp=doc.createElement("id");
              temp.appendChild(doc.createTextNode(idformat.format(this.getId())));
              root.appendChild(temp);
              temp=doc.createElement("name");
              temp.appendChild(doc.createTextNode(this.getName()));
              root.appendChild(temp);
              temp=doc.createElement("Title");
              temp.appendChild(doc.createTextNode(this.getTitle()));
              root.appendChild(temp);
              temp=doc.createElement("content");
              temp.appendChild(doc.createTextNode(this.getContent()));
              root.appendChild(temp);
              temp=doc.createElement("time");
              temp.appendChild(doc.createTextNode(this.getTime()));
              root.appendChild(temp);
              return root;
    //////////////////////////////End code////////////////////
    My jsp file is:
    <%@page contentType="text/html;charset=gb2312" import="lyo.bbs.xml.*,java.util.*"%>
    <html>
    <body>
    <%
    Readxml readbean;
    ReadData data=new ReadData();
    List list=data.readD();
    Iterator iter=list.iterator();
    %>
    <table border="1" bgcolor="#cceeee">
    <tr>
    <td>Topic</td><td>Name</td><td>Post time</td>
    </tr>
    <%
    while(iter.hasNext()){
         readbean=(Readxml)iter.next();
    %>
    <tr>
    <td><a href="showtitle.jsp?id=<%=readbean.getId()%>"><%=readbean.getTitle()%></a></td>
    <td><%=readbean.getName()%></td>
    <td><%=readbean.getTime()%></td>
    //////////////////error is://////////////////
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 6 in the jsp file: /showtopic.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\tomcat\work\Standalone\localhost\bbs\showtopic_jsp.java:7: package lyo.bbs.xml does not exist
    import lyo.bbs.xml.*;
    ^
    C:\tomcat\work\Standalone\localhost\bbs\showtopic_jsp.java:51: cannot resolve symbol
    symbol : class Readxml
    location: class org.apache.jsp.showtopic_jsp
    Readxml readbean;
    ^
    An error occurred at line: 6 in the jsp file: /showtopic.jsp
    Generated servlet error:
    C:\tomcat\work\Standalone\localhost\bbs\showtopic_jsp.java:52: cannot resolve symbol
    symbol : class ReadData
    location: class org.apache.jsp.showtopic_jsp
    ReadData data=new ReadData();
    ^
    An error occurred at line: 6 in the jsp file: /showtopic.jsp
    Generated servlet error:
    C:\tomcat\work\Standalone\localhost\bbs\showtopic_jsp.java:52: cannot resolve symbol
    symbol : class ReadData
    location: class org.apache.jsp.showtopic_jsp
    ReadData data=new ReadData();
    ^
    An error occurred at line: 16 in the jsp file: /showtopic.jsp
    Generated servlet error:
    C:\tomcat\work\Standalone\localhost\bbs\showtopic_jsp.java:68: cannot resolve symbol
    symbol : class Readxml
    location: class org.apache.jsp.showtopic_jsp
         readbean=(Readxml)iter.next();
    ^
    //////////////////////////////End error////////////////////////
    But I have the package lyo.bbs.xml.. really.If I don't use MySQL Pool (java:comp/env/jdbc/mysql)it can work property.
    I add the content in the server.xml and I registe in mysql console.
    /////////////////////////////server.xml///////////////////////////////////
    <Context className="org.apache.catalina.core.StandardContext" cachingAllowed="true" charsetMapperClass="org.apache.catalina.util.CharsetMapper" cookies="true" crossContext="false" debug="0" displayName="Welcome to Tomcat" docBase="C:\tomcat\webapps\ROOT\bbs" mapperClass="org.apache.catalina.core.StandardContextMapper" path="/bbs" privileged="false" reloadable="false" swallowOutput="false" useNaming="true" wrapperClass="org.apache.catalina.core.StandardWrapper">
                             <Resource auth="Container" description="mysql BBS XML Testing " name="jdbc/mysql" scope="Shareable" type="javax.sql.DataSource"/>
                             <ResourceParams name="jdbc/mysql">
                                  <parameter>
                                       <name>factory</name>
                                       <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
                                  </parameter>
                                  <parameter>
                                       <name>url</name>
                                       <value>jdbc:mysql://localhost:3306/test</value>
                                  </parameter>
                                  <parameter>
                                       <name>password</name>
                                       <value>qijiashe</value>
                                  </parameter>
                                  <parameter>
                                       <name>maxActive</name>
                                       <value>4</value>
                                  </parameter>
                                  <parameter>
                                       <name>maxWait</name>
                                       <value>5000</value>
                                  </parameter>
                                  <parameter>
                                       <name>driverClassName</name>
                                       <value>org.gjt.mm.mysql.Driver</value>
                                  </parameter>
                                  <parameter>
                                       <name>username</name>
                                       <value>lyo</value>
                                  </parameter>
                                  <parameter>
                                       <name>maxIdle</name>
                                       <value>2</value>
                                  </parameter>
                             </ResourceParams>
                             <ResourceLink global="jdbc/mysql" name="jdbc/mysql" type="javax.sql.DataSource"/>
                        </Context>
    Anyone can help me?

    I use Weblogic6.1's ConnectionPool and it works well.It MySQL' problem?Why?

  • Import SQL Table's Metadata Error for MySQL

    I am following this blog by William Li.
    SAP PI 7.1 Mapping Enhancements Series: Import SQL Table's Metadata - SAP PI 7.1 Mapping Enhancements Series: Import SQL Table's Metadata
    I am using MySQL database instead.
    Connection to the database is fine because we get to choose the tables in the schema.
    When I am importing the Table Definition in Enterprise Service Builder,
    I am getting this error
    Serialized cause: com.sap.aii.mapping.lookup.LookupException: Exception during processing the payload. Error when calling an adapter by using the communication channel CC_JDBCLookUp (Party: , Service: PT1_BC, Object ID: b088d4ef332833a89ee816faa88b5089) XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error processing request in sax parser: Error when executing statement for table/stored proc. 'metadataRequest' (structure 'statement'): com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"lookuptable" WHERE 1 < 0' at line 1'.
    Any ideas for this error?

    HI,
         I have a problem trying to connect a MySQL Database, I'm using the mysql-connector-java-5.0.6-bin.jar library that I download from the MySQL Site.
         These are may connection parameters:
             JDBC Driver:  com.mysql.jdbc.Driver
             Connection:     jdbc:mysql://172.16.125.11:3306/gcctea
         If you have any idea...
    Regards,
    Luis E. Diego

Maybe you are looking for