How to configure a system property

Hi everybody,
Does anybody know how to configure a system property through WebLogic 11g console?
I´d like to configure a property through web console and then get this property in my java code. Something like this:
System.getProperty("foo");
Is it possible?
Thanks,
Fernando

Hi Fernando,
Please refer to the following link which tells us how we can set the JAVA_OPTIONS from the Admin Console....
http://weblogic-wonders.com/weblogic/2010/03/26/nodemanager-based-managedservers-setting-mem_args/
The above link demonstrate that how we can set *"-Duser.dir=E:/MyDirectory"* System property.....
Now you can set your own JAVA_OPTION like following:
-Dfoo=MyFooValue
After setting above propertu in AdminConsole MEM ARGS you need to restart the Server. then you can use the following code:
String result=System.getProperty("foo");
Thanks
Jay SenSharma

Similar Messages

  • How to configure satellite system in Solution manager

    Hi,
    Please advise me how to configure satellite system in solution manager.
    Regards,
    Asif

    Hi,
    can you check this installation guides
    [ http://service.sap.com/solutionmanager][http://help.sap.com/saphelp_smehp1/helpdata/en/b7/07e4cf1a364a0482e29122c329b7d3/frameset.htm]
    Regards,
    Muralidhar

  • How to configure HA system

    Hi Expert,
    how to configure HA system, i am having ecc6.0 ehp4 with maxdb7.8.in my existing landscape i am having DR setup.
    please guide me on that.
    Thanks.
    Naresh KK

    Hello Naresh,
    Please go through the following links for better understanding of HA installation.
    http://www.sdn.sap.com/irj/sdn/ha#section16
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c029ec90-0201-0010-b192-8306f27295c2?QuickLink=elearn&overridelayout=true
    Please let us know if you still need clarification.
    Thanks,
    Siva Kumar

  • How to set a system property via the config tool?

    Hello,
    how can I set a system property via the config tool? Before I chose WAS from SAP I used java with option -D<name>=<value> to set the system properties.
    Very much thanks in advance.
    Regards
    Carsten

    Hi Carsten,
    WAS config tool is located under
    e.g. usr\sap\J2E\JC00\j2ee\configtool
    start configtool.bat
    there will be opened a configuration tool GUI
    Click on the instance_ID.... leaf of the tree in the left pane and then on the server_ID.... leaf.
    Java settings will appear in the right pane after this steps.
    Best Regards,
    Violeta

  • How to configure the system cache

    I found that JS2E has this enhancement:
    System Cache: Java Web Start now contains both system and user caches. The system administrator can now pre-load applications and shared libraries into the system cache so that multiple users can share the same resources.
    Now how exactly do I pre-load applications?

    Clearly the documentation of these two subjects needs to be addressed. I will try to get a compete "How to" document posted later in the month, meanwhile:
    1.0)Enterprise Configuration Setup
    To configure a system or enterprise configuration, you need to create a file called �deployment.config� and put it in the right place. Java Plug-in and Java Web Start will look for this file first in the directory it calls �deployment system home� , and if not found there, will look in lib directory of the JRE you are running Plug-in or Web Start from. The �deployment.system.home� directory is platform dependent. On unix, it is �/etc/.java/deployment�. On Windows it is <windows dir>/Sun/Java/Deployment.
    If the file is in deployment.system.home, it will be used by all jres (only valid from 5.0 and up). If the file is not there, but in the lib directory of the jre, it will only be used when that Plugin-in or Web Start are launched from that jre.
    The file contains is a java properties file, with only two possible properties in it: deployment.system.config, and deployment.system.config.mandatory. Here are two example deployment.config files:
    deployment.system.config=http\://MyCompany.com/deployFiles/deployment.properties
    deployment.system.config.mandatory=true
    deployment.system.config=file\:/C\:/Program Files/java/jre1.5.0/lib/deployment.properties
    deployment.system.config.mandatory=false
    Note in both examples, the colon in a properties file must be escaped. This also applies to backslashes themselves in the examples below. This is a common problem.
    The first example could be deployed by the admin in deployment.system.home, to require all jres used on this system to load the default and locked properties from the url before launching any Java Plug-in applet or Java Web Start application.
    The second example could be deployed with the jre, with both deployment.config and deployment.properties
    The deployment.properties file pointed to, can contain any of the properties that can be contained in the users deployment.property file (see list on http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html). They can also lock properties by listing the property key with �.locked� appended to it. Here is an example system deployment.properties file:
    deployment.user.cachedir=D\:\\deployment\\cache
    deployment.security.sandbox.awtwarning=false
    deployment.security.askgrantdialog.notinca=false
    deployment.security.askgrantdialog.notinca.locked
    The first two properties are not locked. The use can change to use a different cache location, or turn back on the AWT Warning banner. The last property is locked. The user is not allowed to grant trust to applications who's jars are selfsigned (or signed with any root not in the rootCA certificate store, nor is he allowed to change this setting. The entry in the control panel for this property will be disabled, and any change made to the users deployment.properties file for this property will be ignored.
    Now for system cache:
    The system cache property is:"deployment.system.cache.dir". It can be set in either an enterprise or users deployment.properties file with:
    deployment.user.cachedir=D\:\\deployment\\system\\cache
    /Andy

  • How to set my System Property for frmall.jar like !

    I have a JAR file named SecAuth.jar in ORACLE_HOME\forms\java\ directory.
    I configured this JAR file in ORACLE_HOME\forms\server\formsweb.cfg file archive tag. Like,
    archive=frmall.jar,SecAuth.jar
    Its working very nice.
    Now I need to give a System Property to one of the Class file in the SecAuth.jar !
    Actually my System Property is,
    -Dproject.system.securityFile=C:\client\security.properties
    How can I do this sir ? Can someone help me ?

    Try looking in the $ORACLE_HOME/opmn/conf/opmn.xml file. You'll see a set of process definitions that correspond to the OC4J instances you have configured. There should be a "start-properties" or some similar element to that, in which you can place your required System property. There should be examples of properties in there already.
    When OPMN starts your OC4J process, it will pass it the System property you set (along with all the other ones that were already there).
    -steve-

  • How to Configur Oracle System

    Hi,
    I configured SAP R/3 System on portal.
    and also i created transactinoal iveiw using R/3.
    Let me know how to connect oracle system and how to create iview to show date which there in oracle date base.
    For example
    i want to show of EMP table in oracle on portal iview.
    please help..
    regards
    praksh..

    Hi
    You can connect to a database using a JDBC iview already present in PCD or you can create a portal archive file which contains a servlet or JSP using simple JDBC API of java   .the portal component that can be used is abstract portal component or jsp dynpage but as you wite code in java you can do the same thing here.Register drivers in system before you connect it and then deploy the portal component using Netwever developer studio or uploading archive straight away through pcd inspector .Just use ip address in code if it is a distributed data base which must be in same domain as portal otherwise need to build trust relationship between two domains.hope this helps you please do not forget to give points
    with regards
    subrato kundu

  • How to Configure Business System in SLD (SAP-XI).

    Hi all,
      I am new to XI.  I want  to know the detail scenario of configuring Business system in SLD(System Landscape Directory) in SAP-XI.
    Can , anyone help me on this...

    hi suresh,
    gothrogh this below liks ..........
    http://help.sap.com/saphelp_nw04/helpdata/en/fe/39ae3d47afd652e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/7b/d4653fd1d3b81ae10000000a114084/content.htm
    http://wiki.sdn.sap.com/wiki/display/XI/WorkingwithSystemLandscapeDirectory+(SLD)
    regards,
    kesava

  • How to configure AS400 System in SLD

    Hi,
    Am in need to configure AS400 system into SLD.  Driver and connection are done. Am in need to add the system into SLD.
    do we need to add AS400 DB2 system as the third party system?

    Prem,
    It depends upon your client standards and SLD naming conventions. If there are mulitiple interfaces to this system, then I would create a 3rd party business system in SLD. After creating you need to assign the corresponding target system, so that when you transport it will take care. Once created you need to import it into your configuration and do your interfaces configuration accordingly.
    Regards,
    ---Satish

  • How to Configure the system to use an firm's accepted warning banner in 10g

    Hello.
    I need to configure the system (oracle 10.2) to use an firm's accepted warning banner. I was able to do it in version 11 by putting entries in sqlnet.ora file. It then displayed when connectting as user (sys, system). I tried the same with 10.2 version and it doesnt display. Do i need to do anything different in 10g. I could not find the lead on googling it.
    I used theses entries in sqlnet.ora for 11g
    SEC_USER_UNAUTHORIZED_ACCESS_BANNER = <path>\banner2.txt
    SEC_USER_AUDIT_ACTION_BANNER = <path>\banner.txt
    Do we have to do differenetly in 10g. please help
    Thank you very much

    maggie wrote:
    Thanks for responding. Is there a way to create a banner in 10.2 version of oracle. I need to didpaly it as part of checklist i am working on for 10g.
    ThanksUnfortunately, auditors and security nazis dream up "requirements" without ever considering the capabilities and limitations of the selected technology. A lot of these guys get their technical knowledge from American Airlines Magazine when they get tired of reading the SkyMall catalog.
    Sometimes you just have to document the exception, get a manager's signature, and keep it on file.

  • How to configure new system landscape in portal server for bsp iview

    Hi
        can you tell me what are the necessary parameters (apart form default parameters that were there while creating new system landscape) for configuring a system landscape for using it in bsp iviews.
    thanks & regards
    Ashutosh

    Hello,
    what you call system name has to be the system alias, and this alias has to be the same between DEV/QUAL/PROD environment.
    Your portal application will look for data/BAPIs/etc... with this alias. Your portal application will know on which environment it has to retrieve data/BAPIs/etc... will be defined in each system object you have defined for each environment.
    Fabien.

  • How to configure a system

    Hi Friends,
    I have installed EP 7 and now when i logon to visual composer and try to look for API's in added system it shows an error
    'failed to connect to backend system. check your system definition and user privileges.'
    can anyone help me resolving this..
    Regards
    Anuj

    check all the possible solutions for your error
    see what suits your situation and apply them ...let me know if u still have errors
    1) Export certificate from portal (verify.der and verify.pse)
    ..... a) Navigate to 'System Administration' >> 'System configuration' >> 'Keystore Administration'.
    ..... b) in 'Content' select "SAPLogonTicketKeypar-cert" and press'n'save "Download verify.pse file" and "Download verify.der file".
    2) Check existence of SAPJSF user in target system
    ..... a) Create if necessary using transaction SU01.
    ..... b) User should have two roles: SAP_BC_JSF_COMMUNICATION and SAP_BC_USR_CUA_CLIENT_RFC (if you have CUA in place).
    ..... c) Probably you will have to generate profiles for those roles in target system (transaction PFCG).
    3) Check profile parameters
    ..... a) use transaction RZ10
    ..... b) choose instance profile, 'extended maintenance', then 'Change'
    ..... c) make sure that "login/create_sso2_ticket" is set to "2" and "login/accepte_sso2_ticket" set to "1"
    4) Export certificate from target system (the system to which you want to connect using SSO from portal)
    ..... a) use transaction STRUSTSSO2
    ..... b) double-click on "Own Certif." on "CN=..." part.
    ..... c) press on "Export certificate" button in the middle of the screen and provide file name and path, where to save certificate file.
    5) Import portal certificate to target system
    ..... a) Use transaction STRUSTSSO2 in target system
    ..... b) push "Import certificate" button in the middle of the screen
    ..... c) in 'File path' field enter path to *.der file, you created in step 1 (or point at it via 'Browse' button)
    ..... d) Press "Enter"
    ..... e) Press 'Add to certificate list' button and then 'Add to ACL button
    6) Create an JCo RFC provider in J2EE engine of portal system.
    ..... a) Logon to J2EE using J2EE Admin tool (go.bat)
    ..... b) navigate to 'Server' >> 'JCo RFC provider' node
    ..... c) On the right side of the screen choose any entry in 'Available RFC destinations' area.
    ..... d) Enter information about new destination:
    ..... ..... - Program ID: name of the program (you will need it later) - sapj2ee_port, for example
    ..... ..... - Gateway host - FQDN of target system - server.domain.com, for example
    ..... ..... - Gateway service - sapgw00 for example
    ..... e) in 'Repository' section enter:
    ..... ..... - Application server host - FQDN of target system - server.domain.com, for example
    ..... ..... - system number - 00, for example
    ..... ..... - client - 100, for example
    ..... ..... - logon language - EN
    ..... ..... - user - SAPJSF (from step 2)
    ..... ..... - password (from step 2)
    ..... f) press 'Set'
    7) Add target system to Security providers list
    ..... a) Open J2EE Admin and navigate to 'Server' >> 'Services' >> 'Security Provider'. In components select 'Ticket'. Enter edit mode (button with pencil above)
    ..... b) select 'Login module' "com.sap.security.core.server.jaas.EvaluateTicketLoginModule" and press 'Modify'
    ..... c) ensure that "ume.configuration.active" is set to "true"
    ..... d) enter following info:
    ..... ..... - Name - 'trustedsysN' (there should be a number instead "N", if target system is the first one you implementing SSO with, there should be 'trustedsys1'). Enter <SID>,<client> as a value (C11,100 for example)
    ..... ..... - Name - 'trustedissN' (there should be a number instead "N", if target system is the first one you implementing SSO with, there should be 'trustediss1'). Enter CN=<SID> as a value (CN=C11 for example)
    ..... ..... - Name - 'trusteddnN' (there should be a number instead "N", if target system is the first one you implementing SSO with, there should be 'trusteddn1'). Enter CN=<SID> as a value (CN=C11 for example)
    ..... e) Press 'OK'
    ..... f) Do substeps b,c,d,e in 'evaluate_assertion_ticket' view for "com.sap.security.core.server.jaas.EvaluateAssertionTicketLoginModule" login module.
    8) Import target system certificate to J2EE of portal system (from step 4)
    ..... a) Open J2EE Administrator and logon to portal instance
    ..... b) Navigate to 'Server" >> 'Services' >> 'Key storage'
    ..... c) in 'Ticket keystore' view press 'load' and select certificate of target system, you exported in step 3.
    9) Restart J2EE instance.
    10) Create RFC connection in target system
    ..... a) use transaction SM59
    ..... b) Point to TCP/IP connections and press 'New'
    ..... c) Enter name for new connection ("RFC_to_portal", for example), enter connection type "T" (external TCP/IP application) and description. Save.
    ..... d) in 'Technical settings' choose "Registered server program" and enter application name from step 6d in "Program ID" field. Provide 'Gateway host' and 'Gateway service' same as in step 6d. Save. Test connection. RFC connection ready.
    If You had to change or add parameters in RZ10 (in step 3), do not forget to restart target system.
    Also double-check that portal server and target system are in a same domain, this is important for ticket issuing. This thing is always mentioned in various documents.
    Now SSO is configured. Try to test it by creating simple iView, that launches WebGUI

  • How to configure Test System

    Hello Guys,
    I want to some guidelines to install and configure the SAP NWCE as Test System. Any link or documentation would be encouraged.
    Regards,
    Naeem

    Hi Naeem,
    The SCAfiles for the ESR comes along with the CE package, you need to deploy those SCA files on NWDS in order to access ESR which is a part of the CE installation process, though I undestand your point that it is not required unless you need ESR/SR. The NWDS accesses ESR and SR to deploy the EAR files for the service Interfaces created on ESR/SR on the Java server from where the services would be accessed in run time. I think you don't need the ESR/SR in the test system unless it would be used by the PI system as well (if you have one in your landscape), as NWDS accesses the ESR once to get the service interface and then deploy it on Java server. and the deploed EAR files can be transported to the Test environment. having said that, you should have ESR/SR in  your landscape as you would like the DEV, QA, PRD systems in sync.
    On your other question, NWDS accesses the ESR/SR to get the service interfaces and create ear files for the interfaces and deploy them on the Java server and used at runtime.
    Hope it helps.

  • How to configure the system log on Mac OS X???

    Now the system log is removed one week after the creation but I need to store it permanently.
    How to do it??

    Eugene Mirgorodskiy wrote:
    Now the system log is removed one week after the creation but I need to store it permanently.
    It's not really "removed". The system log is "rotated" out, at least partly to avoid having it grow too large. The older log information is in a series of files named like "system.log.0.bz2, system.log.1.bz2, etc. A file of type ".bz2" is a particular type of compressed file. Eventually the oldest of those files will be deleted. If you want to keep those forever, I'd copy off the oldest of those files on a regular basis to some other location.

  • How to get the system property - user.name from a client system

    Hi All,
    I have an application which would enable active users from the domain of the company. I want to get the name of the client from the system. I tried to run it on the local machine from Jdeveloper, it returned me the correct user name. But when the application is deployed on the Oracle Application server, and i hit the URL of the application, it returns the server URL.
    I understand that the JSP works on the server side here but help me out to get a solution. I want to read the user name from the client side.
    Thanks in advance!
    Akhil

    Akhil,
    I hope this will never work. Think about your requirement for a second....
    This would mean an application is able to see my user credentials without my knowledge. It's bad enough the know my IP if I'm not using TOR.
    To get your requirement to work you have to redefine it a bit. The user have to log in to your application. The application holds the name together with an ID of the session to know the user in further requests.
    Thats a basic security theme, described in the dos [Adding Security to a Fusion Web Application|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/adding_security.htm] .
    Timo

Maybe you are looking for

  • Need to get Licnense type linked to ECCN

    Hi All, I have a requirement to pull ECCN and License type in R3 from GTS system. I do not have sales document and am using material number to fetch the ECCN number with the help of one functional module but I am unable to get the licnese type which

  • Date/Time On Main Menu

    Hey, Apple! Can you guys add the current date/time to the main menu of the Apple TV (2nd generation) with the next iOS update? The Apple TV is the only iOS device I own which doesn't display the current date/time. Thanks!

  • Can't preview in Dreamweaver CS3

    I can't preview the web page in Dreamweaver CS3. When I click the globe symbol that says "Preview/Debug in Preview", it says it will update the file and allow me to preview it. But then I get an error message and the browswer will not show the page.

  • Printing 4 photos on A4 paper

    Hallo, in ps elements 2 I created a text file to make a print lay out of 4 photographs on an A4 paper possible. I looked into the file structure of Elements 4 but it seems not possible to do the same in Elements 4. Is this true? I use Photoshop Eleme

  • Location services not allowed for reminders iOS 8.1

    Hello! just noticed there isn't trigger to turn on location services for reminders app on my iPad. So seems I can't use the location based reminders on my iPad, isn't it?