Netbeans JDBC to MSSQL 2000 Problem / No Time Out or Error

Hello All,
A Java/Netbeans Rookie question..(tried Google can't find answer)..
Trying a New DB connection to MS SQL 2000 through Netbeans.
Followed the instructions found
HERE->http://www.netbeans.org/kb/50/using-netbeans/dbconn.html#73418
     Runtime
          -->Drivers
               --->New connection
I added the driver (mssqlserver.jar).
Netbeans recognizes this.
when I try to create a connection to a DB in SQL,
I get an as expected "connecting to DB" message
But, I never get a connection, nor do I get an Error, nor a time out.
Tried intentionally a wrong user id/password to force an error, however do not get one.
I assume the error is on the Netbeans side of house (since it's not throwing the login Error from MS SQL).
My MSSQL server group is set up as
Einstein\SQLGUY
     DB>Northwind
The Netbeans DB Url I'm using is
jdbc:sqlserver://Einstein\SQLGUY:1433;databaseName=Northwinds;
I can Query Northwinds in SQL, so all looks o.k. In SQL.
Thanks for the help.
�Rookie�

P.S.
I do have
msbase.jar
msutil.jar
mssqlserver.jar
In my CLASSPATH
thx.
eom

Similar Messages

  • Update JRE 1.4.2_08  to JDK 1.5.0_11 get "Time Out 61" Error on MI Client

    Hi,
    we have updated our System to SPS 14 (MW+BE) to make our clients vista ready. I have create a new setup package and updated the Java version of the client to jdk 1.5.0_11. After Starting the client I get the "Time Out 61 Error". The Startup Output seems to be good, all variables are set. And I dont know what to do.
    Her is the Output from the Startup.bat
    If anyone have a clou that can help me, makes me very glad.
    C:\Program Files\SAP\MobileInfrastructure>startup.bat
    C:\Program Files\SAP\MobileInfrastructure>SET JAVA_HOME=1
    C:\Program Files\SAP\MobileInfrastructure>REM SET JAVA_HOME=
    C:\Program Files\SAP\MobileInfrastructure>REM SET ME_HOME=
    C:\Program Files\SAP\MobileInfrastructure>REM SET JAVA_EXE=
    C:\Program Files\SAP\MobileInfrastructure>REM SET JAVA_OPTIONS=-mx256m
    C:\Program Files\SAP\MobileInfrastructure>SET _OLDCP=
    C:\Program Files\SAP\MobileInfrastructure>set _MEJARS=
    C:\Program Files\SAP\MobileInfrastructure>copy /b "C:\Program Files\SAP\MobileIn
    frastructure\SetMejar.txt" + "C:\Program Files\SAP\MobileInfrastructure\listOfJa
    rs.txt" "C:\Program Files\SAP\MobileInfrastructure\setMeJar.bat"
    C:\Program Files\SAP\MobileInfrastructure\SetMejar.txt
    C:\Program Files\SAP\MobileInfrastructure\listOfJars.txt
            1 file(s) copied.
    C:\Program Files\SAP\MobileInfrastructure>call "C:\Program Files\SAP\MobileInfra
    structure\setMeJar.bat"
    C:\Program Files\SAP\MobileInfrastructure>SET _MEJARS=C:\Program Files\SAP\Mobil
    eInfrastructure\lib\db2ejdbc.jar;C:\Program Files\SAP\MobileInfrastructure\lib\c
    rimson.jar;C:\Program Files\SAP\MobileInfrastructure\lib\jasper.jar;C:\Program F
    iles\SAP\MobileInfrastructure\lib\jaxp.jar;C:\Program Files\SAP\MobileInfrastruc
    ture\lib\MEg.jar;C:\Program Files\SAP\MobileInfrastructure\lib\pinstall.jar;C:\P
    rogram Files\SAP\MobileInfrastructure\lib\servlet.jar;C:\Program Files\SAP\Mobil
    eInfrastructure\lib\system\jdk13\iaik_javax_crypto.jar;C:\Program Files\SAP\Mobi
    leInfrastructure\lib\system\jdk13\iaik_jce.jar;C:\Program Files\SAP\MobileInfras
    tructure\lib\system\jdk14\iaik_jce.jar;C:\Program Files\SAP\MobileInfrastructure
    \lib\system\xalan.jar;C:\Program Files\SAP\MobileInfrastructure\lib\webserver.ja
    r;
    C:\Program Files\SAP\MobileInfrastructure>set _SSLJARS=
    C:\Program Files\SAP\MobileInfrastructure>if exist "C:\Program Files\SAP\MobileI
    nfrastructure\lib\jsse.jar" set _SSLJARS=C:\Program Files\SAP\MobileInfrastructu
    re\lib\jsse.jar
    C:\Program Files\SAP\MobileInfrastructure>if exist "C:\Program Files\SAP\MobileI
    nfrastructure\lib\jcert.jar" set _SSLJARS=;C:\Program Files\SAP\MobileInfrastruc
    ture\lib\jcert.jar
    C:\Program Files\SAP\MobileInfrastructure>if exist "C:\Program Files\SAP\MobileI
    nfrastructure\lib\jnet.jar" set _SSLJARS=;C:\Program Files\SAP\MobileInfrastruct
    ure\lib\jnet.jar
    C:\Program Files\SAP\MobileInfrastructure>set _IAKJARS=
    C:\Program Files\SAP\MobileInfrastructure>if exist "C:\Program Files\SAP\MobileI
    nfrastructure\lib\system\jdk13\iaik_jce.jar" set _IAKJARS=C:\Program Files\SAP\M
    obileInfrastructure\lib\system\jdk13\iaik_jce.jar
    C:\Program Files\SAP\MobileInfrastructure>if exist "C:\Program Files\SAP\MobileI
    nfrastructure\lib\system\jdk13\iaik_javax_crypto.jar" set _IAKJARS=C:\Program Fi
    les\SAP\MobileInfrastructure\lib\system\jdk13\iaik_jce.jar;C:\Program Files\SAP\
    MobileInfrastructure\lib\system\jdk13\iaik_javax_crypto.jar
    C:\Program Files\SAP\MobileInfrastructure>set CLASSPATH=C:\Program Files\SAP\Mob
    ileInfrastructure\lib\db2ejdbc.jar;C:\Program Files\SAP\MobileInfrastructure\lib
    \crimson.jar;C:\Program Files\SAP\MobileInfrastructure\lib\jasper.jar;C:\Program
    Files\SAP\MobileInfrastructure\lib\jaxp.jar;C:\Program Files\SAP\MobileInfrastr
    ucture\lib\MEg.jar;C:\Program Files\SAP\MobileInfrastructure\lib\pinstall.jar;C:
    \Program Files\SAP\MobileInfrastructure\lib\servlet.jar;C:\Program Files\SAP\Mob
    ileInfrastructure\lib\system\jdk13\iaik_javax_crypto.jar;C:\Program Files\SAP\Mo
    bileInfrastructure\lib\system\jdk13\iaik_jce.jar;C:\Program Files\SAP\MobileInfr
    astructure\lib\system\jdk14\iaik_jce.jar;C:\Program Files\SAP\MobileInfrastructu
    re\lib\system\xalan.jar;C:\Program Files\SAP\MobileInfrastructure\lib\webserver.
    jar;;;;C:\Program Files\SAP\MobileInfrastructure\lib\system\jdk13\iaik_jce.jar;C
    :\Program Files\SAP\MobileInfrastructure\lib\system\jdk13\iaik_javax_crypto.jar;
    1\lib\tools.jar
    C:\Program Files\SAP\MobileInfrastructure>echo Using CLASSPATH: C:\Program Files
    \SAP\MobileInfrastructure\lib\db2ejdbc.jar;C:\Program Files\SAP\MobileInfrastruc
    ture\lib\crimson.jar;C:\Program Files\SAP\MobileInfrastructure\lib\jasper.jar;C:
    \Program Files\SAP\MobileInfrastructure\lib\jaxp.jar;C:\Program Files\SAP\Mobile
    Infrastructure\lib\MEg.jar;C:\Program Files\SAP\MobileInfrastructure\lib\pinstal
    l.jar;C:\Program Files\SAP\MobileInfrastructure\lib\servlet.jar;C:\Program Files
    \SAP\MobileInfrastructure\lib\system\jdk13\iaik_javax_crypto.jar;C:\Program File
    s\SAP\MobileInfrastructure\lib\system\jdk13\iaik_jce.jar;C:\Program Files\SAP\Mo
    bileInfrastructure\lib\system\jdk14\iaik_jce.jar;C:\Program Files\SAP\MobileInfr
    astructure\lib\system\xalan.jar;C:\Program Files\SAP\MobileInfrastructure\lib\we
    bserver.jar;;;;C:\Program Files\SAP\MobileInfrastructure\lib\system\jdk13\iaik_j
    ce.jar;C:\Program Files\SAP\MobileInfrastructure\lib\system\jdk13\iaik_javax_cry
    pto.jar;1\lib\tools.jar
    Using CLASSPATH: C:\Program Files\SAP\MobileInfrastructure\lib\db2ejdbc.jar;C:\P
    rogram Files\SAP\MobileInfrastructure\lib\crimson.jar;C:\Program Files\SAP\Mobil
    eInfrastructure\lib\jasper.jar;C:\Program Files\SAP\MobileInfrastructure\lib\jax
    p.jar;C:\Program Files\SAP\MobileInfrastructure\lib\MEg.jar;C:\Program Files\SAP
    \MobileInfrastructure\lib\pinstall.jar;C:\Program Files\SAP\MobileInfrastructure
    \lib\servlet.jar;C:\Program Files\SAP\MobileInfrastructure\lib\system\jdk13\iaik
    javaxcrypto.jar;C:\Program Files\SAP\MobileInfrastructure\lib\system\jdk13\iai
    k_jce.jar;C:\Program Files\SAP\MobileInfrastructure\lib\system\jdk14\iaik_jce.ja
    r;C:\Program Files\SAP\MobileInfrastructure\lib\system\xalan.jar;C:\Program File
    s\SAP\MobileInfrastructure\lib\webserver.jar;;;;C:\Program Files\SAP\MobileInfra
    structure\lib\system\jdk13\iaik_jce.jar;C:\Program Files\SAP\MobileInfrastructur
    e\lib\system\jdk13\iaik_javax_crypto.jar;1\lib\tools.jar
    C:\Program Files\SAP\MobileInfrastructure>SET PATH=C:\WINDOWS\system32;C:\WINDOW
    S;C:\WINDOWS\System32\Wbem;c:\Program Files\IBM\Client Access\Emulator\;c:\Progr
    am Files\IBM\Client Access\Shared\;c:\Program Files\IBM\Client Access\;C:\Progra
    m Files\Windows Imaging\;C:\Program Files\Java\jdk1.5.0_11\bin;C:\Program Files\
    SAP\MobileInfrastructure/bin/DB2e/
    C:\Program Files\SAP\MobileInfrastructure>"C:\Program Files\Java\1.5.0_11\bin\ja
    va.exe"  -DSERVER_IMPL="com.sap.tc.webdynpro.serverimpl.me.MEServerImplementatio
    n" -Duse.repository=noDB com.sap.ip.me.core.Startup "-home:C:\Program Files\SAP\
    MobileInfrastructure"
    The system cannot find the path specified.
    C:\Program Files\SAP\MobileInfrastructure>SET CLASSPATH=
    C:\Program Files\SAP\MobileInfrastructure>

    Hi,
    Note 1086971
    To install and launch MI Client on Windows Vista OS, install SUN JDK/JRE 1.5 Update 11 and higher.  This is because only this version of SUN J2SE supports Windows Vista OS.  For details please refer to http://java.sun.com/j2se/1.5.0/system-configurations.html.
    I think I have to install this version of Java.
    Regards Maik

  • Keep getting time out connection error when my macair tries to connect to Internet, but my iPad, phone and PC connect straight away. It happens on and off what could be the problem?

    Having trouble connecting to Internet with my MacBook Air. It can be fine for a few hours thins goes off and all I get it the message couldn't connect due to time out error connection. It can't be my broadband because I don't have the same problem with my other devices. Is my mac air breaking down?

    looks like this is your network connection settings problem, you'd better only keep one network adaptor online and linked, if you do not understand how to setup windows routing, this is completely not firefox problem. buddy. wish you goodluck.

  • Time out: Network error

    Hi, everyoneI have a problem with the network, the essbase server is on Sun solaris.Connection is Ok, and i can see all the application and the databases, but when trying to add a member and save to the server I get an error "Network error [10061]: Unable to connect to server. The client time out waiting to connect to the essbase agent using TCP/IP."In the essbase.cfg I have tried different values for the NETRETRYCOUNT and NETDELAY parameters and I get the same error.I`m going through two firewalls and i`m suspicious about something is happening with this.Can anyone help me?????Thanks in advanced

    we're having the same problem at my office and hyperion support staff have recomended increasing the AGENTDELAY, NETDELAY, and NETRETRYCOUNT values in the server side essbase.cfg file (try doubling or tripling them). we can't do so until we finish our current reporting cycle so i'd be curious to hear if this resolved your problem.

  • My upgrade to IOS5 for iphone 4 continually times out with error message 3259. Any ideas on why?

    My download of ios5 continually times out in itunes, quoting error message 3259. Any ideas why

    THIS WAS COPIED FROM A THREAD THAT WORKED FOR ME SO I CAN'T TAKE THE CREDIT
    Open notepad as administrator, and direct yourself to:
    C:\Windows\System32\Drivers\etc
    open the "Hosts" file:
    note the "127.0.0.1 gs.apple.com" portion near the bottom. your hosts may be different, and if so, then look for that part specifically. the problem for me, lied within the fact that just before the "127.0.0.1 gs.apple.com" part, there originally was no hash(#) with the space like the rest of the hosts file. This was all I had to fix. After editing and then SAVING the hosts file in notepad I restarted iTunes and the update went through without a hitch!
    so if you do not see the hash and space before the "127.0.0.1 gs.apple.com" part, all you have to do is put the #, and then press tab! I hope this works for some of you guys! So just to be clear, that particular line in the file should look like:
    # 127.0.0.1 gs.apple.com
    good luck!

  • Downloading 2.2.1 update times out and error message

    Trying to download 2.2.1 update. It says it will take 2 hours (about 220 MB). Then about 45 minutes into download it says session has timed out. Check network connection or try again later.
    Anyone know how I can remedy this and complete download?
    Thanks!
    Charlie

    Another question. When it says "try again later". Would the download be faster if I tried in the middle of the night when/if the apple site is not so busy? Or am I totally off the mark and that has nothing to do with the time issue?
    Is 2 hours normal for the 220 mg 2.2.1 download? Is there a reason the connection times out after 45 minutes of a 2 hr. download? Is that the apple site doing the time out or my ISP?
    Sorry for all the questions. There are apps I want to download that need the 2.2.1 and I am only at my buddies house with WiFi on the weekends.
    Thanks,
    Charlie

  • JDBC with MSSQL 2005 -- problem connecting

    Hi, I have setup JDBC and I am able to connect to a MySQL database just fine. But I can't connect to MSSQL SQLExpress 2005.
    I got the sqljdbc.jar file placed it under the LiveCycle8\jboss\server\all\lib folder and setup the Datasource file as:
        MSSQLDS    jdbc:sqlserver://LIVECYCLE\SQLEXPRESS:1433;databaseName=MyDBName
    com.microsoft.sqlserver.jdbc.SQLServerDriver
        username
        password
             MS SQLSERVER2005
    Then I modified the login-config.xml and added the application-policy as:
                   username
                   password
                   jboss.jca:service=LocalTxCM,name=MSSQLDS
    Then in LC connection, setup the string to java:/MSSQLDS
    When running the test query b I get NO Response At All.  And I mean, even if I intentionally change the datasource file to hold incorrect information, I'll get no response. However, I can connect to MySQL without any problems.
    b Any ideas?
    Thanks for any help!

    JavaImran wrote:
    RoyGrini wrote :
    Looks like login problems. Username/password or windows authentication logon problem.        * I didnt give any UN and Pwd for my database.........And the
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)gives you a 'connection refused'
    Try with providing a SQL username/password. Maybe that will work
    - Roy

  • JDBC receiver adapter for AS400-query time out due to Escape Symbol

    Hello,
    I am uisng JDBC receiver adapter for AS 400, When I execute query, the query needs to have arguments in the open and close single ticks ('    12345' )
    My XML pay load looks like this, which is RFC sender. Look at dcudcstmr in <i><b>(' 838912')</b></i>.  When receiver gets this message the ' (single quotes are disappeared.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MT_Cma_Customer_Select_Request xmlns:ns1="http://freemanco.com/xi/Get_Customer">
    - <Statement>
    - <LawsonCustomer action="SQL_QUERY">
      <access>select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in <i><b>(' 838912')</b></i> and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr)</access>
      </LawsonCustomer>
      </Statement>
      </ns1:MT_Cma_Customer_Select_Request>
    On the Receiver JDBC adapter I have tried with different combinations of Escape Symbol for Aposrophe as follows
    <b>   \
       '</b>
    As you know this is related to epcape character, I get following error all the time. Looks like the query is not able to execute in the specified time. My question is how do I get single quote as part of query.
    <b>select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in ( 100001) and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr) 2007-09-20 15:56:42 Error Unable to execute statement for table or stored procedure. 'LawsonCustomer' (Structure 'Statement') due to java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000. 2007-09-20 15:56:42 Error MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000. 2007-09-20 15:56:42 Error Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000. 2007-09-20 15:56:42 Error Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000.. Setting message to status failed. 2007-09-20 15:56:42 Error The message status set to FAIL. 2007-09-20 15:56:42 Error Returning synchronous error message to calling application: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000</b>
    Any feedback or helpfull tips appreciated.
    Thank you,
    Balaji

    Raj,
    Thank you for the reponse. I am using UDF on sender to generate sql statement as you see in sender XML message. After the message reaching receiver, gets executed but no response from AS400 becasue of missing single quotes in the sql query executed.
    Sender XML sends
    <access>select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in <u><b>(' 838912')</b></u> and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr)</access>
    Receiver executes as
    select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in ( <b><u>838912</u></b>) and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr)
    As you see the single quotes are missing. Like I said in previous posting I tried with following Escape Symbol for Aposrophe.
    Let me know if you need more information.
    Thank you,
    Balaji

  • I am having a problem with Time Machine, the error msg is "Time Machine.app can't be modified or deleted because it is required by MacOsX". It was working and now it is not.

    Should have added that I am trying to retrieve back-up images.
    David

    More information about how it isn't working and what it is doing would help.
    Time Machine Troubleshooting
    Time Machine Troubleshooting Problems

  • New iPad Air can't connect to iTunes; device "times out"; no error code given

    my iMac (8 months old) is running 10.8.5 with latest version of iTunes.  When I try to connect my new iPaid Air with a cable, iTunes open, after a few seconds, a windows appears saying "iTunes cannot connect to the device named Peggy's iPad because device timed out".  no error code is given.  I have restarted my computer and the iPad various times and tried different USB ports on the iMac.  I am using the original lightning cable that came with the iPad to connect.  I didn't have this problem with my old iPad 2 or with my iPod touch.  I do not have any security software installed and no firewalls, etc.  Any suggestions on what is causing this problem?  Thanks.

    You should repost this over in the "using iPad" forum.  The iPad gurus hang out there.  This is the MacBook Air forum.  Here is the link:
    https://discussions.apple.com/community/ipad/using_ipad
    Regards,
    Captfred

  • Load from ODS into InfoCube gives TIME-OUT runtime error after 10 minutes ?

    Hi all,
       We have a full load from ODS into InfoCube and it was working fine till the last week upto with 50,000 records. Now, we have around 70,000+ records and started failing with TIME_OUT runtime error.
       The following is from the Short Dump (ST22):
       The system profile "rdisp/max_wprun_time" contains the maximum runtime of a
    program. The current setting is 600 seconds. Once this time limit has been exceeded, the system tries to terminate any SQL statements that are currently being executed and tells the ABAP processor to terminate the current program.
      The following are from ROIDOCPRMS table:
       MAXSIZE (in KB) : 20,000
       Frequency       :  10
       Max Processes : 3
      When I check the Data Packages under 'Details' tab in Monitor, there are four Data Packages and the first three are with 24,450 records.  I will right click on each Data Package and select 'Manual Update' to load from PSA. When this Manual Update takes more than 10 minutes it is failing with TIME_OUT again.
      How could I fix this problem, PLEASE ??
    Thanks,
    Venkat.

    Hello A.H.P,
    The following is the Start Routine:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: /BIC/AZCPR_O0400, /BIC/AZCPR_O0100, /BIC/AZCPR_O0200.
    DATA: material(18), plant(4).
    DATA: role_assignment like /BIC/AZCPR_O0100-CPR_ROLE, resource like
    /BIC/AZCPR_O0200-CPR_BPARTN.
    $$ end of global - insert your declaration only before this line   -
    The follow definition is new in the BW3.x
    TYPES:
      BEGIN OF DATA_PACKAGE_STRUCTURE.
         INCLUDE STRUCTURE /BIC/CS8ZCPR_O03.
    TYPES:
         RECNO   LIKE sy-tabix,
      END OF DATA_PACKAGE_STRUCTURE.
    DATA:
      DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    FORM startup
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
               DATA_PACKAGE STRUCTURE DATA_PACKAGE
      USING    RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
    to make monitor entries
       clear DATA_PACKAGE.
       loop at DATA_PACKAGE.
          select single /BIC/ZMATERIAL PLANT
             into (material, plant)
             from /BIC/AZCPR_O0400
             where CPR_EXT_ID = DATA_PACKAGE-CPR_EXT_ID
             and ( MATL_TYPE = 'ZKIT' OR MATL_TYPE = 'ZSVK' ).
           if sy-subrc = 0.
              DATA_PACKAGE-/BIC/ZMATERIAL = material.
              DATA_PACKAGE-plant = plant.
              modify DATA_PACKAGE.
              commit work.
           endif.
           select single CPR_ROLE into (role_assignment)
                         from /BIC/AZCPR_O0100
                         where CPR_GUID = DATA_PACKAGE-CPR_GUID.
            if sy-subrc = 0.
              select single CPR_BPARTN into (resource)
                         from /BIC/AZCPR_O0200
                         where CPR_ROLE = role_assignment
                         and CPR_EXT_ID = DATA_PACKAGE-CPR_EXT_ID.
                   if sy-subrc = 0.
                      DATA_PACKAGE-CPR_ROLE = role_assignment.
                      DATA_PACKAGE-/BIC/ZRESOURCE = resource.
                      modify DATA_PACKAGE.
                      commit work.
                   endif.
              endif.
           clear DATA_PACKAGE.
           endloop.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    Thanks,
    Venkat.

  • Maximum Time out  runtime error

    Hi All,
    The following query is giving the error message:
    SELECT mkpfbudat msegbwart msegwerks msegmatnr mseg~shkzg
             msegmenge msegmeins msegdmbtr maraextwg makt~maktx
        INTO TABLE i_src
        FROM mkpf
          JOIN mseg ON mkpfmblnr = msegmblnr
                   AND mkpfmjahr = msegmjahr
          JOIN mara ON msegmatnr = maramatnr
          JOIN makt ON msegmatnr = maktmatnr
        WHERE mkpf~budat IN s_budat AND
              mseg~bwart IN s_bwart AND
              mseg~matnr IN s_matnr AND
              mseg~werks IN s_werks AND
              mara~mtart  = c_mtart AND
              makt~spras  = sy-langu.
    The error message is :
    The program ZMMPR_KEY_MOVEMENT has exceeded the maximum permitted runtime and therefore has been terminated. 
    Can you tell me how we can improve the performance?
    Thanks,
    Sobhan.

    Hi Sobhan,
    I remember this problem, getting MBELN's for a date range and material range and BWART range, from the early 90's on an R/3 1.2.
    Try it this way:
    TABLES: mkpf, mseg, mara.
    SELECT-OPTIONS:
      s_budat FOR mkpf-budat,
      s_bwart FOR mseg-bwart,
      s_matnr FOR mseg-matnr,
      s_werks FOR mseg-werks.
    PARAMETERS:
      c_mtart TYPE mtart.
    TYPES:
      BEGIN OF i_scr_t,
        mblnr LIKE mkpf-mblnr,
        mjahr LIKE mkpf-mjahr,
        budat LIKE mkpf-budat,
        bwart LIKE mseg-bwart,
        werks LIKE mseg-werks,
        matnr LIKE mseg-matnr,
        shkzg LIKE mseg-shkzg,
        menge LIKE mseg-menge,
        meins LIKE mseg-meins,
        dmbtr LIKE mseg-dmbtr,
        extwg LIKE mara-extwg,
        maktx LIKE makt-maktx,
      END OF i_scr_t,
      BEGIN OF mblnr_t,
        mblnr LIKE mkpf-mblnr,
        mjahr LIKE mkpf-mjahr,
        budat LIKE mkpf-budat,
      END OF mblnr_t,
      BEGIN OF mat_t,
        matnr LIKE mara-matnr,
        extwg LIKE mara-extwg,
        mtart LIKE mara-mtart,
        maktx LIKE makt-maktx,
      END OF mat_t.
    DATA:
      lt_mblnr TYPE TABLE OF mblnr_t WITH HEADER LINE,
      lt_mat   TYPE HASHED TABLE OF mat_t WITH UNIQUE KEY matnr,
      ls_mat   LIKE LINE OF lt_mat,
      i_scr    TYPE TABLE OF i_scr_t WITH HEADER LINE.
    SELECT budat mjahr mblnr FROM mkpf
      INTO CORRESPONDING FIELDS OF TABLE lt_mblnr
      WHERE mkpf~budat IN s_budat.
    LOOP AT lt_mblnr.
      SELECT bwart werks matnr shkzg menge meins dmbtr
        FROM mseg
        INTO CORRESPONDING FIELDS OF i_scr
        WHERE mblnr = lt_mblnr-mblnr
          AND mjahr = lt_mblnr-mjahr
          AND bwart IN s_bwart
          AND matnr IN s_matnr
          AND werks IN s_werks.
        READ TABLE lt_mat INTO ls_mat
          WITH TABLE KEY matnr = i_scr-matnr.
        IF sy-subrc <> 0.
          ls_mat-matnr = i_scr-matnr.
          SELECT SINGLE extwg mtart FROM mara
            INTO (ls_mat-extwg, ls_mat-mtart)
            WHERE matnr = ls_mat-matnr.
          SELECT SINGLE maktx FROM makt INTO ls_mat-maktx
            WHERE matnr = ls_mat-matnr
              AND spras = sy-langu.
          INSERT ls_mat INTO TABLE lt_mat.
        ENDIF.
        IF ls_mat-mtart = c_mtart.
          i_scr-extwg = ls_mat-extwg.
          i_scr-maktx = ls_mat-maktx.
          APPEND i_scr.
        ENDIF.
      ENDSELECT.
    ENDLOOP.
    It does not look very high performing, but in fact, it used only 1/2 an hour instead of 3 days of the version, that corresponds to yours. Yes, I know, a lot changed since 1.2 in the database interface, but just try it and you will see. And forget joining MKPF and MSEG. No database will handle this in a real system.
    If you find my answer useful, please don't forget the reward.
    Regards,
    Juergen
    Message was edited by: Juergen Wurth

  • DSO data Activation Time out-DATABASE ERROR-440

    Hello all,
    We are getting  error in one of our standard DSO during activation -Error-Process 000001 did not confirm within the permitted time period,we repeated process chain ,we got the same error,we activated manually -we got the same error, I need to mention that we only have 3278 records which should not take more than few seconds-minutes to activate. we reset RSODSO_SETTINGS wait time by increasing still did do it , we changed data package 10,000 ,50,000 but it didn't correct the error, we even change DSO  SID generation setting during activation to never create SID ,it didn't correct the error, we reactivated DSO,we indexed the table both new and active table but we are getting the same error, in a SM21 we are getting error DATABASE ERROR -440  [IBM][CLI Driver][DB2] NO AUTHORIZED PROCEDURE NAMED > DSO_VERSION HAVING COMPATIBLE ARGUMENTS WAS FOUND... DBA reorg and did some other things but we are still getting the same error and the are not sure what the procedure DSO_VERSION is ,Any body have any idea what that procedure is and why we are getting that in sm21 during one DSO data activation?  Has anybody had this kind of experience before? by the way we have researched on google SCN and nothing close to our scenario. By the way we ran the activation with the different settings both in dialog and background.We also got error  Background process BCTL_4Z81MSY8311QNTKRYGRDYVFXY terminated due to missing confirmation ...Any suggestions will be of great help and points will be awarded....
    Thank you.

    Error in Sm21-
    04:57:20 BTC  036 810 PRGRAU0                   BY  2 Database error -440 at EXE
    04:57:20 BTC  036 810 PRGRAU0                   BY  0 > [IBM][CLI Driver][DB2] NO AUTHORIZED PROCEDURE NAME
    04:57:20 BTC  036 810 PRGRAU0                   BY  0 > DSO_VERSION HAVING COMPATIBLE ARGUMENTS WAS FOUND
    04:57:20 BTC  036 810 PRGRAU0                   BY  1 Database error -440
    Background process BCTL_4Z9BTOI3XPN2XB0VL9IUZ08ZA terminated due to missing
    confirmation
    Message no. RSODSO_PROCESSING041
    Diagnosis
    The confirmation from the background process BCTL_4Z9BTOI3XPN2XB0VL9IUZ08ZA
    did not occur within the set time. It was thus ended by the system.
    System Response
    Background process: BCTL_4Z9BTOI3XPN2XB0VL9IUZ08ZA
    Number: 1
    Procedure
    Check the package size for the application to be processed or change the
    package size.

  • Time Out error in deploying EJB in Sun's application server

    I am facing the problem of time out error in sun's application server when deploy tool and application server is running in the same system. can any one solve my problem

    Hi,
    How big is your EJB application? i.e. how many EJBs do you have?
    Would you please try to deploy your application using the command line tool "asadmin" and see if it is also hanging? This will help us to tell if the deployment process that is hanging or the deploytool itself that is hanging. The "asadmin" tool is located under $INSTALL_HOME/bin.
    Thanks,
    Q^2

  • Clients Time-Out When Retrieving Large Files  From Our PureFTPd Server

    Hi, not sure if this is the right place to get help, but didn't know where else to look. And let me begin by saying I'm not a server admin by trade, but that is the role I've fell into at a design firm. So please bear with my lack of knowledge on some of the more technical details.
    We have OS X Server 10.4.11 running here with PureFTPd installed and managed through PureFTPd Manager application. It has been fairly reliable for us for the last 2-3 years once the initial setup craziness was complete.
    But lately we've had 2 clients say that they've had difficulty downloading larger files from us. They get a time-out or error message on their end. They are most likely using Windows Explorer on a PC to do the transfer, which has always been the easiest method for our clients.
    One client had no problem getting files up to 14MB or so. But when trying to download a certain file that was about 80MB, it would not work. I tried different things here, and she tried multiple times, but no luck. I tried zipping the file to see if that would help, but no luck.
    Then another client had a similar problem today with a file that was only 25MB.
    We don't send large files very often, so I'm not sure if this is a recent thing or not. It seems like we've received some large files recently though.
    In PureFTPd manager, I usually leave all of the fields in the Transfers tab empty for all users. I didn't see anywhere else that would seem to impart a file-size limitation.
    • Any ideas at all?
    • If not, any other forums that I could search for help on? It looks like the developers site for PureFTPd Manager hasn't been updated in a year or two.
    Thanks in advance!

    Some years back I had trouble at a customer that had a ADSL using PPPoE connection to their ISP.
    Their router/modem (Speedtouch) couldn't cope with the LAN MTU when they sent files out so I had to lower it on their computers (running Panther?) ethernet interface from 1500 to 1492 (PPPoE overhead was 8 byte). The communication used to stall at about 25MB but the MTU change helped resolving that.
    My guess is that the router had to fragment (split in two) all outgoing packets it recived from the LAN computers and it just couldn't cope after a while.
    In your case it can be other network related things too like maybe needing traffic prioritizing, if receiving a lot of traffic from Internet and trying to send at the same time.

Maybe you are looking for

  • SELECT statement does not work if characters ## are contained in field

    Hi Experts, I have the following statement: select single field1     from table1     into var1     where field2 = text. This is a very simple statement that is working for me almost always correct. However there is a situation where the system is not

  • Kernel Panics 10.5.6

    Hello, I am having trouble with one of the macs where I work...I am not very familiar with Macs, so need some help. This system is getting kernel panics at seemingly random intervals throughout the day. Things I have tried, include wiping out the sys

  • Upgraded my iphone to ios 5 now the wifi settings is greyed out saying "no wifi"

    Hi today i update to IOS 5 on my Verizon iPhone 4 and now my wifi doesnt work. When i go to configure my wifi place next to were it says wifi in the settings is greyed out and says "no wifi". i obviously cant tap it and configure it. I dont know what

  • HT4759 i lost my iphon all divices is off line wat can i do

    i lost my i phon all divices off line wat can i do to find it ?

  • Lightroom 5 licensing problem

    Hi I am new to lightroom and I have nearly finished the lightroom 5 30day trial and then I decide to buy it. I brought the Student and Teacher version and adobe sent me the serial number and so on and said I could download it from the order section a