Skip to main content

Posts

Showing posts from December, 2010

JRockit Mission Control Console Cannot be Started

Today I had an issue that the JRockit mission control cannot be started. The problem is when trying to start mission control from windows programs, the mission control splash flashed and disappeared right away. Something is blocking the process to be started properly. The key to this issue is to start JRockit mission control using debug command-line. From windows: %JROCKIT_HOME%\bin\jrmc -consoleLog 2>1& | more Here was the output I got: Dec 25, 2010 11:07:57 PM com.jrockit.mc.rjmx.internal.RJMX initializeSettings INFO: Reading console settings from C:\Documents and Settings\jzheng\.jrmc\4.0.1\rjmx.4.0.1.xml Dec 25, 2010 11:07:58 PM com.jrockit.mc.rjmx.core.connections.internal.ConnectionDescriptorRepository diffAgainstConsoleModel WARNING: Found discrepancy in Browser View - could not find 10.0.0.4:4711 in view. Removing it from the model... !SESSION 2010-12-25 23:07:56.656 eclipse.buildId=unknown java.version=1.6.0_20 java.vendor=Oracle Corporation BootLoader co

How to Enable JRockit Remote Management

To enable a JRockit JVM for remote management, the external management agent must be started. There are two ways to start the management agent: 1. Start the JVM with the -Xmanagement command-line. JROCKIT_HOME/bin/java -Xmanagement:ssl=false,authenticate=false,port=4711 2. use JRCMD when the JVM is already started. use JRCMD to find the PID of the JVM (4620 for example) JROCKIT_HOME/bin/jrcmd 4620 start_management_server ssl=false authenticate=false port=4711 autodiscovery=true The command line will not produce any output if everything goes well.

Page Navigation using JavaScript in ADF Faces

Recently I posted a question on the Oracle ADF forum asking if there is Javascript API for page navigations in ADF faces and the simple answer is NO. My Original Post: I have a UI user case that has a af:menu which contains mutiple af:goMenuItem. When user click on the menu, the menu slides down and shows up the af:goMenuItem. As we know, you could define the page destinations in af:goMenuItem to go to another page when user clicked, but af:menu itself cannot be redirected to another page. Well, the user case wants the menu itself could be redirected if user click on it.   So I am thinking using JavaScript to do this: when the af:menu gets clicked, redirect to another page. BUT, I looked over the ADF Faces Javascript API and was not able to find that piece of code to do this. Any help??? Frank's Response: 1 - you can have a hidden command item to do the navigation based on a control flow case. In this case, you access the command component from JavaScript create a new Ac