Application Server Directory file attributes lists

Hi,
I'm searching for Funtion Module or Method to get Application Server Directory file lists with all attributes.
1) FM 'SUBST_GET_FILE_LIST' is not getting midifued date and time.
2) Method CL_GUI_FRONTEND_SERVICES-DIRECTORY_LIST_FILES is getting local directory files.
I'm looking for standard way to get all attributes whatever we are seeing in AL11 transaction like Name, Length, Creator and last changed date and time stamp-
...Nandha

Hi
The fm SUBST_GET_FILE_LIST is right but you need to convert the date and time by your self, u can use this routine:
PERFORM P6_TO_DATE_TIME_TZ(RSTR0400) USING FILE_LIST-MTIME
                                                 FILE_LIST-MOD_TIME
                                                 FILE_LIST-MOD_DATE.
Max

Similar Messages

  • Read application server directory and file

    Hi,
      I'm using the FM "RZL_READ_DIR_LOCAL" to retrieve the application server directory and filename.  The returned result contain all the directory name and filename.  Is there any other FM can separate the result into directory and file??
    Regards,
    Kit

    hi
    Ya One more FM is there - Call Function Gui Upload.
    It will read the file from the app server.
    See this Example:-
    Refer this:
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm
    ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
    *& Report  ZUPLOADTAB                                                  *                     &----
    *& Example of Uploading tab delimited file                             *
    REPORT  zuploadtab                    .
    PARAMETERS: p_infile  LIKE rlgrap-filename
                            OBLIGATORY DEFAULT  '/usr/sap/'..
    DATA: ld_file LIKE rlgrap-filename.
    *Internal tabe to store upload data
    TYPES: BEGIN OF t_record,
        name1 like pa0002-VORNA,
        name2 like pa0002-name2,
        age   type i,
        END OF t_record.
    DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
          wa_record TYPE t_record.
    *Text version of data table
    TYPES: begin of t_uploadtxt,
      name1(10) type c,
      name2(15) type c,
      age(5)  type c,
    end of t_uploadtxt.
    DATA: wa_uploadtxt TYPE t_uploadtxt.
    *String value to data in initially.
    DATA: wa_string(255) type c.
    constants: con_tab TYPE x VALUE '09'.
    *If you have Unicode check active in program attributes then you will
    *need to declare constants as follows:
    *class cl_abap_char_utilities definition load.
    *constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    *START-OF-SELECTION
    START-OF-SELECTION.
    ld_file = p_infile.
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    ELSE.
      DO.
        CLEAR: wa_string, wa_uploadtxt.
        READ DATASET ld_file INTO wa_string.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
                                          wa_uploadtxt-name2
                                          wa_uploadtxt-age.
          MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
          APPEND wa_upload TO it_record.
        ENDIF.
      ENDDO.
      CLOSE DATASET ld_file.
    ENDIF.
    *END-OF-SELECTION
    END-OF-SELECTION.
    *!! Text data is now contained within the internal table IT_RECORD
    Display report data for illustration purposes
      loop at it_record into wa_record.
        write:/     sy-vline,
               (10) wa_record-name1, sy-vline,
               (10) wa_record-name2, sy-vline,
               (10) wa_record-age, sy-vline.
      endloop.
    reward if help.

  • Download all files from a specific application server directory to Local pc

    Hi Experts,
    I have a requirement of downloading all the files from an application server directory to a local pc.
    I know how to download a single file from an application server at a time provided the file name is known.
    But my requirement is to download all the files in that particulary directory, because I dont know how many files were created in that directory and what are their names.
    Please kindly provide the solution.
    Thanks,
    Kalikonda.

    Nelson,
    Here is the function module that I have used to get all the application server files.
    appl_dir_name is the path of the directory  i.e. '/outbound/PD1/Applnserverfiles/'
    it_appl_srv_fls is the internal table where all the files gets stored in.
    CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
       EXPORTING
         dir_name                     = appl_dir_name
      FILE_MASK                    = ' '
    IMPORTING
      DIR_NAME                     =
      FILE_COUNTER                 =
      ERROR_COUNTER                =
       TABLES
         dir_list                     = it_appl_srv_fls
    EXCEPTIONS
      invalid_eps_subdir           = 1
      sapgparam_failed             = 2
      build_directory_failed       = 3
      no_authorization             = 4
      read_directory_failed        = 5
      too_many_read_errors         = 6
      empty_directory_list         = 7
      OTHERS                       = 8
      IF sy-subrc <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    hope this solves your problem.
    Thanks,
    kalikonda.

  • How to know the first placed file in Application server directory

    Hi All ,
    i want to Know the First plased file in a application server directory . i have tried with
    FM EPS_GET_FILE_ATTRIBUTES but it is giving the file size. Can anybody  give some idea to get the file lastmodify property.
    Thanks & Regards
    Prithvi.

    Hi Prithvi!
    Use the methods of class CL_GUI_FRONTEND_SERVICES (if your release is at least 620, sorry otherwise).
    Method DIRECTORY_LIST_FILES will give you all files of a directory, then you can check with method FILE_GET_ATTRIBUTES for some date info.
    But maybe you can agree about a timestamp in the filename - this has to be set by the sender, but is much easier and reliable, too.
    Regards,
    Christian

  • File exist in application server directory

    Hi there,
    On my SAP server, i have a directory created specifically to store input files generated from other external systems.
    From my ABAP program, i need to check if any file exist on that application server directory. If yes, then i will proceed to read the input file and process it.
    If it's empty, then output message that file is not available.
    Are there any FM to do this?

    you can use this code to do this...
    Upload data from file
      DATA: lv_filename  TYPE string, "File name
            lv_line      TYPE string. "One line entry in a file
      lv_filename = iv_file_name.
      IF iv_location = gc_application.
        IF iv_record_count IS SUPPLIED.
      Open file
          IF gv_file IS INITIAL.
            OPEN DATASET lv_filename FOR INPUT IN TEXT MODE
                                     ENCODING DEFAULT
                                     IGNORING CONVERSION ERRORS.
            IF sy-subrc <> 0.
              RAISE file_open_error.
            ENDIF.
            gv_file = gc_check.
          ENDIF.
      Read data
          DO iv_record_count TIMES.
            READ DATASET lv_filename INTO lv_line.
            IF sy-subrc <> 0.
      Close file
              CLOSE DATASET lv_filename.
              IF sy-subrc NE 0.
                RAISE file_close_error.
              ENDIF.
              CLEAR gv_file.
    Exit from the loop
              EXIT.
            ENDIF.
            IF iv_separator IS NOT INITIAL.
              CALL FUNCTION 'Z_WM_SPLIT_DATA'
                EXPORTING
                  iv_data      = lv_line
                  iv_separator = iv_separator
                CHANGING
                  ct_tab_data  = ct_tab_data.
            ELSE.
              CHECK NOT lv_line IS INITIAL.
              APPEND lv_line TO ct_tab_data .
            ENDIF.
          ENDDO.
        ELSE.
      Open file
          OPEN DATASET lv_filename FOR INPUT IN TEXT MODE
                                   ENCODING DEFAULT
                                   IGNORING CONVERSION ERRORS.
          IF sy-subrc <> 0.
            RAISE file_open_error.
          ENDIF.
      Read data
          DO.
            READ DATASET lv_filename INTO lv_line.
            IF sy-subrc <> 0.
              EXIT.
            ENDIF.
            IF iv_separator IS NOT INITIAL.
              CALL FUNCTION 'Z_WM_SPLIT_DATA'
                EXPORTING
                  iv_data      = lv_line
                  iv_separator = iv_separator
                CHANGING
                  ct_tab_data  = ct_tab_data.
            ELSE.
              CHECK NOT lv_line IS INITIAL.
              APPEND lv_line TO ct_tab_data .
            ENDIF.
          ENDDO.
      Close file
          CLOSE DATASET lv_filename.
          IF sy-subrc NE 0.
            RAISE file_close_error.
          ENDIF.
        ENDIF.

  • Create application server moves files from i drive to c drive?

    Hello,
    my set up:
    windows 2003
    sql server 2008
    peopletools 8.51
    application FMSC 9.1
    PS Home on I:\TFS91
    While setting up a demo system for FMSC 9.1, I noticed that the application server and process schedulers are being created on the C: drive.
    This is strange because the PS Home are on the I: drive.
    I start PSADMIN from the I drive, but every time I create an application server on the I drive it copies the application server to the C: drive.
    Why is this happening?
    PeopleSoft Application Server Administration
    1) Administer a domain
    2) Create a domain
    3) Delete a domain
    4) Import domain configuration
    q) Quit
    Command to execute (1-4, q) : 2
    Please enter name of domain to create :FSDMO911
    Configuration templates:
    1) developer
    2) large
    3) medium
    4) small
    Select config template number: 3
    Creating domain...
    Copying application server configuration files...
    Copying to [C:\Documents and Settings\tuxadmin\ps
    t\pt\8.50\appserv\FSDMO911\psappsrv.cfg]
    Stripping Annotations...
    Copying [I:] to [C:\Documents and Settings\tuxadmin\ps
    t\pt\8.50\appserv\FSDMO911\psappsrv.cfx]
    Copying Jolt repository file...
    Domain created.
    Would you like to configure this domain now? (y/n) [y] :
    Quick-configure menu -- domain: FSDMO911
    Features Settings
    ========== ==========
    1) Pub/Sub Servers : No 15) DBNAME :[FSDMO911]
    2) Quick Server : No 16) DBTYPE :[MICROSFT]
    3) Query Servers : No 17) UserId :[QEDMO]
    4) Jolt : Yes 18) UserPswd :[QEDMO]
    5) Jolt Relay : No 19) DomainID :[TESTSERV]
    6) WSL : No 20) AddToPATH :[C:\mssql\Binn]
    7) PC Debugger : No 21) ConnectID :[people]
    8) Event Notification: Yes 22) ConnectPswd:[peop1e]
    9) MCF Servers : No 23) ServerName :[]
    10) Perf Collator : No 24) WSL Port :[7000]
    11) Analytic Servers : Yes 25) JSL Port :[9000]
    12) Domains Gateway : No 26) JRAD Port :[9100]
    Actions
    =========
    13) Load config as shown
    14) Custom configuration
    h) Help for this menu
    q) Return to previous menu
    Edited by: CLUTCH DBA on Feb 9, 2010 10:44 AM

    Note, if PS_CFG_HOME variable is not set, domains configuration files are going into the user path directory +%USERPROFILE%\psft\pt\<peopletools_version>+
    Nicolas.

  • How to have a live feed from application server log file (realtime viewr )

    how to have a live feed from application server log file (realtime viewr for apps log files)
    hi , thank you for reading my post.
    is there any way to have a live feed of Application server log ?
    for example is there any application that can watch the log file and show the changes as new log items come in ?
    can some one with more experience help ?

    Your question would be more suited to the Developer Forums
    http://devforums.apple.com
    but anyway...
    My goal is to develop a web application that is able to run on iPhone too, to capture the audio and video content from its camera and mic.
    Web Apps running in Safari don't have access to the camera or mic hardware.
    Or I should built a native application distributed through Apple store?
    That is your only option, although such a system already exists:
    http://itunes.apple.com/us/app/ustream-live-broadcaster/id319362690?mt=8

  • How to check if the file already exists in the application server directory

    Hi all. I'm on devsuite 10g.
    I transfer file from local machine to application server using webutil function webutil_file_transfer.client_to_as and I want to check if the file I'm transfering already exists on the server directory.
    How can I make this?
    Thanks all,
    Fabrizio

    use the text_io package and open the file in read-mode.
    like this
    declare
    xFileType text_io.file_type;
    begin
    xFileType := text_io.fopen('c:\temp\test.txt','R'); --file on the middle tier
    -- file exists;
    text_io.fclose(xFileType);
    exception
    when others then
    --file doesn't exist
    end;
    regards
    Christian

  • Scan application server directory to read a file by pattern

    Hi Experts,er
    I am trying to search for a file which is on application server
    File Name: payroll_1000_date_timestamp
    Since i will not know the timestamp on the file i will have to search the file in the folder like this: payroll_1000_date_*
    I have tried almost all below techniques but none of them work in background mode:
    1.F.M EPS2_GET_DIRECTORY_LISTING
    2.EPS_GET_DIRECTORY_LISTING
    3.Perform  DIRECTORY_CONTENTS_GET from F.M /SAPDMC/LSM_F4_SERVER_FILE
    Would appreciate if someone can highlight on a way i can do this search.
    Is there any function module or any utility which can run in background and give me all files present on app. server ? I can than filter it down
    later.
    Would appreciate your help.
    Thanks
    Bhanu

    Hi Bhanu,
    did you try the following??
    CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
      EXPORTING
    dir_name = gv_folder "'\usr\sap\ECD\SYS\global\chase\inbound'
    file_mask = 'payroll_1000_date_*'
      TABLES
    dir_list = lt_dir_list
      EXCEPTIONS
    invalid_eps_subdir     = 1
    sapgparam_failed       = 2
        build_directory_failed = 3
    no_authorization       = 4
        read_directory_failed  = 5
        too_many_read_errors   = 6
        empty_directory_list   = 7
    OTHERS = 8.
    IF sy-subrc = 0.

  • Download files from application server - unknown file name

    Hello everybody,
    I am working on a report allowing users to download XML files from the application server. All these XML files are created by the SAP system and their names can be found in a table. I can simply use OPEN DATASET for these files, put all file content to a buffer and send them to the GUI with CALL METHOD cl_gui_frontend_services=>gui_download.
    The problem is now that some files are touched by an external document management system. These files are moved to another directory and timestamped. The first is no problem since the folder name is always the same and can be replaced before the OPEN DATASET statement. But additionally, the file gets a timestamp, when the filename was xyz.xml before, it now gets xyz.xml.01012008123456123456. As I cannot try all possible values (mircoseconds!), I need a way to search for the right filename on the application server. Is there a function module for this available?
    It can always be stated that the former name (xyz.xml) is still a unique prefix, so I don't have to worry that xyz.xml.* will return multiple files.
    Thanks in advance for any suggestions.
    Christoph

    HI!
    I copy the function GET_DIRECTORY_FILE. In the eyelash of tables create one structures:
    DIR_FILES           LIKE                  ZDIR_FILES
    The single structure has component NAME (char 250).
    I code of the function that I use is:
    FUNCTION zget_directory_file.
    ""Interfase local
    *"  IMPORTING
    *"     REFERENCE(NAME_OF_DIR) TYPE  CHAR120
    *"     REFERENCE(NAME_OF_FILE) TYPE  CHAR120 OPTIONAL
    *"     REFERENCE(SP_CS) TYPE  CHAR120 OPTIONAL
    *"  TABLES
    *"      DIR_FILES STRUCTURE  ZDIR_FILES
      DATA: a_dir_name TYPE  char120,
            a_generic_name TYPE  char120,
            a_must_cs TYPE  char120.
      a_dir_name      = name_of_dir.
      a_generic_name  = name_of_file.
      a_must_cs       = sp_cs.
      DATA: errcnt(2) TYPE p VALUE 0.
      IF a_dir_name IS INITIAL.
       MESSAGE e220.     " 'Place cursor on valid line !'.
      ENDIF.
      CALL 'C_DIR_READ_FINISH'             " just to be sure
          ID 'ERRNO'  FIELD file_list-errno
          ID 'ERRMSG' FIELD file_list-errmsg.
      CALL 'C_DIR_READ_START' ID 'DIR'    FIELD a_dir_name
                              ID 'FILE'   FIELD a_generic_name
                              ID 'ERRNO'  FIELD file-errno
                              ID 'ERRMSG' FIELD file-errmsg.
      IF sy-subrc <> 0.
        sy-subrc = 4.
        EXIT.
      ENDIF.
      file-dirname = a_dir_name.
      DO.
        CLEAR file.
        file-name = '*.zip'.
        CALL 'C_DIR_READ_NEXT'
          ID 'TYPE'   FIELD file-type
          ID 'NAME'   FIELD file-name
          ID 'LEN'    FIELD file-len
          ID 'OWNER'  FIELD file-owner
          ID 'MTIME'  FIELD file-mtime
          ID 'MODE'   FIELD file-mode
          ID 'ERRNO'  FIELD file-errno
          ID 'ERRMSG' FIELD file-errmsg.
        file-dirname = a_dir_name.
        MOVE sy-subrc TO file-subrc.
        CASE sy-subrc.
          WHEN 0.
            CLEAR: file-errno, file-errmsg.
            CASE file-type(1).
              WHEN 'F'.                 " normal file.
                PERFORM filename_useable USING file-name file-useable.
              WHEN 'f'.                 " normal file.
                PERFORM filename_useable USING file-name file-useable.
              WHEN OTHERS.              " directory, device, fifo, socket,...
                MOVE sap_no  TO file-useable.
            ENDCASE.
            IF file-len = 0.
              MOVE sap_no TO file-useable.
            ENDIF.
          WHEN 1.                     " end of directory
            EXIT.
          WHEN 4.                     " filename too long
            MOVE sap_no TO file-useable.
          WHEN OTHERS.
            ADD 1 TO errcnt.
            IF errcnt > 90.
              EXIT.
            ENDIF.
            IF sy-subrc = 5.
              MOVE: '???' TO file-type,
                    '???' TO file-owner,
                    '???' TO file-mode.
            ELSE.
            ULINE.
            WRITE: / 'C_DIR_READ_NEXT', 'SUBRC', SY-SUBRC.
            ENDIF.
            MOVE sap_no TO file-useable.
        ENDCASE.
       PERFORM p6_to_date_time_tz(rstr0400) USING file-mtime
                                                  file-mod_time
                                                  file-mod_date.
      * Does the filename contains the requested pattern?
      * Then store it, else forget it.
       MOVE-CORRESPONDING file TO file_list.
       APPEND file_list.
        MOVE file-name TO dir_files-name.
        APPEND dir_files.
       IF a_must_cs = no_cs.
         MOVE-CORRESPONDING file TO file_list.
         APPEND file_list.
       ELSE.
         IF file-name CS a_must_cs.
           MOVE-CORRESPONDING file TO file_list.
           APPEND file_list.
         ENDIF.
       ENDIF.
      ENDDO.
    ENDFUNCTION.
    *&      Form  filename_useable
          text
         -->A_NAME     text
         -->A_USEABLE  text
    FORM filename_useable USING a_name a_useable.
    *--================--
      DATA l_name(75).
      l_name = a_name.
      IF l_name(4) = 'core'.
        a_useable = sap_no.
      ELSE.
        a_useable = sap_yes.
      ENDIF.
    ENDFORM.                    "FILENAME_USEABLE
    With this I obtain all the archives XML of that route in a table
    DATA: zfiles LIKE STANDARD TABLE OF zdir_files WITH HEADER LINE.
    CALL FUNCTION 'ZGET_DIRECTORY_FILE'
      EXPORTING
        name_of_dir = dsn
      TABLES
        dir_files   = zfiles.
    IF sy-subrc = 0.
      LOOP AT zfiles .
        IF  zfiles-name+0(2) = 'O_' AND
            zfiles-name+2(3) = sy-mandt AND
            zfiles-name+5(1) = '_' AND
           zfiles-name+22(4) = '.xml'.
          file = zfiles-name.
    endloop.
    endif.
    I hope this helps you.
    Regards.

  • Server Directory/File Access Security Auditing - Is This Possible on OSX Server?

    I am looking for a solution that will give me the ability to monitor/audit who access what file, when, and if possible,  give alerts to the "owner" of the directory/file or to the system admin when someone access something on our OSX file server.

    First of all lets call it Flash Media Interactive Server (adding Streaming becomes little confusing to readers as we have Flash Media Streaming Server) - both are FMS but two different edition.
    Now coming to FMIS, you can place all your video files in "streams" directory of application in the simplest configuration and then use Server-side API Class "Stream" to play them. When you use Stream class to play VOD files, it basically becomes live publish and is available as live stream. I will give you simple code snippet which will explain what i am saying above:
    var myStream;
    application.onAppStart = function(){
         myStream = Stream.get("livestream");
         myStream.onStatus = function(info){
              trace("Info code:"+info.code);
        myStream.play("mp4:myvod.f4v",0,-1,true);
    Now client will subscribe to live stream using stream name as "livestream" and it will basically get all the content of mp4:myvod.f4v
    Say if you save above code in file named main.asc and place it in application folder named "test" on FMS, you will need to copy "mp4:myvod.mp4" inside "streams" i.e. create "_definst_" folder or any instance name folder under "streams" folder of "test" and place the file there
    Hope this helps

  • How to check whether the Application Server directory exits or not

    Hi,
    I have a selection screen in which I give the Application server file name(UNIX file) as input. Here, I would like to check whether the Server directory exists or not.
    Let us say, the path I gave in the selection screen is /usr/sap/tmp/testfile.txt . Here, the file name is testfile.txt and the server directory is /usr/sap/tmp . I would like to check whether this directory /usr/sap/tmp exists in the server or not. I am not bothered about the file name as I am going to write data into the file. I am mainly concerned about whether the directory exists in the server or not. and one more thing... this is the Application Server path not the Local path.
    Can anyone help me on the same how to check whether the server directory exists or not.
    Thanks in advance.
    Best Regards,
    Pradeep.

    Also you can use the FM EPS_GET_DIRECTORY_LISTING for this purpose.
      Store the directory name
        l_dpath = p_file+0(l_no).
      Validate the directory of the application server
        CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
          EXPORTING
            dir_name               = l_dpath
          TABLES
            dir_list               = l_i_dlist
          EXCEPTIONS
            invalid_eps_subdir     = 1
            sapgparam_failed       = 2
            build_directory_failed = 3
            no_authorization       = 4
            read_directory_failed  = 5
            too_many_read_errors   = 6
            empty_directory_list   = 7
            OTHERS                 = 8.
      If any problem occurs with the directory then display proper
      error message
        IF sy-subrc <> 0.
        Display error message
          MESSAGE e018 WITH 'Problem with directory entered'(008).
        ENDIF. " sy-subrc <> 0
    Regards,
    Joy.

  • Application server directory space

    Hi All,
    Request to confirm the function module / class / coding required to determine the currently available space
    in a directory on the application server.
    Regards
    Kunal

    Hi Arindam,
    Thanks for your response.
    I believe you have understood our req. correctly.
    For an SAP directory , used space = ?, total space = ?
    The External command 'ls' only returns the file names in a directory.
    I am not sure on implementing the df-k suggested by you.
    Is it a separate command or do i have to use it like this
    'df -k' in a new command ? Did try this formation but could not get it to work.
    Returns  an error
    'Can't exec external program (No such file or directory)                                                                                                                                                                                                        External program terminated with exit code 1
    Appreciate your help on this issue.
    Regards
    Kunal

  • About application server flat files

    I am comparing flat file with database table the flat file is in application server .flat fiel width is some 50000+records.I am executing the program it is continuously keep on executing i waited upto 5 hours still it is executing can u plz help me how to execute the report.

    Hi Pranitha
      I guess it will be better if you can post your code to identify if the problem is with the code or with the database.
      Alternatively, you can do below steps to identify whatz happening in the background.
    1. Go to Transaction SM50.
    2. Select the process(check box) where your job is executing.
    3. Use Menupath:  Program/Mode -> Program -> Debugging.
      By doing this it will open a new session in debugging mode of your current execution. Maybe by doing this it might help you identify if there are any problems like the index of the loop, no of records extracted from file, no of records from table...
      Hope the above info can lead you in resolving the problem.
    Kind Regards
    Eswar

  • Setting Derby system property in Sun Application Server batch file

    Hi all,
    I am trying to set up a home directory for my Derby databases other than the default C:\Sun\AppServer\lib that is used when asadmin.bat runs.
    I have found in the derby documentation you can set the derby.system.home System Property using -Dderby.system.home="C:\databases" and I have tried to do this in the asadmin.bat file next to all the other system properties containing the -D option.
    But still no luck, when I load the server using asadmin and check the server log file I can tell the property is not being set. I can also tell its not being set because I can't ping my database connection in the admin console. Any ideas anyone?
    Much appreciated,
    Alman

    Here is what I tried.
    No jndiname works but when I leave the value empy I get the result (see end)
    Properties props = new Properties();
    props.put("java.naming.factory.initial", "com.sun.jndi.cosnaming.CNCtxFactory");
    props.put("java.naming.provider.url", "iiop://localhost:3700");
    InitialContext initialContext = new InitialContext(props);
    //queueConnectionFactory = (QueueConnectionFactory) initialContext.lookup( "jms/qschdinfact");
    //queue = (Queue)initialContext.lookup("jms/qschdin");
    Enumeration en = initialContext.listBindings("");
    while(en.hasMoreElements()) {
    Binding b =(Binding)en.nextElement();
    System.out.println(b);
    ServerObject: com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0
    intakefacade: com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0
    commonfacade: com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0
    J2EE_UNIQUE_VALUE_GEN: com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0
    trackfacade: com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0
    hsface: com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0
    DatabaseInformation: com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0
    Realm_Manager: com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0
    SerialContextProvider: com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0
    usergroups: com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0
    intakereporter: com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0
    Help please

Maybe you are looking for

  • Blocking in activate infostructure

    Hi gurus, I am archiving the EKKO table with archiving object MM_EKKO, and i have some questions: - For view the archived and deleted data, is mandatory activate the info estruture before to archiving this table? - When activate a info estructure, th

  • Can't set up a simple playlist for my podcasts

    This is driving me NUTS. Due to various circumstances too long to go into here, I am using a temporary iPod (an old Nano, I don't know what the generations are called) and iTunes 10 on a temporary laptop. All I want to do is create a single playlist

  • Slow loading problem solved

    THANKS for help with wrt150n router. looks like things are now working great after using your tips.

  • Parental controls on iphone 5c

    Just got an iphone5c for my kid.  How do I set up parental controls?

  • Multiple movies from large raw footage

    Newbie to Premiere Pro. I have about 4 hours of Super 8 movies scanned to ProRes format. There are 3 large .MOV files totaling about 500 GB. I successfully imported them into a new project. But what I want to do is create multiple edited movies of mu