See Java System properties using WebLogic Server console
hi
If I deploy "systempropertiesweb.war" [1] on WebLogic Server I can see all or individual Java System properties,
e.g. http://localhost:7101/systempropertiesweb/systemproperties?property=java.version results in "java.version = 1.6.0_24"
Is it possible to see the same Java System properties using WebLogic Server Administration Console? If so, how?
( via http://localhost:7101/console )
- [1] at SystemPropertiesApp/SystemPropertiesWeb/deploy/systempropertiesweb.war
in http://www.consideringred.com/files/oracle/2013/SystemPropertiesApp-v0.01.zip
many thanks
Jan Vervecken
Thanks for your reply Timo.
Timo Hahn wrote:
I don't think that there is an option to see this in the admin console. ...Thanks for the confirmation.
... There my be a mbean but I did not find it.Well, if I start JConsole (e.g. at C:\oracle\jdevstudio111240-mw\jdk160_24\bin\jconsole.exe ) and connect to e.g. Local Process "weblogic.Server", on the MBeans tab I can navigate to java.lang:type=Runtime which has an SystemProperties attribute.
But, I don't know how to get to this same MBean using the WebLogic Server Administration Console (if possible).
regards
Jan Vervecken
Similar Messages
-
How to load Java properties file dynamically using weblogic server
Hi,
We are using Java properties file in Java code. Properties in java properties file are frequently modified. If I keep these properties file in project classpath or as part of war, I will have to redeploy application after each change.
We are using Weblogic Server.
Can you please suggest me how can this properties file be loaded at weblogic server startup. Then in that case, how to refer property file in Java code?
What is the best practice for this?
Thanks,
ParshantAnother alternative is, keep the property file in any pre-defined location. Write a class which reads the properties from the file and returns the one which is requested by caller and deploy this class. Whenever you have to change the properties just update the property file on server and next call to fetch the property should return the updated one.
Downside of this approach is file I/O everytime. To overcome that you can actually "cache" the properties in a hashmap. Basically when any property if requested, first check the hashmap, if not found then only read from property file and also update in hash map. Next time same property will be returned from hash map itself. The hash map will be cleared at every server restart since its in the memory. You will also need to build a method to clear the hashmap when you update the values in the property file on server.
This solution would be suitable for small size files and when network overhead of calling a DB needs to be avoided. -
In weblogic 10.3, is it possible to set java arguments by using the console only?
I tried to put:
-DmyArg=XXX
inside the Arguments section of my weblogic server under the tab "Server start".
However, when I start the server and look at the logs, the Java system properties are printed there, but I can't see my new property..
Thanks.Well, if you use script to start server, then you need to add required settings to the script.
Arguments field in startup properties are processed by the NodeManager while executing command to start server. See here for more details: http://e-docs.bea.com/wls/docs92/server_start/nodemgr.html#wp1081792 -
How can I mapping directory by using Weblogic Server?
Hi,
We used to use iPlant as the web server. How can mapping directory using Weblogic
server?
$PATH=$wl_home/config/epdm/applications/DefaultWebApp/WEB-INF/classes
such as to map the following:
From To
/rok/servlet $PATH/servlet-dev/WEB-INF/classes
/rok/imagest $PATH/servlet-dev/images
/rok/html $PATH/servlet-dev/htm
/servlet $PATH/servlet-dev/servlet
Thanks!
HanqingUse JMX. See http://dima.dhs.org.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Nicole" <[email protected]> wrote in message
news:3c4d6daa$[email protected]..
>
Hi all,
in my EJBs I want to know, on which server instance I´m running. I needthis for
logging info. How can I get the servers name?
When I load the JNDI tree and select java:comp, an error occurs and a lotof information
is printed. One is weblogic.Server and that is what I´m searching for.
I use WLS 6.1 SP1
Any ideas? Thanks,
Nicole -
Using weblogic.Server to create domains
Not sure this is the right group for this question....
I am reading some weblogic docs on creating a domain using weblogic.Server (http://e-docs.bea.com/wls/docs81/admin_ref/cli_tasks.html#1331827).
For the most part it has worked as expected and I find it preferable to using
the domain cfg wizard. However, is there a way to use a template jar like you
can with the config wizard, for instance any of the jars in the
$WL_HOME/common/templates/domains/Hello Jay, thanx for ur help... this time i didnt get the args missing error but i have this one about "can't overwrite"
mauro@MacBookPro:HelloWorldEAR $ java -classpath /Users/mauro/beaWS102/wlserver_10.0/server/lib/weblogic.jar weblogic.BuildXMLGen /Users/mauro/Documents/WLprojects/HelloWorldEAR
Can't overwrite cause
mauro@MacBookPro:HelloWorldEAR $ cd ..
mauro@MacBookPro:WLprojects cursor$ sudo java -classpath /Users/mauro/beaWS102/wlserver_10.0/server/lib/weblogic.jar weblogic.BuildXMLGen /Users/mauro/Documents/WLprojects/HelloWorldEAR
Can't overwrite cause
mauro@MacBookPro:WLprojects cursor$ cd HelloWorldEAR/
mauro@MacBookPro:HelloWorldEAR $ ls
APP-INF META-INF appUtils bin helloWorldEJB helloWorldWebApp src
macbook-de-cursor:HelloWorldEAR cursor$ cd ..
mauro@MacBookPro:WLprojects $ sudo java -classpath /Users/mauro/beaWS102/wlserver_10.0/server/lib/weblogic.jar weblogic.BuildXMLGen -file build.xml /Users/mauro/Documents/WLprojects/HelloWorldEAR
Can't overwrite cause
Do u know something about this message?? I really need to set up this thig to be able to start my own project :P Thanx in advance
Best regards,
Mauro
==========================================================
Solution
Ok, i make it work!! I have in my develop structure a helloWorldWebContent/META-INF/ and here i had a web.xml and a weblogic.xml
The weblogic.xml file cause problems... i deleted and it works
I was following this tutorial
http://download.oracle.com/docs/cd/E13222_01/wls/docs100/programming/splitcreate.html#wp1098227
and i create all those files...
Dude, u have a great blog! Now it is in my bookmarks
Edited by: mgaldames on 17-may-2010 7:20
Edited by: mgaldames on 17-may-2010 7:21 -
Load balancing of DB RAC using weblogic server
Hi All,
I want to test the load balancing of Data base RAC for my application. I got the box which is installed RAC in it with two nodes. I configured the multidatasource which points to individual data sources to each node.
Is this configuration is correct or not? to test the load balancing of the Database. I come to know that there is something called SCAN from oracle 11g but it is not supported 100% by web-logic server(we are using weblogic server 9.2MP3).
How many requests I made all the requests are going to the Node1 only not even one is gone to the node2. Any specific reason.
Thanks,
Venkat.Another alternative is, keep the property file in any pre-defined location. Write a class which reads the properties from the file and returns the one which is requested by caller and deploy this class. Whenever you have to change the properties just update the property file on server and next call to fetch the property should return the updated one.
Downside of this approach is file I/O everytime. To overcome that you can actually "cache" the properties in a hashmap. Basically when any property if requested, first check the hashmap, if not found then only read from property file and also update in hash map. Next time same property will be returned from hash map itself. The hash map will be cleared at every server restart since its in the memory. You will also need to build a method to clear the hashmap when you update the values in the property file on server.
This solution would be suitable for small size files and when network overhead of calling a DB needs to be avoided. -
Java System Properties in WL 6
We are Running WL 6 as an NT Service.
Is there a way to set Java System Properties in WL 6 that won't require
deinstalling/re-installing the WL Services everytime????
Thanks
TomWhy use JNI? That's a little overkill. Just use args[] in main.
public static void main( String args[] ) {
for( int i = 0; i < args.length; i++ ) {
if( args.startsWith("-Duser.name=") ) {
System.out.println( "Well " + args[i].substring("-Duser.name=".length) + " you're not who you say you are!" );
System.exit(-1); -
Swapping Domains in Weblogic Server Console!!
Hi All,
I have created two domains under the weblogic server. Currently i could see the first domain available in the weblogic server console. I am not able to see the second domain name in the console(http://<IP-Address>:7001/). Please tell me how to see all the domains or swap the domains in the weblogic server11g console.
Thanksprabhu,
Change the Port details with in config.xml file for Admin Server.
By default is 7001 and if it you will never see port details under AdminServer but you can change them by following way.
<listen-port>7003</listen-port>
Regards,
Kal -
I need How to retrive data from sap r/3 using weblogic server
Hi every body .
I need how to retrieve r/3 data using BAPI methods
and using weblogic server
very criticalHai.
check the links.
http://www.bea.com/content/news_events/white_papers/BEA_WLP_SAP_Portlets_81.pdf
http://www.info-sun.com/docs/wp_sapinter.pdf
regards.
sowjanya.b -
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? -
Using WebLogic Server with Oracle9i RAC
A new white paper has been posted to dev2dev -
"Using WebLogic Server with Oracle9i RAC" at
http://dev2dev.bea.com/products/wlserver81/whitepapers/wls_bea_hp.jsp
Abstract:
"This paper presents best practices when using WebLogic Server with Oracle Real Application Clusters. It includes an analysis of
various use-case and failure scenarios and proposes possible recovery solutions. This paper also includes an evaluation of
Transparent Application Failover, a product from Oracle that is functionally similar to WebLogic Server MultiPools.""satyam" <[email protected]> writes:
Can I use WebLogic Application Server 6.0, the mid level server (not the express
or the enterprise version)
with VisiBroker 4.x ?If you have ejb support - then yes - although you may want to wait for
a future 6.0 rolling patch to get updated IDL generation.
andy -
Configtool: Java System properties not customizable under Services
Hi SDN'ers,
We have a CE 7.11.5 environment.
When trying to change Java system porperties under Services for example, "com.sap.security.core.ume.service" and property "ume.ldap.access.multidomain.enabled" it is not mofifiable. The custom value can't be changed.
Also via the web interface via SAP NetWeaver Administrator > Configuration Management > Infrastructure and via Java System Properties, then the properties are not modifiable via the web.
The following properties show the same problem:
ume.ldap.access.additional_password.1
ume.ldap.access.additional_password.2
ume.ldap.access.additional_password.3
ume.ldap.access.additional_password.4
ume.ldap.access.additional_password.5
On other CE version's I have seen it is modifiable...
Can someone help?
Regards DriesHi,
These parmaters might be set to "final", Try browsing to the propertysheet via the configtool editor and check if the parameter is set to final.
Kind regards,
Cathal -
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,
AjayHi 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 -
Weblogic 8.1 and Eclipse using Weblogic Server Tools
I am working on a project that has been developed with Weblogic 8.1 without integration into an IDE (Eclipse, etc.) We are trying to convert the source tree to a form usable within Eclipse using Weblogic Server Tools. We want to make deployment on developer workstations quicker and easier and provide for server side debugging. There is not much documentation on how to do this that I have been able to find. I have just finished reading the details of the split directory strucuture in the Weblogic documentation and understand that Server Tools uses the split directory concept. My question is basically how we create the project in Eclipse (with Server Tools plug-ins) initially. Is anyone out there still using Weblogic 8.1 and Eclipse 3.3 (Europa) using Weblogic Server Tools that can help?
There isn't much in a way of documentation that's explicit to WebLogic Server Tools, but a lot of Workshop 10.2 documentation applies. Basically, you will want to create Dynamic Web Projects to house your code. On the first page of Dynamic Web Project wizard, you will get a chance to define and target a server (WLS 8.1 in your case). That will configure your project classpath for WLS 8.1 and get everything else squared away.
Note that there is only very basic support for 8.1. In particular, the split-directory concept is not supported, but deployment is taken care of for you behind the scenes, so the details shouldn't matter that much. -
WLS 6.0 java.system.properties
Our WLS 5.1 weblogic.properties file contained a number of properties of the
following form:
java.system.property.foo=bar
These properties could be access using System.getProperty().
Now that WLS 6.0 uses config.xml instead of weblogic.properties what should
we do with the java.system.property declarations? Should they be setup
using a startup class?
-AndrewWhen you start WebLogic, you can pass system properties via the command
line:
java ... -Djava.system.property.foo=bar weblogic.Server
Then you can call System.getProperty("java.system.property.foo")
Jim
"Andrew Wooster" <[email protected]> wrote in message
news:[email protected]..
Our WLS 5.1 weblogic.properties file contained a number of properties ofthe
following form:
java.system.property.foo=bar
These properties could be access using System.getProperty().
Now that WLS 6.0 uses config.xml instead of weblogic.properties whatshould
we do with the java.system.property declarations? Should they be setup
using a startup class?
-Andrew
Maybe you are looking for
-
i had to restore my laptop to 'out of the box' condition. It's a year and a half old. After a few days of installing all the required updates I can't get SP7 to take. It says successful installation and to reboot. It goes through the blue screens
-
How to detect machine is on network
Hello World, I want to make button enable only if the laptop is connected to a network as soon as user disconnects, button should also get disable. How can I detect that my machine is on network in Java application. And how should I trap the event wh
-
Hi All, I have a senerio. My landscape is R/3 - > XI -> FTP Server -> SAP POS Triversity. Data ones moved out of XI gets stored in FTP server, on daily basis . Files from FTP servers are picked up by SAP POS Triversity.Files remain
-
Mac OS X archive and install?
will an archive and install preserve microsoft word docs, my folders, pictures, etc.?
-
Sun Studio 12 Update1 and OpenMP
Hi guys, I was using the Sun Studio 12 with OpenMP and everything was OK. So I decide to download the update 1 (which is OpenMP 3.0 full compliance), however I am getting linking error. Below is the message: Undefined first referenced symbol in file