Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Thursday, August 6, 2015

How to Create / Configure / Maintain JMS Server & Module in Weblogic 11g / 12c

In this post here i have tried to put across step by step process to create JMS Server , JMS Module etc to complete required full configuration for Weblogic JMS server for 12c. Steps will remain same for weblogic 11g as well.


  • Login to Weblogic console and go to Domain Structure -> Services -> Messaging
  • Select JMS Server
  • Create a new JMS Server page will open, enter below details
  • Click Next
  • On the next screen select Target. It should be the server where you want to create this JMS Server.
  • Click Finish 
  • Now we have JMS Server and we need to add JMS Module 
  • Go to Domain Structure -> Services -> Messaging -> Select JMS Module
  • Click on New button to create new JMS Module
  • Enter required information in create new JMS page
    • Name : UserJMSModule
    • Descriptor : UserJMSModule
    • Location in Domain : leave it blank to create it at default location and click Next
  •  On the next page select appropriate target server where you want to deploy this JMS Module and select Next
  • In the next window leave the check box "Would you like to add resources to this JMS system module?" unchecked and click finish
  • Message should be displayed as "The JMS module was created successfully". 
  • Under settings for UserJMSModule go to subdeployment tab and click New
  • Provide the name of subdeployment as "UserSubDeployment" and click next
  • Select the previously created "UserJMSServer" and click on finish and message should be displayed as "Subdeployment created successfully"
  • Click on Activate the changes to make the changes available for use in the domain.









Friday, November 29, 2013

Using / Running / Setting JDeveloper 11.1.1.6 to use 64 bit and 32 bit JVM / JDK

Tired of memory issues while working with JDeveloper because you are running on 32 bit JVM. Switch you JDeveloper to point to 64 bit JVM.This will allow you to use multi Gig memory usage while working with JDeveloper IDE.

Prerequisites: 64 bit Machine, 64 bit OS and 64 bit Jdk Installation. JAVA_HOME should be set to appropriate 64 bit jdk installation directory for example 

JAVA_HOME = C:\Program Files\Java\jdk1.6.0_23
So your JAVA_HOME=C:\Program Files\Java\jdk1.6.0_23

JDeveloper's Settings:

  1.  C:\Oracle\Middleware\jdeveloper\ide\bin\ide.conf
    • AddVMOption  -Xmx4192M
    • AddVMOption  -Xms512M 
Above setting will allows to user 4 GB of RAM.
 
 2. C:\Oracle\Middleware\jdeveloper\jdev\bin\jdev.conf
  • Point JDeveloper to use 64 bit Java Version
    •  SetJavaHome C:\Program Files\Java\jdk1.6.0_23
    • AddVMOption  -XX:MaxPermSize=1024M