How to provide system properties to embedded oc4j

hi,
I want to provide some system properties like
-Dlog4j.configuration to the embedded oc4j server. How can I do that in Jdev 9.03
Thanks
Ashwani

Select the project you are running in the navigator then
set Java option in Project -> Properties -> Runner -> Java Options (-Dlog4j.configuration=your.value)
Cheers,
Kim

Similar Messages

  • How to put system properties into weblogic6.1

    How do I p[ut in System.properties into Weblogic 6.1 server, like we could in
    weblogic5.1
    Thanks
    Raj
                                                                                                                                                                                                                       

    The article below contains information about how to create 1.44 MB Mac boot floppies under Mac OS X. Without having tested this procedure at all, I cannot say whether recent system versions would work or not.
    http://lowendmac.com/brierley/08pb/classic-mac-boot-floppy.html
    Otherwise, the easiest way would probably be to locate another older (pre-1998) Mac with a built-in floppy drive for 1.44 MB (and possibly with a direct Internet connection). JustSomeGuy provided you with links to two 6.0.8 (1.44 MB) downloads. A utility called StuffIt Expander can be used to decode downloaded MacBinary (.bin) files on the Mac in question. After decoding and decompression, one can create  sector-copied floppies from the resulting disk images via (the Make A Copy button in) Disk Copy 4.2.
    http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English -North_American/Macintosh/Utilities/Disk_Copy/
    If it is absolutely impossible to locate another older Mac, one could even use a Windows PC with a floppy drive (an appropriate version of Aladdin/StuffIt Expander for Windows, and a disk-image utility like WinImage, would be needed in order to make sector-copied 1.44 MB floppies).
    Jan

  • How to Deploy HTML file in embedded OC4J Server

    Hi,
    I have a problem with deploying the HTML file.
    How to deploy a HTML file in embedded oc4j server.
    I'm running this in a Standalone and JDeveloper9i version.
    I don't know where to deploy and how to deploy ?
    Thanks
    James

    Hi Deepak,
    I tryed that but i was NOT successful.
    I'm getting 404 error page could not find in the Server.
    Any other idea ?

  • JMX question: how to retrieve system properties, DataSource attributes ?

    Hi,
    I need to retrieve some parameters from my JEE application (*.ear) my collegues will deploy soon on Netweaver 7.2
    I found documentation about how to connect to the server with JMX, that works fine:
    http://help.sap.com/saphelp_nw04/helpdata/en/64/617cfb94845d468b0498b4b2c53d74/content.htm
    But how can I come to the system properties for example? Which ObjectName do I have to use and what methods should be called? Are there some more examples for common operations based on the default (monitoring) MBeans?
    Thanx a lot,
    Bob

    http://www.dagira.com/2007/08/22/dynamic-dates-part-i-yesterday-and-today/
    That blog post includes functions to get "today" for:
    DB2     current date
    Oracle     sysdate
    Informix     TODAY
    MySQL     CURDATE()
    SQL Server     getdate()
    Sybase     getdate()
    Teradata     DATE or CURRENT_DATE
    It is also the first in a series of posts that show you how to create other creative time objects for use in your universe. Hope this helps.

  • How the "Java System Properties" are populated in "About this Page"

    Hi Gurus,
    We are facing a very intriguing issue and want to find out the way self service pages shows information in tab "Java System Properties" on clicking "About This Page" link ( bottom left corner of any EBSO selef service page)
    Thanks,
    Ajay

    Hi Peddi,
    Thanks but let me give some more details on our problem.
    It is a EBSO environment.
    On Private MT we do not have any proxies set in context file or any other configuration files.
    <proxyhost oa_var="s_proxyhost"> </proxyhost>
    <proxyport oa_var="s_proxyport"> </proxyport>
    The standard all standard OAF pages ( no customization or personalization ) show via link I mentioned before show these variables set
    http.proxyHost
    http.proxyPort
    http.proxySet
    Any idea how these get populated ?
    Are these values fetched dynamically via some DB table?
    Thanks,
    Ajay

  • How to access System properties in xml file

    hi,
    i want to read system properties in my xml file using ${} .
    I tried it but did not find any way.But when i use log4j if i set some variable in
    System properties that properties is read by the log4j.properties .
    I am writing a simple program that read a xml properties file file
    try {
                props   = new Properties();
                fis     = new FileInputStream(xmlFile);
                props.loadFromXML(fis);
    }before reading this file i set some properties and accessing this properties from that xml .but i cant.
    Thanks

    sabre150 wrote:
    fun_with_java wrote:
    can you give some example?Not really - I would have to write the code for you and I'm not getting paid for writing your code.Thanks for your kindness.
    I dont ask you to write the code.Need some help to start it .Actually i dont have knowledge that
    whether xml file automatically read it or i have prase the system property manually. Now i got the way to
    access system property in xml..
    Ok thanks again..
    Thanks & Regards

  • How to import Class12.jar into Embeded OC4J Library of JDeveloper 10gR3?

    Hi! To someone who can help this....
    I try to use database connection tool in JDeveloper 10gR3 test jdbc driver for a remote site of Oracle server. Because of server site configuration, the thin driver might be forbiden from firewall, but oci driver with Oracle client service works. In the other word, I have Oracle client software installed in local machine to remote connecting to database in Oracle Server.
    In my connection test program, I use OCI driver like
    jdbc:oracle:oci:@oracle_tnsname
    In fact it works either using Java class or through Tomcat server.
    With Java compiler, I just indicate CLASSPATH of Class12.jar,
    with Tomcat, I just put class12.jar in common\lib
    However, I still cannot setup database connection test in JDeveloper 10gR3 by using oci8, instead of thin, or other custom JDBC URL. Am I supposed to put Class12.jar into somewhere such as what I have done in Tomcat or J2EE applcation server?
    Thanks for anyone's experience on it!
    Hsueh-Chun

    Add classes12.jar to j2ee/home/lib directory.

  • XML parser in embedded OC4J

    How can I add option to embedded OC4J, so it will take the xml parser I specified.
    example as following.
    -Dorg.xml.sax.driver=oracle.xml.parser.v2.SAXParser
    Where I can setup in Jdeveloper?
    or is some property files?

    You can set options on JDeveloper's embedded OC4J from the Tools menu option "Embedded OC4J Server Preferences". You can read the documentation on this in JDeveloper's online help from within the product or at
    http://helponline.oracle.com/jdeveloper/help/state?navSetId=jdeveloper&navId=4&vtTopicId=&vtTopicFile=jdeveloper/deploying/embedded_oc4j/eos_p_prefs.html
    -SteveA

  • URGENT : Add & Retrieve properties from Embedded LDAP in Weblogic 9.2

    I am using Embedded LDAP WebLogic 9.2 and i followed the steps mentioned in the URL below.I have nt changed anything except Server URL which points to localhost:7001.
    http://e-docs.bea.com/wlp/docs92/users/appendixa.html#wp1055363
    Questions:
    1)How to add additional attributes to embedded LDAP? (eg email, phone etc).
    2)How to read those properties from embedded LDAP using WebLogic Portal API? Any code samples?
    Any help is appreaciated.

    this problem is due to hard-coded user/pwd in installation scripts. Here are steps
    1) open file AIA_HOME/Infrastructure/install/wlscripts/FPWLCommonConfig.xml
    2) reach to target CreateStartupClasses
    3) there are three java tasks for com.oracle.oems.weblogic.AQJMSPasswordUtility
    4) in the task for oraesb, password is hardcoded as 'oraesb' in clear text.
    5) this should be password of 'ORAESB' database user.
    6) change this password value; and restart the installation.
    Regards,
    Vaibhav

  • Get System Properties

    How to get System Properties using Applet Program
    Eg(username) of the system

    From applet, u cannot access some system properties... to do this u have to give permissions in java.policy file
    arun

  • Specifying system properties/security manager for OC4J

    I have a couple of related questions regarding OC4J/orion.jar:
    1. Generically, how can we specify system properties to orion.jar? Being an executable JAR, simply using -D does not work.
    2. Specifically, I need to launch the OC4J app server with a Java security manager (with associated security policies, etc.) Java's way of doing this is via -Djava.security.manager=... but this does not work with executable JARs it seems. I tried specifying these parameters via -D and I got a security exception:
    Exception in thread "main" java.security.AccessControlException: access denied (java.util.PropertyP
    rmission java.protocol.handler.pkgs write)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.System.setProperty(Unknown Source)
    at com.evermind.server.ApplicationServer.initProtocolHandlers(ApplicationServer.java:652)
    at com.evermind.server.ApplicationServer.launchCommandline(ApplicationServer.java:319)
    at com.evermind.server.ApplicationServer.main(ApplicationServer.java:314)
    So, how do I install the Java security manager with orion.jar? Is there any other way to specify system properties to this, or is there any other way to install the Java security manager for OC4J?
    Any help much appreciated.
    ..Hrishi

    Thanks, that seemed to work. However it seems that spawned another little problem. I was using the -Xbootclasspath/a option while firing up orion.jar because I needed to append something to OC4J's default classpath (that is specified in orion.jar's Manifest). Now, when I start OC4J with the -D options for the security policy, it seems to ignore the -Xbootclasspath argument. I have not yet been able to confirm this fact, but based on the ClassNotFoundError I'm running into, that does seem to be the problem.
    So I guess my question is, could specifying the -D options to the executable JAR cause it to ignore any other options you may be passing to it (such as -Xbootclasspath)? Is there any sequence in which these args need to be passed?
    Thanks.
    ..Hrishi
    Hi,
    You can try this :
    - Check if you have a file java2.policy in <OC4J_HOME>\config\policy and check if the permission java.util.PropertyPermission "read,write" is granted to <OC4J_HOME>.
    if there is no file, you can create one based on <JAVA_HOME>\lib\security\java.policy and grant the approriate privileges.
    - Launch OC4J :
    java -Djava.security.manager -Djava.security.policy=<OC4J_HOME>/config/java2.policy -jar orion.jar
    OR java -Djava.security.manager -Djava.security.policy=<PATH_TO_FILE_POLICY>/<YOUR_FILE>.policy -jar orion.jar
    Maher

  • ITS.ear Wireless -- how to remove appl from embedded OC4J config JDev b4157

    The embedded container configuration currently includes ITS.ear; I'd like to remove this from the default applications started by embedded container.
    The JDev (10.1.3.41.57) Tools .. Embedded OC4J Server Preferences .. Applications list includes ITS. The input fields and buttons to change or Delete this web application are greyed out. Removing the <application> entry from the server.xml file in c:/JDev_4157/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/ only removes ITS application temporarily -- it reappeared.
    I've not been able to locate a configuration that causes this to be added to the default datatags and current-workspace-app applications.
    Thanks.

    Thanks for reading and checking your installation.
    Don't believe it's automatic in the standard install; I only noticed it recently but I have no idea how it got activated or how to unactivate it. (You can find the EAR file in <your-JDEV-root>/wirelss/ITS.ear.) Is there a binary JDev config file storing a preference to include this in the IDE and/or container?
    The <application> tag appeared in my \JDev_4157\jdev\system\oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/server.xml unexpectedly but its tag's path was incorrect and so it would not auto-deploy during container start-up. When I copied the ear file from the wireless directory to the embedded-oc4j/applications folder it deployed next time I started the embedded container.
    Even though I removed tags in server.xml and the default-web-site.xml in the container's config folder, and deleted the ear file and the deployed subdirectories, it continued to re-appear. Possibly I didn't always get all of these pieces. It doesn't alway reappear on the first restart; sometimes not until after the 3rd restart. That doesn't make sense to me but I haven't discerned the pattern for when it re-creates itself.

  • How to get the UDDI Key to publish a service provider system in SR?

    Hi,
    I am following instruction in appendix 1 & 2 of the white paper at https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1079b1af-dcb7-2b10-9ebb-eafcaa3cbbea?overridelayout=true
    trying to publish a service provider system into the service registry. One thing not clear to me is how to get the uddikey as needed in step 6 in appendix 1.
    My service registry is in a PI 7.1 SP4 system. I followed the instruction in appendix 2 but there is no uddi key displayed in the General tab. Please help.
    Regards,
    Jiannan
    Paragraph extracted from the whitepaper:
    There may be cases in which the NWA logical settings do not match the Services Repository
    settings when Visual Composer is trying to locate the enterprise services. Such cases can occur
    when there is no SLD ID definition of the physical system in the Services Repository.
    Currently, Visual Composer cannot search for services on a physical system with an empty SLD ID
    (which is not a valid one).
    To obtain this capability, the following steps should be performed to generate the necessary data
    for each system with a non-valid SLD ID, so that Visual Composer can search for services over it.
    1.Log on to http://<serverName>:<serverPort>/WSNavigator.
    2.Select the Services Registry radio button.
    3.In the Find field, enter sr and choose Go.
    4.Select the ServicesRegistrySi line and choose Next.
    5.Under the Operation Name, search for the publishPhysicalSystems operation, select it and choose Next.
    6.Fill the service information parameters with the following (see Appendix 2 for details on how to get this information) :
      6.1.Click the + icon in the physical system[].
      6.2.Deselect the Classifications checkbox.
      6.3.Click the + icon in the classificationReferenceGroups[].
      6.4.Click the + icon in the classificationReferences[].
      6.5.Deselect the classificationSystemKey checkbox.
      6.6.Deselect the uddiKey checkbox and enter the value <localUddiKey>.
      6.7.Deselect the value checkbox and enter the value <localSystemHostName>.
      6.8.Deselect the host checkbox and enter the value <localHostName>.
      6.9.Deselect the physicalSystemKey checkbox.
      6.10.Deselect the logical key checkbox and enter the value <System name>.<SystemHome>.<host name>.
      6.11.Deselect the systemName checkbox and enter the value <system name>.
      6.12.Deselect the type checkbox and enter the value 2.

    Hi Jiannan,
    No worries, you can go to UDDI client from the main page of PI  i.e. http://<serverName>:<serverPort>/
    And you use the search function for  the TModel for your Physical System. Search parameters can use the % wildcard.
    Hit the search and you find the UDDI Key for the Physical System.
    Cheers.
    Hemant Chahal

  • How to publish a PI7.1 System in SR to create PRovider System in CE7.1

    Hi All,
    We have CE7.1 EHP1 System. When we try to create a provider system for a PI7.1 system in our landscape, the PI system is not available in the help entries.
    If we proceed wiht manual entry, in the end it thows the error " Provider system not published in service registry".
    Kindly let me know how to publish a PI7.1 system to the Service Registry so that we can create a Provider system in CE7.1.
    Thanks and Regards,
    Raghavan

    Hi
    Have a look on given threads
    [Publish services from PI 7.1 to the Service Registry|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID1123979950DB11040186000318583423End?blog=/pub/wlg/8788]
    [DISCOVERY SYSTEM|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/108ef7ba-8abd-2a10-f787-d5f29c5f1b88&overridelayout=true][Netweaver CE ESR & SR|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID1123979950DB11040186000318583423End?blog=/pub/wlg/8725]
    Best Regards
    Satish Kumar

  • 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

Maybe you are looking for

  • Will 9.2.2 Successfully Install On;

    9.2.2 vanished on 6gb internal hard drive for power mac blue and white. I should not have turned on Full Java Script when using Clasilla. They said it is in development and not recommended. http://www.floodgap.com/software/classilla/ somewhere on tha

  • Can't get rid of Bold Text in Mail

    All my text is in Bold in my Apple Mail. Only headers are normal. There must be a keystroke for it. Can anyone help? Thanks Kevin

  • Can't download driver from this website

    I was trying to download Thinkpad X61s driver but the dialog box gave error messae everytime on every borowser.  Please help!!! Thanks, 

  • How to install OAM/OAAM against existing populated database

    Hi Guys, We have to install OAM and OAAM against existing populated database. Is it feasible? What all keystores and files we need to copy from one weblogic domain to another? Thanks

  • AIR and PDF showing/silent printing

    Is there a way of showing PDF in an AIR application? What about PDF  silent printing? Thanks for any ideas.