Webutil_file_transfer and host command doesn't work

I use a host command in forms to execute a sql-script, which creates a file on AS. After the host command I use webutil_file_transfer to ftp the created file to the client. If I try to do this again in the same session, the host command fails. I have to restart the application to get it working again. If I leave out the webutil_file_transfer I have no problems whatsoever. It looks like webutil is changing something perhaps in the environment. Anyone has the same problem (and a suitable solution)?

I can remove the files on AS (so there seems to be no lock). After removal of the files, no new files wil be created, even if I change the name of the file that needs to be created. Only restarting the application helps.
Raoul

Similar Messages

  • I have a few desktop icons that won't allow me to move them to trash or relocate them on desktop.  A PDF, a DOCX and a PART.  Not locked under get info or get info command doesn't work. Suggestions?

    I have a few desktop icons that won't allow me to move them to trash or relocate them on desktop.  A PDF, a DOCX and a PART.  Not locked under get info or get info command doesn't work. Suggestions?

    This any help?
    http://support.apple.com/kb/HT1526

  • Forms HOST command no longer works after database upgrade from 10g to 11g

    Hi,
    After upgrading the database 10g to 11g the forms HOST command no longer works on Unix server. The form used to work fine prior the upgrade. I read all the threads I could find and did not see any solutions. Adding PATH and LD_LIBRARY_PATH does not work because it does not even run a basic shell script. (I saw this solution, adding PATH and LD_LIBRARY_PATH, in many questions / threads).
    1. I wouldn't expect the database upgrade to be an issue, but it is the only change we had.
    2. Note, 11g is Oracle Fusion Middleware which is quite a bit different than 10g.
    I even tried the most basic commands like "echo" which is a build-in Unix command and there is no directory for it (ie. no /usr/bin - so variable PATH is irrelvent). i.e HOST('echo hi'); and HOST('echo "hi" '); and even HOST ('echo hi > /my_file.txt'); all returns FORMS_FAILURE (actually the if is IF FORM_SUCCESS THEN ... else ... and the else part always runs now - whereas it didn't before.).
    Or basic commands like /usr/bin/ls as in HOST(/usr/bin/ls). At that point I was just testing the Unix command would return FORM_SUCCESS even though I could not see the results (because they weren't writing to a log file). Notice that I'm using the direct path /usr/bin so no Unix environment variables were needed.
    The form does use webutil but that part works. For example, we have webutil_file_transfer( ....) The file shows up on the application server and in the expected directory.
    Here's the main goal. Upload a file from clients local PC to the datebase server. The form uploads the file to the Application server, then we have a Unix script to scp (secure copy) the file from the application server to the database server. IF webutil, or any other Oracle functions could put the file on the database server that would be better. But, I don't know of any procedures that do that - or would have done it cleanly (i.e. storing to database and write back to server and then using a blob etc. )
    Anyway, I was hoping someone would help with either of these.
    1) Get the HOST command to work. - If we can get that to work then I wouldn't need any more help. We can just call the already existing Unix script to copy the file from the application server to the database.
    2) OR be able to upload directly to the database server - wanted to do that originally
    Any help would be appreciated

    Solution for those interested and for anyone else searching this forum for a solution
    I found this on My Oracle Support:
    <h3>Host Command from Forms Not Working in 11g in Sun Solaris Sparc OS [ID 1157346.1]</h3>
    Applies To: Oracle Forms - Version 11.1.1.1.0 and later
    Sun SPARC Sun OS
    Symptoms:
    When trying to execute a Shell script or any OS command using the host() Built-in from Forms 11g, the host()command is not getting executed. The same functionality works on other operating systems and in previous versions like 10gR2.
    Steps to be followed:
    1) Take a backup and edit the $DOMAIN_HOME/config/fmwconfig/servers/WLS_FORMS/applications/formsapp_11.1.1/config/default.env or any custom environment file.
    2) Locate the following environment variable:
    LD_PRELOAD=/ora10gas/app/11.1.0/Middleware/as_1/jdk/jre/lib/sparcv9/libjsig.so
    3) Comment out this variable. After the changes, it will look like the following:
    #LD_PRELOAD=/ora10gas/app/11.1.0/Middleware/as_1/jdk/jre/lib/sparcv9/libjsig.so
    3) a) Instead of LD_PRELOAD, kindly use LD_PRELOAD_64 as given below :
    LD_PRELOAD_64=/ora10gas/app/11.1.0/Middleware/as_1/jdk/jre/lib/sparcv9/libjsig.so
    (This makes HOST AND RUN_REPORT_OBJECT work fine).
    4) Save the file and execute your forms. The Host() built-in will work as expected
    The LD_PRELOAD setting in default.env is only required for the working of signal chaining facility in JVM version 1.5 and later. If you are not using theSignal chaining facility, this variable is not required. For more information, refer to the following documentation
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14772/forms.htm#CJAJGAFF

  • Host command is not working on linux

    Hi
    I m using linux for application server n windows for client. I need to create folder from client machine by cliking a button of forms10g runtime.HOST command is not working which was working fine in windows.
    Any help is appriciateable.
    kazi mokarem

    Hi
    I had the same issue on linux a few weeks back. What tuned out was, when you install the Oracle app svr it does not include the system paths by default.
    The path where mkdir is located may not be visible to the app.
    Try to hardcode the path for mkdir as /bin/mkdir .... and seee if that works.
    If the above statement works then add that path in the paths variable in default.env file located in $ORACLE_HOME/forms/server directory
    HTH
    Arvind

  • Help - Font Book and font Library doesn't work

    I've just updated to a new iMac on Yosemite, and Font Book doesn't work. Neither does putting fonts into the "Library"
    There is a range of fonts that ARE working that are already in either place, but some (that worked up until two days ago in my old Mac running OS 10.6.8) just won't work.
    If I select the fonts in Font Book, Font Book doesn't load them. If I put them in the Library, they don't appear for use in any application.
    As a designer, updating fonts is essential, and if this can't be fixed I'm in serious trouble! So any advice welcome!

    We see posts like this here all the time. A person upgrades to a new OS, and Font Book suddenly stops working. Usually, the problem is that Font Book's database has been trashed by the upgrade with the very common symptoms you're seeing. You suddenly can't add fonts, and fonts Font Book says are open don't appear in some, or any apps.
    Restart your Mac and immediately hold down the Shift key when you hear the startup chime to boot into Safe Mode. Keep holding the Shift key until you see a progress bar towards the bottom of the screen. You can let go of the Shift key at that point. Yosemite is a bit different. Whether it's a Safe Mode boot or a normal one, you get the same progress bar. It just takes longer to get to the desktop in Safe Mode. So hold the Shift key until you get to the desktop.
    OS X asks you to log in (you will get this screen on a Safe Mode boot even if your Mac is set to automatically log in). Let the Mac finish booting to the desktop and then restart normally. This will clear Font Book's database and the cache files of the user account you logged into in Safe Mode.
    If that alone doesn't do it (it should), then clear out all of the font cache data.
    Close all running applications. From an administrator account, open the Terminal app and enter the following command. You can also copy/paste it from here into the Terminal window:
    sudo atsutil databases -remove
    Terminal will then ask for your admin password. As you type, it will not show anything, so be sure to enter it correctly.
    This removes all font cache files. Both for the system and the current logged in user account. After running the command, close Terminal and immediately restart your Mac.

  • Unix Command doesn't work in Tiger

    Hi,
    I've got labs of eMacs that I'm finally upgrading to Tiger. My image seems to work fine, but I'm running into a weird quirk with my "Send Unix" commands via ARD. We're doing NWEA testing and LOVE the unix commands because we can login to machines, turn on TestTaker, login to TestTaker, and select the correct test (math or reading) and the right version of the test.
    The script below works fine on a panther eMac.
    osascript
    tell application "System Events"
    keystroke "1" using command down
    delay 3.0
    keystroke ASCII character 31
    delay 2.0
    keystroke return
    keystroke "n" using command down
    end tell
    On my Tiger machines, the command stops on the:
    "Keystroke ASCII character 31" line (this should arrow down to next test version).
    A report window comes up in ARD with this error message:
    86:104: execution error: System Events got an error: 31 doesn't understand the ASCII character message. (-1708)
    This used to work perfectly, but now I can't get ASCII 31 (or arrow down to work). The real killer is that other techs in my school district have eMacs running tiger with same commands that work (some have to arrow down 16 times to get to correct test version). The other commands (like command 1 and returns, command n) all work fine! Hate to have to touch 80 machines each day to select proper test version when we log in.
    Any Suggestions????

    Try this form of the line:
    keystroke (ASCII character of 31)
    That's worked for some people. Hope it works for you. If it doesn't work as given, try without the parentheses.
    Regards.

  • Mac Mail Version 6.0 (1486) has stopped recieving mesages regularly and the search doesn't work

    Mac Mail Version 6.0 (1486) has stopped recieving mesages regularly and the search doesn't work.
    Since installing Mountain Lion, Mail seems to be very unresponsive. I have mac mail running on an iMac (which works fine) and a 2012 MacbookPro which is the one having the issues with the Mail app. Both computers are running on Mountian Lion.
    When I scroll up in Mail for instance, the frame rate drops to about 5 a second.
    When I click on a message it doesn't display it in the preview pane. Which is very annoying!
    But I can get around the issue by double clicking on a message and it opens up the message in a new window.
    When I search for a message, nothing appears in the results. Even if Im searching for something that is defiently there, eg if I type in my name, you'd think some results would come up. But when I click on something else, the results dispaly for about half a second. Bizarre. Is anyone else having this problem?

    what kind of error in browser you are seeing?
    is search service application never starterd or its started but cannot crawl?
    did you see the timer jobs related to search services and what's their status?
    so what about the search results from site collection?
    also make sure this service "SharePoint Search Host Controller Service" started on all servers in the farm.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog
    In the browser I receive the following error:
    The search service app is running, doesn't crawl:
    Yes, I can see the timer jobs related to search services, some of them are Succeded, others are Scheduled.
    The service SharePoint Search Host Controller Service is started in the first server of the farm, but not in the second
    one. When I try to start it, I receive the following error:
    Windows could not start the Sharepoint Search Host Controller Service on Local Computer. Error 1067: The process terminated unexpectedly.
    Melvintt
    MCTS, Windows Server 2008 R2: Network Infrastructure
    MCTS, Windows Server 2008 R2: Active Directory, Configuring

  • Visually handicap, needs to increase font size in logic pro, Command  doesn't work

    Hi,
         I'm visually handicapped, and new to logic-pro.  I'm having a miserable time reading the internal logic-pro fonts.  Command + doesn't work, and I can't find any preferrence or settings options that affect the default font sizes, any ideas?

    Unfortunately you cannot change the font size of the main fonts in Logic...
    However, there are a couple of other settings you may not be aware of...
    1) Under Logic Pro's preferences... go to Display
    Now you can change the size of the playhead and Local Windows under the General Tab
    You can increase the size of the Logic plugin windows/fonts sizes under the Mixer Tab (I have mine set to 200%)
    Note: This setting does not apply to 3rd party plugins.. only Logic's own plugins...
    Under the Piano Roll tab you can change the size of Bar/Beats/Division Lines...
    2) Using the screen zoom command... Hold down control and scroll on your mouse... will zoom in the screen...
    Note: as you are using Mountain Lion there is also a new setting under System Preferences/Accessability
    Choose Zoom on the left hand side
    Now choose Zoom Style/Picture in Picture and instead of a full screen zoom it provides you with a magnifying glass of sorts to just magnify the area arund your mouse pointer. I find this setting very useful....
    Hope this helps...

  • HT1338 Safari Hide command doesn't work

    Now my Safari 6.0 "Hide Safari" command doesn't work (whether clicking the command-H or going up under the Safari menu and down to the Hide Safari command.
    Any suggestions anyone? I am about one more issue away from abandoning Safari altogether and just using Chrome and Firefox.

    I've made a number of iWeb websites. I notice that I can't "Command +" the text larger or smaller. Is this a function of an iWeb site .. or is there something I'm missing?
    What browser are you talking about? If Safari, is it the same with the other major browsers (Firefox and Opera)? Could you provide the url of an example?

  • Trim command doesn't work fix

    I downloaded PE 11 and PE12 and my trim command will not work for me at all. I use this so much and can't even use either one. I had 12 and went back to 11 and it still doesn't work. It is so hard to get help now from Adobe. I need this command to work. Is there a fix I can download

    Nancy K Lindway wrote:
    I downloaded PE 11 and PE12 and my trim command will not work for me at all. I use this so much and can't even use either one. I had 12 and went back to 11 and it still doesn't work. It is so hard to get help now from Adobe. I need this command to work. Is there a fix I can download
    Have you tried to reset the tools to see if corrects itself?  To do this, launch a blank image in Editor under Expert mode tab.  then at the bottom look for something like this (you will need to click on the image to magnify it):
    The reset button is at the red box shown on the right-side of the picture.  You need to click on the arrow icon to reach it.  You can reset all tools or reset only the selected tool.  I would reset all tools and done with it.
    This might or might not fix it but worth a try.
    Good luck.

  • Bash command doesn't work after update

    I just ran pacman -Syu as normal, but some got many errors like below:
    ( 3/11) upgrading binutils
    error: command failed to execute correctly
    and every package except kernel-headers got a error message like that. and then i found most of my bash command doesn't work any more, just like ls and vim. However, some others like pwd and cd still work correctly.
    Any one any ideal?
    Last edited by ranjiao (2009-11-12 13:26:01)

    ranjiao wrote:I removed /lib64 and make a soft link from /lib64 to /lib, as Matlab09 requires a /lib64 containing crt libs.
    is this the cause?
    Yes.
    I've done that before and got into the same problem when updating glibc, the lesson here, don't mess with the default directory structure.

  • Unhide library command doesn't work

    Unhide library command doesn't work in terminal

    Open the Terminal application in your Utilities and paste the following at the prompt:
    sudo chflags nohidden ~/Library
    Press RETURN. Enter your admin password when prompted. It will not be echoed.
    The "sudo" may not even be required, but if it is and you don't use it, then you'll get an error message. Just try again using the above command.

  • Safari 6.0 command- doesn't work

    Command+ works fine but command- doesn't work. I'm running 10.7.5

    Just add the following to the file com.apple.WebProcess.sb.
    Please add it below the Basic system paths and above the FIXME: or System and user preferences:
    ;; Plugins
    (subpath "/Library/Internet Plug-Ins")
    (home-subpath "/Library/Internet Plug-Ins")
    And it's fixed!

  • Application Restart and Recovery APIs doesn't work for windows services

    I am using the Application Restart and Recovery mechanism (provided in Windows API Code Pack for Microsoft.NET Framework) to collect some information (i.e. stack information when there's an unhandledexception)  before my windows service crash down.
    It works well for windows form applications, but the callback method wouldn't be called if the host is a windows service. 
    I have checked the article: https://msdn.microsoft.com/zh-cn/subscriptions/downloads/cc303708
    But it doesn't specify clearly whether it works for a windows service. It seems that the recovery will only be activated when the user interacts with the error dialog of Windows Error Reporting (clicking "close" on the dialog, for example).
    So I am wondering is my guess right that the Application Restart and Recovery mechanism doesn't work for windows services. Or is there a better way to meet my requirement? 

    I would suggest trying ARR if that's what you want to use.  The restart portion won't work, but it doesn't need to as if you fail out of your service, the Windows service controller will handle recovery (up to and including restarting your service).
     You configure those recovery actions either through code or one of the built in administrative tools for services such as services.msc.  
    DebugDiag/ADplus and similar tools ultimately do use built-in APIs; you don't need to add anything external to collect debugging information.  You do however have to write a good deal of code to do somethings.  It's pretty simple to use the unmanaged
    function that I pointed out before and
    MiniDumpWriteDump to write a minidump when you hit an unexpected error(the dbghelp.dll that comes installed with Windows has it so you don't need anything additional installed).  You can even write a basic debugger that literally debugs a process using
    only kernel32 functions (see
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms679301(v=vs.85).aspx if you're interested).  
    WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/

  • I just bought a new apple imac pro laptop. the did the updats at the store and put in a password for me.I got home and the password doesn't work.

    I just bought a new apple imac pro laptop. the did the updats at the store and put in a password for me.I got home and the password doesn't work.

    Resetting User Password in Lion, Mountain Lion & Mavericks
    Boot into your Recovery Partition by hold down the Command and R keys whilst booting.
    When the Recovery screen appears, go to the Utilities menu and open Terminal.
    In Terminal, type:
    resetpassword
    ...a small app will open and allow you to choose the user for whom you want to change the password. If you are the admin, be certain that you choose your admin user. Type in your new password twice and give yourself a good hint. Click OK (or Done or whatever) and reboot, enjoying the use of your new, hopefully memorable, password.
    Good luck,
    Clinton

Maybe you are looking for