JCo login properties

Hi all,
I have coded a Java JCO call from Java to Abap in XI 3.0.
The logon details have been stored in a properties file so it can be changed in the different environments.
I have two questions:
1. Is this the best way to manage the changing details between DEV, TEST, and PROD?
2. If so, how can I protect the password? It is exposed at the OS level for anyone who has access.
Any help is appreciated.
Thanks,
Jason

Hello Jason, In my opinion, if you are doing the mappings with JAVA, the best design should be to get the system information from SLD via an SLD client in this way you only need to maintain the data in sld. You have in your class the receiver constant that you can use to get the receiver system information. This information you configure in the integration directory and is available at runtime.
If you are making the mapping in a user defined function then one possibility is to use a lookup table and in that lookup table you may put your logon information in as value/key table.
To logon in the BS I thought that the guideline was to use XIAPPLUSER as the username.
regards
/Ernesto

Similar Messages

  • Login Properties

    When I right click on one repository, there is nothing dispalyed. It means that I can not use Login function in which I can do some configuration. Could anyone tell me why it is happened. My MDM Edition is MDM 5.5 SP04.

    Hi Alfred,
    You aware of that the Logins table is an MDM system table.
    The Logins table shows the login details of the login user such as
    Name: Name of the user (Admin)
    Host Name: MDM Server Name (pc05X04)
    Application name: DataManager/Import Manager
    Login Time: User Login time
    Last activity time: Time of last activity like add, delete records
    Load a repository; Open the data manager for the loaded repository. Check the logins table in the console. You will get a clear idea.
    The table is read only since there is no business need to edit the login details.
    Thanks,
    Arun prabhu S

  • JCo Connection using file.properties doesn't work when deployed

    Hello Experts,
    I'm trying to connect to a SAP backend system using the JCo connection.
    I've tyed with the standard connection, crating dinamically the connection and it works fine:
    mConnection = JCO.createClient("001", // SAP client
    "sap.user", // userid
    "********", // password
    "IT", // language
    "ashost.domain.dom", // application server host name
    "06"); // system number
    mConnection.connect();
    Then I tryed to store the login data in a file 'login.properties' put in the same package of my connection classes.
    The code is:
    String[] logonStr = new String[5];
    Properties properties = new Properties();
    try {
    InputStream is = getClass().getResourceAsStream("login.properties");
    properties.load(is);
    } catch (Exception e) {
    e.printStackTrace();
    logonStr[0] = PropertyManager.getProperty(applicationProperties,"jco.client.client");
    logonStr[1] = PropertyManager.getProperty(applicationProperties,"jco.client.user");
    logonStr[2] = PropertyManager.getProperty(applicationProperties,"jco.client.passwd");
    logonStr[3] = PropertyManager.getProperty(applicationProperties,"jco.client.ashost");
    logonStr[4] = PropertyManager.getProperty(applicationProperties,"jco.client.sysnr");
    mConnection = JCO.createClient(logonStr[0],      // SAP client
    logonStr[1],    // userid
    logonStr[2],    // password
    "IT",           // language
    logonStr[3],    // application server host name
    logonStr[4]);   // system number
    If I test locally this code it works fine and the login datas are extracted from the 'login.properties' file.
    But when I deploy my PAR file in the Portal seems that the 'login.properties' file isn't found by my application...
    Which could be the cause??
    Could it be a permission problem??
    Any Ideas?
    Thanks in Advance,
    Best Regards

    Hi Shyam,
    Thanks for your answer!
    I could use the string "ashost.domain.dom" instead to extract it from the 'login.properties' but I need also the others login info as username and password.
    My problem is that the 'login.properties' file is not found by my application when the PAR file is deployed in the portal...
    I need to know if I need to move the 'login.properties' file in another package or something else...
    Any ideas??
    Have I to declare the .properties file in some configuration file (for example portalapp.xml or somthing similar..) ??
    Best Regards...

  • Authenticating a user using JCO

    Hi,
    I was authenticating a user in SAP using the following code:
       System.out.println("\n\nVersion of the JCO-library:\n" + "----
    \n"
                        + JCO.getMiddlewareVersion());
                Properties props = new Properties();
                props.put("jco.client.client", "800");
                props.put("jco.client.user", "gk1");
                props.put("jco.client.passwd", "password");
                props.put("jco.client.lang", "EN");
                props.put("jco.client.sysnr", "01");
                props.put("jco.client.ashost", "172...*");
                client = JCO.createClient(props);
                // Open the connection
                client.connect();
    Here, the password for the "gk1" user is "password". Now if I update the password to be "password1" in the code - the user is still authenticated. No matter how many times I add digits towards the end of the password for this user, it still gets authenticated. Any ideas?
    Thanks

    Hi Gaurav,
    In SAP R/3 system, it takes only 8 digit password for any user. So, it checks upto 8 characters only. No metter how much digits or characters you have appended.
    Try to give some other password instead of just appending digits or characters behing "password".
    Regards,
    Bhavik

  • JCO server registred in CRM

    Hi experts,
    We´re calling a JCO server from our CRM 4.0 Instalation and followed the instructions found in some threads, our code looks like:
    Start the server
    public void startServers()
      // Server 1 listens for incoming requests from system 1
      // (Change gateway host, service, and program ID according to your needs)
         Properties properties = new Properties();
         properties.setProperty("jco.server.gwhost", "10.0.0.4");
         properties.setProperty("jco.server.gwserv", "sapgw00");
         properties.setProperty("jco.server.progid", "JAVASERVER");
         properties.setProperty("jco.server.unicode", "1" );
         JCO.Server server = new JCO.Server( properties, repository );
         srv[0]=server;
    //    srv[0] = new Server("10.0.0.4","sapgw00","JAVASERVER",repository);
      for (int i = 0; i < srv.length; i++) {
    try {
    srv.setTrace(true);
    srv.start();
    catch (Exception ex) {
    System.out.println("Could not start server " + srv.getProgID() + ":
    " + ex);
        }//try
      }//for
    When we use the Server constructor we find to get the two system get connected but sumetimes with abnormal behavior, our RFC destination are set to unicode.
    If we use the JCO.Server constructor to set our server to unicode, we are only able to get the system connected without receive any message.
    Any suggestion?
    Thanks in advance.

    Hi Jose,
    in the line:
    properties.setProperty("jco.server.unicode", "1" );
    You explicitly set the property to use Unicode. In:
    srv[0] = new Server("10.0.0.4","sapgw00","JAVASERVER",repository);
    You don't use this option. So I think this is the main reason.
    Regards
    Gregor

  • Desktop login smartcard on SunRay 170

    Hello all!,
    I'm having trouble to set up the login by smartcard on my sunray170 terminals (connected to a sunfire server).
    The behavior I want is that the sunray asks the user for a smartcard, this smartcard has installed the java authentication applet where is stored a valid user and password, when the user inserts it I want the welcome screen to ask for the PIN only and then authenticate.
    I've done this on a sunblade1500 following the Solaris SmartCard Admin guide and on the blade works perfect, but in the rays it just doesn't work.
    I've tried to change the policies (utpolicy) to accept only card users but when a user insert a card (whose token has been previously registered on the system) it goes to a standard solaris login screen, no user is readed from the smartcard:
    Anyone knows how to do this? Please?
    I really appreciate your help thanks!

    I understand, my device is turned on in utdevadm and I've turned of smartcards on utpolicy, but how I change login properties? Like I've said before, I've done the same steps I did on the sunblades and it doesn't work, I want the beautiful screen on the sunray saying "please insert your smartcard", and the the data being read from the card but I cannot accomplish this the same way than on the blades, how can I do it?
    I've also tried doing:
    http://wiki.sun-rays.org/index.php/Personalizing_Smart_Cards_for_use_with_the_Sun_Ray_Ultra_Thin_Terminals
    but with no success, any ideas?
    I really appreciate your time!

  • JCO or SAP Connector Framework

    Hello
    I have seen in these links that JCO is deprecated:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/40/003c41325fa831e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/89/8a185c148e4f6582560a8d809210b4/content.htm
    Developers are supposed to use SAP Connector Framework, but it seems that this is a Framework only useful from a Portal Application. What I want to do is to invoke RFCs in a R3 System from a webapp using struts. I have done this using JCO.
    Should I implement it using another solution?
    Thanks in advance

    Hi Marcos,
    You can, of course, use SAP JCO in simple Java Project by importing needed Jars.
    I provide you a sample of connection class with method that you can use for calling a function.
    You can use method "showFunctionParameters()" to test your connection...
    regards
    package echoFunction;
    import java.io.IOException;
    import java.util.Properties;
    import javax.swing.JOptionPane;
    import com.sap.mw.jco.IFunctionTemplate;
    import com.sap.mw.jco.JCO;
    public class JcoConnection {
         private final String REPO_NAME = "REPO_01";
         private JCO.Repository repository;
         private JCO.Function function;
         private JCO.Client connection;
         private JCO.ParameterList paramImport;
         private JCO.ParameterList paramExport;
         private JCO.ParameterList paramTables;
         public JcoConnection() {
              // constructor
         public void connect(String sapClient, String userId, String passWord,
                   String language, String server, String systemNumber) {
              connection = JCO.createClient(sapClient, userId, passWord, language,
                        server, systemNumber);
              connection.connect();
              repository = new JCO.Repository(REPO_NAME, connection);
         public void connect(Properties properties) {
              connection = JCO.createClient(properties);
              connection.connect();
              repository = new JCO.Repository(REPO_NAME, connection);
         public void disConnect() {
              connection.disconnect();
         public void useFunction(String functionName) {
              IFunctionTemplate ift = repository.getFunctionTemplate(functionName
                        .toUpperCase());
              function = new JCO.Function(ift);
              paramImport = function.getImportParameterList();
              paramExport = function.getExportParameterList();
              paramTables = function.getTableParameterList();
         public void execute() throws JCO.AbapException {
              connection.execute(function);
         public void setInputValue(String paramName, String valueInput) {
              paramImport.setValue(valueInput, paramName);
         public String toString() {
              return connection.getAttributes().toString();
         public static void main(String[] args) {
              JcoConnection sapConn = new JcoConnection();
              try {
                   sapConn.connect(Utilities.loadPropertyFile("logon.properties"));
                   sapConn.useFunction("STFC_CONNECTION");
                   sapConn.setInputValue("REQUTEXT", "Echo text");
                   sapConn.execute();
              } catch (IOException ex) {
                   ex.printStackTrace();
              } catch (Exception ex) {
                   ex.printStackTrace();
              sapConn.disConnect();
              JOptionPane.showMessageDialog(null, sapConn.showFunctionParameters());
         public String showFunctionParameters() {
              String paramText = "";
              paramText = "ECHOTEXT: t";
              paramText += function.getExportParameterList().getString("ECHOTEXT")
                        + "n";
              paramText += "RESPTEXT: t";
              paramText += function.getExportParameterList().getString("RESPTEXT");
              return paramText;
    package echoFunction;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.util.Properties;
    public class Utilities {
         public static Properties loadPropertyFile(String filePath)
                   throws IOException {
              Properties properties = new Properties();
              properties.load(new FileInputStream(filePath));
              return properties;

  • Gateway FX and Blue Screen of Death

     Computer:
    Gateway FX 7024
    GeForce 8800GT 512 mb
     Problem:
     I've had the computer for 1 1/2 years with very few problems. Recently, the screen will lock up solid and be illegible with "static" lines all the way down the monitor. Sometimes before the screen locks up, it will flip to the blue screen of death, say it's dumping physical memory, and then lock up. Only thing I can do is restart, but it will do it again at random lengths of time. Happens more while I'm playing games than anything else. Sounds to me like the graphics card has gone Tango Uniform, but a computer guru, I am not. Any ideas?
     What I've done so far:
     I have checked for updated drivers and installed them.... no fix. I rolled back the drivers.... no fix. I have visually checked fans on power supply and graphics card to make sure they are working and they are fine. The fan on the motherboard spins, but doesn't appear to be moving overly fast. I checked BIOS and everything looks around what it should be for temp settings. In the "problems and solutions" application, it shows a video hardware error.
     The only thing i did notice was there is only a 400W power supply installed and from the posts I've read, the 8800GT graphics card should have a 700-900W power supply. However... I've never had problems with it before. Could this cause the problem after 1 1/2 years?
     help... i'm shaking from game withdrawals

    Visited a company IT department today and an engineer looked at the AT&T Net Client settings. It now works - this may have been the "fix" for those in a similar predicament (all in the AT&T Net Client):
    1. Click "Settings".
    2. Click "Show the login properties window".
    3. Click "Configure".
    4. Click "Next".
    5. Select the "Both the internet and my company's intranet" radio button.
    6. Select "Managed VPN - SSL DualAccess" from the dropdown.
    7. Click "Finish".
    Cheers,
    - Pete

  • Failed to Open the Connection in InfoView

    Hello,
    I have been unable to get Crystal Reports to run on InfoView using a third database.  I have successfully added and run reports on InfoView which use two other databases, and I cannot figure out why reports using the third database will not run.  The database is called NetRMS and is a Motorola product.  When I add a report to a folder in the Central Management Console and attempt to preview the report, I receive the message, u2018Failed to Open the Connection. Unable to Retrieve Objectu2019.  The User Name and Password that I am using DOES allow me to access that database and preview reports from the Crystal Reports program, and to run queries in the SQL Server Management Studio.
    The Login Properties in SQL for the login I am using are set to 'Grant Permission' to connect to the database engine, and the Database Source properties in the Crystal Report match those in the database I am trying to connect to.
    I am at an impasse with this and will Greatly appreciate any help you can give me.
    Thank you, Linda

    How are you trying to connect tot he database, ODBC?  Perhaps you need to define the DSN on the InfoView server using Start -> Administrative Tools -> Data Sources (ODBC)...
    HTH,
    Carl

  • Sa's password in SQL Server 2008 R2 Express

    Hi,
    In the SQL Server 2005 Express I can chose  the expert mode during the installation. This enables me to set the password  of the user “sa”.
    Now I tried to install SQL Server 2008 R2 Express but I had no possibility to change / set the password of the user “sa”.
    I read in the internet that the default-password of the user “sa” should be a blank password. Since in SQL Server 2008 R2 Express there was no way to set / change “sa”’s password I tried to login with a blank password. But this
    also didn’t worked.
    So my questions are:
    1.    Where during the SQL Server 2008 R2 Express setup can I set / change the “sa”’s password.
    2.    Where in the SQL Server 2008 R2 Express can I set / change the “sa”’s password after the installation.
    3.    What’s the default password of “sa” in SQL Server 2008 R2 Express?
    4.    Why a blank password for the unmodified “sa” account didn’t worked? 
    Thank in advance for all your helpful answers.

    I am not sure whether you found a solution for sa password reset in 2k8 express. May be useful to others.
    Steps to reset the password:
    1. Go to SQL Server Properties/Security tab and change the mode to SQL Server authentication mode
    2. Go to security/logins, open SA login properties
    a. Uncheck "Enforce password policy" and "Enforce password expiration" check box there if you decide
    to use weak password
    b. Assign password to SA user
    3. In SQL 2k8, we may get the following error when we reset the password,
    "Cannot set a credential for principal 'sa' . (Microsoft SQL Server, Error: 15535)"
    Resolution:
    but this can be fixed by selecting the "Map To Credential" check box on the General tab of the Login
    Properties - sa dialog box.
    4. You may get the following error after above step,
    “User is not associated with a trusted sql server connection"
    Resolution:
    In SQL Server Management Studio, Right-click the Server name, select Properties > Security
    Under Server Authentication, select SQL Server and Windows Authentication Mode
    The server must be stopped and re-started before this will take effect.
    5. Make sure the sa (at status tab of sa properties) is enabled after restart the server.
    It works =)!!!!!!!!! Thanks man =)

  • Dispatcher dies after afew seconds

    The dispatcher on my CI dies after afew seconds. In SAPMMC the SID becomes green then the message server closes the connection to the dispatcher forcing all WP's to die.
    The error on the message server:
    ERROR => MsSClientHandle: no server provides service ENQ
    I have here the seveloper traces for the message server and the dispatcher just in case.
    trc file: "dev_ms", trc level: 1, release: "620"
    [Thr 1736] Tue Mar 28 14:09:10 2006
    [Thr 1736] MsSSetTrcLog: trc logging not active
    [Thr 1736] relno      6200
    [Thr 1736] patchlevel 0
    [Thr 1736] patchno    1529
    [Thr 1736] intno      20020600
    [Thr 1736] pid        524
    [Thr 1736] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 524) [msxxserv.c   1533]
    [Thr 1736] MsHttpPortInsert: set HTTP state to LISTEN
    [Thr 1736] *** I listen to port sapmsRD1 (3610) ***
    [Thr 1736] *** HTTP port 8110 state LISTEN ***
    [Thr 1736] CUSTOMER KEY: >S1988002762<
    [Thr 1736] Tue Mar 28 14:10:41 2006
    [Thr 1736] *** ERROR => MsSClientHandle: no server provides service ENQ  (4), requested from <HOST_SID_nr [msxxserv.c   4078]
    [Thr 1736] ***LOG Q0I=> NiPRead: recv (10054: WSAECONNRESET: Connection reset by peer) [ninti.c 1094]
    [Thr 1736] *** ERROR => MsSRead: NiBufReceive (rc=NIECONN_BROKEN) [msxxserv.c   8618]
    [Thr 1736] *** ERROR => MsSClientHandle: MsSRead C1 (belrd110_RD1_10), MSEINTERN [msxxserv.c   3675]
    ====================================================
    Dispatcher:
    trc file: "dev_disp", trc level: 1, release: "620"
    Tue Mar 28 14:09:11 2006
    kernel runs with dp version 13(ext=2) (@(#) DPLIB-INT-VERSION-13)
    length of sys_adm_ext is 304 bytes
    systemid   560 (PC with Windows NT)
    relno      6200
    patchlevel 0
    patchno    1640
    intno      20020600
    make:      multithreaded, ASCII
    pid        3512
    ***LOG Q00=> DpSapEnvInit, DPStart (10 3512) [dpxxdisp.c   1022]
         shared lib "dw_xml.dll" version 1640 successfully loaded
         shared lib "dw_xtc.dll" version 1640 successfully loaded
         shared lib "dw_stl.dll" version 1640 successfully loaded
    Tue Mar 28 14:09:23 2006
    WARNING => DpNetCheck: NiHostToAddr(www.doesnotexist0201.qqq.nxst) took 12 seconds
    Tue Mar 28 14:09:41 2006
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 18 seconds
    ***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3452]
    MtxInit: -2 0 0
    DpShMCreate: sizeof(wp_adm)          9880     (760)
    DpShMCreate: sizeof(tm_adm)          1835536     (9132)
    DpShMCreate: sizeof(wp_ca_adm)          18000     (60)
    DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    DpShMCreate: sizeof(comm_adm)          192000     (384)
    DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 03A30040, size: 2119920)
    DpShMCreate: allocated sys_adm at 03A30040
    DpShMCreate: allocated wp_adm at 03A30678
    DpShMCreate: allocated tm_adm_list at 03A32D10
    DpShMCreate: allocated tm_adm at 03A32D38
    DpShMCreate: allocated wp_ca_adm at 03BF2F48
    DpShMCreate: allocated appc_ca_adm at 03BF7598
    DpShMCreate: allocated comm_adm_list at 03BF8D08
    DpShMCreate: allocated comm_adm at 03BF8D20
    DpShMCreate: allocated ca_info at 03C27B20
    DpShMCreate: allocated wall_adm at 03C27B28
    MBUF state OFF
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation std
    <EsNT> Memory Reset enabled as NT default
    <EsNT> EsIUnamFileMapInit: Initialize the memory 2048 MB
    <ES> 2047 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG Q0K=> DpMsAttach, mscon ( belrd110) [dpxxdisp.c   9447]
    CCMS: Initalizing shared memory of size 20000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6200, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   941]
    DpMsgAdmin: Set patchno for this platform to 1640
    Release check o.K.
    Tue Mar 28 14:10:21 2006
    ERROR => W0 (pid 2812) died [dpxxdisp.c   11848]
    ERROR => W1 (pid 3120) died [dpxxdisp.c   11848]
    ERROR => W2 (pid 1532) died [dpxxdisp.c   11848]
    ERROR => W3 (pid 2864) died [dpxxdisp.c   11848]
    ERROR => W4 (pid 2828) died [dpxxdisp.c   11848]
    ERROR => W5 (pid 1312) died [dpxxdisp.c   11848]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => W6 (pid 1300) died [dpxxdisp.c   11848]
    ERROR => W7 (pid 3688) died [dpxxdisp.c   11848]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => W8 (pid 4064) died [dpxxdisp.c   11848]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => W9 (pid 3464) died [dpxxdisp.c   11848]
    ERROR => W10 (pid 1516) died [dpxxdisp.c   11848]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => W11 (pid 2888) died [dpxxdisp.c   11848]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => W12 (pid 2092) died [dpxxdisp.c   11848]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpEnvCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    killing W0-2812 (SIGUSR2)
    ERROR => DpWpKill(2812, SIGUSR2) failed [dpxxtool.c   2645]
    killing W1-3120 (SIGUSR2)
    ERROR => DpWpKill(3120, SIGUSR2) failed [dpxxtool.c   2645]
    killing W2-1532 (SIGUSR2)
    ERROR => DpWpKill(1532, SIGUSR2) failed [dpxxtool.c   2645]
    killing W3-2864 (SIGUSR2)
    ERROR => DpWpKill(2864, SIGUSR2) failed [dpxxtool.c   2645]
    killing W4-2828 (SIGUSR2)
    ERROR => DpWpKill(2828, SIGUSR2) failed [dpxxtool.c   2645]
    killing W5-1312 (SIGUSR2)
    ERROR => DpWpKill(1312, SIGUSR2) failed [dpxxtool.c   2645]
    killing W6-1300 (SIGUSR2)
    ERROR => DpWpKill(1300, SIGUSR2) failed [dpxxtool.c   2645]
    killing W7-3688 (SIGUSR2)
    ERROR => DpWpKill(3688, SIGUSR2) failed [dpxxtool.c   2645]
    killing W8-4064 (SIGUSR2)
    ERROR => DpWpKill(4064, SIGUSR2) failed [dpxxtool.c   2645]
    killing W9-3464 (SIGUSR2)
    ERROR => DpWpKill(3464, SIGUSR2) failed [dpxxtool.c   2645]
    killing W10-1516 (SIGUSR2)
    ERROR => DpWpKill(1516, SIGUSR2) failed [dpxxtool.c   2645]
    killing W11-2888 (SIGUSR2)
    ERROR => DpWpKill(2888, SIGUSR2) failed [dpxxtool.c   2645]
    killing W12-2092 (SIGUSR2)
    ERROR => DpWpKill(2092, SIGUSR2) failed [dpxxtool.c   2645]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    Tue Mar 28 14:10:31 2006
    NiISelect: TIMEOUT occured(10000 msecs)
    dump system status
    Workprocess Table (long)               Tue Mar 28 18:10:31 2006
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA     2812 Ended         no      1   0             0                                                             
    1 DIA     3120 Ended         no      1   0             0                                                             
    2 DIA     1532 Ended         no      1   0             0                                                             
    3 DIA     2864 Ended         no      1   0             0                                                             
    4 DIA     2828 Ended         no      1   0             0                                                             
    5 DIA     1312 Ended         no      1   0             0                                                             
    6 UPD     1300 Ended         no      1   0             0                                                             
    7 UPD     3688 Ended         no      1   0             0                                                             
    8 ENQ     4064 Ended         no      1   0             0                                                             
    9 BTC     3464 Ended         no      1   0             0                                                             
    10 BTC     1516 Ended         no      1   0             0                                                             
    11 SPO     2888 Ended         no      1   0             0                                                             
    12 UP2     2092 Ended         no      1   0             0                                                             
    Dispatcher Queue Statistics               Tue Mar 28 18:10:31 2006
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    1
    2000
    4
    4
    --------++++--
    +
    DIA
    3
    3
    2000
    3
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          10
    wake_evt_udp_now     0
    wake events           total     6,  udp     5 ( 83%),  shm     1 ( 16%)
    since last update     total     6,  udp     5 ( 83%),  shm     1 ( 16%)
    Dump of tm_adm structure:               Tue Mar 28 18:10:31 2006
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Tue Mar 28 18:10:31 2006
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    Tue Mar 28 14:10:36 2006
    NiISelect: TIMEOUT occured(5000 msecs)
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, handle 3, data complete
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    killing process (1096) (SOFT_KILL)
    killing process (3368) (SOFT_KILL)
    [DpProcDied] Process lives  (PID:1096  HANDLE:1556)
    wait for end of gateway
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    Tue Mar 28 14:10:37 2006
    NiISelect: TIMEOUT occured(1000 msecs)
    [DpProcDied] Process died  (PID:1096  HANDLE:1556)
    [DpProcDied] Process lives  (PID:3368  HANDLE:1548)
    wait for end of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    Tue Mar 28 14:10:38 2006
    NiISelect: TIMEOUT occured(1000 msecs)
    [DpProcDied] Process lives  (PID:3368  HANDLE:1548)
    wait for end of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    Tue Mar 28 14:10:39 2006
    NiISelect: TIMEOUT occured(1000 msecs)
    [DpProcDied] Process lives  (PID:3368  HANDLE:1548)
    wait for end of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    Tue Mar 28 14:10:40 2006
    NiISelect: TIMEOUT occured(1000 msecs)
    [DpProcDied] Process lives  (PID:3368  HANDLE:1548)
    wait for end of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    Tue Mar 28 14:10:41 2006
    NiISelect: TIMEOUT occured(1000 msecs)
    [DpProcDied] Process died  (PID:3368  HANDLE:1548)
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60, ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4, ser 0, ex 0, errno 0
    DpConvertRequest: net size = 163 bytes
    NiBufSend starting
    NiIWrite: write 562, 1 packs, MESG_IO, handle 3, data complete
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name          -, type 4, key -
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   9673]
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, handle 3, data complete
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiSelClear: removed hdl 3 from selectset
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60, ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40, ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40, ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/13
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 12)
    MBUF component DOWN
    NiBufClose: clear extensions for handle 3
    NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
    NiICloseHandle: shutdown and close nihandle-socket 3-1560
    MsIDetach: detach MS-system
    EsCleanup ....
    ***LOG Q05=> DpHalt, DPStop ( 3512) [dpxxdisp.c   8207]
    Good Bye .....

    I added the sapservice and sidadm accounts in the login properties for the respective databases for some reason those users did not have access rights to the DB.
    Strange! windows thing I guess!
    Anyhow. I solved it. thanks for your help.
    Damien

  • Serious problem after migration assistant - any ideas?

    Hi folks-
    I bought an iMac this weekend and for various reasons did not configure with data from my MacBook Pro when I first turned it on, but waited until two nights ago to use Migration Assistant to transfer all but users.
    I updates both machines fully with Software Update first. MigAsst went fine until I hit the begin option and after a few minutes the iMac told me there was a problem with my MacBook Pro (MBP). I quit MigAsst on the iMac but even after an hour I couldn't escape it or quit the MBP, so shut down using the power button.
    When I restarted, I had a black screen with lighted keyboard and startup chime. I hard-restarted, same thing happened. Third time, I got the grey apple window with no apple for about ten minutes, then a light blue screen with the spinning spokes (not the rainbow) and a slightly darker window with no spokes. The two blue windows alternated back and forth for maybe 8-10 seconds each endlessly until I restarted.
    Since I live about 4 hours from the nearest Apple store and tech support was already closed for the evening, I restarted from the Snow Leopard disk and repaired permissions (there were many repairs) and repaired the disk (was told it was fine). I restarted and got the grey-blue-blue cycle again.
    I reinstalled the OS from the Snow Leopard disk and everything worked fine - I ran as many tests as I know how to, even perturbed the casing slightly wondering if it was a loose video card wire or something. Nothing. It all worked fine for several hours until after the second Software Update (which as I recall was only Java and iTunes), and now all I get is the black screen again. Also, now the green light on the power cable is not glowing even though the battery reads as fully charged and the keyboard and startup chime are all hunky dory.
    I'd think it was a video card issue, but there are too many incongruous symptoms. If I could at least start up from the OS disk again I could get my data off... Any ideas, diagnoses or suggestions would be much appreciated.
    With gratitude and blessings.

    The problem is described in a different post as well, and it is considered to be answered. However, the answers are not very satisfactory because they are complicated.
    The underlying problem is that MacOS is looking for a FileVault user, while after migration the user files are actually not within a FileVault bundle.
    I believe that there must be a setting to change the login properties for the user to not look for a FileVault user, but for a plain, non-encrypted user. So please, somebody from Apple answer this questions!
    Command line very welcome, because I only have a command line user right now. And oh, my MBA didn't ship with a boot DVD so I don't even have the chance to reinstall my system easily. Also, getting my data out of the FileVault on my current machine, transfering everything again (almost 250 GB) and then putting them back into FileVault seems a bit too much effort for what appears to be a simple bit set somewhere…

  • Cannot edit pwd.tmp file Installing IDM 7.1 database on Win2k8 - MSSQL 2005

    Hi there,
    I am installing IDM 7.1 on a virtual Windows 2008 Server, MS SQL 2005.
    I am stuck at a very early stage in the Installing-SQL-database guide; I have tested the database
    connection successfully, using the mxmc-test.cmd script. I am failing on the next step, running the
    mxmc-install.cmd.
    There are two different errors, both with the final message "echo was unexpected at this time".
    The first error skips past the password prompt for users sa, mxmc_oper and confirm password
    for mcmx_oper, shows the error message and then returns me to the command prompt.
    Once I added my logged-in user [SID]adm as "mapped to the Database" in  the
    MS SQL Management Console > Login Properties > User Mapping, I got a new variation
    on the above message.
    The second message again skips past the sa user password prompt, but then
    displays additional text:
    E:\IDM\51035967\DATA_UNITS\IC_DESIGNTIME_71\Database\SQL-Server\mxmc-install
    ***Install an Identity Center database mxmc_db
    ***This command will install a new Identity Centre database.
    ***To continue press Enter, otherwise CTRL-C
    Press an key to continue . . .
    Enter password for user sa:
    Access is denied.
    E:\IDM\51035967\DATA_UNITS\IC_DESIGNTIME_71\Database\SQL-Server\pwd.tmp
    Access is denied.
    Enter password for mxmc_oper:
    Access is denied.
    Confirm password for mxmc_oper:
    Access is denied.
    echo was unexpected at this time.
    I have previously enabled the sa user, and reset its password to be the installation
    master password. I first tried with domain\[SID]adm , then localmachine\[SID]adm, then
    with Domain\Administrator, and lastly with local machine\Administrator
    Whan I manually add some text to pwd.tmp, I am not allowed to save the file, as
    either [sid]adm. As administrator I am able to save the file.
    When I run the script as either Administrator I get the first error.
    With either [sid]adm  user I get the second error.
    So it appears to be Windows 2008 Server file security, for my [sid]adm users.
    They are both in the Administrators group for the local machine,
    and the E:\ has full access for Administrators group.
    Any help would be greatly appreciated!
    Kind regards,
    Andy Minshull

    I have solved this issue; there are two parts to the solution;
    1: Write Permission to pwd.tmp
    Although the installation cd folder had already been copied from the host to the VM guest, copying the folder to a new name resolved the issues with the file security. Not sure why exactly, but once done, SIDADM is able to edit pwd.tmp manually, as well as via the script.
    2: Alternative Install Script.
    We were greatly helped [by this SDN post|Re: identity center install problem: "echo unexspected at this time";, 4th reply:
    (I'm installing on a virtual machine)....
    Then I tried mxmc-xinstall with given prefixes. That worked for me.
    On inspection of the mxmc-install script, it sets the necessary variables, based on some user input, then passes the values to the script mxmc-xinstall. Running mxmc-xinstall with no switches shows the prefixes required. Also, the mxmc-xinstall script is outlined in the Install guide, under section "Installing the Identity Center database with a given prefix", since it provides the opportunity to choose a prefix other than the standard "mxmc".
    These two actions have solved my problem. So, based on the fact that Karsten had the same problem, on the same OS and on  a VM, I guess it is safe to assume that this is a bug specific to using Win2k8 on VMware. Our VMWare version is Server 2.
    All the best,
    Andy
    Edited by: Andy Minshull on Jan 7, 2010 12:23 PM
    Edited by: Andy Minshull on Jan 7, 2010 12:28 PM

  • Problem in Moving Files Locally after FTP

    I am being stuck in the middle of my application development. What simple I need to do is to get all the files from location and put them all on FTP site. After doing FTP I need to put these files locally to other flder.
    I am done with FTP site files move to the client FTP site successfully but after that when I try to move files to local directory It idnt move and "renameTo" function returns me false.I also listing my code below.
    ToFTPFiles function FTP the files and MoveFiles function wil simply move the files to the local directory.
    Adding one more thing If there are 6 files it move some time two files and some time 3 but not all always.But If I simple call MoveFiles function without ToFTPfiles it moves all files successfully.
    public void ToFTPFiles(){
                        Logger.log(Level.INFO,"FTP CLass Called"+"\n");     
                        FTPClient client = new FTPClient();                
                      FileInputStream MovedFilePath=null;
                      File f =null;
                      try {
                          client.connect(Properties.FTPServer);
                          if (!client.login(Properties.FTPUserName, Properties.FTPPassword))                     
                               Logger.log(Level.INFO,"=====Unable to log into FTp Site======="+"\n");     
                          else                           
                               Logger.log(Level.INFO,"=====Successfully Log in======="+"\n");                     
                          client.setFileType(client.BINARY_FILE_TYPE);
                          client.enterLocalPassiveMode();                     
                          f = new File(Properties.PathOfFiles);
                          String[]FilesToBeMoved = f.list();
                          for (int i=0;i<FilesToBeMoved.length;i++)     
                               MovedFilePath=new FileInputStream(new File(f.getPath()+"\\"+FilesToBeMoved));               
                   boolean retValue= client.storeFile(FilesToBeMoved[i],MovedFilePath);               
                   if (!retValue){                           
                        Logger.log(Level.INFO,"==File=="+FilesToBeMoved[i]+"Is not able to FTP"+"\n");
              } catch (IOException e) {                       
              e.printStackTrace();
              } finally {
              try {
              if (MovedFilePath != null) {
                   MovedFilePath.close();
              client.disconnect();          
              if (!client.isConnected())
                   Logger.log(Level.INFO,"=======Not Connected==============="+"\n");
              else
                   Logger.log(Level.INFO,"=======Connected==============="+"\n");
              } catch (IOException e) {
              e.printStackTrace();
                   public void MoveFiles() throws IOException
                        File files = new File(Properties.PathOfFiles);                    
              String[]FilesToBeMoved1 = files.list();
              File FromPath=null;
              File ToPath=null;
              for (int j=0;j<FilesToBeMoved1.length;j++)     
                   FromPath= new File(files.getPath()+"\\"+FilesToBeMoved1[j].trim());
                   ToPath = new File(Properties.ProcessedFilePath+FilesToBeMoved1[j].trim());
                   Logger.log(Level.INFO,"From Path = "+FromPath+"\n");
                   Logger.log(Level.INFO,"To Path = "+ToPath+"\n");
                   //if (!new File(f.getPath()+"\\"+FilesToBeMoved[i]).renameTo(new File(Properties.ProcessedFilePath+FilesToBeMoved[i])));
                   if (!FromPath.canRead())
                        Logger.log(Level.INFO,"Cannot Read The File = "+"\n");
                   if (!FromPath.renameTo(ToPath)){
                        Logger.log(Level.INFO,"==Not Moved to the Required Folder"+"\n");
                        if (!FromPath.renameTo(ToPath)){
                             Logger.log(Level.INFO,"==Not Moved Again"+"\n");
                   else
                        Logger.log(Level.INFO,"==Successfull"+"\n");
                   }Any Guess!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Thanks Man this is the real mess happening in my code, thanks for identification.

  • Unable to connect to Company.

    Dear All,
         I have created AddOn and trying to Install it in SAP B1 2004. But it gives me error 'Not connected to Company' while running AddOn.
         Can you pls. let me know how to salve this problem?

    Archana,
    There are a few different reasons for this.  The typical is that you do not have the login properties set correctly in your add-on code.  You may want to review the SAP SDK Help Center and specifically look at "Connecting to SAP Business One Database" for the DI API and/or "Single Sign-on".
    HTH,
    Eddy

Maybe you are looking for

  • Error with month end payroll Accruals

    We have an error when posting month end payroll accruals for our weekly payroll, though the bi-weekly payroll works fine! I have checked tables T549S and T51A1 and all of the dates are correct and set as I would expect, however the system did not cre

  • K1 ideapad wont do anything

    hello.. i have a k1 ideapad but it wont turn or or charge..when you connect the charger to it a green circle with 100% comes on then disappears nothing else happpens...i press the poweer on button and nothing..havbe tried the reset by holding the vol

  • TS1424 Error -1202, I am not able to complete a purchase after entering security information

    When I try to purchase music, i keep getting this error and it will not finish the purchase.  Anyone have a fix?

  • Java.rmi.server.codebase in JSP

    Hi, i have a system made from an RMI client and an RMI server. The users access the system through a JSP page, which creates an instance of the RMI client. In order for the system to work, i need to specify the java.rmi.server.codebase property. For

  • OEM Vista 32-bit - how to get 64-bit install disk - Satellite X200/N00

    I have a Satellite X200/N00 purchased earlier this year. It came with OEM 32-bit Vista Ultimate preinstalled. This has mostly been working well but for various reasons I want to move to 64-bit Vista. If you purchase a retail version of Vista Ultimate