Changing config-prop temp-path for admin server

I'm trying to change temp_path for the admin-server from /tmp/admin-server-* to /var/run/admin-server-*, like this:
temp_path=`wadm get-config-prop --user=admin --password-file=/etc/wadm.pwd --config=admin-server temp-path`
new_temp_path=`echo $temp_path  | sed 's|/tmp/|/var/run/|'`
if [ $temp_path != $new_temp_path ]; then
   wadm set-config-prop --user=admin --password-file=/etc/wadm.pwd --config=admin-server temp-path=$new_temp_path
   $inst_dir/admin-server/bin/stopserv
   $inst_dir/admin-server/bin/startserv
fiBut I end up with a problem. Eigther set-config-prop will fail because the admin server is not running. Or the stopserv will fail because the pid file is not located where the new config states, so it end's up not stopping anything and I have to manually kill the admin server.
Is there a supportet way of changing temp-path of the admin-server, that does not involve having to manually kill the admin-server?
Best regards,
Bjørn Røgeberg

hi
i am not sure, if you tried this already. but this is some thing you can try
wadm set-config-prop user=admin config=<hostname> temp-path=¨some location accessible by web server runtime user say webservd or UNIX user id¨
wadm deploy-config --user=admin <hostname>
now if you restart the server instance, it should use the new temporary path.
hope this helps

Similar Messages

  • :-)  How can we change the default file path for Bank file ( dmee ) ?

    Hi All,
    We encounter a problem.
    Electronic bank file ( created after a F110 run ) are created, in an automatic way to the DIR_TEMP directory. ( On the SAP server )
    How can we change the default file path for Bank files ( dmee ) ?
    We'd like to specify another path.
    Thx for your help.
    Erwan

    Hello,
    Make sure that you have created the directory in transaction code AL11 with the help of basis consultants.
    You can link your PC directory to the application server.
    You can maintain the path whether your file needs to get saved in OBPM4 against your DMEE structure example GB_BACS etc.
    If you do not maintain any path in OBPM4, then the file gets saved to temporary directory. If you give the directory path name in OBPM4, then the file gets saved to that directory with numbers 0001, 0002, 0003 etc till it reaches 9999 and reset from the beginning.
    If you give the path as well as file name as ABCD, then the file gets generated to that directory folder with ABCD0001, ABCD0002, ABCD0003 etc. till it reaches ABCD9999 and reset from the beginning.
    Hope this solves your problem.
    Regards,
    Ravi

  • CA-signed certificate for admin server

    hi,
    how can i make the admin-server use a CA signed certificate instead of self-signed? i only see an option to renew the self-signed certificates.

    okay, this is the method i used:
    webserver$ cd /var/opt/SUNWwbsvr7/admin-server/config
    # Save the CA certificate in cacert.crt, and import it into the database:
    webserver$ certutil -d . -A -n Example-Inc-CA -t CTu -a -i cacert.crt
    # Generate a new CSR on stdout:
    webserver$ certutil -R -d . -s 'CN=ws.example.org,O=Example, Inc.' -a -g 2048 -k rsa
    # Sign the CSR and save the certificate to 'newcert.crt', then import it:
    webserver$ certutil -d . -A -n cert-ws.example.org -t u -a -i newcert.cert
    webserver$ vi server.xml
    # Look for <server-cert-nickname>, and change it from 'Admin-Server-Cert' (the default)
    # to 'cert-ws.example.org'.
    webserver$ ../bin/stopserv
    webserver$ ../bin/startservreplace 'ws.example.org' with the hostname the admin server runs on.
    this seemed to work for me; after the restart, the admin server was using the new certificate, and the browser accepted it.

  • Mail does not retain correct external server path for Exchange Server '07 even when "automatically detect and maintain account settings" is unchecked. Advice?

    Mail keeps resetting the external server path for an Exchange server '07 account when the program is closed and reopened. This happens even though "automatically detect and maintain account settings" is unchecked. To reset to the correct setting I need to disable the account, make the change and save with the account disabled, close Mail, reopen Mail, and enable the account. Then the settings are maintained and Mail works great... until Mail is closed and reopened again. At that point the server path reverts to an incorrect setting. Anyone else experiencing this? Advice? I don't think this is a problem with the Exchange server because this problem did not happen with OS X Mavericks.

    This this to fix repeated password requests....
    Open Keychain Access in Applications/Utilities
    Search for your Dreamhost accounts. There should be two entries (incoming, outgoing) for each account.
    It's not uncommon to find old entries. You might want to delete all and start clean.The Keychain isn't smart and will keep all old entries when you add/change a password.
    While you are in the Keychain run Keychain First Aid, Under Keychain Access in the Menu bar.
    Open Mail
    Open Connection Doctor.
    If you see red for the account, enter the password again.
    If you continue to have problems, delete the account then add it back.

  • Weblogic Access Logs not getting generated / updated only for Admin server

    Hi All,
    I have a query ,
    We recently noticed that the weblogic access logs for our admin server are not getting generated.
    However we checked that the access logs are getting generated for the managed servers that we have.
    There is not much difference between the logging settings between the admin and the managed servers.
    We thought that there might be some problem with the buffering and that the data might not be written to the files immediately.
    So after researching we found the parameter "-Dweblogic.logging.bufferSizeKB=0" and added that to the java options however it did not make any difference.
    Also we tried modifying the config script as ,
    <server>
    <web-server>
    <web-server-log>
    <buffer-size-kb>0</buffer-size-kb>
    </web-server-log>
    </web-server>
    </server>
    However no luck .....
    We are using weblogic 9.2 MP3 and think there might be some bug with this version , however its hard to believe that the logs are generated and updated for managed servers and not for the admin servers.
    The only thing we notice in the access logs of the admin server is 404 errors.
    Any suggestions ?
    Regards,
    Stacey.

    This has come up recently here:
    access log not writing to disk in a timely fashion
    I didn't find that buffer-size-kb capability in the docs in 9.2. I recommend checking with support.

  • Css/js relative path for embedded server

    We have recently begun using relative paths for css and js files in our deployed applications:
    <link href="../../resources/css/global3.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript" src="../../resources/script/globalScript.js" type="text/JavaScript"></script>
    I cannot figure out where to put the resources folder on my local machine so the pages will link correctly when running a project on my embedded server in JDev. Can anyone please help?

    Hi,
    the embedded OC4J has its configuration files at
    \jdeveloper_installdir\jdev\system\oracle.j2ee.<version>\embedded-oc4j
    However, if you use relative addressing then web applications try to find them relative to the public_html directory of the Viewlayer project
    Frank

  • Edit code for change drive letters in paths for links, to also work with Fonts that have been moved.

    I have the following code that looks through my links and changes all of the drive letters to the new locations where they exist.  So if something stays in the same folder structure, but moves to a new drive E: and InDesign can not longer find it, you can run the code and have it fix them all.
    Well I want to do the same but for fonts that have also moved.
    Thank you in advance for any and all help!
    if (app.documents.length == 0) {
        err("No open document. Please open a document and try again.", true);
    if (File.fs != "Windows") {
        err("This script is for Windows only.");
    var myDoc = app.activeDocument;
    var myLinks = myDoc.links;
    var myCounter = 0;
    if (myLinks.length == 0) {
        err("This document doesn't contain any links.", true);
    var mySettings = CreateDialog();
    for (i = myLinks.length-1; i >= 0 ; i--) {
        var myLink = myLinks[i];
        if ( myLink.status == LinkStatus.LINK_MISSING || (myLink.status != LinkStatus.LINK_MISSING && mySettings[2] == false) ) {
            var myOldPath = myLink.filePath;
            var myNewPath = myOldPath.replace(mySettings[0] + ":\\", mySettings[1] + ":\\");
            var myNewFile = new File(myNewPath);
            if (myNewFile.exists) {
                myLink.relink(myNewFile);
                try {
                    myLink.update();
                catch(e) {}
                myCounter++;
    if (myCounter == 1) {
        alert("One file has been relinked.", "Finished");
    else if  (myCounter > 1) {
        alert(myCounter + " files have been relinked.", "Finished");
    else {
        alert("Nothing has been relinked.", "Finished");
    function err(e, icon){
        alert(e, "Change drive letter in path", icon);
        exit();
    function CreateDialog() {
        var myDrives = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "y", "Z"];
        var myDialog = new Window("dialog", "Change drive letter in path");
        var myPanel = myDialog.add("panel", undefined, "");
        myPanel.orientation = "column";
        myPanel.alignChildren = "left";
        var myGroup = myPanel.add("group");
        myGroup.orientation = "row";
        var myStText1 = myGroup.add("statictext", undefined, "Change ");
        var myDropDownList1 = myGroup.add("dropdownlist", undefined, myDrives);
        if (app.extractLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_Ddl1") != "") {
            myDropDownList1.selection = myDropDownList1.items[app.extractLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_Ddl1")];
        else {
            myDropDownList1.selection = myDropDownList1.items[2];
        var myStText2 = myGroup.add("statictext", undefined, " to ");
        var myDropDownList2 = myGroup.add("dropdownlist", undefined, myDrives);
        if (app.extractLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_Ddl2") != "") {
            myDropDownList2.selection = myDropDownList2.items[app.extractLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_Ddl2")];
        else {
            myDropDownList2.selection = myDropDownList2.items[3];
        var myCheckBox = myPanel.add("checkbox", undefined, "relink only missing links");
        if (app.extractLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_checkbox") != "") {
            myCheckBox.value = eval(app.extractLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_checkbox"));
        else {
            myCheckBox.value = true;
        var myButtonsGrp = myDialog.add("group");
        var myOkBtn = myButtonsGrp.add("button", undefined, "Ok", {name:"ok"});
        var myCancelBtn = myButtonsGrp.add("button", undefined, "Cancel", {name:"cancel"});
        myOkBtn.onClick = function() {
            if (myDropDownList1.selection.index == myDropDownList2.selection.index) {
                alert("Both drive letters should not be the same.", "Change drive letter in path");
            else {
                myDialog.close(1);
        var myDialogResult = myDialog.show();
        if (myDialogResult == 1) {
            app.insertLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_Ddl1", myDropDownList1.selection + "");
            app.insertLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_Ddl2", myDropDownList2.selection + "");
            app.insertLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_checkbox", myCheckBox.value + "");
            return [ myDropDownList1.selection.text, myDropDownList2.selection.text, myCheckBox.value ];
        else {
            exit();

    ok, so I have discovered where the issue came from...
    The code you helped me with before, were I removed all links and my link character styles that I had (found here: http://forums.adobe.com/message/5881440#5881440)
    Well it set all the items I was finding/replacing to unknown fonts that my machine doesn't have (Like Helvetic Neue Bold, instead of just Helvetica Bold, etc).
    Is there an easy way of fixing this?
    The only way I know to fix it right now is:
    Go to Package >> go to Fonts >> Select the the font that says it's missing >> Select Find First >> CLOSE ALL OF THIS, then use the eye-dropper to select the text around that font which copies the formatting and then apply it to the text who's formatting got messed up.  And then start the process all over again for the next occurence of that word whose formatting got stripped.

  • Proper IMAP prefix for Exchange Server

    Does anyone know what the proper IMAP prefix is for Exchange Server?
    Currently, I have specified "INBOX". On the iPhone, I can see my inbox, and all subfolders, but I can't see any other folders on the same level as inbox. Also, the iPhone has created "Sent Items" and "Deleted Items" folders UNDER my inbox and is using those instead of the ones Exchange uses at the same level as inbox.
    I tried specifying "/", which wouldn't let me access anything. There doesn't appear to be a way to leave the prefix blank (the iPhone auto-fills "INBOX" if you blank the field), so I haven't been able to try that.
    Any ideas? Thanks!
    iPhone    

    You're right. It did. Using an IMAP account instead of an Exchange account allowed me to see all folders at the same level as "inbox". Thanks!
    But, what's the point of the "Exchange" account then?

  • How to set up the path for Report Server's output

    I've had 9iAS on NT 4 platform with Service Pack 6.
    By default, the Report Server's output goes to the
    C:\Oracle\806\Bin
    How can we change this setting ?
    (in 6iserver.conf we don't have a variable for it.)
    I'll appreciate any help.
    Thanks.
    Izabella.

    Thanks for reply.
    In my \Report60\Server\myrepsvr.ora I have :
    cachedir="E:\Oracle\806\REPORT60\server\cache"
    but when I call :
    http://<host>:<port>/dev60cgi/Rwcgi60.exe?
    report=myrep.rdf&destype=file&desformat=pdf
    &paramform=no
    the created pdf report doesn't go to the specified cashedir, but goes to the
    C:\Oracle\806\Bin
    How can I handle it ?
    I'd like to see the pdf file in the cachedir,
    not in Bin.
    Izabella.

  • Want to know the file path for application server in upload program

    Iam doing upload program(i,e)uploading from application server,iam getting run time error while executing the following piece of code
    "OPEN DATASET '/usr/sap/SPE/DVEBMGS00/work/ZPSPAR35_PERS_UP.txt' FOR OUTPUT
                 IN TEXT MODE
                 ENCODING DEFAULT."
    if the above code is wrong can u mention the correct one.

    hi,
    <b>Note: 699267</b>
    <b>Symptom</b>
    a) When downloading to the application server a short dump occurs with the error 'UC_OBJECTS_NOT_CHARLIKE'.
    b) When downloading to a presentation server from an SAP system running on Unicode, only half the data is actually transferred to the downloaded file.
    or
    *)When downloading from an SAP system running on an application server with an EBCDIC-type code page, an incorrect code '0A' is written for the LINE FEED character
    <b>
    Pre-requisite</b>
    a) The output file is opened 'in text mode' which does not allow to write non-character-like structures to the file via the TRANSFER command.
    b) The file is downloaded in the internal representation which uses two bytes per character in a Unicode system. The number of bytes to download is determined from the number of characters in the SAP system, however.
    or
    *)The code of the LINE FEED character is incorrectly programmed.
    <b>
    Solution:</b>
    You need to put some support packs attached with this note. For that you definitely need to ask YOUR FRIENDS WHO HAVE AN S-USER id at your WORK PLACE.
    <b>Note: 879598</b>
    <b>Reason and Prerequisites</b>
    The file is downloaded in the internal representation which uses two bytes per character in a Unicode system. The number of bytes to download is determined from the number of characters in the SAP system. Hence when the download happens the data has to be          converted to the required format.
    <b>Solution</b>
    Apply the corresponding support package or manually implement the changes described in the correction instructions.
    Hope this helps.
    Regards
    ak.
    PS: Reward useful answers with points.

  • File path for application server file

    Hi All,
                 I have a file 'abc.doc' stored on the application sever.
                I want to crate a document using the BAPI_DOCUMENT_CREATE and store this file
                What is the file path that I need to pass into the bapi.
    Please help
    Warm Regards
    Sunil Kumar.

    Hello Sunil
    You are right. That's the file path you should specify. It looks like your application server is running on UNIX platform. You can use transaction AL11 to locate your file and specify the file path in normal unix format. If this doesnt work, you can try prefixing your file path with "file:// ".
    Cheers
    Anand

  • Weblogic HA for Active-Passive Admin Server configuration

    Hi,
    We are trying to install Admin servers in Active passive mode in a single domain to manage single set of managed servers (for OAM component). The scenerio is that I have Admin Server + Managed Server on OAMHOST1 and OAMHOST2 both. I can start Admin server on OAMHOST1 and then manage both the managed servers on OAMHOST1 and OAMHOST2. Now in case my Admin Server on OAMHOST1 goes down, the requirement is that secondary Admin Server on OAMHOST2 should be started and use to manage the managed servers on OAMHOST1 and OAMHOST2. So i have stopped the admin server on OAMHOST1 and then tried to start the Admin Server on OAMHOST2 but its not starting up. It is simply throwing the error that port 7001 on OAMHOST1 is in use but i can clearly see that there is no service running on 7001 port on OAMHOST1 and ALSO why its trying to connect OAMHOST1:7001. As per oracle documentation this is feasible (this is mentioned in their HA guide) but they haven't mentioned any step to configure this or test this.
    Please advise if anyone has any idea to implement this. Since OAM admin is deployed on Admin server, the HA is crucial for Admin Server unavailability.

    Hi,
    From your note, I think OAMHOST1 and OAMHOST2 are physical hostnames of the server. You need to create one virtual ip which will be listened from both the physical servers and change the listen address for admin server to this VIP. Please see below mentioned link. Also there is requirement of shared directory, for that you can refer to the enterprise deployment guide for identity management.
    http://docs.oracle.com/cd/E15586_01/fusionapps.1111/e21032/create_domain_im.htm#CFHBIAIC
    Regards,
    Kishore

  • Physical Path in File Adapter for Windows Server

    Hi There,
    I am trying to read a file from a directory on a windows server and write it to the same server in a different directory.
    In the file adapter I gave the value for physical path as below:
    "\\10.xx.34.xxx\Share\input".
    However I am getting below message in the debug:
    "Value specified for input Physical/Logical Directory is not a directory or is not readable."
    Hence my question is what should be the value in the physical path for windows server.
    Thanks in Advance
    Krishna
    Edited by: user452458 on Jul 19, 2010 11:30 AM

    Thanks for your reply again.
    Actually they are not on the same file system.
    I have successfully used FTP Adapter to connect to a UNIX server.
    However is it possible to use FTP Adapter for Windows Server. If so how should be the corresponding JNDI defined.
    I am getting below error when I use FTP Adapter for Windows Server:
    Unable to send file to server. [Caused by: A remote host refused an attempted connect operation.]
    ; nested exception is:
         ORABPEL-11429
    Error sending file to FTP Server.
    Unable to send file to server. [Caused by: A remote host refused an attempted connect operation.]
    Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
    Please Advise.
    Thanks
    Krishna

  • Chang system userid/password for another server instance

    It it possible to change the system userid/password for another server
    instance. If so , how ?
    I would like to allow certain groups to be able to start and stop ONLY their
    server without giving out the system account.
    Thanks in advance!

    the relationship between the infrastructure nodes and the application server nodes is a one to many relationship. The infrastructure home should be the only home that the EMWebsite service has been started for.
    the user to log in to em console is ias_admin/<password> if it does not accept the password that you set for this user then try it with caps lock on as you may have had it one when setting the password.
    As 9ias release 2 has been designed with a multiple machine install in mind, if you install more than one instance (multiple oracle homes) on the server then you will end up with multiple apache processes and oc4j processes. This means you will be able to connect to 2 apache server homepages under different ports. That is why you get the same page.

  • Admin Server startup for OAM

    1) OAM 11g installed, admin and managed server started fine.
    Port for OAM managed server is 14100 and port for Admin server is 7003
    Question: OAM console is accesible via hostname:7003/oamconsole
    What about port 14100? When is this port used, and why oamconsole not accesible via hostname:14100/oamconsole
    2) Following is message when Admin Server which hosts OAM is starting up
    <Failed to communicate with any of configured Access Server, ensure that it is up and running.>
    Admin server is supposed to start first and then managed server (OAM here).
    Why is it looking to communicate with a managed server when admin server is starting up?

    968091 wrote:
    1) OAM 11g installed, admin and managed server started fine.
    Port for OAM managed server is 14100 and port for Admin server is 7003
    Question: OAM console is accesible via hostname:7003/oamconsole
    What about port 14100? When is this port used, and why oamconsole not accesible via hostname:14100/oamconsole
    /oamconsole is an administrative service and only available on the admin server.
    The managed service on 14100 is used for authentication and authorization services, ie for logging in and out.
    >
    2) Following is message when Admin Server which hosts OAM is starting up
    <Failed to communicate with any of configured Access Server, ensure that it is up and running.>
    Admin server is supposed to start first and then managed server (OAM here).
    Why is it looking to communicate with a managed server when admin server is starting up?The managed service is used for authentication, even for /oamconsole service, so when the admin server starts up, it checks whether the login service is available which at this point it won't be, hence you get that error message. Once the managed server is started, that error should stop.

Maybe you are looking for

  • Audigy SE Headset mic w/ speakers prob

    <font face="verdana,geneva" color="#808080">My on board sound peaced out the other day, so I bought the Audigy SE sound card and I have sound now, but I use speakers to listen to my games and a headset for communication purposes only, not sound. I pl

  • Fit video into an image in iMovie

    Hi, I have a recorded video of an iOS app that I would like to insert into a static image representing the iPhone border. How can I do this in iMovie? I've added the video to a project, then added the photo as an overlay but the video is bigger that

  • Error on export : Quicktime not available. Please make sure Quicktime is pr

    I get the error: "Quicktime not available. Please make sure Quicktime is properly installed." This happens when I try to export a movie from Flash CS4. I've reinstalled CS4 and Quicktime, and it seems that Flash still cannot recognize Quicktime (Pro)

  • SVN support in CFB leaves something to be desired

    One of the nice features about CFB is its ability to link to source files outside of the project folder.  I prefer this to what I would normally do in CFEclipse, where the project folder and the source folder were the same. What's no so good is that

  • EA1: Windows-only?  Works on Mac, Linux

    As I used to do when sqldev was Raptor, I downloaded the "windows" version of 1.5 EA1 and ran sqldeveloper.sh both on my Macintosh (OS X 10.4.11) and on my Linux box (semi ancient except for the 1.5 jdk). On both machines SQLdev just fired right up,