How to set the DISPLAY variable to run

Dear Experts,
I'm trying to patch Oracle apps R12 using
hostname: black
But I keep getting the error:
Please set the DISPLAY variable and re-run this script
This is what I did:
VIS database and listener are already running.
login to the linux server as unix user: applmgr
cd /oapps/applmgr/VIS/apps/apps_st/appl/
. APPSVIS_black.env
cd /oapps/applmgr/VIS/apps/apps_st/appl/ad/12.0.0/bin/
Invoking Oracle Patch Application Assistant....
Please set the DISPLAY variable and re-run this script
huh ?
set | grep -i "display"
set | wc
435 486 25235
I notice that there are 36 .env files!
For applmgr alone!!
find /oapps/applmgr/ -type f -name "*.env" | wc
36 36 2626
For oracle, there are another 7 .env files!
find /oapps/oracle/ -type f -name "*.env" | wc
7 7 513
Did I get the environment (env) file correct?
Or do I need to run a few more env first?
If so, which ones?
What would the order of operations be?
sqldeveloper has given me problems with Display sometimes.
But even sqldeveloper works fine.
What is the secret to get to run in the normal manner?
Thank a lot!

Thanks a lot, that worked! So the perl script was wrong.
In the meantime, I had done this, and it seemed to work: -debug
Gathering Information..
Enter the patch_top : /oappsinstall/update12.1.1/7303030
Enter the APPS user password:
Logfile for this session is located at admsi.log
Generating installation instructions for patch 7303030..
Updating database....
install_7303030.html generated successfully
install_7303030.txt generated successfully
cat /oapps/applmgr/VIS/apps/apps_st/appl/ad/12.0.0/bin/admsi.log
Executing begin :value := ad_manual_step_object.is_step_already_done('per_hrglobal','120.2.12010000.1'); end;
Generating installation instructions for patch 7303030..
Updating database....
install_7303030.html generated successfully
install_7303030.txt generated successfully
Performing final cleanup..
Do you think this worked ok?
Thanks again!

Similar Messages

  • How to set the Environment Variable

    I'm going through a tutorial on how to create an application and run from the command prompt. I have finished installing my jdk 6 Upadate 5 but i don't know how to set the Environment Variable for the javac compiler and the java interpreter to find my program.
    I have created an application called "ExampleProgram" and have saved it on drive C:. How do i set the Environment Variable so that the "javac" compiler and the "java" interpreter can find it

    gyesa_say wrote:
    I'm using Windows XP Service Pack 2.A very bad choice to go with Windows. Personally I prefer Linux.
    I Google and had several information on how set it, but i tried all of them and none seem to work.I typed "how to set environmental variable in winxp" in Google and the very first link provided all the information I needed (you need). These things will make much more sense if you go through it yourself rather than having someone else spoon-fed you the answer.

  • How to set the header variables in weblogic

    We have a following set up in our environment.
    We have weblogic and on the top of it we have apex listener deployed which redirects Oracle Apex.
    My Issue:
    How can we set up the header variables in weblogic once the user is authenticated against weblogic server.
    We are struck here, not knowing how to set the header variables in weblogic server. Its fairly straight forward for Oracle Access Manager or others..
    Ramesh P.

    maybe you are looking for the routing options

  • How to set the path variable on Windows ME?

    I want to get a friend of mine to start using java the only problem is that we both dont know how to set the path variable in Windows ME. I cant seem to find any instructions on it for ME. So if someone could please tell me how or give me a llnk to directions for Windows ME. Thanks.

    Refer to the Installation Instructions for the package that you installed - I believe #5 if the instructions has the information. A link to the instructions is at the page you installed from.

  • How to set a display variable

    Hi all,
    we have oracle EBS 12.1.1 installed on suse linux servers in our setup. one developer is using dev tools to have some graphs displayed while generating reports. all of a sudden we find that the graphs are not getting generated.
    i am told that it is because of the DISPLAY variable in Linux. I am working as a Linux admin and I am not too sure how to set it.
    i went to the company's data center to get to the console of the Linux box. I logged into the GUI and ran these commands
    linux-43x3:~ # echo $DISPLAY
    linux-43x3:~ # export DISPLAY=:0.0
    linux-43x3:~ # xhost +
    access control disabled, clients can connect from any hostsince the display was showing :0.0, there sud not v been any issue in my opinion, but still i chose to run the export DISPLAY command.
    still i find the graphs do not show up. should I run the command as root or should I run it as an apps user? and further if I log out of the GUI will the graphs still work?
    i dont have much experience with oracle apps. please excuse me if this question is too silly

    >but still i chose to run the export DISPLAY command.
    No problem if you set DISPLAY:0.0 AGAIN
    should I run the command as root or should I run it as an apps userRun as both users.
    should I run the command as root or should I run it as an apps userIt'll work, Unless you reboot the whole machine.

  • How to set the File Path to run a javascript using Plugin Code?

    Hi All,
    Im new to Indesign Plugin Development.Can any one help me out with my problem.
    What i want to do is to run a javascript using Plugin Code.When i went through this forum i was able to find out that i should use the IscriptRunner Class to automate this.I could also figure out that the Member Function to use is "CanHandleFile" &"RunFile".
    The first parameter in CanHandleFile & RunFile Member Function is to specify the path of the JavaScript File i suppose!I could also find out that IDFile has to used to set the file path Information.
    But im clueless how to set the Javascript FilePath using IDFile.Can any one help me how to do this?Any Code Snippets Please?
    Waiting for reply.

    Hi,  Andreas<br /><br />  Can you explain this in detail? I found it in your post before.<br /><br />  The content of elements are returned through the Characters callback function:<br /><br />From ISaxContentHandler.h:<br /><br />/**<br />        Receives character data<br /><br />The parser will call this method to report each chunk of<br />        character data. SAX parsers may return all contiguous<br />        character data in a single chunk, or they may split it into<br />        several chunks. But all characters in any single<br />        event must come from the same external entity so the<br />        Locator provides useful information.<br /><br />Note some parsers will report whitespace using the<br />        IgnorableWhitespace() method rather than this one (validating<br />        parsers must do so).<br /><br />@param Chars The characters from the XML document.<br />        */<br />virtual void Characters(const PMString& chars) = 0; <br /><br />  What i have done is implement my own SAXContentHandlerServiceBoss, and in my file XXXSAXContentHandler.cpp, I override the fonctions StartElement, EndElement, and Characters() like below: I add the PMString xmlData to collect the file content:<br /><br />class XXXSAXContentHandler : public CSAXContentHandler<br />{<br />void XXXSAXContentHandler::Characters(const WideString& chars)<br />{<br />xmlData.Append(chars);<br />}<br /><br />void XXXSAXContentHandler::StartElement(const WideString& uri, const WideString& localname, const WideString& qname, ISAXAttributes* attrs)<br />{<br />xmlData.Append("<"); xmlData.Append(localname); xmlData.Append(">");<br />}<br />void XXXSAXContentHandler::EndElement(const WideString& uri, const WideString& localname, const WideString& qname)<br />{<br />xmlData.Append("</"); xmlData.Append(localname); xmlData.Append(">");<br />}<br /><br />}<br /><br />and in my program, I use the code below to call the fonction I overrided, but I dont know how I can get the String xmlData I defined in the XXXSAXContentHandler.cpp<br /><br />InterfacePtr<IK2ServiceRegistry> serviceRegistry(gSession, UseDefaultIID());<br /><br />InterfacePtr<IK2ServiceProvider> xmlProvider(serviceRegistry->QueryServiceProviderByClassID(kXMLParserService, kXMLParserServiceBoss));<br /><br />InterfacePtr<ISAXServices> saxServices(xmlProvider, UseDefaultIID());<br />InterfacePtr<ISAXContentHandler> saxHandler(::CreateObject2<ISAXContentHandler>(kXXXSAXContentHandlerServiceBoss));<br />saxHandler->Register(saxServices);<br />bool16 parseFailed = saxServices->ParseStream(readStream, saxHandler);<br /><br />Can you give me any help?<br /><br />Thanks and regards!

  • How to set the bind variable on page load and execute query ?

    Hi All,
    I am using Jdeveloper
    I have a table called "Employee"
    Columns :- id , name , location
    Data :- 1, ,james , chicago
    2 ,Raj ,capetown
    Now i have another webservice(created as a webservice dataControl) which sends me the "id" on each time my page loads.Now the id which has been returned by webservice should be incorporated in my VO Query as in where clause to fetch the data for the respective "id" in that "Employee" table and should be rendered on form.
    Eg :- Id "2" has been sent by the webservice then the record should be fetched from database should be "2","raj","capetown".
    I know that there would be necessity of bind variable , but how do i set the bind variable on page load ?
    How can i use the bind variable appropriately ??
    Please suggest !!!!


  • How to set the display size of the PDF - in percent?

    Hi, I wonder if anyone knows if it is possible to set
    the display size of the PDF document, so that it always
    shows in, let´s say 100%, in the viewers browser window?
    Much grateful for any help!

    In Acrobat, under Document Properties (Ctrl+D), you can edit the Initial
    View settings, including the zoom level.

  • How to set the environment variable of csh

    Hello expert,
           I set the environment varibale of csh after I upgade the oracle to I added "setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/oracle/client/10x_64/instantclient" to profile ".dbenv_GVSHP101.csh" . But when I run env in my os , it showed LD_LIBRARY_PATH=/usr/sap/IDS/SYS/exe/run:/usr/sap/IDS/SYS/exe/uc/linuxx86_64:/oracle/IDS/102_64/lib:/oracle/client/10x_64/instantclient:/oracle/client/10x_64/instantclient
    . There are two :/oracle/client/10x_64/instantclient in my environment varibale. I do not why. How can I set the environment? Thanks a lot.

    I don't know which O/S you are using and how your .dbenv-files looks.
    However, as quick work around you could just add the following lines to the end of .dbenv_<hostname>.csh:
    unsetenv LD_LIBRARY_PATH
    setenv LD_LIBRARY_PATH /usr/sap/IDS/SYS/exe/run:/usr/sap/IDS/SYS/exe/uc/linuxx86_64:/oracle/IDS/102_64/lib:/oracle/client/10x_64/instantclient

  • How to set the display ratio of master and detail view

    Currently, I use SplitApp that contain the master and detail view. And I would like to show the master view on the left half and detail view on the right half. Is there any proper way to adjust this?
    Thank you in advance.

    You can set the width ratio by adding css. Check this,

  • How to set the minimial right to run a report only on SQL express Reporting Services

    I tried several times on setup a SERVERNAME\USERA from the "Home-Report Manager --> Site Settings --> Security --> New Role Assignment..
    I also checked it already have the roles (System Administrator, System User) being assigned
    When I try to run the report remotely via
    User 'SERVERNAME\USERA' does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed
    The permissions granted to user 'SERVERNAME\USERA' are insufficient for performing this operation (rsAccessDenied)

    Hi kkcci88888,
    Based on your description, you are experiencing the problem when login on the Report Server remotely, you got some error about required for permissions, right?
    Generally, Reporting Services uses role-based security to grant user access to a report server, and there are two types of roles: Item-level roles and System-level roles. On a new installation, only local administrators have access to a report server. If
    the user need to have access to reports, folders, models and shared data sources, we can assign Item-level roles on the root node (the Home folder) or on specific folders or items. In this case, you can check if you have assigned an Item-level role first.
    bellow are about how to assign an Item-level role:
    Start Internet Explorer together with the Run as administrator option. To do this, click Start, click All Programs, right-click  Internet Explorer, and then click Run as administrator.
    Open Report Manager. By default, the Report Manager URL is
    http://<ServerName>/reports_sqlexpress. If you use a named instance of Reporting Services, the Report Manager URL is
    In the Home dialog box, click Properties.
    Click New Role Assignment.
    Type a Windows user account name by using this format: <Domain>\<User>
    Click to select the Role(5 default roles) check box and click OK.
    If you already assigned a role for the user, this issue might be caused by the UAC settings, you can find more details in this link: and you can follow the steps below
    to do the right configuration on your remote computer:
    Start Windows Internet Explorer.
    On the Tools menu, click Internet Options.
    Click Security.
    Click Trusted Sites and then click Sites.
    Under Add this Web site to the zone, type http://<ServerName>.  If you are not using HTTPS for the default site, click to clear the Require server certification (https:) for all sites in this zone check box,
    Click Add.
    Repeat step 4 and step 5 to add the http://localhost URL, and then click  Close.
    Close Report Manager and Use Internet Explorer without the Run as administrator option to reopen Report Manager.
    Links bellows are about the similar thread which answered are for your reference:
    If you still have any question, please feel free to ask.
    Vicky Liu

  • How to set the "display name" of an customized property

    I've created a customzied property of KM file with KM API, and display it in KM navigation iview. It is ok, except the Column head show the technical name of the property. But what i want is some specify display name and even can support multi language, how this can be done?? Any hint?? Thanks!!
    Best Regards,
    Xiaoming Yang

    you must change the collection render and the resource render in order to show the properties you want.
    For translation propourses check this link
    You must deal with resource bundle

  • How to set the display color of string?

    I want to display several lines of text string with different colors. Does anybody know how to do that?
    a simple example would be great.
    thanks in advance

    depends on how you go about it ...
    if you use labels you can use the labels setForeground(Color c); method.
    you also do this in the paint() method,
    using setPaint() , and the drawString() method og Graphics instance

  • How to set Image display palette while running

    I can see the palette type in property of image display reference...but i cant find any method to set it.
    (The problem is that, in Labview right click on image open a menu with palette selection visible. But in EXE apllication there is no extended menu. so i want to change the paltte through control button)
    Tnx for help

    Hello HaD,
    The image control is installed with either the Vision Development Module or the NI-IMAQ driver, and is not a standard component found in LabVIEW.  If you have questions about the image display control or vision functions it would be better to post in the Machine Vision forum:
    In regards to your question, this menu is not available as a runtime property, and therefore the user of program will not be able to set it directly through the control.  Instead, you will need to allow the user to set it programmatically in LabVIEW by use of a property node. 
    To create this property node, right-click on the image display icon on your program's block diagram, and select:
    Create » Property Node » Palette » Palette Type.
    You will then be able to change the value of this property by right-clicking on the property node icon and selecting "Change All To Write".  To create a control on the front panel that the user change at runtime, right-click on the “Palette Type” input, select:
    Create » Control
    If you have any questions about the application architecture required to implement this design, please continue to post in the LabVIEW forum.
    I hope this helps.
    Best regards,

  • How to set the pll path in run time environment

    kindly temme the solution for this

    I have same question but my version is 6i
    I also want to know is this with report too.
    My scenario is i make frm folder in other folder with folder with the name of module for pll i make foler at same level at frm with the name of lib how to resolve this

Maybe you are looking for