Re: mqm group

2003-09-30 Thread Yuval Ofer



Consider having am mqdo program, that will run commands as mqadmin
instead of root. 
It
should be able to start the weblogic and do other MQ
commands.
(Similar source to sudo, with a different set of commands, chown mqadmin,
chmod 4755)

  -Original Message-From: Navin Vali
  [mailto:[EMAIL PROTECTED]Sent: Tuesday, 30 September,
  2003 19:39To: [EMAIL PROTECTED]Subject: mqm
  groupHi All ,
  The problem is, we are starting the communication
  server on Weblogic using the sudo command.The sudo command will start
  Weblogic as the "root" user.All the processes created by this Weblogic
  instance will be owned by root.WL server
  tries to connect to MQ Queues as the "root" user. However the root user is not
  part of the mqm group and so MQ returns authentication
  failure.We requested to add root to the
  mqm group but they security folks have refused permission to add root to mqm
  group due to security and other issues. Now is there any way we can resolve this issue?
  Starting and stopping of weblogic rights can only be given to root and root
  cannot be part of mqm. Although we have a mqadmin user which is part of mqm.
  Is there a way that we can start weblogic using root but when its up it runs
  as mqadmin? Any help will be
  highly appreciated. Thanks in
  Advance Navin -Get
  the best from British Airways at
ba.comhttp://www.ba.com


QUEUE manager and QUEUE names - Non uppercase?

2003-09-08 Thread Yuval Ofer




1) Did 
any of you seen any installation where the queue manager , queue names and/or user name were not 7-bit-ASCII (or EBCDIC uppercase)? 

e.g.  Did one of those names include 8 bit characters like 
"È"  ( `E ) or wide characters?
2) 
Did any one seen a queue manager who's name included characters other then A-Z, 
a-z and '.' (period character)? 
 
      #include 

 
  
Yuval    Ofer 
 
 [EMAIL PROTECTED]
 
   
ext:  03-7352-196
   
cell: 050-701-593
    
SMS: [EMAIL PROTECTED]
    
 


HPUX install: "./lap/jre/bin/java: not found"

2003-09-03 Thread Yuval Ofer
I'm tring to install MQ on HPUX11i.
I got the following error:

# cd /local/MQ
# . ./mqlicense.sh -accept
ksh: ./lap/jre/bin/java:  not found

ERROR:  Installation will not succeed unless the license
agreement can be accepted.>

Any Ideas?

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


XMITQ name

2003-08-14 Thread Yuval Ofer
The manual recommends that the name of the XMIT queue will
be the same as the name of the remote queue manager.
Is that a MUST?  (That is can I use the XMIT-Q name as a 'pointer')?
Or did any of you see any site that uses other names for the XMIT queues?
(e.g.  can you configure channels between two queue manager, each with a
different
xmit queue name?)


--
  Yuval Ofer
  mailto:[EMAIL PROTECTED]
  #include 

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


API_EXIT / return codes hazards / amqzfuma running wild / Any ide a why?

2003-07-29 Thread Yuval Ofer
It seems that setting the return codes to 0 in an API_Exit causes disastrous
results:
In the attached skeleton API exit code null_exits.c works fine (doing
nothing, but not doing any damage...)
The 2nd example null_exits_rc.c does nothing, but before exiting it sets
returned codes to 0:
pExitParms->ExitResponse  = MQXDR_OK;
pExitParms->ExitResponse2 = MQXDR_OK;
pExitParms->ExitReason= MQRC_NONE;
*pCompCode = MQRC_NONE;
*pReason   = MQRC_NONE;

When I ran this on NT (and on Linux), a process named amqzfuma started using
all the available
memory and in few moments the machine become unusable
(Memory usage 100% on NT, and kswapd taking 99% CPU on Linux, forcing me to
use hardware reset).

OK. I know what is wrong (I hope I helped someone out there)

Any reasons why, and what return codes should I be using?

--
#include 
[EMAIL PROTECTED]




null_exits.c
Description: Binary data


null_exits_rc.c
Description: Binary data


API_Exit - MQGET exit triggered 500,000 times when the Queue mana ger is started

2003-07-28 Thread Yuval Ofer



I am developing
API_Exit to monitor MQGET and MQPUT calls.
I must be doing
something wrong, as when I enable the MQGET exit,
my Get exit is
activated many times (more then 500,000 times)
with

MessageID containing
all zeros.
CorrelationID = "AMQ
OAM Data Message"
Queue name =
SYSTEM.AUTH.DATA.QUEUE
Application =
amqzfuma
 
So
far   strmqm 
linuxas.queue.manager  does not exit 
(The only way
to get the MQ to work to reboot the machine, 
comment out
the 
MQXEP(
pExitParms->Hconfig,  MQXR_AFTER,  MQXF_GET,  (PMQFUNC)
PSI_GetAfter, NULL, pCompCode, pReason);
line,
recompile the exits.
 
Any
ideas?
 
 
 
  #include

 
 
Yuval    Ofer 
 
 [EMAIL PROTECTED]
 
  
ext:  03-7352-196
  
cell: 050-701-593
   
SMS: [EMAIL PROTECTED]