JVM Clustering

if JVM Clustering is possible !
Then How ?
Thanks&Regards
vipin

If you are asking whether multiple jvm's can run simultaneously in one computer, yes, that can be done.
If that's not what you're asking, then explain better and in more detail..

Similar Messages

  • Multi JVM in WL clustering

    Hi,
              Is any body successfully implemented multi JVM in a single Box , with
              clustering ? If yes how you can do that in WL , any pointer/help is
              appreciated.
              Thanks in advance
              Ahimanikya Satapathy
              Ordercare.Com Inc.
              

    I would suggest trying single jvm clustering across multiple boxes to see it
              takes care of your capacity and failover requirements before going for more
              complicated architectures
              Srikant Subramaniam wrote in message <[email protected]>...
              >This is entirely possible and many of our customers have a similar
              >configuration. The WL cluster docs is a good place to start.
              >--
              >Srikant, [email protected], http://www.weblogic.com/, etc.
              >
              >
              >Ahimanikya Satapathy wrote:
              >
              >> Hi,
              >>
              >> Is any body successfully implemented multi JVM in a single Box , with
              >> clustering ? If yes how you can do that in WL , any pointer/help is
              >> appreciated.
              >>
              >> Thanks in advance
              >>
              >> Ahimanikya Satapathy
              >> Ordercare.Com Inc.
              >
              >
              >
              >
              

  • Can Check Valid From task be run on multiple JVMs in clustered env.

    The configuration screen for the Check Valid From scheduler task allows it to be run oin more than one JVM in a clustered environment.
    Has anyone done this?
    Does this cause any problems?

    Hello Timothy,
    This is not recommended for any scheduler task as it potentially means that the task could be run multiple times and would most likely lead to inconsistencies in the results of the task. Have a look at SAP note 798633 which discussed this a little more.
    Regards,
    Lorcan.

  • Limitation on Session Size (8K) with Clustering

              Hi.
              Is there a limitation on the session size for a clustered environment. i'm not
              sure whether its true or not. can anyone please clarify. Also is it for the entire
              session object or per user.
              Thanks
              Nitesh
              

    There is no limit as such. The only limit imposed depends on the heap allocated for
              the JVM.
              Nitesh wrote:
              > Hi.
              >
              > Is there a limitation on the session size for a clustered environment. i'm not
              > sure whether its true or not. can anyone please clarify. Also is it for the entire
              > session object or per user.
              >
              > Thanks
              >
              > Nitesh
              Rajesh Mirchandani
              Developer Relations Engineer
              BEA Support
              

  • Error in JVM crash - JDeveloper

    I'm using JDeveloper 11g Release 1, error when running the application.
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6da5df84, pid=5528, tid=2640
    # JRE version: 6.0_14-b08
    # Java VM: Java HotSpot(TM) Client VM (14.0-b16 mixed mode windows-x86 )
    # Problematic frame:
    # V [jvm.dll+0x1adf84]
    # An error report file with more information is saved as:
    # C:\Users\helder.farias\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\hs_err_pid5528.log
    Debugger connection to debuggee process has been lost.
    [Server Instance IntegratedWebLogicServer is shutting down. All applications currently running will be terminated and undeployed.]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    [Application termination requested. Undeploying application GeofusionOnMaps.]
    [02:27:10 PM] ---- Deployment started. ----
    [02:27:10 PM] Target platform is (Weblogic 10.3).
    Process exited.
    Debugger disconnected from local process.
    [02:27:26 PM] #### Deployment incomplete. ####
    [Application GeofusionOnMaps stopped and undeployed from Server Instance IntegratedWebLogicServer]
    [sending request to shutdown server...]
    C:\Users\helder.farias\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\bin\stopWebLogic.cmd
    Stopping Weblogic Server...
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Connecting to t3://127.0.0.1:7004 with userid weblogic ...
    This Exception occurred at Wed Nov 17 14:27:34 BRST 2010.
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://127.0.0.1:7004: Destination unreachable; nested exception is:
    java.net.ConnectException: Connection refused: connect; No available router to destination]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:28
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:520)
    at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:573)
    at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:313)
    at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
    at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:60)
    at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:125)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.python.core.PyReflectedFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at org.python.pycode._pyx4.connect$1(<iostream>:16)
    at org.python.pycode._pyx4.call_function(<iostream>
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.pycode._pyx15.f$0(C:\Users\helder.farias\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\shutdown.py:1)
    at org.python.pycode._pyx15.call_function(C:\Users\helder.farias\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\shutdown.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyCode.call(Unknown Source)
    at org.python.core.Py.runCode(Unknown Source)
    at org.python.util.PythonInterpreter.execfile(Unknown Source)
    at weblogic.management.scripting.WLST.main(WLST.java:131)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.WLST.main(WLST.java:29)
    Caused by: java.net.ConnectException: t3://127.0.0.1:7004: Destination unreachable; nested exception is:
    java.net.ConnectException: Connection refused: connect; No available router to destination
    at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
    ... 38 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
    java.net.ConnectException: Connection refused: connect; No available router to destination
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
    at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:23
    at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
    ... 44 more
    Problem invoking WLST - Traceback (innermost last):
    File "C:\Users\helder.farias\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\shutdown.py", line 1, in ?
    File "<iostream>", line 22, in connect
    File "<iostream>", line 618, in raiseWLSTException
    WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3://127.0.0.1:7004
    Use dumpStack() to view the full stacktrace
    Below is the configuration of JDeveloper, which I'm using the log showing the error.
    Configuration of JDeveloper:
    @ECHO OFF
    set COMMON_COMPONENTS_HOME=C:\Oracle\JDeveloper\oracle_common
    for %%i in ("%COMMON_COMPONENTS_HOME%") do set COMMON_COMPONENTS_HOME=%%~fsi
    set WL_HOME=C:\Oracle\JDeveloper\wlserver_10.3
    for %%i in ("%WL_HOME%") do set WL_HOME=%%~fsi
    set BEA_JAVA_HOME=C:\Program Files\Java\jrmc-4.0.1-1.6.0
    set JAVA_VENDOR=Sun
    set SUN_JAVA_HOME=C:\Oracle\JDeveloper\jdk160_14_R27.6.5-32
    if "%JAVA_VENDOR%"=="Oracle" (
         set JAVA_HOME=%BEA_JAVA_HOME%
    ) else (
         if "%JAVA_VENDOR%"=="Sun" (
              set JAVA_HOME=%SUN_JAVA_HOME%
         ) else (
              set JAVA_VENDOR=Sun
              set JAVA_HOME=C:\Oracle\JDeveloper\jdk160_14_R27.6.5-32
    set JAVA_HOME=%JAVA_HOME%
    for %%i in ("%JAVA_HOME%") do set JAVA_HOME=%%~fsi
    set SAMPLES_HOME=%WL_HOME%\samples
    set DOMAIN_HOME=C:\Users\helder.farias\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain
    for %%i in ("%DOMAIN_HOME%") do set DOMAIN_HOME=%%~fsi
    set LONG_DOMAIN_HOME=C:\Users\helder.farias\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain
    if "%DEBUG_PORT%"=="" (
         set DEBUG_PORT=8453
    if "%SERVER_NAME%"=="" (
         set SERVER_NAME=DefaultServer
    set POINTBASE_FLAG=false
    set enableHotswapFlag=
    set PRODUCTION_MODE=
    set doExitFlag=false
    set verboseLoggingFlag=false
    for %%p in (%*) do call :SET_PARAM %%p
    GOTO :CMD_LINE_DONE
         :SET_PARAM
         for %%q in (%1) do set noQuotesParam=%%~q
         if /i "%noQuotesParam%" == "nodebug" (
              set debugFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "production" (
              set DOMAIN_PRODUCTION_MODE=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "notestconsole" (
              set testConsoleFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "noiterativedev" (
              set iterativeDevFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "noLogErrorsToConsole" (
              set logErrorsToConsoleFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "nopointbase" (
              set POINTBASE_FLAG=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "doExit" (
              set doExitFlag=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "noExit" (
              set doExitFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "verbose" (
              set verboseLoggingFlag=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "enableHotswap" (
              set enableHotswapFlag=-javaagent:%WL_HOME%\server\lib\diagnostics-agent.jar
              GOTO :EOF
         ) else (
              set PROXY_SETTINGS=%PROXY_SETTINGS% %1
         GOTO :EOF
    :CMD_LINE_DONE
    set MEM_DEV_ARGS=
    if "%DOMAIN_PRODUCTION_MODE%"=="true" (
         set PRODUCTION_MODE=%DOMAIN_PRODUCTION_MODE%
    if "%PRODUCTION_MODE%"=="true" (
         set debugFlag=false
         set testConsoleFlag=false
         set iterativeDevFlag=false
         set logErrorsToConsoleFlag=false
    call "%WL_HOME%\common\bin\commEnv.cmd"
    set WLS_HOME=%WL_HOME%\server
    set XMS_SUN_64BIT=256
    set XMS_SUN_32BIT=256
    set XMX_SUN_64BIT=512
    set XMX_SUN_32BIT=512
    set XMS_JROCKIT_64BIT=256
    set XMS_JROCKIT_32BIT=256
    set XMX_JROCKIT_64BIT=512
    set XMX_JROCKIT_32BIT=512
    if "%JAVA_VENDOR%"=="Sun" (
         set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx512m
         set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx512m
    ) else (
         set WLS_MEM_ARGS_64BIT=-Xms512m -Xmx512m
         set WLS_MEM_ARGS_32BIT=-Xms512m -Xmx512m
    if "%JAVA_VENDOR%"=="Oracle" (
         set CUSTOM_MEM_ARGS_64BIT=-Xms%XMS_JROCKIT_64BIT%m -Xmx%XMX_JROCKIT_64BIT%m
         set CUSTOM_MEM_ARGS_32BIT=-Xms%XMS_JROCKIT_32BIT%m -Xmx%XMX_JROCKIT_32BIT%m
    ) else (
         set CUSTOM_MEM_ARGS_64BIT=-Xms%XMS_SUN_64BIT%m -Xmx%XMX_SUN_64BIT%m
         set CUSTOM_MEM_ARGS_32BIT=-Xms%XMS_SUN_32BIT%m -Xmx%XMX_SUN_32BIT%m
    set MEM_ARGS_64BIT=%CUSTOM_MEM_ARGS_64BIT%
    set MEM_ARGS_32BIT=%CUSTOM_MEM_ARGS_32BIT%
    if "%JAVA_USE_64BIT%"=="true" (
         set MEM_ARGS=%MEM_ARGS_64BIT%
    ) else (
         set MEM_ARGS=%MEM_ARGS_32BIT%
    set MEM_PERM_SIZE_64BIT=-XX:PermSize=128m
    set MEM_PERM_SIZE_32BIT=-XX:PermSize=128m
    if "%JAVA_USE_64BIT%"=="true" (
         set MEM_PERM_SIZE=%MEM_PERM_SIZE_64BIT%
    ) else (
         set MEM_PERM_SIZE=%MEM_PERM_SIZE_32BIT%
    set MEM_MAX_PERM_SIZE_64BIT=-XX:MaxPermSize=512m
    set MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=512m
    if "%JAVA_USE_64BIT%"=="true" (
         set MEM_MAX_PERM_SIZE=%MEM_MAX_PERM_SIZE_64BIT%
    ) else (
         set MEM_MAX_PERM_SIZE=%MEM_MAX_PERM_SIZE_32BIT%
    if "%JAVA_VENDOR%"=="Sun" (
         if "%PRODUCTION_MODE%"=="" (
              set MEM_DEV_ARGS=-XX:CompileThreshold=8000 %MEM_PERM_SIZE%
    @REM Had to have a separate test here BECAUSE of immediate variable expansion on windows
    if "%JAVA_VENDOR%"=="Sun" (
         set MEM_ARGS=%MEM_ARGS% %MEM_DEV_ARGS% %MEM_MAX_PERM_SIZE%
    if "%JAVA_VENDOR%"=="HP" (
         set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
    if "%JAVA_VENDOR%"=="Oracle" (
         set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
    if "%JAVA_VENDOR%"=="Apple" (
         set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
    if "%JAVA_VENDOR%"=="IBM" (
         set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
    @REM IF USER_MEM_ARGS the environment variable is set, use it to override ALL MEM_ARGS values
    if NOT "%USER_MEM_ARGS%"=="" (
         set MEM_ARGS=%USER_MEM_ARGS%
    set ORACLE_DOMAIN_CONFIG_DIR=%DOMAIN_HOME%\config\fmwconfig
    for %%i in ("%ORACLE_DOMAIN_CONFIG_DIR%") do set ORACLE_DOMAIN_CONFIG_DIR=%%~fsi
    set WLS_JDBC_REMOTE_ENABLED=-Dweblogic.jdbc.remoteEnabled=false
    set JAVA_PROPERTIES=-Dplatform.home=%WL_HOME% -Dwls.home=%WLS_HOME% -Dweblogic.home=%WLS_HOME%
    set ALT_TYPES_DIR=%ORACLE_HOME%\modules\oracle.ossoiap_11.1.1,%ORACLE_HOME%\modules\oracle.oamprovider_11.1.1
    set EXTRA_JAVA_PROPERTIES=-Dwsm.repository.path=%DOMAIN_HOME%\oracle\store\gmds %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-Ddomain.home=%DOMAIN_HOME% -Dcommon.components.home=%COMMON_COMPONENTS_HOME% -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=%COMMON_COMPONENTS_HOME%\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=%ORACLE_DOMAIN_CONFIG_DIR% -Doracle.server.config.dir=%ORACLE_DOMAIN_CONFIG_DIR%\servers\%SERVER_NAME% -Doracle.security.jps.config=%DOMAIN_HOME%\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=%ORACLE_DOMAIN_CONFIG_DIR%\carml -Digf.arisidstack.home=%ORACLE_DOMAIN_CONFIG_DIR%\arisidprovider -Dweblogic.alternateTypesDirectory=%ALT_TYPES_DIR% %WLS_JDBC_REMOTE_ENABLED% %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-Djps.app.credential.overwrite.allowed=true %EXTRA_JAVA_PROPERTIES%
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %EXTRA_JAVA_PROPERTIES%
    set ARDIR=%WL_HOME%\server\lib
    pushd %LONG_DOMAIN_HOME%
    @REM Clustering support (edit for your cluster!)
    if "%ADMIN_URL%"=="" (
         @REM The then part of this block is telling us we are either starting an admin server OR we are non-clustered
         set CLUSTER_PROPERTIES=-Dweblogic.management.discover=true
    ) else (
         set CLUSTER_PROPERTIES=-Dweblogic.management.discover=false -Dweblogic.management.server=%ADMIN_URL%
    if NOT "%LOG4J_CONFIG_FILE%"=="" (
         set JAVA_PROPERTIES=%JAVA_PROPERTIES% -Dlog4j.configuration=file:%LOG4J_CONFIG_FILE%
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %CLUSTER_PROPERTIES%
    set JAVA_DEBUG=
    if "%debugFlag%"=="true" (
         set JAVA_DEBUG=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%,server=y,suspend=n -Djava.compiler=NONE
         set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole...
    ) else (
         set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -da
    if NOT exist %JAVA_HOME%\lib (
         echo The JRE was not found in directory %JAVA_HOME%. ^(JAVA_HOME^)
         echo Please edit your environment and set the JAVA_HOME
         echo variable to point to the root directory of your Java installation.
         popd
         pause
         GOTO :EOF
    if "%POINTBASE_FLAG%"=="true" (
         set DATABASE_CLASSPATH=%POINTBASE_CLASSPATH%
    ) else (
         set DATABASE_CLASSPATH=%POINTBASE_CLIENT_CLASSPATH%
    if NOT "%POST_CLASSPATH%"=="" (
         set POST_CLASSPATH=C:\Oracle\JDeveloper\wlserver_10.3\server\lib\sdoapi.jar;C:\Oracle\JDeveloper\wlserver_10.3\server\lib\sdoutl.jar;C:\Oracle\JDeveloper\wlserver_10.3\server\lib\org.eclipse.persistence_1.0.0.0_1-2-0.jar;%COMMON_COMPONENTS_HOME%\modules\oracle.jrf_11.1.1\jrf.jar;%POST_CLASSPATH%
    ) else (
         set POST_CLASSPATH=C:\Oracle\JDeveloper\wlserver_10.3\server\lib\sdoapi.jar;C:\Oracle\JDeveloper\wlserver_10.3\server\lib\sdoutl.jar;C:\Oracle\JDeveloper\wlserver_10.3\server\lib\org.eclipse.persistence_1.0.0.0_1-2-0.jar;%COMMON_COMPONENTS_HOME%\modules\oracle.jrf_11.1.1\jrf.jar
    if NOT "%DATABASE_CLASSPATH%"=="" (
         if NOT "%POST_CLASSPATH%"=="" (
              set POST_CLASSPATH=%POST_CLASSPATH%;%DATABASE_CLASSPATH%
         ) else (
              set POST_CLASSPATH=%DATABASE_CLASSPATH%
    if NOT "%ARDIR%"=="" (
         if NOT "%POST_CLASSPATH%"=="" (
              set POST_CLASSPATH=%POST_CLASSPATH%;%ARDIR%\xqrl.jar
         ) else (
              set POST_CLASSPATH=%ARDIR%\xqrl.jar
    @REM PROFILING SUPPORT
    set JAVA_PROFILE=
    set SERVER_CLASS=weblogic.Server
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %WLP_JAVA_PROPERTIES%
    set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES% -Dwlw.iterativeDev=%iterativeDevFlag% -Dwlw.testConsole=%testConsoleFlag% -Dwlw.logErrorsToConsole=%logErrorsToConsoleFlag%
    if "%DOMAIN_PRODUCTION_MODE%"=="true" (
         set JAVA_OPTIONS= -Dweblogic.ProductionModeEnabled=true %JAVA_OPTIONS%
    @REM -- Setup properties so that we can save stdout and stderr to files
    if NOT "%WLS_STDOUT_LOG%"=="" (
         echo Logging WLS stdout to %WLS_STDOUT_LOG%
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stdout=%WLS_STDOUT_LOG%
    if NOT "%WLS_STDERR_LOG%"=="" (
         echo Logging WLS stderr to %WLS_STDERR_LOG%
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stderr=%WLS_STDERR_LOG%
    @REM ADD EXTENSIONS TO CLASSPATHS
    if NOT "%EXT_PRE_CLASSPATH%"=="" (
         if NOT "%PRE_CLASSPATH%"=="" (
              set PRE_CLASSPATH=%EXT_PRE_CLASSPATH%;%PRE_CLASSPATH%
         ) else (
              set PRE_CLASSPATH=%EXT_PRE_CLASSPATH%
    if NOT "%EXT_POST_CLASSPATH%"=="" (
         if NOT "%POST_CLASSPATH%"=="" (
              set POST_CLASSPATH=%POST_CLASSPATH%;%EXT_POST_CLASSPATH%
         ) else (
              set POST_CLASSPATH=%EXT_POST_CLASSPATH%
    if NOT "%WEBLOGIC_EXTENSION_DIRS%"=="" (
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.ext.dirs=%WEBLOGIC_EXTENSION_DIRS%
    set JAVA_OPTIONS=%JAVA_OPTIONS%
    @REM SET THE CLASSPATH
    if NOT "%WLP_POST_CLASSPATH%"=="" (
         if NOT "%CLASSPATH%"=="" (
              set CLASSPATH=%WLP_POST_CLASSPATH%;%CLASSPATH%
         ) else (
              set CLASSPATH=%WLP_POST_CLASSPATH%
    if NOT "%POST_CLASSPATH%"=="" (
         if NOT "%CLASSPATH%"=="" (
              set CLASSPATH=%POST_CLASSPATH%;%CLASSPATH%
         ) else (
              set CLASSPATH=%POST_CLASSPATH%
    if NOT "%WEBLOGIC_CLASSPATH%"=="" (
         if NOT "%CLASSPATH%"=="" (
              set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%
         ) else (
              set CLASSPATH=%WEBLOGIC_CLASSPATH%
    if NOT "%PRE_CLASSPATH%"=="" (
         set CLASSPATH=%PRE_CLASSPATH%;%CLASSPATH%
    if NOT "%JAVA_VENDOR%"=="BEA" (
         set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE%
    ) else (
         set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE%
    End configuration the JDeveloper.
    Log the Error JDeveloper:
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6da5df84, pid=5528, tid=2640
    # JRE version: 6.0_14-b08
    # Java VM: Java HotSpot(TM) Client VM (14.0-b16 mixed mode windows-x86 )
    # Problematic frame:
    # V [jvm.dll+0x1adf84]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x00d09400): JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=2640, stack(0x44720000,0x44770000)]
    siginfo: ExceptionCode=0xc0000005, reading address 0x0169016a
    Registers:
    EAX=0x01690162, EBX=0x00d6c7a0, ECX=0x01690162, EDX=0x2cd79268
    ESP=0x4476f9b4, EBP=0x4476f9e0, ESI=0x00d08b78, EDI=0x01690162
    EIP=0x6da5df84, EFLAGS=0x00010202
    Top of Stack: (sp=0x4476f9b4)
    0x4476f9b4: 4476fa3c 00d08b78 6d9e27de 00d6c7a0
    0x4476f9c4: 00d09400 496471b4 00d08b78 00cf40d8
    0x4476f9d4: 00cf40e0 00cf44cc 00d6c7a0 4476fa18
    0x4476f9e4: 6d9dacda 2cd792d8 4476fa44 4476fa40
    0x4476f9f4: 4476fa3c 00000000 4476fac0 00000000
    0x4476fa04: 00d09400 00000000 00000000 00000000
    0x4476fa14: 00d09400 4476fa48 6d44b6c4 00d6c7a0
    0x4476fa24: 496471b4 4476fa44 4476fa40 4476fa3c
    Instructions: (pc=0x6da5df84)
    0x6da5df74: cc cc cc cc cc cc cc cc cc cc cc cc 56 57 8b f9
    0x6da5df84: 0f b7 77 08 46 56 e8 81 4f fe ff 83 c4 04 85 f6
    Stack: [0x44720000,0x44770000], sp=0x4476f9b4, free space=318k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0x1adf84]
    V [jvm.dll+0x12acda]
    C [jdwp.dll+0x1b6c4]
    C [jdwp.dll+0x4306]
    C [jdwp.dll+0x4434]
    C [jdwp.dll+0x4472]
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x47403c00 JavaThread "Timer-2" daemon [_thread_blocked, id=3732, stack(0x4a500000,0x4a550000)]
    0x47404400 JavaThread "Thread-31" daemon [_thread_blocked, id=3424, stack(0x4a4b0000,0x4a500000)]
    0x47404800 JavaThread "JarIndex Timer" daemon [_thread_blocked, id=5856, stack(0x4a450000,0x4a4a0000)]
    0x47403000 JavaThread "[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon [_thread_blocked, id=5516, stack(0x4a300000,0x4a350000)]
    0x47402c00 JavaThread "DynamicListenThread[Default]" daemon [_thread_in_native, id=3336, stack(0x492e0000,0x49330000)]
    0x47402400 JavaThread "DynamicListenThread[Default[2]]" daemon [_thread_in_native, id=3584, stack(0x49290000,0x492e0000)]
    0x46b38400 JavaThread "DynamicListenThread[Default[3]]" daemon [_thread_in_native, id=5244, stack(0x49240000,0x49290000)]
    0x46b38000 JavaThread "DynamicListenThread[Default[4]]" daemon [_thread_in_native, id=5468, stack(0x491f0000,0x49240000)]
    0x46b37800 JavaThread "DynamicListenThread[Default[1]]" daemon [_thread_in_native, id=1944, stack(0x491a0000,0x491f0000)]
    0x46b35c00 JavaThread "weblogic.GCMonitor" daemon [_thread_blocked, id=3832, stack(0x49010000,0x49060000)]
    0x46b37400 JavaThread "CacheCleaner" daemon [_thread_blocked, id=1908, stack(0x49150000,0x491a0000)]
    0x46b36c00 JavaThread "Worker-2" daemon [_thread_blocked, id=4500, stack(0x49100000,0x49150000)]
    0x46b6f000 JavaThread "Worker-1" daemon [_thread_blocked, id=4840, stack(0x490b0000,0x49100000)]
    0x46b6e000 JavaThread "Worker-0" daemon [_thread_blocked, id=4508, stack(0x48ed0000,0x48f20000)]
    0x46b6c800 JavaThread "[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon [_thread_blocked, id=4932, stack(0x48ca0000,0x48cf0000)]
    0x46b36800 JavaThread "[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon [_thread_blocked, id=828, stack(0x48e30000,0x48e80000)]
    0x46c57c00 JavaThread "[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon [_thread_blocked, id=2996, stack(0x48bb0000,0x48c00000)]
    0x46b6e400 JavaThread "oracle.dfw.impl.incident.IncidentManagerImpl - Incident Purger" daemon [_thread_blocked, id=4024, stack(0x48de0000,0x48e30000)]
    0x46b36000 JavaThread "LogFlusher" daemon [_thread_blocked, id=3140, stack(0x49060000,0x490b0000)]
    0x46b35400 JavaThread "oracle.dfw.impl.incident.IncidentManagerImpl - Incident Purger" daemon [_thread_blocked, id=5892, stack(0x48fc0000,0x49010000)]
    0x46b35000 JavaThread "oracle.dfw.incident.FloodController" daemon [_thread_blocked, id=5888, stack(0x48f70000,0x48fc0000)]
    0x46b6f800 JavaThread "oracle.dfw.incident.IncidentCreatorThread" daemon [_thread_blocked, id=4012, stack(0x48f20000,0x48f70000)]
    0x46b6ec00 JavaThread "oracle.dfw.impl.incident - ADR Executor (created: Wed Nov 17 14:24:48 BRST 2010)" daemon [_thread_blocked, id=4180, stack(0x48e80000,0x48ed0000)]
    0x46dfd400 JavaThread "Timer-0" daemon [_thread_blocked, id=5072, stack(0x476e0000,0x47730000)]
    0x00d18400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5344, stack(0x448a0000,0x448f0000)]
    0x00d1c400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4524, stack(0x44850000,0x448a0000)]
    0x00d0cc00 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=4444, stack(0x44800000,0x44850000)]
    0x00d0c400 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=3200, stack(0x44770000,0x447c0000)]
    =>0x00d09400 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=2640, stack(0x44720000,0x44770000)]
    0x00cfd800 JavaThread "Attach Listener" daemon [_thread_blocked, id=2056, stack(0x44670000,0x446c0000)]
    0x00cf2c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5584, stack(0x44620000,0x44670000)]
    0x00cc4400 JavaThread "Finalizer" daemon [_thread_blocked, id=4112, stack(0x445d0000,0x44620000)]
    0x00cbfc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=4928, stack(0x01510000,0x01560000)]
    0x00d6f800 JavaThread "main" [_thread_blocked, id=5408, stack(0x001e0000,0x00230000)]
    Other Threads:
    0x00cbbc00 VMThread [stack: 0x00d70000,0x00dc0000] [id=5140]
    0x00d1f000 WatcherThread [stack: 0x448f0000,0x44940000] [id=2948]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 18240K, used 4553K [0x042b0000, 0x05670000, 0x06a10000)
    eden space 16256K, 18% used [0x042b0000, 0x045b1130, 0x05290000)
    from space 1984K, 74% used [0x05480000, 0x055f12e8, 0x05670000)
    to space 1984K, 0% used [0x05290000, 0x05290000, 0x05480000)
    tenured generation total 241984K, used 132383K [0x06a10000, 0x15660000, 0x242b0000)
    the space 241984K, 54% used [0x06a10000, 0x0eb57cd8, 0x0eb57e00, 0x15660000)
    compacting perm gen total 142336K, used 142137K [0x242b0000, 0x2cdb0000, 0x442b0000)
    the space 142336K, 99% used [0x242b0000, 0x2cd7e7d0, 0x2cd7e800, 0x2cdb0000)
    No shared spaces configured.
    VM Arguments:
    jvm_args: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\JDEVEL~1\WLSERV~1.3\server\lib\weblogic.policy -agentlib:jdwp=transport=dt_socket,server=y,address=7289 -Djavax.net.ssl.trustStore=C:\Oracle\JDeveloper\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\Oracle\JDEVEL~1\WLSERV~1.3 -Dwls.home=C:\Oracle\JDEVEL~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\JDEVEL~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\HELDER~1.FAR\AppData\Roaming\JDEVEL~1\SYSTEM~1.36\DEFAUL~1 -Dcommon.components.home=C:\Oracle\JDEVEL~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Oracle\JDEVEL~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\HELDER~1.FAR\AppData\Roaming\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\HELDER~1.FAR\AppData\Roaming\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\HELDER~1.FAR\AppData\Roaming\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Users\HELDER~1.FAR\AppData\Roaming\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\HELDER~1.FAR\AppData\Roaming\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=\modules\oracle.ossoiap_11.1.1,\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\HELDER~1.FAR\AppData\Roaming\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\JDEVEL~1\patch_wls1032\profiles\default\sysext_manifest_classpath;C:\Oracle\JDEVEL~1\patch_jdev1111\profiles\default\sysext_manifest_classpath
    java_command: weblogic.Server
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=C:\Oracle\JDEVEL~1\JDK160~1.5-3
    CLASSPATH=C:\Oracle\JDEVEL~1\patch_wls1032\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\JDEVEL~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\JDEVEL~1\JDK160~1.5-3\lib\tools.jar;C:\Oracle\JDEVEL~1\utils\config\10.3\config-launch.jar;C:\Oracle\JDEVEL~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\JDEVEL~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\JDEVEL~1\modules\features\weblogic.server.modules_10.3.2.0.jar;C:\Oracle\JDEVEL~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\JDEVEL~1\modules\ORGAPA~1.0/lib/ant-all.jar;C:\Oracle\JDEVEL~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\JDeveloper\wlserver_10.3\server\lib\sdoapi.jar;C:\Oracle\JDeveloper\wlserver_10.3\server\lib\sdoutl.jar;C:\Oracle\JDeveloper\wlserver_10.3\server\lib\org.eclipse.persistence_1.0.0.0_1-2-0.jar;C:\Oracle\JDEVEL~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\JDEVEL~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\Oracle\JDEVEL~1\WLSERV~1.3\server\lib\xqrl.jar
    PATH=C:\Oracle\JDEVEL~1\patch_wls1032\profiles\default\native;C:\Oracle\JDEVEL~1\patch_jdev1111\profiles\default\native;C:\Oracle\JDEVEL~1\WLSERV~1.3\server\native\win\32;C:\Oracle\JDEVEL~1\WLSERV~1.3\server\bin;C:\Oracle\JDEVEL~1\modules\ORGAPA~1.0\bin;C:\Oracle\JDEVEL~1\JDK160~1.5-3\jre\bin;C:\Oracle\JDEVEL~1\JDK160~1.5-3\bin;C:\oracle\product\11.1.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\GnuWin32\bin;C:\Program Files\Java\jdk1.6.0_16\bin;C:\Program Files\doxygen\bin;C:\Program Files\TortoiseSVN\bin;C:\Oracle\JDEVEL~1\WLSERV~1.3\server\native\win\32\oci920_8
    USERNAME=helder.farias
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows Vista Build 6002 Service Pack 2
    CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 2097151k(1033400k free), swap 4194303k(4067528k free)
    vm_info: Java HotSpot(TM) Client VM (14.0-b16) for windows-x86 JRE (1.6.0_14-b08), built on May 21 2009 08:03:56 by "java_re" with MS VC++ 7.1
    time: Wed Nov 17 14:27:10 2010
    elapsed time: 157 seconds
    End error the log JDeveloper.
    I've tried using the version of jdk 6.0.22 and still get the same error, already increased the memory and keeps giving the same error .... do not know what else to do ...
    I am two days trying to resolve this, please help me.
    Thanks.

    Hi,
    any chance you can upgrade to JDeveloper 11.1.1.3 (PS2) ?
    Frank

  • How to configure multiple cluster on multiple jvm

    Hello all,
    I have 15 caches and 6 servers with 8 processors each.
    I wish to split the 7 Caches on 3 servers as first cluster and remainig 8 caches on 3 servers as second clsuter.
    Can somebosy please provide the sample configuration.
    Thanks
    Vinay

    Hi Gary,
    clusters are separated from each other by their multicast cluster address and cluster port.
    Just choose two clusteraddress-port pairs in which both the ports and the cluster addresses are different (different ports are necessary, I believe, because you want to have multiple clusters on the same machine).
    You can specify the cluster address to the JVM with the Java property -Dtangosol.coherence.clusteraddress=... and you can specify the port with -Dtangosol.coherence.clusterport=....
    Specify the appropriate address and port to all the JVMs according to which cluster you want the JVM to be a member of.
    Alternatively you can specify an override file containing this information (you can read more about this on the wiki or in the users guide in the zip file (which is an export of the wiki).
    Best regards,
    Robert

  • Multiple JVMs foe One WL6.1 instance

    Hi,
    Is it possible to attach multiple JVMs to an instance of WLS6.1
    so that all JVMs will be self sufficient in serving client requests....
    If it is possible then any pointers in that direction..???
    regards
    aseem

    Each WL server runs in one JVM. If you want to have 4 JVMs, then run 4 WL
    servers in one cluster.
    "Aseem Rastogi" <[email protected]> wrote in message
    news:[email protected]..
    currently our App runs on 2 Iplanet App Server ( they are in Cluster)
    and each App server has 2 VMs so we we are getting the feel of 4independent
    App Servers but Physically we are able to get away with only 2 boxes.
    We want to achive the same thing in Weblogic...
    thanx
    aseem
    Michael Reiche wrote:
    1) What is your requirement?
    2) Clustering.
    "Aseem Rastogi" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    Is it possible to attach multiple JVMs to an instance of WLS6.1
    so that all JVMs will be self sufficient in serving client
    requests....
    >>>
    If it is possible then any pointers in that direction..???
    regards
    aseem

  • How can i run a new instance of API by providing seperate JVM.

    Hello,
    I have some static member and function and they conflicted while opening the new instance of API. Can i run a new instance in separate JVM so it will run independently even we have static members and functions.
    Or do we have any other procedure, without removing "static" we can run with out conflicting ?
    Thanks
    Ashish Pancholi

    YuccaS wrote:
    Once again someone thinks static is the same in a distributed application/clustered system. The OP must realise that static is only static per jvm of which there can be more than one in an environment and may not work in a cluster if pooling is used across the cluster. I am no expert on this myself but I think the solution has something to do with creating your own class loader or use JEE which may provide the OP with the flexibility they wish to have?Personally I think they've just found a new version of some API they're using, and don't want to refactor all their code to fit it. Writing web service layers and the like, even a bunch of RMI code, is going to be more painful than that.

  • ESR and ID login issue in Clustered SAP PI 7.3 environment

    Hi PI Gurus,
    We currently have issue for login in ESR and ID of PI 7.3 systems from desktop which is in customer VLAN.
    Please find below status for PI systems :
    Development and Quality PI systems as standalone : ESR and ID login works fine
    Regression and Production PI systems as clustered : ESR and ID login does not work.
    Client Java Web start version : 1.6
    PI system JVM version : 1.6
    Please find attached screenshot for error that we get while login.
    Request you to provide your inputs to resolve this issue.
    Thanks in Advance.
    Regards,
    Hanumant

    Hi Pavan,
    Thank you for details,
    I checked hostname for all PI systems and FQDN are maintained for them in "hosts" file.
    Also one more point, it shows exeception when clicked on ESR or ID links:
    java.io.IOException: Authentication failure
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at java.net.HttpURLConnection.getResponseCode(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    Do you have any Idea which authentication is failing here?
    Regards,
    Hanumant

  • Jvm startup fails with error when using large -Xmx value

    I'm running JDK 1.6.0_02-b05 on RHEL5 server. I'm getting error when starting the JVM with large -Xmx value. The host has ample memory to succeed yet it fails. I see this error when I'm starting tomcat with a bunch of options but found that it can be easily reproduced by starting the JVM with -Xmx2048M and -version. So it's this boiled down test case that I've been examining more closely.
    host% free -mt
    total used free shared buffers cached
    Mem: 6084 3084 3000 0 184 1531
    -/+ buffers/cache: 1368 4716
    Swap: 6143 0 6143
    Total: 12228 3084 9144
    Free reveals the host has 6 GB of RAM, approximately half is available. Swap is totally free meaning I should have access to about 9 GB of memory at this point.
    host% java -version
    java version "1.6.0_02"
    Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
    Java HotSpot(TM) Server VM (build 1.6.0_02-b05, mixed mode)
    java -version succeeds
    host% java -Xmx2048M -version
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    java -Xmx2048M -version fails. Trace of this reveals mmap call fails.
    mmap2(NULL, 2214592512, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
    Any ideas?

    These are the relevant java options we are using:
    -server -XX:-OmitStackTraceInFastThrow -XX:+PrintClassHistogram -XX:+UseLargePages -Xms6g -Xmx6g -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=128m -XX:MaxPermSize=192m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:+ExplicitGCInvokesConcurrent -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.awt.headless=true
    This is a web application that is very dynamic and uses lots of database calls to build pages. We use a large clustered cache to reduce trips to the database. So being able to acces lots of memory is important to our application.
    I'll explain some of the more uncommon options:
    We use the Concurrent Garbage collector to reduce stop the world GC's. Here are the CMS options:
    -XX:+UseConcMarkSweepGC
    -XX:+CMSClassUnloadingEnabled
    -XX:+CMSPermGenSweepingEnabled An explicit coded GC invokes the Concurrent GC instead of the stop the world GC.
    -XX:+ExplicitGCInvokesConcurrentThe default PermSizes where not large enough for our application. So we increased them.
    -XX:PermSize=128m
    -XX:MaxPermSize=192mWe had some exceptions that were omitting their stack traces. This options fixes that problem:
    -XX:-OmitStackTraceInFastThrowWe approximate between 10% to 20% performance improvement with Large Page support. This is an advance feature.
    -XX:+UseLargePagesUseLargePages requires OS level configuration as well. In SUSE10 we configured the OS's hugepages by executing
    echo "vm.nr_hugepages = 3172" >> /etc/sysctl.confand then rebooting. kernel.shmmax may also need to be modified. If you use Large Page be sure to google for complete instructions.
    When we transitioned to 64bit we transitioned from much slower systems having 4GB of ram to much faster machines with 8GB of ram, so I can't answer the question of degraded performance, however with our application, the bigger our cache the better our performance, so if 64bit is slower we more than make up for it being able to access more memory. I bet the performance difference depends on the applications. You should do your own profiling.
    You can run both the 32bit version and the 64bit version on most 64bit OSes. So if there is a significant difference run the version you need for the application. For example if you need the memory use the 64bit version if you don't then use the 32bit version.

  • WebCache in clustered mode throws http Error Code 508

    Hi All,
    I have Oracle webcache in a clustered mode ,which is acting as a loadbalancer for the Oracle Application Server.
    The Oracle Application Server is hosting custom j2ee application .
    Scenario 1:
    Only one Node of WebCache is Up
    If i try to access the web Application through Browser, then the page is displayed successfully.
    Scenario 2:
    Both the WebCache Nodes are up and Running
    Problem statement:
    If i try to access the web Application through Browser, then it gives me blank page and HttpError Code 508 in background.
    The Problem what seems to me is the session persistence problem.
    As far as i know,
    In a cluster environment, developers must be aware that the HTTP session can run in multiple JVMs. The session attributes should be kept consistent in each JVM. Otherwise, the same input may cause different results when the application runs on different nodes because the user-related data is inconsistent in these two nodes.
    The precondition is that all shared attributes must be serialized and deserialized. When you put a Java object into a session and want it shared across all nodes, declare this Java object as a serializable interface
    I want to know, is my understanding correct and code is causing the problem and needs to be checked in the source code of application
    or there is any configuration missing on WebCache?
    I would appriciate any pointers.
    Regards
    Ak

    TO confirm this, did you try to run anypage that doesnt contain a session object? and see if you can use the pages?
    If so work on making your application clusterizable.
    Also why dont you try to create VirtualHost and register them into WebCache so it will get this request and attend them
    Hope this helps
    Greetings.

  • WebCache in clustered env gives Blank Page with Http error code 508

    Hi All,
    I have Oracle webcache in a clustered mode ,which is acting as a loadbalancer for the Oracle Application Server.
    The Oracle Application Server is hosting custom j2ee application .
    Scenario 1:
    Only one Node of WebCache is Up
    If i try to access the web Application through Browser, then the page is displayed successfully.
    Scenario 2:
    Both the WebCache Nodes are up and Running
    Problem statement:
    If i try to access the web Application through Browser, then it gives me blank page and HttpError Code 508 in background.
    The Problem what seems to me is the session persistence problem.
    As far as i know,
    In a cluster environment, developers must be aware that the HTTP session can run in multiple JVMs. The session attributes should be kept consistent in each JVM. Otherwise, the same input may cause different results when the application runs on different nodes because the user-related data is inconsistent in these two nodes.
    The precondition is that all shared attributes must be serialized and deserialized. When you put a Java object into a session and want it shared across all nodes, declare this Java object as a serializable interface
    I want to know, is my understanding correct and code is causing the problem and needs to be checked in the source code of application
    or there is any configuration missing on WebCache?
    I would appriciate any pointers.
    Regards
    Ak

    TO confirm this, did you try to run anypage that doesnt contain a session object? and see if you can use the pages?
    If so work on making your application clusterizable.
    Also why dont you try to create VirtualHost and register them into WebCache so it will get this request and attend them
    Hope this helps
    Greetings.

  • Server, Multiple JVMs sources

    Hi,
    i've to create a (web serivce) server application. This application should be ready for clustering or something, if one server isn't fast enough.
    I know already some things abou concurrency in Java. I'm no Java newbie. But i don't know how clustering works.
    Does it depend on the used JVM?
    Or is this for every server (i.e. Tomcat, JBOSS, ...) different?
    What are the requirements in the webservice-layer and in the persistance layer?
    Any good internet pages/PDFs which discusses this?
    Any good books?
    I really hope some can help me here, because it's very important for me.
    Cheers,
    Ingo

    I just re-read the guidelines for a clustered web app over the weekend, so I think I've got things straight. Your application will have to be sensitive to two important issues:
    1) A class which was previously a singleton may now be instantiated in multiple JVMs. The most obvious side effect of this is that the init() method of any servlet will have a different ServletConfig object passed to it for each JVM it is initialized in. As a result, the application context is no longer a valid place to store information, since the change to the application context is not necessarily propagated to the other JVMs. However, context-params will still be available from all JVMs. Another noticable side-effect is that static variables no longer work as expected (since there may be multiple instances of the same class).
    2) The HttpSession object for a given session can only be in existence on one JVM at a time. If the HttpSession needs to migrate to another JVM, then it will be serialized and sent to the other JVM. As a result, adding an object to a session that is not Serializable may result in IllegalArgumentException being thrown. I'm guessing that in the case of a fail-over (node dies unexepectedly) that the HttpSession object is lost.
    Brian

  • Passing session information to multiple JVM's

    Is it possible to pass session information to another JVM running on another server?
    Example:
    Server A calls a servlet on Server B. Will the session object (and values stored in it) created on Server A be accessible to Server B.

    DrClap wrote:
    No.This is not exactly true. If you're talking about a clustered app server implementation (for example, Weblogic supports clustering), where 'machine A' and 'machine B' are both part of the same cluster, then, generally speaking, yes, you're HttpSessions are distributed across those machines.
    God bless,
    -Toby Reyelts

  • VisualVM - not supported JVM

    Hello Community,
       Related to this post: https://forums.oracle.com/message/4800072
    I thought I'd start a new thread since I can't comment the one above.
    1) I have visualvm *32 install
    2) Monitoring a 64 bit jvm app locally
    3) Changed "visualvm.conf" jdk home to 64 bit 1.7
    4) I still get the same issue.
    Summary
    Version:
    1.3.5 (Build 121105); platform 20120926-d0f92ba97f49
    System:
    Windows 7 (6.1) Service Pack 1, amd64 64bit
    Java:
    1.7.0_04; Java HotSpot(TM) 64-Bit Server VM (23.0-b21, mixed mode)
    Vendor:
    Oracle Corporation, http://java.oracle.com/
    Environment:
    Cp1252; en_US (visualvm)
    User directory:
    C:\Users\trx\AppData\Roaming\VisualVM\1.3.5
    Cache directory:
    C:\Users\trx\AppData\Local\VisualVM\Cache\1.3.5
    Clusters:
    C:\visualvm_135\platform
    C:\visualvm_135\visualvm
    C:\visualvm_135\profiler
    Any thoughts on resolving this issue?
    Thanks in advance.
    TRX

    Hi,
    as you can see, you are running VisualVM on 32bit JVM
    1.6.0_20; Java HotSpot(TM) Client VM (16.3-b01, mixed mode, sharing)
    You don't need to unistall 32bit JVM. Just tell VisualVM to use tour 64bit JVM.
    One way is to use --jdkhome command-line switch.
    visualvm_13\bin\visualvm.exe --jdkhome <path_to_64bit_JVM>
    If you want to change it permanently, you can edit
    visualvm_13\etc\visualvm.conf
    uncomment and edit netbeans_jdkhome entry to point to your 64bit JVM.
    HTH,
    Tom

Maybe you are looking for

  • Text Message Forwarding Not Displaying MacBook Pro

    I am having an issue in which one of my MacBook Pros no longer appears in the menu for "Text Message Forwarding" on my iPhone 6. I have two MacBook Pros (named MBP Old and MBP New), I only see MBP Old in the "Text Message Forwarding" menu. Yesterday,

  • How can I move/combine toolbars on the same line to gain more screen space ??

    In IE you can lock or unlock toolbars and grag them and move to another line to gain more screen space & still have all you need up there. How can I do this in Fire-fox ??

  • Connecting iphone makes computer screen go blank

    I've had my iPhone for a few months. Initial syncing worked fine. As soon as I tried to sync it a second time with upgrades, new messages, new apps etc already on the iPhone, it didn't acknowledge the iPhone in iTunes, and made the computer screen go

  • LMS 4.2 and WLC 5508

    Hi all, Recently I have replaced 2 4400 WLC by 5508 wlc's. I have also replaced both 4400 in LMS by those new 5508. They have the same ip's, so I have removed the old 4400's from LMS and created 2 new devices. When checking the device center, LMS tel

  • Calling function through RFC

    Hi Colleagues, I need to make a function call from 1 SAP system to another SAP system. Please let me know if I should create a new ABAP RFC connection between the 2 systems. If so please let me know the procedure to create a new ABAP connection. Shou