How to set JVM system properties in Oracle Portal ??

Hello Guys,
I want to set javax.net.ssl.trustStore="path to keystore" ,JVM system properties on oracle portal,
Like i want to configure my keystore with oracle portal so that my application can make a success full connection with back end using https.
i read the following note from one of the Oracle tech note,which says that
It is important that this system property is passed as a command line option to Oracle Application Server Containers for J2EE (OC4J). Setting the property in oc4j.properties will not help because the system property is read first before OC4J reads this file. Therefore, it is best to modify the <java-option> line in the OC4J_portal section of ORACLE_HOME/opmn/conf/opmn.xml.
So, i made the required changes to OC4J_portal section of opmn.xml file as below
added value is shown in bold
<data id="java-options" value="-server -Xrs -Djava.security.policy=C:\oracle\OraPortal\j2ee\OC4J_Portal\config\java2.policy -Djava.awt.headless=true -Xmx256m -Djavax.net.ssl.trustStrore=C:\keystore1 -Djavax.net.ssl.trustStrorePassword=password1"/>
Even after making these changes, my application not able to make connection using https.
Could u guys explain me, what things are going wrong or somethings else i need to do to make it work.
Any thoughts would be highly appreciated.
Thanks
<Neeraj Sidhaye/>
http://ExtremePortal.blog.co.uk

Hello Guys,
I want to set javax.net.ssl.trustStore="path to
keystore" ,JVM system properties on oracle
portal,
-Xmx256m -Djavax.net.ssl.trustStrore=C:\keystore1
-Djavax.net.ssl.trustStrorePassword=password1"/>Hi,
if the above is an exact copy of the values you inserted then it looks like you have two typos in the command line parameters.
-Djavax.net.ssl.trustStrore -> trustStore
-Djavax.net.ssl.trustStrorePassword -> trustStorePassword

Similar Messages

  • JVM System Properties - how to set?

    Is there a way to set JVM system property values for
    an Oracle instance from "outside" the jvm? I need the
    equivalent of specifying -Dproperty=value on the JVM
    launch command, but for the JVM running inside Oracle 9.
    Is this possible?

    382891,
    As far as I know, this cannot be done. Perhaps the "java.lang.System.setProperty()" method will suffice?
    Good Luck,
    Avi.

  • How to set JDBC Data Sources in Oracle MapViewer for Oracle database 12c Release 1 (12.1.0.1)

    How to set JDBC Data Sources in Oracle MapViewer for Oracle database 12c Release 1 (12.1.0.1)?
    The following is my configuration in the conf\mapViewerConfig.xml:
    <map_data_source name="mvdemo12"
    jdbc_host="127.0.0.1"
    jdbc_sid="orcl12c1"
    jdbc_port="1522"
    jdbc_user="mvdemo"
    jdbc_password="7OVl2rJ+hOYxG5T3vKJQb+hW4NPgy9EN"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="true"
    editable="true"/>
    <!--  ****  -->
    But it does not work.
    After use "sqlplus mvdemo/[email protected]:1522/pdborcl", it connected to the Oracle database 12c.
    Does anyone know it?
    Thanks,

    For 11.1.1.7.1 use the syntax for jdbc_sid, i.e.
    //mypdb1.foo.com as described in the README,
    - MapViewer native (non-container) data sources can now use database service name in place of SID. To supply a db service name, you will use the same jdbc_sid attribute, but specify the service name with double slashes in front, such as follows:
      <map_data_source name="myds"
        jdbc_host="foo.com"
        jdbc_sid="//mypdb1.foo.com"
        jdbc_port="1522"
      />
    For 11.1.1.7.0 use a container_ds instead.
    i.e. instead of using
    <map_data_source name="my_12c_test"
                       jdbc_host="mydbinstance"
                       jdbc_sid="pdborcl12c"
                       jdbc_port="1522"
                       jdbc_user="mytestuser"
                       jdbc_password="m2E7T48U3LfRjKwR0YFETQcjNb4gCMLG8/X0KWjO00Q="
                       jdbc_mode="thin"
                       number_of_mappers="6"
                       allow_jdbc_theme_based_foi="false"
                       editable="false"
       />
    use
      <map_data_source name="my_12c_test"
                       container_ds="jdbc/db12c"
                       number_of_mappers="6"
                       allow_jdbc_theme_based_foi="false"
                       editable="false"
       />
    In my case the Glassfish 3.1.2.2 JDBC connection pool definition was
    Property
    url  jdbc:oracle:thin:@mydbinstance:1522/pdborcl12c.rest_of.service.name
    Uncheck the Wrap JDBC Objects option in Advanced panel, i.e. the Edit JDBC Connection Pool Advanced properties page.
    Add a JDBC resource for that newly created pool
    Use that in mapviewerconfig.xml as above

  • 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 set default print orientation in oracle reports 6i?

    Can anyone please help how to set default print orientation of Oracle Reports 6i? Currently document is printed in Portrait orientation, but I need to print it in Landscape orientation. Is this possible?

    It is solved now. Go to Layout Model -> Main Section, Press F4. In the property pallet select the Orientation that is required to be selected when print is taken for that report.

  • How to analyze the navigation flow in Oracle Portal, Number of unique users, downloads and other estastisticas of use of the Portal and Documents

    Dear
    Experts, I have a very exciting demand, the board of a customer.
    I need to create an analytical application on Oracle Portal, UCM, Spaces, WebCenter, to inform me which quantitatively pages, url and documents are accessed.
    How to analyze the navigation flow in Oracle Portal, Number of unique users, downloads and other estastisticas of use of the Portal and Documents?
    I thought I'd create a ods with the data of Content Tracker and Google Analytics, and model the analysis through the BIEE.
    I ask, what is the standard solution that is used in these cases?
    Thank you
    Miki

    Dear
    Experts, I have a very exciting demand, the board of a customer.
    I need to create an analytical application on Oracle Portal, UCM, Spaces, WebCenter, to inform me which quantitatively pages, url and documents are accessed.
    How to analyze the navigation flow in Oracle Portal, Number of unique users, downloads and other estastisticas of use of the Portal and Documents?
    I thought I'd create a ods with the data of Content Tracker and Google Analytics, and model the analysis through the BIEE.
    I ask, what is the standard solution that is used in these cases?
    Thank you
    Miki

  • How are the java system properties loaded into the Oracle 8.1.7

    I have listed the java system properties both standalone and in the Oracle database. The standard list of system properties is quite extensive and informative. But the list of system properties from the Oracle database is severely truncated.
    I expect these properties are initialized on database startup.
    If that is the case, I expect there to be a file and initialization parameters that define where the information is kept and there values.
    Can anyone give me some guidance?

    System*.properties file should be located in the $ORACLE_HOME/javavm/jahome directory
    I have listed the java system properties both standalone and in the Oracle database. The standard list of system properties is quite extensive and informative. But the list of system properties from the Oracle database is severely truncated.
    I expect these properties are initialized on database startup.
    If that is the case, I expect there to be a file and initialization parameters that define where the information is kept and there values.
    Can anyone give me some guidance?

  • How to set up display properties for a crosstab is CSS?

    I am woundring how to setup css class and code like in this tutorial.
    myalerting.css ?
    Set up display properties for a crosstab: Design Studio 1.2 - YouTube.
    Design Studio 1.2: Set up display properties for a crosstab
    if you have sample file please share I am sure other can be befits from as well.
    I would like to use color display on numbers or icons in seperate column if the value in certain range  or a value is below or avove business needs.
    Thanks.

    Kevin,
    I could not get this to work on my installation; perhaps you can review and "run with it" or someone better with CSS can assist.
    The gist of it is there is a class .sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert1Background to define the status symbol for the alerts
    Based on your Exceptions in the BEx query, Good 1 is .sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert1Background
    Good 2 is .sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert3Background
    etc... Bad 3 (red symbol) is .sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert9Background
    I tried the following custom CSS on the crosstab, note using IE (which now we can no longer use until Microsoft patches)
    myAlerting.sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlternating{
    background-color:#F9F9F9 !important;
    myAlerting.sapzencrosstab-DataCellDefault{
    background-color:#FFFFFF !important;
    myAlerting.sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert1Background
    color:rgba(0,0,0,0.0);
    background-image: url('/aad/resources/~1398612272195~/sap/zen/crosstab/themes/sap_platinum/img/exceptions/status_1.gif') !important;
    background-repeat:no-repeat !important;
    background-position:center top !important;
    myAlerting.sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert2Background
    color:rgba(0,0,0,0.0);
    background-image: url('/aad/resources/~1398612272195~/sap/zen/crosstab/themes/sap_platinum/img/exceptions/status_2.gif') !important;
    background-repeat:no-repeat !important;
    background-position:center top !important;
    myAlerting.sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert3Background
    color:rgba(0,0,0,0.0);
    background-image:url('green.png');
    background-repeat:no-repeat !important;
    background-position:center top !important;
    myAlerting.sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert9StatusSymbol
    color:rgba(0,0,0,0.0);
    background-image: url('aad/resources/~1398612272195~/sap/zen/crosstab/themes/sap_platinum/img/exceptions/status_9.gif') !important;
    background-repeat:no-repeat !important;
    background-position:center top !important;
    I didn't want to hold you up and for sure I hope there is someone in the community who could help.  I'll try again when we can use IE

  • How to set the lifetime properties of a document

    Hi Experts,
    Do somebody know how to set the lifetime attributes "valid from" and "valid to" via java of the lifetime properties?
    Which java class should I use?
    Do somebody have an example for this issue maybe?
    Thanks in advanced!
    Best Regards,
    Markus

    Hi Markus,
    Below is a sample method which i am using for setting expiry date for a KM Doc...
    public void setTimeBasedPublish(IResource resource) throws WcmException {
              IRepositoryServiceFactory repServiceFactory =
                   ResourceFactory.getInstance().getServiceFactory();
              IRepositoryService repositoryService =
                   repServiceFactory.getRepositoryService(
                        resource,
                        IWcmConst.TIMEBASED_PUBLISH_SERVICE);
              ITimebasedPublishServiceManager tpbService =
                   (ITimebasedPublishServiceManager) repositoryService;
              java.util.Date startDate = new java.util.Date();
              java.util.Date endDate = new java.util.Date();
              endDate.setMinutes(
                   startDate.getMinutes()
                        + Integer
                             .valueOf(getproperty("LIFETIME_MINUTES_FOR_LATEST_REPORTS"))
                             .intValue());
              endDate.setDate(
                   startDate.getDate()
                        + Integer
                             .valueOf(getproperty("LIFETIME_DAYS_FOR_LATEST_REPORTS"))
                             .intValue());
              tpbService.saveValidDate(resource, startDate);
              tpbService.saveInvalidDate(resource, endDate);
    Regards
    BP

  • How to set current/system date to af:inputDate type field

    Hi,
    I am using <af:inputDate component to take date input from user. It is not a VO atrribute field. Could you pls suggest how to set system date to it as it loads on page by default.
    Regards,
    jitu

    Could you please provide the .jsff code as well. What you have used as value="#{bindings.date.inputValue}" in below code?
    <af:inputDate value="#{bindings.date.inputValue}"
    label="Sales Date"
    required="#{bindings.date.hints.mandatory}"
    shortDesc="#{bindings.date.hints.tooltip}" id="id1"
    binding="#{bean.searchDate}">
    <f:validator binding="#{bindings.date.validator}"/>
    <af:convertDateTime pattern="#{bindings.date.format}"/>
    </af:inputDate>

  • How to dynamically refresh system properties when changed

    Hi All,
    Through weblogic startup class I'm loading the properties from a properties file
    into system properties, Now my requirement is to refresh those system properties
    when ever I make changes to the properties.
    Is there any way to achieve this functionality through MBeans.

    Hello Lucky,
    I believe you cannot refresh properties file dynamically using MBeans. What
    you can do is write an MBean which necessrily mirror your property file and
    register with MBeanServer. You can set values on the MBean dynamically but
    in order to persist your changes you need to write your own persistance
    mechanism.
    Cheers
    Ali
    "Lucky" <[email protected]> wrote in message
    news:3f84d68f$[email protected]..
    >
    Hi All,
    Through weblogic startup class I'm loading the properties from aproperties file
    into system properties, Now my requirement is to refresh those systemproperties
    when ever I make changes to the properties.
    Is there any way to achieve this functionality through MBeans.

  • How can I get system properties?

    Hello,
    How can I get the system properties like %JAVA_HOME% in my java codes, for example, I want to print it like this.
    System.out.println("%JAVA_HOME%");
    but it doesn't work!
    Please give me a hand!

    To pass the Operating system environment variable to the Java "environment variables", you have to explicitely pass them on the command line eg.
    java -Dmyjava.home=%JAVA_HOME% myClass
    then, in your code use
    String JAVA_HOME = System.getProperty ( "myjava.home" );regards,
    Owen

  • How can i extract system properties

    how can i extract OS properties like desktop resolution, type of internet connection, sound capability, browser character settings etc. ??

    type of internet connection,Not possible. You can detect the lack of an active
    internet connection though (figuring out how is left
    as homework for the reader;)),
    sound capability,Nope.
    browser character settings etc. ??Nope.
    Tuomas RintaThanx for replying..
    Are you serious ?? There is no way to check if the system is sound capable or not ? ok for the type of internet connection i thought that you couldn't so...
    as for the existence of an internet connectio....i am not that new...
    Nik

  • How to Set Basic compression attribute through Oracle ILM

    Hi,
    I have log a SR with Oracle with regard to this but they redirect to this forum.
    We have configured Oracle ILM in our environment. We have a requirement that after 3 years the data to be moved to a Low Cost Storage. We tested the same through Oracle ILM and it works fine for the above scenario.
    We have another requirement that after moved to Low Cost Storage Tier through Oracle ILM we also want to compress the data.
    When we set the compressed attribute through Oracle ILM it alwasy generated the script
    like the one below
    alter table test_user.range_part
    move partition year4
    tablespace part3
    compress for all operations -----------------Oracle Advanced Compression--------------
    update indexes;
    But we want some thing like below through Oracle ILM
    alter table test_user.range_part
    move partition year4
    tablespace part3
    compress -------------------Basic Compression----------------
    update indexes;
    Can you please help us how to set the Basic compression attribute through Oracle ILM.
    Thanks and Regards
    Ganesan Sivaraman

    Oracle support referred you here?
    Please post the SR number here or send it to me by email for follow-up (damorgan12c (at) gmail.com).
    Thank you.

  • How to set the show properties as  a default in KM

    Hello All,
    I am trying to upload the documents in KM repository using File-> Upload. If I click this Upload button, it will open a new window, it will show (show properties) this properties. But I want this one as default. Can any one help to set the (show properties) as a default? 
    Thanks in  Advance.

    Hi Gowsika,
    I'm sorry, but you seem not to get my explanation.
    First, there is no such "switch" for "Show Properties" or "Hide Properties", and there is also not Resource Type "Show Properties". It is hardcoded in the UICommand "upload" (so in the Screenflow implemented by com.sapportals.wcm.rendering.uicommand.cm.UIUploadCommand), that if the ResourceType "normalrt" (http://sap.com/xmlns/cm/framework/normal-resource-type) displayed "Normal Document" is selected, you will see the "Show Properties" link. Only by changing the implementation of this UICommand you could change this behavior, but it's not recommended because you have to make sure on upgrades that you don't overwrite it again.
    So again my suggestion:
    1. Go to KM->CM->Configuration->CM->Global Services->Resource Types
    2. Duplicate the Resouce Type "normalrt" changing:
      Name: my_normalrt
      Resource Type ID: http://sap.com/xmlns/cm/framework/my-normal-resource-type
    3. Go to KM->CM->Configuration->CM->Global Services->Property Structures->Property Structures
    4. Duplicate "DefaultPropertiesStructure" changing:
      Name: My_DefaultPropertiesStructure
      Resource Types: http://sap.com/xmlns/cm/framework/my-normal-resource-type
      Structure Items: "Input_here_your_properties_and_property_groups"
    BTW: If you want to have the same properties as in DefaultPropertiesStructure you might be obligated to remove some of them from the original Property Structure.
    5. Go to KM->CM->Configuration->CM->User Interface->Commands->UI Commands
    6. Duplicate "new_file" changing:
      Alias: my_upload
      Parameters: ResourceType=http://sap.com/xmlns/cm/framework/my-normal-resource-type,standalone=true
    7. Go to KM->CM->Configuration->CM->User Interface->Commands->UI Command Groups
    8. Edit AdminNewResourceGroup by renaming upload to my_upload in the "Commmand List" parameter.
    BTW: It's advisable to duplicate the whole Command Group and use it in your Layout Set and not to change the standard configuration, but I will not describe the whole process here
    9. Now go to KM Content and use the menu Folder->New...->Upload
    Hope this helps,
    Robert

Maybe you are looking for