Webutil client_host problem executing pkzip pkunzip commands

Hi,
I configured webutil with Developer 10g (9.0.4).
I used webutil_106.zip and jacob_18.zip.
The execution of this statements (example) are successfully:
CLIENT_HOST('notepad');
CLIENT_HOST('tnsping db');
However, when I issue this ones (in order to zip/unzip files):
CLIENT_HOST('pkunzip d:\arch.zip d:\tmp');
or
CLIENT_HOST('pkzip....');
I got this error:
100501 non-OracleException
What do I have to configure in order to execute this commands????
Regards, Santiago

I find the solution in metalink.
Execute the commands like this:
client_host('cmd /c start c:\pkzip .....');

Similar Messages

  • Webutil CLIENT_HOST problem

    Hi,
    I am trying to use Webutil_host.NonBlocking_With_Callback.
    When I invoke a txt document via notepad, it works fine but not for doc file
    This is for Notepad:
    V_PROCESS_ID := WebUtil_Host.NonBlocking_With_Callback('NOTEPAD '||C:\Test.txt, 'CALL_BACK');
    This works absolutely fine,it opens the txt file and my code in Call_Back trigger gets fired when I close the 'Notepad Application'
    But when I want to open word doc I cannot use above code. so I have to use
    v_cmd := 'cmd /c C:\Test.doc';
    V_PROCESS_ID := WebUtil_Host.NonBlocking_With_Callback(v_cmd , 'CALL_BACK');
    This works fine upto opening the document, but also immediately fires the code in Call_Back trigger not waiting for the 'Word Application' to be closed.
    Is there a way to get around this???

    Hi Manohar.
    Could you please post the text of the metalink note 290130.1 for someone that has not access to metalink???
    Thanks,
    Fabrizio

  • WEBUTILS CLIENT_HOST

    I am using the webutil client_host functionality.
    The following command calls the program correctly but the tabs have been ignored or replaced by spaces.
    CLIENT_HOST('creditcarddonations.exe '||:global.connum||CHR(9)||v_name||CHR(9)||RTRIM(v_address, CHR(9)));
    Any Ideas?
    Works fine using host in Forms 6i
    Nigel

    On further investigation the tabs exist in the command string up to the SET_CUSTOM_PROPERTY in the webutil_core.set_item_property procedure

  • How to run multiple DOS commands from a single Webutil Client_Host session?

    Hello all,
    I have a requirement where I need to create an interface with SVN from Forms for basic checkin-checkout of files.
    So, I've been trying to use webutil client_host to open a command line session and issue svn commands.
    For svn, sometimes I need to give multiple commands like change to a particular directory and then run an svn command.
    But client_host takes in only one command at a time and I'm unable to issue a series of DOS commands to perform
    a particular task.
    Is there a way to do this?
    Pls suggest.
    Regards,
    Sam

    First your original question... You can put more than one DOS command on a single line, simply separate each command with an ampersand (&). For example:
    mkdir c:\abc & cd abc & dir*
    Regarding your concerns about performance, well that would depend on exactly what you mean. Using CLIENT_HOST (or HOST on the server) simply opens a shell (DOS in this case) then passes your command to it. The performance of performing this action really isn't measurable. Basically you are just pressing a button and you should get a near immediate action. As for the performance of executing each command, that has nothing to do with Forms. Once the command is passed to the shell, the rest is a function of the shell and whatever command you passed.
    Having said that, if you were to write something sloppy like a loop (in pl/sql) which called CLIENT_HOST lots of times repeatedly, then yes there would be a performance problem because the pushing of the button will cause an exchange to and from the server and each cycle in the loop will do the same.
    So the answer to how performance is impacted will depend on what exactly you need to accomplish. If it is a single call to CLIENT_HOST, this should be fine.

  • Just installed Lion and the Magic TrackPad and I am having a problem with one click commands.  I have to hit the pad fairly hard with one finger to get it to accept the command.  Is this normal, is there another way that I am suppose to execute commands?

    Just installed Lion and the Magic TrackPad and I am having a problem with one click commands.  I have to hit the pad fairly hard with one finger to get it to accept the command.  Is this normal, is there another way that I am suppose to execute commands?

    No you just need to turn on Tap to Click. Go into System Preferences - Trackpad and click the Point to Click tab and select the first box which will say Tap to Click and you should be in business.

  • Urgent: Problem with executing an OS command

    Hi, all.
    My system environment is Netweaver 04 on SUSE LINUX Enterprise Server 9 (x86_64). Temporary License has been installed on the machine.
    I'm trying to execute an OS command as an auto-reaction to a monitoring architecture alert.
    I have followed the
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/predefined auto-reaction methods of the alert monitor
    document.
    I have defined operating system command in the External Operating System Command transaction (SM69). I have tested it using transaction (SM49) and it is working fine independently. I have created a auto-reaction method using transaction RZ21 and assigned to the my MTE (Monitoring Tree Element). Then I go to the transaction RZ20. When an alert is arrived to my MTE, the color get changed to Red. When I select the MTE and clicked the Display Alert, It shows the ACTION_REQUIRED status and my command is not executing because my auto-reaction method is not started.
    Could someone tell me what could be the all possible reasons for this? Is there any particular service using transaction SICF I have start for this? What most important steps I am  missing?
    Let me know if anything more informations you people required to answer this.
    Its very urgent for me. If someone help me ASAP, it would great help for me.
    Thanks in advance.
    Best regards,
    Sanjay

    Can you double check the auto reaction method assignment?
    You do not need to have any SICF services enabled for this.

  • Problems with the vba command sendkeys in Access 2013.

    Hi, I have problems with the vba command sendkeys in Access 2013.
    I use a text field (no control) in a form. By means of the VBA command SendKeys "+ {DELETE}", 1  I get the text in memory from the text field, then place (paste) the text in a Word document. The command line sendkeys
    is followed by moving the focus to a particular control. In Access 2003, which went smoothly. Now the sendkeys command is executed only in Access 2013 in the control that then receives focus. If the procedure ends with the sendkeys command then it works well.
    The procedure with the sendkeys command is activated by a button on a form.
    Who can help me?
    private user

    Hi H.Plmp,
    Based on the description, you want to call the sendkeys from a button.
    >> use a text field (no control) in a form. By means of the VBA command SendKeys "+ {DELETE}", 1  I get the text in memory from the text field<<
    What did you mean that you no control? And how did you get the text in memory from the text field? Also I am not able to understand the exact reason that the command doesn't works in Access 2013.
    And based on the test, sendkeys "+ {Delete}" works well for me when I set a focus for the textbox control. Here is th test code:
    Me.Controls("txtField1").SetFocus
    SendKeys "+ {DELETE}", 1
    If I misunderstood, please feel free to let me know.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Webutil client_host question

    Hello,
    I have
    CLIENT_HOST('cmd /c START "" "fisier.bat" ');but if that file is located oln C:\forms\4.1.1\imp_ret, how can i specify this path in that command?
    Thanks

    try something like this:
    cmd /c cd /d <your_working_directory>&&<your_command>the +&&+ simply tells the cmd that it needs to execute another command; so the first it does is to change into your working directory ( /d is used if it is on another drive) and after changing the directory it executes your second command.
    cheers

  • Webutil client_host

    I'm using webutil(client_host).
    e.g.
    CLIENT_HOST( 'CMD.EXE /C START '||NAME_IN( 'block_name.item_name' ) );
    The value acquired using CLIENT_GET_FILE_NAME goes into 'block_name.item_name'.
    In 'C:\Documents and Settings' e.g. becomes an error when a folder with a blank is specified.
    If there is the solution method, please let me know.

    Hi Duncan.
    If so, you just need to alter your command
    a little to enclose the path in quotes. e.g)Unfortunately It may not work. START will think that the parameter is a title of a window, not a command.
    C:>START /?
    Starts a separate window to run a specified program or command.
    START ["title"] [Dpath]  [MIN] [MAX] [SEPARATE | /SHARED]
    [LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
    [WAIT]  [command/program]
    [parameters]
    "title" Title to display in window title bar.
    path Starting directory
    etc...

  • XOQ-00703: error executing OLAP DML command "(SYS.AWXML!R11_INITIALIZE_AW

    Hello!
    Just upgraded from 10.2.0.4 64 bit Windows to 11.2.0.2 64 bit OEL it test environment. DB Compatibility = 11.2.
    SQL> select comp_name,version,status from DBA_REGISTRY where comp_name like '%OLAP%';
    COMP_NAME
    VERSION STATUS
    OLAP Analytic Workspace
    11.2.0.2.0 VALID
    Oracle OLAP API
    11.2.0.2.0 VALID
    OLAP Catalog
    11.2.0.2.0 VALID
    Problem 1: We had 2 AWs in PROD on 10.2.0.4.We can not open any of them in 10g mode.
    Problem 2: When we are trying to create AW in 11G mode we receive this error: XOQ-00703: error executing OLAP DML command "(SYS.AWXML!R11_INITIALIZE_AW
    We have tried to rerun xumuts.plb under sys.
    Log contains following errors:
    =============================================
    BEGIN dbms_aw_build.build('EXPRESS', FALSE); END;
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [xspg: RSALPAGE01], [8128], [], [],
    ORA-06512: at "SYS.DBMS_AW_BUILD", line 107
    ORA-06512: at line 1
    BEGIN dbms_aw_build.build('AWMD', TRUE); END;
    ERROR at line 1:
    ORA-34738: A severe problem has been detected. Analytic workspace operations
    have been disabled.
    ORA-06512: at "SYS.DBMS_AW_BUILD", line 107
    ORA-06512: at line 1
    ==========================================
    and so on for each system AW
    should we raise a SR or somebody has any idea?
    Big thx in advance!
    Regards,
    Kirill
    Edited by: Kirill on Jun 16, 2011 1:34 PM

    I think you should raise an SR on this issue.

  • Vista: use the windows program manager to execute operating system commands

    attempting to run forms 6 on vista... the forms app attempts a call sqlplus using the host builtin to populate some tables before calling the report.
    in windows vista i get a message box indicating "use the windows program manager to execute operating system commands".
    is this windwos vista message? would this have to do with permissions?
    any insight most appreciated and thanks in advance.

    I don't know about the HOST-problem, but..
    the forms app attempts a call sqlplus using the host builtin to populate some tables before calling the report.What about putting the logic from the SQL*Plus-scripts into a database-procedure and call that instead. I think,, with the current approach you will get problems at least when you have to migrate to Web (e.g. Forms 10g).

  • Permission denied when I execute a unix command from within my java applet.

    Hi Gang,
    Forgive me if this is not the appropriate forum for this problem. I'm posting this problem on this forum since I got no answers on the other forum I posted on.
    I've written a simple java applet that runs a unix command and then displays some information. The applet compiles fine, and runs perfectly from the command line on my unix system.
    However, when I point a browser at the applet from my desktop PC I get the following error as taken from the java console:
    Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)
    This is of course the first line in a long line of error messages. It appears that I am not able to execute a command on the unix system through my applet. I know the problem is with trying to execute a unix command since commenting it causes no error in the web browser. This is the command I'm using in java to execute the unix command:
    p = Runtime.getRuntime().exec("ps");
    Here's the html file on the unix system:
    <html>
    <head></head>
    <body>
    <appletcode=G.class height="250" width="400">
    Your browser does not support the applet tag.
    </applet>
    </body>
    </html>
    I won't list the java code since it is compiling and working on the command line. But, if you want to see it I'll provide it.
    I've done quite a bit of research on this and it seems that a great number of people have similar problems reading or executing files through java. I have yet to find a solution to this problem.
    Here are some details about my setup:
    Server:
    HP9000 running HP/UX 11.23
    Apache Web Server 2.0.35
    Java 1.5
    Desktop PC:
    Win2K Pro
    Internet Explorer 6
    Java 1.6
    If you have a solution I would be very grateful! This problem is keeping me from writing my application!
    thanks!
    kev

    Multi-posted.
    Already answered here http://forum.java.sun.com/thread.jspa?threadID=5225314&messageID=9916327#9916327

  • Permission denied when I execute a unix command from inside my Java applet.

    Hi Gang,
    Forgive me if I'm posting this to the wrong forum! I didn't get any answers on the previous forum that I posted this to.
    I've written a simple java applet that runs a unix command and then displays some information. The applet compiles fine, and runs perfectly from the command line on my unix system.
    However, when I point a browser at the applet from my desktop PC I get the following error as taken from the java console:
    Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)
    This is of course the first line in a long line of error messages. It appears that I am not able to execute a command on the unix system through my applet. I know the problem is with trying to execute a unix command since commenting it causes no error in the web browser. This is the command I'm using in java to execute the unix command:
    p = Runtime.getRuntime().exec("ps");
    Here's the html file on the unix system:
    <html>
    <head></head>
    <body>
    <appletcode=G.class height="250" width="400">
    Your browser does not support the applet tag.
    </applet>
    </body>
    </html>
    I won't list the java code since it is compiling and working on the command line. But, if you want to see it I'll provide it.
    I've done quite a bit of research on this and it seems that a great number of people have similar problems reading or executing files through java. I have yet to find a solution to this problem.
    Here are some details about my setup:
    Server:
    HP9000 running HP/UX 11.23
    Apache Web Server 2.0.35
    Java 1.5
    Desktop PC:
    Win2K Pro
    Internet Explorer 6
    Java 1.6
    If you have a solution I would be very grateful! This problem is keeping me from writing my application!
    thanks!
    kev

    Multi-posted.
    Already answered here http://forum.java.sun.com/thread.jspa?threadID=5225314&messageID=9916327#9916327

  • Executing the top command through Java in linux

    I am trying to execute the top command in Java as
    Runtime.getRuntime().exec("top -n 1 >a.log");
    But the command is not working in linux only through java.When i run the same command through the prompt it is working fine.Also all other commands are working fine.Is there any issue with top in linux?

    flounder wrote:
    Try reading [this article|http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html]. If it does not answer your problem then try seaching for other similar articles.
    The cited article does provide an answer to the problem since it explains how the shell meta character '>' must be interpretted by a shell. The code as presented does not invoke a shell.

  • The data source control failed to execute the insert command

    Hi,
      We have installed SharePoint 2010 on Windows Server 2008 Enterprise Edition. We've started using the "Employee Training Scheduling and Materials" template that is available at
    http://www.microsoft.com/government/en-us/campaigns/Pages/SharePoint-Templates.aspx. Till last friday (17th Oct,2013) everything was working fine, but after that we are getting an error "The data source failed to execute the insert command"
    when I click on the "Save" button available on the Registrations.aspx. Could any one help me resolve this issue?
    Kinldy revert if you need more details.
    Though I see many posts regarding this, most of them are associated with Windows Server 2008 R2. So, most of the hot fixes mentioned there could not help me.
    Your help me is greatly appreciated. Thanks for taking time to go through this post.
    Thanks and Regards
    Praveen.
    Thanks and Regards Praveen.

    I have the exact same problem. I updated the 2007 Employee training template to the 2010 version and then 2 months ago, presumably when our Sharepoint had the July 10th patch 14.0.7102.5004 applied, it all broke. An attempt to register for a class always
    comes back with "Failure to execute insert command".
    I tried changing the DateSourceMode from "ListItem" to "List"  that gets rid of the error but does NOT update the registrations list.
    Anyone have any success fixing this?

Maybe you are looking for