How to get the operating system of the client formsweb?

Hi all.

I use Forms11g Rel2 and have the following piece of code on a trigger WHEN - BUTTON PRESSED:

Start

If get_application_property (operating_system) in ("MSWINDOWS"

, "MSWINDOWS32".

"WIN32COMMON") then

message ("Estoy en plataforma Windows...!"); take a break;

on the other

message ("Estoy en plataforma Unix / Linux...!"); take a break;

end if;

message from ("platform the client form (Formsweb customer: ' |)") webutil_clientinfo.get_operating_system); Break;

end;

If I run the form on my laptop from my installation in development mode, webutil_clientinfo.get_operating_system , he returned to Windows 7, which is correct.

Later when I put this form on the application server, which is a linux machine, it returns null.

Question: is this the expected behavior? Under very specific conditions, I need to know the client operating system running formsweb. Not Formsweb / forms runtime, which is get using get_application_property. Webutil_clientinfo.get_operating_system will do the work?

Best regards, Luis

Problem solved...! I noticed a few errors on the java console as follows:

network: cache entry not found [url: http://186.24.48.242:8888/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class, version: null]

network: http://186.24.48.242:8888/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class with proxy = DIRECT connection

java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo

Even if I correctly attached to the webutil library and classified under the Group of the object, I was not using the correct configuration on the URL section. The other config = webutil or a configuration named which included webutil settings correct.

Thanks anyway...!

Tags: Oracle Development

Similar Questions

  • How to get the client computer name database?

    Hiya

    As part of the authentication of the user of our application, the requirement is that if a user is connected from a machine, the same connection of can not the user to different machines at the same time.

    In Forms6i, we had accomplished this by using the following query:

    Select the Terminal
    Session $ v
    Where username = v_username
    And v_terminal terminal <>;

    Where
    v_username = USER-> Oracle Forms reserve Word
    v_terminal = Client_Win_API_Environment.Get_Windows_Username

    In Forms 6i, the column Terminal of V$ Session used to return the name of the local client computer.

    However, in the form of 10g, it returns the name of the computer on which Oracle Application Server is installed, which seems correct to me.

    So my question is how do we get the client computer name of the database in the context of Oracle's 10g? Is there another package of database or view/table that returns the client computer name?

    Your suggestions/comments will be much appreciated.

    See you soon

    Mayur

    We have implemented the same exact requirement to retrieve the IP address of the client (WebUtil provides a function for this) and write it in the field v$ session.action (this can be done using the dbms_application_info package DB). We are so in shape 10g v assessment $session.action instead of v$ session.terminal.

  • How to get the Client computer NAME IPAddress?

    Hi all

    We have forms g 11 64-bit with Server 2008 64 bit.

    We want to limit our form to be run on a particular computer only, so we need the details of the particular Client Machine.

    To do this, we tried with function SYS_CONTEXT (with options like ip_address, host, terminal etc.) in
    When New_Form_instance relaxation, but it still gives me the details of the Server instead of the Client computer.

    Please guide me.

    Kind regards
    Dass.

    In order to use the JavaBean, must be added the clientinfo.jar (and the full path) to the CLASSPATH = parameter in the default.env and also to add the clientinfo.jar to the archive = setting in the formsweb.cfg. This change should be made on the Application Server and if you want to run your form from the forms generator, then you must make the change of your local files as well.

    As François mentioned, you ignorant error FRM-13008 design if you want because it doesn't affect the generator of forms and not the runtime. If you would rather the error, you can add the clientinfo.jar and the full path in the Windows registry in the FORMS_BUILDER_CLASSPATH string.

    Craig...

  • How to get the type of operating system

    Hi all

    How to get the Os type weather it wil 4.5 or 5.0 or etc... »

    can someone explain as a means of coding...

    Try the methods available in the DeviceInfo class.

  • Satellite A500 PSAM3A - how to get the HARD market under Vista 64-bit disk Protection System

    Hello

    I would like to know how to get the HARD drive Protection system up and running under Vista Home Premium 64 bit operating system. I downloaded the program 64 bit of Toshiba for this program and install it I tried but doesn't seem to work. I have uninstalled and try to install the program, but still does not work.

    Unable to find the problem, why it won't work. If anyone knows how to solve this problem it would be a great
    help for me. If anyone knows how to solve this problem please answer me as soon as possible.

    Thank you for your time.

    Kind regards
    Nigel.

    Hello!

    What you downloaded exactly on the Toshiba site?

    As written Akuma you must install first added value Package you will find also on the Toshiba site. Check this box!

    An interesting thing: it does not work if you are using the preinstalled operating system? It should have everything installed for your laptop.

    Good bye

  • How I removed an operating system in the Boot Options?

    WHEN I START WINDOWS VISTA I HAVE TO CHOOSE BETWEEN 2 OS AND I WANT TO ERASE THE OTHER.

    Mind you DO NOT post in all capitals.

    It makes it difficult to read.

    You don't say how you have managed to get 2 operating system installed.

    I suggest do a clean re - install, delete the existing operating systems during the process:

    If install a cleaning is required with a good DVD of Vista (not HP, Dell recovery disks):

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    http://support.Microsoft.com/default.aspx/KB/918884

    MS advice on the conduct of clean install.

    http://www.theeldergeekvista.com/vista_clean_installation.htm

    A tutorial on the use of a clean install

    http://www.winsupersite.com/showcase/winvista_install_03.asp

    Super Guide Windows Vista Installation

    After installation > go to the website of the manufacturer of your computer/notebook > drivers and downloads Section > key in your model number > get latest Vista drivers for it > download/install them.

    Save all data, because it will be lost during a clean installation.

    See you soon.

    Mick Murphy - Microsoft partner

  • How to get the Subvi (the virtual path is in .exe) reference in Run Time System

    Hello world

    The problem is how to get the reference of the Sub - VI in run time system, when the Subvi is in .exe after construction.

    More details:

    Top of page vi called the Subvi dynamically, so that the Subvi is always included, and the source object is the application.exe.

    After the above configuration, the Sub - VI will be the application.exe. For example, the path of Subvi est...\application.exe\SubVI.vi

    So, how to get the reference of the Subvi in Run Time System?

    I can't do it when you use 'open reference VI' with le...\application.exe\SubVI.vi path in the run time system.

    In fact, I can create a file to include the Subvi, rather than build the Subvi in application.exe, then I can get the convenintly reference. But this isn't my favourate average.

    Thank you

    chenyin

    That is the problem. Call a Subvi dynamic means users could change, but it is also very attractive.

    The dynamic call should be used in a user control, but some parade can avoid problems.

    It depends on why you use dynamic calls...-online 2 main ways:

    -Dynamic call are used to maintain a scalable framework for the code without acting on the executable file-online a single VI distribution managed by the administrator/developer

    -Dynamic call are used to provide a collection of "external" characteristic that could be enriched by the administrator/developer. For example, you provide your customers a set of selectable custom signal filters in the executable.

    In 2 cases, you are only able to assess the skills of the users to know if there is a risk of damage, if there is a change.

    So to stay only master a parade might be to provide dynamic VI without a schema, but with the problem of maintenance, since no in-place editing and more attention to manage distribution.

    Another way is to hide the actual distribution to user-online call dynamic VI but it without name as *.vi but others (a repellent name as system of OS name ) or simply without extension in order to attract not user... but that's debatable...

    Another more difficult but more secure method is to create a consistency check before your routine (version, user, modified date,...)

  • How to get the alert or deducted to the admin if the user AD installation of application in the domain system?

    How to get the alert or deducted to the admin if the user AD installation of application in the domain system?

    Hello

    I suggest you according to the question in this forum and check if that helps:

    http://social.technet.Microsoft.com/forums/en-us/winserverDS

    It will be useful.

  • How to get the hour format system?

    Hi all

    How to get the hour format system, I mean what format 24 / 12 system uses?

    Looks like the CalendarSettings class is perhaps the official way: https://developer.blackberry.com/native/reference/cascades/bb__pim__calendar__calendarsettings.html#...

  • How to get the system screen resolution

    Hi all


    I'm developing a flex application in adobe flex3. When I draw components in the design area flex builder is set to "Fit to window". so application are displayed on my monitor(17") correctly, but when I try to run the same application to another computer or a laptop of 14" display screen is different than the screen of the monitor is short, I need to scroll down to see the full page. My question is how can I make sure that the application should search for uniform on different platform/different browsers and different monitors (regardless of the dimensions of the monitor).

    And how can get the screen resolution of system during execution?


    Thanks for all the help and support.

    Look in flash.system.capabilities.  Note that any application based on a browser usually does not control how big be.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • How to get the printer laserjet 3015 of all-in-one to work with hp520 touchsmartpc 64-bit with windows 7

    How to get the printer laserjet 3015 of all-in-one to work with hp520 touchsmartpc 64-bit with windows 7

    Hi baldwinj,

    Follow the steps outlined in the document below to install the OS driver in for this printer in Win 7 64 bit.

    HP LaserJet Color LaserJet and products of LaserJet AiO/MFP - install the driver included in the operating system Windows 7 (OS)

    Download drivers and software

  • Windows vista Home premium recovery question - how to get the source for windows vista home edition premium as the recovery does not work since the recovery partition

    How to get the source to windows vista Home premium recovery is not from the recovery partition and gives me an error message

    Hello

    Contact the computer manufacturer and ask them to send you to vista recovery disks to reinstall the operating system back as it was when you bought it

    they do it for a nominal cost of $

    or borrow a vista microsoft dvd; not a HP, Acer recovery disk etc

    Make sure that you borrow the correct 32-bit or 64-bit microsoft dvd to your computer

    they contain all versions of vista

    This is the product key that determines which version of vista is installed

    http://www.theeldergeek.com/Vista/vista_clean_installation.html

    How to replace Microsoft software or hardware, order service packs and replace product manuals

    http://support.Microsoft.com/kb/326246

  • How to get the new update for the help and support

    OT:how to get the new update of the abd support help

    How to get help and support update

    Hello rickstemberger,

    Please click the number of the KB article for more information on how to add Windows Vista Help files.
    KB Article ID: 917607 -I can not open Help files that require the Windows Help program (WinHlp32.exe)

    Microsoft stopped including the 32-bit help files viewer in versions of Windows starting with Windows Vista and Windows Server 2008.
    However, with article 917607, you can download the appropriate version of the Windows Help program (WinHlp32.exe) and add them
    the operating system.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Windows XP mode - 7: how to get the Realtek Audio Drivers with GS Wavetable outside normal? Instead of RDP Audio driver!

    1. I upgraded my comp to Windows 7, Ultimate because I need to use many XP programs. What I've discovered, is the virtual XP Mode is not the same thing as XP regular and many programs do not run properly. Particularly theAudio out to lunch and MS GS Wavetable is not available in XP Mode.

    2 - I end up having to buy another XP-Professional and installed in the same notebook. I have to turn off the laptop restart and select the Windows 7 to XP operating system. All old programs work fine under XP.

    3 - I continued looking for a fix for the XP Audio Mode or virtual. Almost 2 years now, I can not find such a simple solution.

    4. today, I found something on the Microsoft RDP Audio driver. What is the reason? Anyone know?

    5. are there available MS drivers or resources?

    I'm not interested in the commercial programs or attempts to scan my computer. MS sold Windows 7 that can run XP so I think that Microsoft is responsible for fixing.

    Thanks in advance,

    VT

    Windows XP mode - 7: how to get the Realtek Audio Drivers with GS Wavetable outside normal? Instead of RDP Audio driver!

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the Windows Virtual PC and XP Mode Forums.

    http://social.technet.Microsoft.com/forums/en-us/w7itprovirt/threads

  • How to get the MAC address of the additional 10G NIC with command-line ILO

    How to get the MAC address of the additional 10G NIC with ILO command line?

    Thank you.

    Hi Bruce,.

    Out of what I can find on this network card is not available for the Mac without an operating system. I recommend get/burning a live CD/DVD of Ubuntu/Linux and run an Ifconfig in there.

    Hope this helps you.

  • How to get the icons to display correctly in the Finder?

    At the time of the "classic" Mac OS, if the icons are not correctly display in the Finder, we could 'rebuild the desktop file' to correct the problem. I've recently updated to Yosemite, and most things work well, but for some reason, most of the files in the Finder .webloc now show as blank icons (but not all; a few show the correct icon). There is no model, I can see: some very old .webloc files now show a white icon (where I know that their icons used to be correct), while the most recent show the icon of correct - although I just created four (by dragging the URL of the Safari, the usual method) which are all empty. Sometimes they appear with the older icon, with the symbol @ (although those who seem to have changed vacuum after running and restart maintenance). I tried from an external disk, repair permissions and repair the file system, as well as cleaning with the utility of Maintenance (which clears the web browser and other caches), nothing works. Does anyone know how to get the computer to display these icons correctly?

    May be a corrupt .plist.

    Make a backup, preferably 2 backups on 2 separate drives.

    Go to Finder and select your user folder. With this Finder window as the windshield, select Finder/display/display options for presenting or order - J.  When the display options opens, check "show the library folder. This should make your visible user library folder in your user folder.  Select the library. Then go to Preferences/com.apple.finder.plist and com.apple.desktop.plist.  Move the .plists on your desktop.

    Relaunch the Finder by restarting the computer and test. If it works fine, delete the plists from the desktop.

    If the same, return the .plists to where you obtained since, by crushing the latest.

    Thanks to leonie for certain information contained in this.

Maybe you are looking for

  • Photo of sorting in the Sierra

    I recently returned from a trip and imported my photos in Photos. They are a mixture of photos from iPhone and my camera, but I have synced the time on both, they would then be in the correct order once mixed between them.  Because I was in the mount

  • Instructions to get out of Safe Mode may not work (reboot, reset), then how the heck out of Mode safe?

    Tonight, I went in Firefox for the first time at least two years. When I tried to open the version of Firefox, I got in my Applications, it is opened in Mode safe. So I downloaded the latest version of Firefox open, and it automatically retrieved my

  • NB250-107 - toshiba online product information

    My NB250-107 has a 'Toshiba online product information' application (TOPI) that shows no information, only the main topics on the upper frame. See the screenshots[Main screen TOPI | http://img535.imageshack.us/img535/3993/toshibaonlineproductinf.png]

  • 52D - KB977304 ERROR CODE

    Windows Works 8.5 was pre installed when ordered computer in 2008. Received an update of safety KB977304 for this, but it FAILED several times to install! Microsoft and Dell can't seem to solve this problem and update is still say, 'IMPORTANT UPDATE

  • dead laptop

    last week, my laptop (hp g60-530us) started suspended during the shutdown, I have to press the power button for more than 5 seconds to stop completely.   I didn't think much, I patched ubuntu earlier for a similar problem, so I thought that an update