This discussion is archived
4 Replies Latest reply: Jul 5, 2012 4:06 AM by 947576 RSS

How to be sure: jrockit in -d64 mode

947576 Newbie
Currently Being Moderated
Hi, I have downloaded GENERIC Oracle WebLogic Server 11gR1 (10.3.4) + Coherence - Package Installer
and I downloaded & extracted jrockit-jdk1.6.0_31-R28.2.3-4.1.0-linux-x64.bin to Oracle/Middleware/

When I...
[meteo@mynbel ~]$ ps -Af | grep java
meteo 1675 1634 4 Jul03 ? 01:43:09 /home/meteo/Oracle/Middleware/jrockit-jdk1.6.0_31-R28.2.3-4.1.0/bin/java -jrockit -Xms128m -Xmx256m -Dcoherence.home=/home/meteo/Oracle/Middleware/coherence_3.6 -Dbea.home=/home/meteo/Oracle/Middleware -Xverify:none -Xverify:none -Dweblogic.nodemanager.javaHome=/home/meteo/Oracle/Middleware/jrockit-jdk1.6.0_31-R28.2.3-4.1.0 weblogic.NodeManager -v
meteo 1894 1748 4 Jul03 ? 01:56:52 /home/meteo/Oracle/Middleware/jrockit-jdk1.6.0_31-R28.2.3-4.1.0/bin/java -jrockit -Xms256m -Xmx256m -Dweblogic.Name=XXX -Xverify:none -da -Dplatform.home=/home/meteo/Oracle/Middleware/wlserver_10.3 -Dwls.home=/home/meteo/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/home/meteo/Oracle/Middleware/wlserver_10.3/server -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/meteo/Oracle/Middleware/patch_wls1034/profiles/default/sysext_manifest_classpath:/home/meteo/Oracle/Middleware/patch_ocp360/profiles/default/sysext_manifest_classpath weblogic.Server
meteo 2991 2943 3 Jul03 ? 01:30:56 /home/meteo/Oracle/Middleware/jrockit-jdk1.6.0_31-R28.2.3-4.1.0/bin/java -jrockit -Xms256m -Xmx256m -Dweblogic.Name=XXX -Dweblogic.system.BootIdentityFile=/home/meteo/Oracle/Middleware/user_projects/domains/XXX/servers/XXX/data/nodemanager/ -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.ReverseDNSAllowed=false -Xverify:none -da -Dplatform.home=/home/meteo/Oracle/Middleware -Dwls.home=/home/meteo/Oracle/Middleware//server -Dweblogic.home=/home/meteo/Oracle/Middleware//server -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/meteo/Oracle/Middleware/patch_wls1034/profiles/default/sysext_manifest_classpath:/home/meteo/Oracle/Middleware/patch_ocp360/profiles/default/sysext_manifest_classpath weblogic.Server
meteo 3155 3108 2 Jul03 ? 01:12:39 /home/meteo/Oracle/Middleware/jrockit-jdk1.6.0_31-R28.2.3-4.1.0/bin/java -jrockit -Xms256m -Xmx256m -Dweblogic.Name=xxxxx -Dweblogic.system.BootIdentityFile=/home/meteo/Oracle/Middleware/user_projects/domains//servers//data/nodemanager/ -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.ReverseDNSAllowed=false -server -Xms512m -Xmx512m -Xverify:none -da -Dplatform.home=/home/meteo/Oracle/Middleware/wlserver_10.3 -Dwls.home=/home/meteo/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/home/meteo/Oracle/Middleware/wlserver_10.3/server -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/meteo/Oracle/Middleware/patch_wls1034/profiles/default/sysext_manifest_classpath:/home/meteo/Oracle/Middleware/patch_ocp360/profiles/default/sysext_manifest_classpath weblogic.Server
meteo 11727 11535 0 10:37 pts/1 00:00:00 grep java

The problem is I want to run jrockit in 64bit. I gave -d64 argument through admin panel and also I added into the scripts. Nothing changes...

I don't think this is linked but my current
[meteo@mynbel ~]$ java -version
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)

and the available JDK was java-1.6.0-openjdk- when I was configuring domain.

Thanks for your help!
  • 1. Re: How to be sure: jrockit in -d64 mode
    Klara Ward, Java Mission Control Dev Explorer
    Currently Being Moderated
    JRockit does not use the -d64 flag, if you use it, JRockit will give an error message.

    If you've downloaded and installed
    you should have a 64 bit jrockit, there is no 32 bit binary in that package.

    If you run
    /home/meteo/Oracle/Middleware/jrockit-jdk1.6.0_31-R28.2.3-4.1.0/bin/java -version
    you should see "linux_x86_64" included in the output.

    What the setup scripts are doing with your -d64, I don't know.

    See also
    Jrockit on Solris is not starting with the -d64 flag
  • 2. Re: How to be sure: jrockit in -d64 mode
    947021 Newbie
    Currently Being Moderated
    To specifically check what java version is being used by WebLogic Server, please look for the following message in server log,
    "Starting WebLogic Server with Oracle JRockit(R) Version R28.2.0-79-146777-1.6.0_29-20111005-1808-windows-ia32"
    For example,
    ####<Jun 12, 2012 2:31:05 PM PDT> <Info> <WebLogicServer> <anon-ldap> <> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1339491665549> <BEA-000000> <Starting WebLogic Server with Oracle JRockit(R) Version R28.2.0-79-146777-1.6.0_29-20111005-1808-windows-ia32 from Oracle Corporation>

    From the above message, the Java version indicates if it is a 32-bit JVM OR a 64-bit JVM

    Regarding "java -version" output, that is due to the settings of the environment variable, PATH.
    Do the following:
    1. cd <Domain_Home>/bin
       For example,
       > cd /home/meteo/Oracle/Middleware/user_projects/domains/DomainName/bin
    2. Execute
       > . ./
       Note: There are 2 DOTs in above command. The first DOT represents that set the Environment in the current Shell, AND the second ./ represents execute the script from the current directory.
    3. Now, check the java version by running the command in the same shell
       > java -version

    Now, you will see the JRockit version that you configured your domain to use.

  • 3. Re: How to be sure: jrockit in -d64 mode
    947576 Newbie
    Currently Being Moderated
    Thanks for your help.

    Edited by: 944573 on Jul 5, 2012 4:05 AM
  • 4. Re: How to be sure: jrockit in -d64 mode
    947576 Newbie
    Currently Being Moderated


  • Correct Answers - 10 points
  • Helpful Answers - 5 points