(forte-users) Ok, what's the "secret" for setting serversideenvironmen

You can use EConsole, (or EScript I suppose) to change Server Environemt variables. The Forte documentation lead me to believe I could set them at the environment level. However, I've discovered I can only set/alter them for existing online partitions.
Just drill down to at least the 'Partition' level (this would cover any replicates under it), and chose the menu option Component -> SetEnvRemote. An Execute Command Dialog box comes up with a place to enter the Variable Name and the Value you want it to be.
This works great for installed apps that aren't going anywhere, but it's a bit harder for "running man" processes. You never know which Forte_Executor Active Partition you're gonna get. So sometimes you have to wait to see which one you grab, then change the variable there.
What I wish Forte would provide (at the Econsole level) is the ability to also query an environment variable to see it's current value! I've needed that before many times.

You can use EConsole, (or EScript I suppose) to change Server Environemt variables. The Forte documentation lead me to believe I could set them at the environment level. However, I've discovered I can only set/alter them for existing online partitions.
Just drill down to at least the 'Partition' level (this would cover any replicates under it), and chose the menu option Component -> SetEnvRemote. An Execute Command Dialog box comes up with a place to enter the Variable Name and the Value you want it to be.
This works great for installed apps that aren't going anywhere, but it's a bit harder for "running man" processes. You never know which Forte_Executor Active Partition you're gonna get. So sometimes you have to wait to see which one you grab, then change the variable there.
What I wish Forte would provide (at the Econsole level) is the ability to also query an environment variable to see it's current value! I've needed that before many times.

Similar Messages

  • Re: (forte-users) Ok, what's the "secret" for setting serverside envi

    Dear Robinson,
    It seems to be that you have 2 ways of solving the problem:
    1) restart forte after setting the environment variables
    2) write a little application which sets the required variables, using
    the task.part.OperatingSystem.SetEnv(name,value) method.
    If you have to chage the variables rarely, then it`s easier to restart forte,
    otherwise I would suggest to use the SetEnv function...
    Best Regards,
    Tamas Deak
    "Robinson, Richard" wrote:
    Subject says it all.
    We have a bunch of environment variables that are used by the server side
    objects. What I want to do is change the value of some of the variables
    prior to running my application in Forte Development IDE (3.0.G.2). I've
    tried to set the environment variables via NT's registry, but it appears
    that at execution time the variables take on the value of whatever they are
    for the node manager.
    Most IDE's I've worked with before have a way to specify environment
    variables right in the tool. Forte doesn't appear to have that capability -
    say it ain't so!
    Any clues?
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: [email protected]
    Tamas Deak
    Lufthansa Systems Hungary
    (forte developer)
    2-6 Mazsa ter, Budapest, 1107, HUNGARY
    (36-1) 4312 973
    [email protected]
    [email protected][email protected]-

    Richard,
    There is no way of changing the environment variable once the Node
    Manager is up. You will have to shutdown the node manager and then restart
    it to have the new environment variables take effect. Sorry, there is no
    secret way of doing this that I know of.
    But you can set the variables on you development machine and run you
    application without distributing. This way the partition will be running in
    your client machine and not the server.
    Another way we have also got around this is by having a special
    environment variable on the client side that opens a admin screen when you
    run you application. This admin screen will allow you to change the
    environment variables and then set them on the server partition. You will
    have to do come coding on the server to make this happen but if you are
    using a framework then it should be easy. We call this developer reconnect
    facility. It only can be activated by the special client side environment
    variable. I comes in very handy when we are development and want to change
    the database on the server partition.
    Hope this help.
    ka
    Kamran Amin
    Framework, Inc.
    303 South Broadway
    Tarrytown, NY 10591
    (914) 631-2322x121
    [email protected]
    http://www.frameworkinc.com/
    -----Original Message-----
    From: Robinson, Richard [mailto:[email protected]]
    Sent: Thursday, November 04, 1999 7:23 AM
    To: [email protected]
    Subject: (forte-users) Ok, what's the "secret" for setting server side
    environment varia bles when running in the Forte Development
    Environment?
    Subject says it all.
    We have a bunch of environment variables that are used by the server side
    objects. What I want to do is change the value of some of the variables
    prior to running my application in Forte Development IDE (3.0.G.2). I've
    tried to set the environment variables via NT's registry, but it appears
    that at execution time the variables take on the value of whatever they are
    for the node manager.
    Most IDE's I've worked with before have a way to specify environment
    variables right in the tool. Forte doesn't appear to have that capability -
    say it ain't so!
    Any clues?
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: [email protected]

  • Ok, what's the "secret" for setting server side environmentvaria bles

    Subject says it all.
    We have a bunch of environment variables that are used by the server side
    objects. What I want to do is change the value of some of the variables
    prior to running my application in Forte Development IDE (3.0.G.2). I've
    tried to set the environment variables via NT's registry, but it appears
    that at execution time the variables take on the value of whatever they are
    for the node manager.
    Most IDE's I've worked with before have a way to specify environment
    variables right in the tool. Forte doesn't appear to have that capability -
    say it ain't so!
    Any clues?

    Subject says it all.
    We have a bunch of environment variables that are used by the server side
    objects. What I want to do is change the value of some of the variables
    prior to running my application in Forte Development IDE (3.0.G.2). I've
    tried to set the environment variables via NT's registry, but it appears
    that at execution time the variables take on the value of whatever they are
    for the node manager.
    Most IDE's I've worked with before have a way to specify environment
    variables right in the tool. Forte doesn't appear to have that capability -
    say it ain't so!
    Any clues?

  • What is the need for setting property data inside the JMSMesage

    Hi
    Could anybody please let me know
    *What is the need for setting property data inside the JMSMesage??
    For example i have a seen a similar example as shown ??
    I have seen a
    Message.setStringProperty("Sport","Basketball");
    and also please tell me how can the MDB recievies this property data ??
    Thanks in advance .

    raviprivate wrote:
    Could anybody please let me know
    *What is the need for setting property data inside the JMSMesage??
    For example i have a seen a similar example as shown ??
    I have seen a
    Message.setStringProperty("Sport","Basketball"); Look at the detail JMS documentation on [Message Properties|http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/Message.html] .
    >
    and also please tell me how can the MDB recievies this property data ?? MDB onMessage method argument is the Message object and if you look at the documentation, Message interface has getter methods to retrieve the properties.

  • What is the BAPI for setting "deletion flag" in IW32?

    What is the BAPI for setting "deletion flag" in IW32? Thanks!

    Hello
    There seems to be no BAPI to set deletion flag for MO.
    Quick Approach:
    You can copy an existing BAPI module BAPI_ISUSMORDER_SETSTATUSTECHN, for example, to Y_BAPI_MORDER_SETSTATUSDEL, and then edit this copy
    change the code in the existing lines for screen 3000
    PERFORM BDC_DYNPRO USING 'SAPLCOIH'      '3000'.
    PERFORM BDC_FIELD  USING 'BDC_OKCODE'    'LVMS'. (Instead of current 'ARCH')
    It should hopefully work.
    fyi: The orders can be set with Del flag only when they are in CLSD status
    Rgds
    Kartik

  • What is the Process for setting up smart view

    what is the Process for setting up smart view

    hehehe ..... cant stop it :)
    @next level ::try this
    Re: Smart View configuration
    apart from this try giving point the people who post answers to u .. :) so that they will reply ur post or question which u ask now days non stop...try to minimize ur qs in single post it would be better

  • What is the syntax for set-key RSA-PUB in JCOP Shell?

    I am trying to perform Put Key for the RSA DAP Verification Key using JCOP Shell.
    I have tried variations of the following:
    set-key 115/1/RSA-PUB/[128 byte public key modulus]
    set-key 115/1/RSA-PUB/A001[1 byte public key exponent]A18180[128 byte public key modulus]
    set-key 115/1/RSA-PUB/A001[1 byte public key exponent]A180[128 byte public key modulus]
    But when I send the following command on a SSD with DAP Verification privilege after mutual authentication
    put-key -m add 115/1
    I get jcshell: Unknown exception: java.lang.ArrayIndexOutOfBoundsException: 161 (or 172)
    Thanks,
    Ming

    The format for RSA-PUB is:
    <pubexp length><pubexp><mod length><mod>
    For example:
    115/1/RSA-PUB/0301000180xxxxxx....

  • What is the password for 'oracle' user created during XE installation?

    Hi,
    What is the password for 'oracle' user automatically created when XE is installed?
    I installed XE on Linux and it's created under 'oracle' user, but I don't know 'oracle' password. So, I cannot stop TNS listener.
    During configuration, it prompted me to enter SYS and SYSADMIN password but it didn't ask me to enter 'oracle' user password.
    Please let me know or point me to the document.
    Thanks,
    N

    Hi Jari,
    I tried your suggestion, but it didn't work unfortunately.
    When I type (sudo su -oracle) as follows, it still prompts the password. When I hit Enter key w/o anything, it seems to proceed and the prompt shows up in the following line. So, I thought it was successful, but when I checked 'whoami', it's not logged in as 'oracle'.
    So, I created the password for 'oracle' and logged in as 'oracle' using a new password. Then, I stopped TNS listener to uninstall XE.
    It would be nice if it's documented in XE document somewhere... since it's created by XE installation, I assumed some kind of default password was used.
    Thanks,
    N

  • What are the announcements for renting VPS?

    What are the announcements for renting VPS? For details, understand VPS and make the choice of rental; for Taiwan VPS and Hong Kong VPS, without records, unlimited contents, wider range, and more efficient experience. Your server will show its excellence with the advantages.
    Most station agents become less inclined to virtual hosting, for national space, domain name records are needed, which waste the time; for overseas hosting such as Korea hosting, US hosting, no records, but slower speed than national space; therefore, more and more station agents prefer servers, but because the price of servers are too high, they turn their focus on VPS.
    The following are the announcements:
    1.Open remote desktop lander:
    Start-run-mstsc or start-procedure-nearby-remote desktop connect
    2.Several conditions for account halt:
    First, client side login cause account halt
    Second, certain account quits the remote control in midway when it runs routine
    Third, certain routine is restricted by synchronous operation of system administrator.
    3. Not install the third party firewall
    If you need firewall, please use windows firewall, the third party firewall in VPS will cause system collapse and data loss, the system automatically obtains the newest windows patches and install itself, which do not require human operation. Installing system patches in VPS sometimes will heavily lead to VPS collapse and data loss.
    Do not modify remote desktop port.
    Because of the specialty of VPS system, default remote desktop port is 3389, do not modify randomly, or the remote connection will be out of work.
    4. Except some special conditions that user registration is needed for certain procedure, when the remote connection has been close down, do not forget logout user to save memory resource, and prevent the loading connection next time, if it happens, reboot VPS.
    5. VPS has been set with relative security when it was paid, with high security. It suggests that do not open firewall randomly, if you open it by your own, the following ports should be opened: 21(FTP), 3389(remote connection), 80(website http), 3306(MySQL), 1433(SQL Server). Timely check whether there is suspicious account or system log, download 360 safety guard to avoid these files and process.
    6. Try not to modify registry hand-actuated, ensure the reboot of VPS. Modify remote ports please add the modified port in firewall first, and then reboot.
    7.Modify IIS installation files, backup these files, and then modify them with the software that can keep the file layout, prevent these files from destroying IIS.
    8.Website service of VPS and FTP service of IIS are default to open hand-actuated, set Web Publishing Service as automatically if you are station agent. If you often use FTP service of IIS, please set FTP Publishing Service as automatically, i.e. reboot it automatically. If you use serv-u, tick all the system service terms. In the terms of security and resource consumption , it suggests that those users who seldom use FTP do not set it as automatically.

    Hi there
    "So for ALL the apps, the annual monthly fee is £46.88, but you can rent occasionally for £70.32 pm.... ?" Correct
    £17.58 single app plan requires an annual commit - it's £27.34 for the month-to-month plan without annual commit.
    Thanks
    Bev

  • What is the use for CREATING VIEW WITH CHECK OPTION?

    Dear Legends,
    I have a doubt
    What is the use for creating view?
    A: First Data Integrity, Selecting Particular Columns..
    What is the use for creating a view with check option?
    A: As per oracle manual I read that its a referential integrity check through views.
    A: Enforcing constraints at DB level.
    A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??
    A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???
    Please clear my doubt's Legends
    Lots of Thanks....
    Regards,
    Karthik

    Hi, Karthick,
    karthiksingh_dba wrote:
    ... What is the use for creating view?
    A: First Data Integrity, Selecting Particular Columns..Most views are created and used for convenience. A view is a saved query. If the same operations are often done, then it can be very convenient to code those operations once, in a view, and refer to the view rather than explicitly doing those operations.
    Sometimes, views are created and used for security reasons. For example, you many want to allow some users to see only certain rows or certain columns of a table.
    Views are necessary for INSTEAD OF triggers.
    What is the use for creating a view with check option?
    A: As per oracle manual I read that its a referential integrity check through views.The reason is integrity, not necessarily referential integrity. The CHECK option applies only when DML is done through the view. It prohibits certain changes. For example, if a user can't see certain rows through a view, the CHECK option keeps the user from creating such rows.
    A: Enforcing constraints at DB level.I'm not sure what you mean. Please give an example.
    A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??No. Using CHECK OPTION, you can do some inserts and updates, but not others. The columns involved may or may not have constraints in either case.
    A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???If you try to violate a constraint, you'll get an error. That happens in views with or without the CHECK OPTION, and also in tables.

  • What is the proceedure for replacing a hard drive (after failure) for RAID 5 with IX4-300D?

    I have the IX4-300D with 4 hard drives (identical Seagate drives) using RAID 5.
    Someday a hard drive will fail and I and I have to replace it. I read through the users manual briefly and I didn't see any documentation on how to perform a hard drive replacement and not lose any data.
    So here are my questions:
    1) I know per the instructions that Lenovo prefers using identical hard drives. Let's say in 2 years, 1 hard drive fails. Most likely, the same model Seagate hard drive will not be available. So will using a replacement hard drive by the same manufacturer with similar specifications work?
    2) Will the front panel (or the software) tell me which hard drive has failed?
    3) What is the proceedure for replacing a hard drive after a failure occurs? I read that the IX4-300D is not hot-swappable. So do I just power the IX4-300D down, replace the hard drive, and turn it back on?
    Solved!
    Go to Solution.

    Hi exceptionalht,
    It is best to replace the hard drive with one that is the same manufacturer, rotational speed, and capacity, so it does not have to be exactly the same model.
    The front panel should show which drive has failed. If not you can check the web interface to find out.
    That is the basic procedure for replacing a hard drive. You can see a more detailed instructions here: Installing hard drives in an ix4-300d 
    Have questions and need answers?
    Search the database for answers to FAQ's, software/driver downloads, tutorials, news, features and more!
    LenovoEMC Support & Downloads
    LenovoEMC North America Support Contact Page

  • What is the default for the "Display PDF in Browser" setting?

    What is the default for the "Display PDF in Browser" setting in Adobe Reader 9 and X?
    Also, are any statistics available on what proportion of users have this setting set to on?

    For all three the default is "checked".
    Be well...

  • What is the rule for adding application elements to faces-config.xml

    I have posed this question before, but was unable to get an answer so here goes again.
    What is the rule for adding more than one application element to the faces-config.xml?
    The schema documents that 1-n are possible, but why and when should I do this?
    --W                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    sorry if you don't login in tomcat administration before. you must enter login and password of a manager user on tomcat .
    The user is the one you give when installing tomcat.
    If you have forgotten it : see it to: C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\tomcat_users.xml
    and choose one whop have role='manager'

  • What is the cause for the mac to become slow

    what is the cause for the mac to become slow?

    Things You Can Do To Resolve Slow Downs
    If your computer seems to be running slower here are some things you can do:
    Start with a visit to: OS X Maintenance - MacAttorney.
    Boot into Safe Mode then repair your hard drive and permissions:
    Repair the Hard Drive and Permissions Pre-Lion/Mountain Lion
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Repair the Hard Drive - Lion/Mountain Lion
    Boot from your Lion Recovery HD. When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Restart your computer normally and see if this has helped any. Next do some maintenance:
    Suggestions for OS X Maintenance
    For situations Disk Utility cannot handle the best third-party utility is Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or Lion and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems. For more about malware see Macintosh Virus Guide.
    I would also recommend downloading a utility such as TinkerTool System, OnyX 2.4.3, or Cocktail 5.1.1 that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. There is no confirmation that this version also works with Lion.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner
      2. Data Backup
      3. Deja Vu
      4. SuperDuper!
      5. SyncTwoFolders
      6. Synk Pro
      7. Synk Standard
      8. Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.
    Additional Hints
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
    Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
    Check for applications that may be hogging the CPU:
    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time, then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file.

  • What is the secret not to include the iPhone 5 in the comparison !

    what is the secret not to include the iPhone 5 in the comparison !
    http://www.apple.com/iphone/compare/

    The iPhone 5 is no longer in production. To obtain specs for it, try looking at a third party reseller or cellular phone company site (or even amazon).

Maybe you are looking for

  • Do we have INCLUDE=JAVA CLASS AND INCLUDE=JAVA SOURCE OPTION IN DATA PUMP

    Hi All , Can any one please tell me , how to import only java class and java source from datapump export file. Include=java class or include=java source is not working .. Thanks in advance, Sanjeev.

  • To go to prev page and next page in interactive report

    Hello, I want to make two bottoms. One bottoms to go to prev page in interactive report and other bottoms to go to next page in interactive report. Reggads, Amparo

  • Playing DVD+RW discs in DVD-Rom drive

    I've got a Toshiba SD-M1222 DVD-rom drive. I recently bought a new separate domestic DVD+RW machine. Discs recorded on the DVD+RW play back no problem in my other domestic DVD players, but when I try to play them in my DVD-Rom on the PC, I get a 'dis

  • What changed in v32, that makes emscripten compiled JS code awfully slow?

    Today I updated to v32.0.1 of Firefox. I'm currently working on the JS version of our face tracking library (Beyond Reality Face), that is emscripten compiled code. In v31 I got 36 FPS, while in v32 and v33 (beta) I got 10 to 12 FPS. Does anyone know

  • Lumia 720 WP8 Update 3

    Hey guys I want to know when the Windows Phone 8 Update 3 and Lumia Black update will roll out for the Nokia Lumia 720. I am currently in the Middle East so I would really appreciate it if someone could tell me the approximate release date in this re