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

Similar Messages

  • .Database upgrade from 10g to 11g in Oracle EBS 11i

    Hi,
    An urgent help is needed.I am upgrading Oracle Database from 10g to 11g.My EBS is version 11i.So after upgrading my database
    from 10g to 11g as sa sanity check what are the parameters we need to take care of the EBS.My point is will there be any Application level changes if the database
    is upgraded?Wiill the Workflow and what other things we had to do the sanity check if its working properly?Any Concurent Program level changes be affected?
    Thanks and Regards
    Edited by: 918308 on May 10, 2013 7:52 PM

    918308 wrote:
    Hi,
    Thanks for the info provided but i dont have the metalink id.Kindly can you provide me the link for the subjected docs so that i can relate.Any application level testing to be done?Concurrent Programs,Schedule Manager,Workflow etc.?We cannot post the contents of MOS docs since this violates Oracle support agreement policy.
    You need to go a regular sanity check (i.e. submit concurrent programs, check workflow functionality, ..etc) -- E-Business Suite Diagnostics 11i Test Catalog [ID 179661.1]
    Thanks,
    Hussein

  • ODI Procedures not working after upgrading from 10G to 11G

    Hello Gurus,
    We have run into a scenario where the procedures in ODI are not working after we upgraded it from 10G to 11G (11.1.1.6). However we can make it to run if we create the procedure from scratch.
    Also we are having issues related to packages where in the packages were running before we applied the patch 11.1.1.6.3. And after applying the patches they are not running.
    Any help will be appreciated.
    Thanks

    If you want someone to help you, please be elaborate in the exact errors you are getting.
    A general statement would do nothing but guess work.
    What is the error that you get while executing the procedure.
    What are the exact issues that you get while executing packages ?

  • TX2500Z touchscreen does not work after Windows7 upgrade from HP specific to S/N, etc on laptop.

    My TX2500Z touchscreen does not work after I upgraded to Windows 7. I cannot find any support or drivers, etc. to fix.  I bought Windows 7 directly from HP specific to my P/N and S/N on my TX2500Z.  Any help? Thanks.

    after 2,5 days (spending half a day within the apple shop as well with this problem) i have it all back on track.
    i did a lot of different things: trying to remove and reinstall iPhoto; did a SL installation over the old SL I had on my HD; backing up all the data of course before and reformatting my HD and installing a new clean SL version on it + a new clean version of iLife9 with all the updates and than I migrate with migrate assistant all the data and setting with time machine back onto it, but all this didn't work, because it also migrated the error/bug through time machine with it.
    so at the end i just installed a brand new, clean SL version on my hard drive, than I did the updates and put all my data, photos, docs, movies, mail, bookmarks, music, etc manual back into the system (drag and drop from my external HD, where i had an exact copy of my internal HD) and did all the settings again in all the different programs.
    the only thing i used migrant assistant with time machine for was for the programs. it seems to work now all fine and i even got more free space on my HD, because some of the old stuff i always carried with me but i never used, i didn't take over.
    basically everything is clean now. At least i hope and works fine. touch wood!

  • Report Navigation Issue after upgrading from 10g to 11g

    Hi Experts
    I have recently upgarded my solution from 10g to 11g. Issue is when I click on column value for navigation it doen't navigate the display remains unchanged
    1) I have created new dashboard and placed this report in new dashboard the navigation works fine.
    2) I have created new report and placed that report in old dashboard it doesn't work
    why is it so I undertand that there is problem with Dashboard and not with report but I am unable to figure it out
    what can be the problem? any suggestions
    Thanks
    Sameer

    Hi Experts
    I have recently upgarded my solution from 10g to 11g. Issue is when I click on column value for navigation it doen't navigate the display remains unchanged
    1) I have created new dashboard and placed this report in new dashboard the navigation works fine.
    2) I have created new report and placed that report in old dashboard it doesn't work
    why is it so I undertand that there is problem with Dashboard and not with report but I am unable to figure it out
    what can be the problem? any suggestions
    Thanks
    Sameer

  • Oracle Database upgrade from 10g R2 to 11g R2

    Dear Oracle Experts,
    Currently we I have three database on Oracle 10g(10.2.0.5) in same oracle home and want to upgrade only one database out of three.
    Can you please advise if I can upgrade only one database instance(out of three database, same oracle home) and my two other database will run on 10g ? and can you please share steps also for the same
    Best Regards
    Farookh

    Hi,
    As Harry pointed out already, it's definitely possible and a good idea actually. By installing a new Oracle home you can easily revert back to the 10g one if you need to. It keeps everything separate and makes it cleaner.
    I would recommend reading the Oracle docs. DK2010 has written them down here:
    upgrade the database version 10.2.0.1.0
    I made some notes on how to upgrade your database from 10g to 11g over on my site, they are the exact steps I used. It might help you to have a read through them but you should definitely read the Oracle docs and make sure everything you need for your environment is covered before upgrading. [url http://www.ora00600.com/wordpress/articles/oracle-10g-to-11g-upgrade-guide/]Here are my notes.
    Hope that helps,
    Rob

  • Screen saver no longer working after Lion upgrade.

    Hi,
    After standard upgrade about 2 weeks ago (mid July 2012) the screen saver no longer works. I mean I can certainly access the application and the desktop can be made to cycle through different photos etc. But when I configure the screen saver it just refuses to go into screen saver mode at all.
    I'm not seeing too much occurance of this through the postings which is a bit worrisome as I'd thought this would be a much wider issue.
    Cheers,
    Herbie

    Please follow these instructions:
    Lion: Connecting to legacy (pre-Lion) AFP services - and Mac OS X (server):
    https://discussions.apple.com/thread/3258472

  • ITunes no longer working after Song Upgrade.

    I got onto iTunes store, was offered to upgrade 32 of my songs, I said "Yes". After the upgrading completed, iTunes main window pane no longer worked for anything but the iTunes store. It will play my music if I manually select it from the disk (via Finder) but does not seem to be able to display any of my playlists or my music library.
    I am running Safari 3.0 (as an FYI).
    Mac OS X 10.4.9 (on an intel mini).

    Unfortunately uninstalling and reinstalling, or repairing the current copy of iTunes alone doesn't fix the problem....
    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Printing No Longer Working After Recent Upgrade

    My printing suddenly stopped working after the latest upgrade (which upgraded the kernel from 2.6.15.2 to 2.6.15.4). 
    I discovered that arch is no longer auto-loading the parport_pc module.  This is strange.  If I run "hwdetect --show-modules", parport_pc is shown. 
    I do have MOD_AUTOLOAD="yes" in my rc.conf file.
    The quick fix is to add "parport_pc" to the list of MODULES in rc.conf.
    Are others having this problem?
    Rob

    I just read your post.  I am sorry I could not join irc.  I was actually at work.  It is very hard for me to use irc at work.  Firewalls make life difficult!
    In any event, I think I solved the problem. 
    Please see http://bbs.archlinux.org/viewtopic.php?t=18747
    Here is the complete post:
    In my /etc/modprobe.conf file, there was the folloiwng line:
    # Load lp support with parport_pc
    install parport_pc modprobe -i parport_pc ; modprobe lp ; true
    I believe that this line was in the original /etc/modprobe.conf file that came with arch 0.7. I don't remember ever adding it.
    I commented out this line and I removed "parport_pc" from the list of MODULES to be loaded in /etc/rc.conf.
    I rebooted and it worked. The modules lp, parport and parport_pc were all autoloaded at boot-up.
    I should also note that right after the arch upgrade, I was experiencing CUPS daemon failure once and awhile at boot up. Somtimes cupsd loaded and sometimes it failed at boot up. Now it seems that cupsd loads reliably at every bootup. Problem solved!
    The following are the remaining lines in my /etc/modprobe.conf:
    # Load ppp-generic with modem drivers
    install Intel536 modprobe -i Intel536 ; modprobe ppp-generic ; true
    install Intel537 modprobe -i Intel537 ; modprobe ppp-generic ; true
    install ltmodem modprobe -i ltmodem ; modprobe ppp-generic ; true
    install ltserial modprobe -i ltserial ; modprobe ppp-generic ; true
    install slamr modprobe -i slamr ; modprobe ppp-generic ; true
    install slusb modprobe -i slusb ; modprobe ppp-generic ; true
    # OSS Compatibility
    #install snd-pcm modprobe -i snd-pcm ; modprobe snd-pcm-oss ; true
    #install snd-seq modprobe -i snd-seq ; modprobe snd-seq-oss ; true
    # --- BEGIN: Generated by ALSACONF, do not edit. ---
    # --- ALSACONF version 1.0.10 ---
    alias snd-card-0 snd-opl3sa2
    alias sound-slot-0 snd-opl3sa2
    options snd-opl3sa2 fm_port=-1 midi_port=-1 port=0x538 wss_port=0x530
    options isapnp=0 dma1=1 dma2=0 irq=5
    # --- END: Generated by ALSACONF, do not edit. ---
    The modem driver lines came with the original /etc/modprobe.conf file in arch 0.7.
    Should I also comment them all out?
    Perhaps I should only have the lines for my old ISA sound card in the /etc/modprobe.conf file. Please let me know.
    Has there been a change in the kernel or udev which makes it neccesary to make all these changes in the /etc/modprobe.conf file?
    Rob

  • IPad messages no longer works after ios7 upgrade

    After upgrading to ios7 on my iPad messages no longer works.
    After I enter To: I am unable to get to the message field to enter the message.
    Reboot does not solve the issue,

    This issue has been resolved!

  • Flashcards for screen brightness no longer work after BIOS upgrade

    I have a Toshiba Satellite T135D/1320S laptop, and last night I upgraded the BIOS to v1.90 under the recently released recall notice.  AFter installing the BIOS, however, the Flashcard brightness controls no longer work. Whenever I press FN-6 or FN-7, the screen brightness Flashcard pops up and the toggle on the slider bar moves back and forth, but the brightness of the screen does not change.
    I have disabled and re-enabled the Flashcards as suggested in a separate forum, and I've also downloaded the most recent display driver (AMD display driver v8.615).  Neither effort corrected the problem.
    Anyone have any other suggestions?

    Satellite T135D-S1320
    Sometimes it helps to reset the machine. With the battery and AC adapter removed, close the Power switch for half-a-minute. Re-attach those, press the Power button to turn the computer on, and then immediately press the F2 key while the Toshiba logo is displayed. Press F9 to restore the BIOS default settings, press F10, and then select Yes (Exit Saving Changes). The computer will restart.
    Another things to try is reinstalling the TVAP.
       Toshiba Value Added Package for Windows 7 (64)
    -Jerry

  • Forms closes abruptly after database upgrade to 10g

    I recently upgraded my Oracle EBS 11.5.9 database tier from 8.1.7.4 to 10.2.0.5 by following necessary steps and required patches, now my database has been upgraded and I applied autoconfig on both database tier and application tier. Now after I logon to the applications and after choosing resposibilty the form suddenly closes down. I checked in the forms server log file. It just says : Abnormal Termination.
    Could somebody help me out on this.
    Regards
    DVS Shiv Kumar

    I am receving the following error in java console
    Jiniator version is 1.31.30
    Loading http://dev1.insteel.com:8000/OA_JAVA/oracle/apps/fnd/jar/fndforms.jar from JAR cache
    Loading http://dev1.insteel.com:8000/OA_JAVA/oracle/apps/fnd/jar/fndformsi18n.jar from JAR cache
    Loading http://dev1.insteel.com:8000/OA_JAVA/oracle/apps/fnd/jar/fndewt.jar from JAR cache
    Loading http://dev1.insteel.com:8000/OA_JAVA/oracle/apps/fnd/jar/fndswing.jar from JAR cache
    Loading http://dev1.insteel.com:8000/OA_JAVA/oracle/apps/fnd/jar/fndbalishare.jar from JAR cache
    Loading http://dev1.insteel.com:8000/OA_JAVA/oracle/apps/fnd/jar/fndaol.jar from JAR cache
    Loading http://dev1.insteel.com:8000/OA_JAVA/oracle/apps/fnd/jar/fndctx.jar from JAR cache
    Loading http://dev1.insteel.com:8000/OA_JAVA/oracle/apps/fnd/jar/fndlist.jar from JAR cache
    connectMode=Socket
    serverHost=dev1.insteel.com
    serverPort=9000
    Forms Applet version is : 60828
    Loading http://dev1.insteel.com:8000/OA_JAVA/oracle/apps/fnd/jar/fndutil.jar from JAR cache
    SocketListener activated
    SocketListener exiting..
    The form closes after this ...

  • Touch screen no longer works after waking up from sleep

    3 out of 4 times when my computer goes to sleep my touch screen will no longer work when it wakes up. I have to restart the computer to get it to recognize the pen. Is there an easier way of refreshing the system so that it will recognize the pen? Is this an operating system issue, I have vista currently.

    Any resolution on this issue. Please advise as I am having the same problem when upgrading from Windows 7 to 8 on my X230T (3434cto)

  • Illustrator will no longer work after Yosemite upgrade!!!

    I downloaded Yosemite on my Macbook Pro and now Illustrator will no longer work. A warning pops up that I need the newest Java runtime which I already have. What should I do? Please help

    Prompted to install Java SE 6 Runtime | Mac OS 10.9
    Mylenium

  • IPad 2 hdmi to tv no longer working after ios8 upgrade?

    Hi,
    Would anyone know why my hdmi to TV cable is no longer supported after upgrading to ios8 please?
    When connected, the system states that the device is not supported but was fine with ios7.
    Hopefully this is a bug but if not, feel reluctant to update ever again!
    Thank you in advance..Neil.

    Hi,
    Would anyone know why my hdmi to TV cable is no longer supported after upgrading to ios8 please?
    When connected, the system states that the device is not supported but was fine with ios7.
    Hopefully this is a bug but if not, feel reluctant to update ever again!
    Thank you in advance..Neil.

Maybe you are looking for

  • CUCM SQL to view Logged in Phones (extension mobility)

    Hi all, is there any SQL statement, showing me all Phones where people are logged in with their extension? There is a function like this on Device - Phone scrolling down to Extension Information and there is a field called "Current Device Profile", b

  • Audio-out quality

    hello, i am a car audiophile that got an iPhone for christmas. i am looking for a way to deliver line-level audio output to the aux input in my stereo. right now, i am using the headphone jack on the iphone, and the sound quality is absolute garbage.

  • ThinkPad vs. MacBook Pro: IBM Launches Pilot Program for Migrating to Macs

    I have just found this great article about IBM starting to use MacBook Pros. Wow! If you are considering between a MacBook Pro and a Lenovo ThinkPad, then consider no longer. Even IBM, the creator of ThinkPads, is now migrating to Macs. This is great

  • Summing Parameter Values ?

    Post Author: Jedit CA Forum: General I have a sub report passing values to my main report as a shared numberVar The sub report is in detail section A, the value returned is called linetotal & is shown in detail section B with some other values, the r

  • My mom gave me her old Ipad, how do I synch it to my account?

    How do I synch a new to me Ipad to my account?  When  plugged it in to my computer I was not triggered to synch like I have with previous devices.