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

Similar Messages

  • 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

  • JDBC/MySQL syntax error on MySQL server login

    I am making a simple JSP page and I'm trying to test basic functionality/connectivity with a MySQL database. Included is my index.jsp code and the errors given by Tomcat. Any insights would be very helpful, thanks.
    org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 13 <%@ page import="java.sql.*"%> <% Connection con = null; Statement stmt = null; ResultSet rs = null; %> <html> <body> <% Class.forName("com.mysql.jdbc.Driver").newInstance(); con = DriverManager.getConnection("jdbc:mysql://localhost:3306/database", "correctUserName", "correctPassword");    //<-line 13 stmt = con.createStatement(); rs = stmt.executeQuery("SELECT * FROM table"); while(rs.next()){ out.println(rs.getString("name")+"<br>"); } rs.close(); %> </body </html> Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause javax.servlet.ServletException: 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 '????????????????' at line 1 org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791) org.apache.jsp.index_jsp._jspService(index_jsp.java:86) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    chrislard wrote:
    That is a good idea for actual implementation, but this is just a test. There isn't any reason that this should not work because it hasn't been broken up into multiple files etc.Evidence would indicate that it is not in fact working though. And the error indicates a syntax error. Because it is JSP there is no assured way to localize the problem, not to mention that since it is running is a container there is no assurance that the posted code is even what is running.
    My suggestion on the other hand completely eliminates all of those possibilities.
    But if it helps you the posted SQL does not have any syntax errors. So if you can solve the problem that you have knowing just that then go for it. Myself I would at least create a test jig.

  • 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?

  • How to solve this error using OSX Server's bots

    Plz help me.
    My remote repository is SVN version controll system.
    when I started integration using bot in OSX Server. this error was pisplayed on a log.
    how to solve this error to integrate my project using OSX Server.
    Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildBundle.m:466 77537310 +61ms] Will NOT send email notifications because notifyCommitterOnFailure is NO Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildBundle.m:470 77537310 +0ms] Posting email notification for bot run with type com.apple.notifications.BotFailed Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildBundle.m:471 77537310 +0ms] Sending email to committers = (null) Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildBundle.m:1033 77537310 +0ms] Posting notification of type com.apple.notifications.BotFailed Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildHelper.m:199 77537310 +0ms] Posting notification for bot run GUID f87f0098-f8ca-4bfa-945e-cbb11a2f6abb of type com.apple.notifications.BotFailed Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Info>: [CSRemoteServiceClient.m:151 77537310 +0ms] Connecting to https://localhost:4443/svc to execute [https]Request{AuthService.enterMagicalAuthRealm()} Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Info>: [CSRemoteServiceClient.m:151 77537310 +45ms] Connecting to https://localhost:4443/svc to execute [https]Request{XCBotService.postNotificationForBotGUID:andRunGUID:andNotificati onType:additionalEmails:(c6189ca0-0649-0649-c01e-81c4d0b52dd9,f87f0098-f8ca-4bfa -945e-cbb11a2f6abb,com.apple.notifications.BotFailed,( ))} Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildBundle.m:601 77537310 +84ms] Deleting work queue item: cf7fe6b8-4df8-b723-4794-50fbf27955ed Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Info>: [CSRemoteServiceClient.m:151 77537310 +0ms] Connecting to https://localhost:4443/svc to execute [https]Request{XCWorkQueueService.deleteWorkQueueItemWithGUID:(cf7fe6b8-4df8-b7 23-4794-50fbf27955ed)} Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildBundle.m:929 77537310 +13ms] Marking build bundle complete with status failed and sub-status internal-checkout-error Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Info>: [CSRemoteServiceClient.m:151 77537310 +0ms] Connecting to https://localhost:4443/svc to execute [https]Request{AuthService.enterMagicalAuthRealm()} Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildHelper.m:97 77537310 +55ms] Updating bot run with GUID f87f0098-f8ca-4bfa-945e-cbb11a2f6abb Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildHelper.m:102 77537310 +0ms] Updating bot run (f87f0098-f8ca-4bfa-945e-cbb11a2f6abb): { guid = "f87f0098-f8ca-4bfa-945e-cbb11a2f6abb"; status = failed; subStatus = "internal-checkout-error"; } Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Info>: [CSRemoteServiceClient.m:151 77537310 +0ms] Connecting to https://localhost:4443/svc to execute [https]Request{XCBotService.updateBotRun:({ guid = "f87f0098-f8ca-4bfa-945e-cbb11a2f6abb"; status = failed; subStatus = "internal-checkout-error"; })} Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildHelper.m:108 77537310 +121ms] Updating bot with GUID c6189ca0-0649-0649-c01e-81c4d0b52dd9 Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildHelper.m:117 77537310 +0ms] Updating bot with latest bot run GUID key Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildHelper.m:124 77537310 +0ms] Updating bot (c6189ca0-0649-0649-c01e-81c4d0b52dd9): { guid = "c6189ca0-0649-0649-c01e-81c4d0b52dd9"; latestFailedBotRunGUID = "f87f0098-f8ca-4bfa-945e-cbb11a2f6abb"; latestRunStatus = failed; latestRunSubStatus = "internal-checkout-error"; } Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Info>: [CSRemoteServiceClient.m:151 77537310 +0ms] Connecting to https://localhost:4443/svc to execute [https]Request{XCBotService.updateBot:({ guid = "c6189ca0-0649-0649-c01e-81c4d0b52dd9"; latestFailedBotRunGUID = "f87f0098-f8ca-4bfa-945e-cbb11a2f6abb"; latestRunStatus = failed; latestRunSubStatus = "internal-checkout-error"; })}

    Hello,
    You need to make sure both names match exactly

  • Error using RMAN thru Database Control

    Hello guys..
    I installed Oracle 10gR2 on solaris 10, and created a sample DB called HEAT. This database is configured to run in Archivelog mode and also created Flash_recovery_area.
    Iam trying to take a simple backup thru RMAN using OEM ( Database Control). there is only 1 database on that server and i plan to use controlfile instead of recovery catalog.
    Now here are the steps when i execute, i get an ERROR.
    1. connected as 'sys' from Database Control.
    2. Went to Maintenence Tab, click in Backup settings.
    3. click on Device Tab, enter OS credentials and click on "Test disk backup"..
    4. I get an error that says "Disk Backup Test Failed!"
    When click on View Error Details :
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Feb 2 12:53:29 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN>
    connected to target database (not started)
    RMAN>
    echo set on
    RMAN> run {
    2> allocate channel oem_disk_backup device type disk;
    3> backup as BACKUPSET current controlfile tag '02022007125328';
    4> restore controlfile validate from tag '02022007125328';
    5> release channel oem_disk_backup;
    6> }
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of allocate command at 02/02/2007 12:53:30
    RMAN-06403: could not obtain a fully authorized session
    ORA-01034: ORACLE not available
    RMAN> allocate channel for maintenance type disk;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of allocate command at 02/02/2007 12:53:30
    RMAN-06403: could not obtain a fully authorized session
    ORA-01034: ORACLE not available
    RMAN> delete noprompt backuppiece tag '02022007125328';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 02/02/2007 12:53:30
    RMAN-12010: automatic channel allocation initialization failed
    RMAN-06403: could not obtain a fully authorized session
    ORA-01034: ORACLE not available
    RMAN> exit;
    Recovery Manager complete.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    I only have 1 database , and it is configured to backup using Control file and not Recovery catalog ( which is the default)...
    What additional steps do i have to do, to take a simple backup using database control ? I am not sure why it says Database not available...while DB is indeed available and open.
    any help is appreciated..
    thanks

    I, too, am receiving these same errors when I do my backups. The sysadmin took the systems down over the weekend and the backup has failed ever since. Database is up, ORACLE_SID looks fine, what could be wrong? This nightly backup worked before system went down. I can connect as sysdba using the ORACLE_SID as set.
    Thanks,
    Candy

  • 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 using Window Server Backup on 2012R2 Hyper-V to network share

    Hi
    I have a Windows 2012 R2 Hyper-V server. It runs a Windows 2012 R2 VM (called
    server-1).
    I want to backup the VM to a network location (\\network-1\server-1_backup$). To do this, I installed Windows Server Backup from the command line and configured a backup to look like this:
    C:\Users\admin>wbadmin enable backup
    wbadmin 1.0 - Backup command-line tool
    (C) Copyright 2013 Microsoft Corporation. All rights reserved.
    The scheduled backup settings:
    Bare metal recovery : Not Included
    System state backup: Not Included
    Volumes in backup: (null)
    Components in backup: HyperV\server-1
    Files excluded: (null)
    Advanced settings: VSS Backup Option (FULL)
    Location to store backup: \\network-1\server-1_backup$\
    Times of day to run backup: 04:00
    But when I run this backup manually, I get the following error:
    C:\Users\admin>wbadmin start backup
    wbadmin 1.0 - Backup command-line tool
    (C) Copyright 2013 Microsoft Corporation. All rights reserved.
    Do you want to create a backup using the same configuration that you use for
    scheduled backups?
    [Y] Yes [N] No y
    The backup operation to Scheduled backup target is starting.
    Creating a shadow copy of the volumes specified for backup...
    Summary of the backup operation:
    The backup operation stopped before completing.
    The backup operation stopped before completing.
    Detailed error: A component critical volume failed to snapshot.
    Log of files successfully backed up:
    C:\Windows\Logs\WindowsServerBackup\Backup-23-02-2015_08-49-55.log
    Log of files for which backup failed:
    C:\Windows\Logs\WindowsServerBackup\Backup_Error-23-02-2015_08-49-55.log
    ERROR - The shared restore point operation failed with error (0x8100010c)
    No valid component or volume to snapshot.
    A component critical volume failed to snapshot.
    The log file then looks like this:
    Writer Failures
    Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
    Instance Id: {3976D373-854E-4527-B85D-7B61924C8597}
    Writer Name: Microsoft Hyper-V VSS Writer
    Writer State: 0
    Failure Result: 81000112
    Application Result: 0
    Application Message: (null)
       Component: 1DAF1C56-0635-4043-A933-E97A62EBC139
       Logical Path:
       Component Result: 8100010D
       Component Message: Component reports path on network share which cannot be snapshotted. (0x8100010D)
       Component: 30144C93-56A2-4259-B276-86D59AC767E9
    Application backup
    Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
       Component: 1DAF1C56-0635-4043-A933-E97A62EBC139
       Caption     : Offline\server-1
       Logical Path:
       Error           : 8078001D
       Error Message   : The operation ended before completion.
    The odd thing is that if I set this up from a Windows 2012 Server using the GUI to exactly the same network destination, the backup works no problem. It just doesn't work when using Server 2012 R2 Hyper-V configured through a command line.
    Any help appreciated,
    Andrew

    Hi Andrew,
    I tested this in my lab server 2012R2  , but there's no error .
    I would suggest you to create a new share folder on other server then check if the issue persists .
    Writer Name: Microsoft Hyper-V VSS Writer
    Writer State: 0
    Failure Result: 81000112
    Application Result: 0
    Application Message: (null)
       Component: 1DAF1C56-0635-4043-A933-E97A62EBC139
       Logical Path:
       Component Result: 8100010D
       Component Message: Component reports path on network share which cannot be snapshotted. (0x8100010D)"
    According to this error , please check if the VM's resource (such as VHD file) was restored on network share .
    I also searched the error "ERROR - The shared restore point operation failed with error (0x8100010c)" , but I can not find it within following article :
    http://blogs.technet.com/b/filecab/archive/2009/09/16/diagnosing-failures-in-windows-server-backup-part-1-vss-spp-errors.aspx
    Any further information please feel free to let us know .
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • ERROR using SQL Server 2000, FOR UPDATE clause problem

    Hi All,
    Because our main target for RDBMS mostly SqlServer2000, I try to use ADF BC with one. I successfully run the BC with Tester, scrolling up and down, BUT when i try to make changes and do commit, I receive ERROR, I have tried both JDBC Driver from Microsoft and jTDS, both FAILS.
    I have set the 'Default Locking Mode ..' to 'optimistic'
    (default is 'pessimistic'), it doesn't help.
    Here is the error :
    With Microsoft JDBC Driver :
    (oracle.jbo.DMLException) JBO-26080: Error while selecting entity for Departments
    ----- LEVEL 1: DETAIL 0 -----
    (java.sql.SQLException) [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer] FOR UPDATE cannot be specified on a READ ONLY cursor.
    With jTDS JDBC Driver :
    (oracle.jbo.DMLException) JBO-26080: Error while selecting entity for Departments
    ----- LEVEL 1: DETAIL 0 -----
    (java.sql.SQLException) Line 1: FOR UPDATE clause allowed only for DECLARE CURSOR.
    Pls any body help...
    Thank you,
    Krist

    Krist,
    we added a new SQL Flavor 'SQLServer' in JDeveloper 10.1.2
    This was implemented to handle special SQL syntax of SQLServer, different from SQL92 (among others the FOR UPDATE problem you're facing).
    For new projects, you can select this flavor during their creation. For projects that were defined with Flavor SQL92, you can switch to SQLServer at runtime by setting the parameter jbo.SQLBuilder=SQLServer (in your Application Module configuration or as a java option -Djbo.SQLBuilder=...)
    Regards,
    Didier.

  • Establishing connection to MySQL server/database

    Hi! I've got a question about subj. Here is my code:
    import java.sql.*;
    import java.util.*;
    class SQLDB {
        int db_port;
        String db_url, db_name, db_table, db_user, db_passwd;
        public void dbConnect() throws SQLException {
            Connection con = new Connection();
            Properties prop = new Properties();
            prop.put("charSet", "utf8");
            prop.put("user", db_user);
            prop.put("password", db_passwd);
            con = DriverManager.getConnection(db_url, prop);
    }NetBeans says that Connection (Connection con = new Connection()) object is abstract and can't be instantiated. Can anyone suggest me what to do?

    Agree :) But faced another problem. I made this part of code after reading various info on this matter:
    package dbCinema;
    import java.sql.*;
    //import java.util.*;
    class SQLDB {
        private int db_port;
        private String db_url, db_name, db_user, db_passwd;
        private Connection con = null;
        private Statement db_query = null;
        private ResultSet rs = null;
        SQLDB(String dburl, String dbname, String dbuser, String dbpasswd, int dbport) {
            db_url = dburl;
            db_name = dbname;
            db_user = dbuser;
            db_passwd = dbpasswd;
            db_port = dbport;
        public void dbConnect() {
            String url;
            //url = "jdbc:mysql://" + db_url + ":" + db_port + "/" + db_name;
            url = "jdbc:mysql://" + db_url + "/" + db_name;
            try {
                Class.forName("org.gjt.mm.mysql.Driver");
                con = DriverManager.getConnection(url, db_user, db_passwd);
                if (!con.isClosed())
                    System.out.println(db_name + ": connection established.");
            } catch (SQLException e) {
                System.err.println("Exception: " + e.getMessage());
            } catch (ClassNotFoundException e) {
                System.err.println("Exception: " + e.getMessage());
        public void dbQuery(String query) throws SQLException {
            db_query = con.createStatement();
            rs = db_query.executeQuery(query);
            while (rs.next()){
                System.out.println(rs.getString(3));
        public static void main(String args[])  {
            SQLDB comm = new SQLDB("localhost", "cinema", "", "", 3306);
            try {
                comm.dbConnect();
                comm.dbQuery("SELECT * from t_movies WHERE id=1");
            } catch (SQLException e) {
                System.err.println("Exception: " + e.getMessage());
    }And having this error as a result of running this class:
    > "java" SQLDB
    java.lang.NoClassDefFoundError: SQLDB (wrong name: dbCinema/SQLDB)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$000(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Exception in thread "main"
    Process Exit Code: 1
    Time Taken: 00:01I've downloaded and installed into my java jre/lib/ext folder this driver (mysql-connector-java-5.1.6-bin.jar) to make connection possible. What's wrong?
    Edited by: Utah on Aug 14, 2008 12:12 PM

  • Sap ecc 6.0 installation error using  sql server 2005

    Dear All,
    please see the attachment files.
    Help & suggestion me ....
    Thanks & Regards,
    Narendra Rana

    Hi Narendra,
    Could you restart the complete system & share these files again after re execution of import as both import_monitor log files are incomplete.
    Thanks,
    Gaurav Rana

  • MySQL SERVER NOT FOUND ERROR 404

    Having talked to as many people as should know, NOBODY seems
    to have a clear answer to the fact that from Dreamweaver 8 there is
    a serious connectivity issue to MySQL databases in PHP server. I'm
    using Easy PHP.
    I begin to wonder if the makers of Dreamweaver8 intended to
    give us all a Jigsaw puzzle. This Problem Error 404 not being able
    to find the PHP@MySQL server/database is getting increasingly
    ridiculous that I might begin to suggest that people never buy
    Dreamweaver8 as it is more trouble than any good. How can Adobe sit
    bag and let us keep going through this stress?
    How does one determine a more uptodate library when you have
    just installed the latest version of Dreamweaver 8 and
    EasyPHPserver? You still keep getting the error message that it
    cannot find MMHTTPDB which is sitting clearly in the appropriate
    folders!!
    In the previous versions, it was straight forward on IIS to
    set up a DSN and just connect to the Database. Why has it become
    impossible to connect to a straightforward and existent database?
    I am disappointed with Adobe amd Dreamweaver makers! I've
    over stressed myself trying to get this problem solved.
    Help Pleeeease!!!

    IfyO wrote:
    > Having talked to as many people as should know, NOBODY
    seems to have a clear
    > answer to the fact that from Dreamweaver 8 there is a
    serious connectivity
    > issue to MySQL databases in PHP server.
    There is not a serious connectivity issue. It works perfectly
    on
    correctly configured system. I have given you a full response
    in your
    duplicate post in the "Can't connect to MySQL" thread.
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • Plz help me--error connecting to MySQL server

    While trying to connect to the MySQL server database,
    SqlConn = DriverManager.getConnection("jdbc:mysql://" + "database_server_addr/database_name?user=kiosk&password=!xyzabc");
    I get the following error.
    Error while connecting to mysql
    Communication link failure: null
    Notice the ! symbol(exclamation mark) present in the connection string above for the password value i.e., !xyzabc
    Is the problem with the ! symbol in my password, coz I am able to connect
    if I changed my password omitting the ! symbol. But I would like to connect with the ! symbol in the password. Any quick help is appreciated.
    Thanks,
    Bussa.
    [email protected]

    specify the database Server address, you can't do it with the "HTTP URL"
    String url = "jdbc:mysql://xxx.xxx.xxx.xxx";
    Class.forName("mySql spec");
    Connection con = DriverManager.getConnection(url,"user", "pass");

  • Mysql server (installed using pacman)

    hi, i installed mysql using pacman, i configured its root password too.
    i am using archlinux in vmware, there is X installed, i m using console, and my host is vista.
    when i try to connect to the mysql server using SQLyog in windows, it gives me error
        Lost connection to mysql server during query
    i have used mysql server on windows/ubuntu/etc , there is no problem when i set the server up in those Os's.
    i have already commented the option skip-networking, so the mysql server is able to recieve tcp connections.
    do i have to chage something in /etc/my.cnf
    P.S: i have already set the following values in my.cnf
    wait_timeout = 7200
    connect_timeout = 60
    max_connection = 100
    max_user_connections = 90
    any help would be apprecieated.

    i also added the bind-address option, but mysql still wont work, i have just tried to use the mysql command from bash with with -h optio, i get this error
    #> mysql -h 192.168.0.5 -uroot -p
    ERROR 2013(HY000): Lost Connection To MySQL Server at 'reading initial communication packet', system error: 0
    any help on how to solve this?

  • Address book application in java using jdbc to connect to mySQL server

    hi there .....
    as clear from the topic i want to make an address book.....as above
    this is my first ever proper application of java
    i have this plan
    class GUI{* contains all components */}
    class links_GUI_to_db{* contains business logic simple enough from name */}
    then i make objects of both classes in "Main" class and all processes are done there
    as i am totally new to this thing , i would like some advice and an initial guideline on how to proceed
    i am NOT ASKING for code but advice on interaction of classes and how to proceed intitially
    thanks

    Hi,
    The answer depends pretty much on how ambitious you are, and several articels and books can be written on the topic, so it's unfortunately not something that can be fully answered in a short post.
    My best advice is that you google on MVC and on how to create layered applications. You can after that start reading e.g. JDBC tutorials and Swing tutorials (if that is the UI that you are going to use).
    Kaj
    Ps. I would probably not use MySQL as database for an address book. I would instead use a database that doesn't require installation. E.g. H2 or Derby.

Maybe you are looking for

  • How can I export comments and tracked changes from Pages to PDF?

    Hello, I would like to know how I can export my pages document to a pdf that still keeps the comments I had made in the pages version. I am using the latest version of Pages by the way. Thanks in advance...

  • 1TB HD's in my G5 dual 2.0 (not intel)

    I have an older G5 dual 2.0. I was wondering if it would recognize a 1 TB drive (I cannot find the specs that came with the machine, but I thought 500GB was the biggest you could go.) If yes, what drives do you all recommend?

  • Xperia Z1 touchscreen issue

    Hello, I am one of the unlucky owners of a Z1 which has a problem with the touchscreen. The issue is known. People report that the screen registers an input, then shortly losses the input and then regains it, making web browsing difficult as anything

  • HT1369 how to unlock an ipod nano 2nd generation

    how to unlock an ipod nano 2nd generation

  • Another 7.2.3 vs. OS 10.4.9 story

    Just another story to add to the numerous problems people have posted here about using Logic 7.2.x with Mac OS 10.4.9. I'm trying to score a video. Upon import, the video (and accompanying audio) play fine. However, when I record a track (audio, MIDI