Pages

Showing posts with label Mq and Message Broker. Show all posts
Showing posts with label Mq and Message Broker. Show all posts

Wednesday, June 22, 2011

JBOSS - Integration With WebSphere MQ


JBOSS - Integration With WebSphere MQ

 
WebSphere MQ Series Integration with JBoss Application Server v4.x and v3.2.x

This wiki provides various resources to integrate WebSphere MQ Series 5.x in JBoss Application Server.


 Suggestions are always welcome...! Without signing also you can send your comments.



Friday, May 27, 2011

pojadd for mqm in solaris - Configure Solaris systems with the resource limits required by WebSphere MQ.

Configure Solaris systems with the resource limits required by WebSphere MQ.

WebSphere MQ uses semaphores, shared memory, and file descriptors, and it is probable that the default resource limits are not adequate.

The configuration required by WebSphere MQ depends on the version of Solaris you are using.
If you are using Solaris 10:
You must change the default resource limits for each zone WebSphere MQ will be installed in. To set new default limits for all users in the mqm group, set up a project for the mqm group in each zone.
To find out if you already have a project for the mqm group, log in as root and enter the following command:
projects -l
If you do not already have a group.mqm project defined, enter the following command:Start of change
projadd -c "WebSphere MQ default settings" 
        -K "process.max-file-descriptor=(basic,10000,deny)" 
        -K "project.max-shm-memory=(priv,4GB,deny)"
        -K "project.max-shm-ids=(priv,1024,deny)" 
        -K "project.max-sem-ids=(priv,1024,deny)" group.mqm
End of change
If a project called group.mqm is listed, review the attributes for that project. The attributes must include the following minimum values:Start of change
process.max-file-descriptor=(basic,10000,deny)
project.max-sem-ids=(priv,1024,deny)
project.max-shm-ids=(priv,1024,deny)"
project.max-shm-memory=(priv,4294967296,deny)
End of change If you need to change any of these values, enter the following command:Start of change
projmod -s -K "process.max-file-descriptor=(basic,10000,deny)" 
           -K "project.max-shm-memory=(priv,4GB,deny)" 
           -K "project.max-shm-ids=(priv,1024,deny)"
           -K "project.max-sem-ids=(priv,1024,deny)" group.mqm
End of change Note that you can omit any attributes from this command that are already correct.
For example, to change only the number of file descriptors, enter the following command:
projmod -s -K "process.max-file-descriptor=(basic,10000,deny)" group.mqm
(To set only the limits for starting the queue manager under the mqm user, login as mqm and enter the command projects. The first listed project is likely to be default, and so you can use default instead of group.mqm, with the projmod command.) 

Thanks to : http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqdac.doc/sq10360_.htm

Suggestions are always welcome...! Without signing also you can send your comments. 

WebSphere Message Broker odbc.ini 32 bit and 64 bit files in UNIX.

Broker to access any database. You need to make a stanza in the .odbc.ini file. The configuration is slightly differs from 32bit to 64bit. 





##########################################################################
# 32 bit ODBC database driver manager initialisation file.               #
##########################################################################
# It is recommended that you take a copy of this file and then edit the  #
# copy.                                                                  #
#                                                                        #
# 1. Complete the 'Mandatory information stanza' section                 #
# at the end of the file.                                                #
#                                                                        #
# 2. For each data source, add the name of the data source into          #
# the 'List of data sources stanza' section.                             #
#                                                                        #
# 3. For each data source, create a stanza in the                        #
# 'Individual data source stanzas' section.                              #
##########################################################################


#######################################
#### List of data sources stanza ######
#######################################


[ODBC Data Sources]
WMBDB1=IBM DB2 version 8 ODBC Driver


###########################################
##### Individual data source stanzas ######
###########################################


# DB2 version 8 stanza
[WMBDB1]
ServerName=WMBDB1
Driver=/export/home/db2usr1/sqllib/lib/libdb2.so
Description=DB2V8DB DB2 ODBC Database
Database=WMBDB1




##########################################
###### Mandatory information stanza ######
##########################################


[ODBC]
# To turn on ODBC trace set Trace=1
Trace=1
TraceFile=/.../IBM/mqsi/6.1/odbctrace.out
TraceDll=/.../IBM/mqsi/6.1/ODBC32/V5.3/lib/odbctrac.so
InstallDir=/.../IBM/mqsi/6.1/ODBC32/V5.3
UseCursorLib=0
IANAAppCodePage=4
UNICODE=UTF-8

 ######## END of 32 bit ODBC file#########




--------------------------------------------------------------------------------------------------------------





#######################################
#### 64 bit ODBC database driver manager initialisation file. ######
#######################################


[ODBC Data Sources]
WMBDB1=IBM DB2 ODBC Driver


##########################################################
########## Individual data source stanzas ################
########################################################## 
# DB2 stanza
[WMBDB1]
ServerName=WMBDB1
Driver=libdb2Wrapper64.so
Description=DB2DB DB2 ODBC Database
Database=WMBDB1


#########################################
###### Mandatory information stanza #####
#########################################


[ODBC]
# To turn on ODBC trace set Trace=1
Trace=1
TraceFile=/..../IBM/mqsi/odbctrace64.out
TraceDll=/..../IBM/mqsi/6.1/ODBC64/V5.3/lib/odbctrac.so
InstallDir=/..../IBM/mqsi/6.1/ODBC64/V5.3
UseCursorLib=0
IANAAppCodePage=4
UNICODE=UTF-8


################## END of 64 bit ODBC file####################






Suggestions are always welcome...! Without signing also you can send your comments.