hi
we had ClassDefNotFound error which got rectified by changing the class name
in the script to just class name .. removing path name from the class name..

earlier it it was \opt\shaker\myTest and we made it just myTest

pl check ur class name..

regards
shaker

Desmond KH Wong wrote:
>
>I am trying to get it to work in AIX.  Similar to Sandeep's approach, I
>wrote a shell script which contains the java command to execute the java
>program.  What happened was the shell script got triggered, the java
>command got executed, but the java program is stuck at a line where I
>instantiate MQQueueManager.  CPU usage went to the top and the program
>never terminates.
>
>I also tried to specify "export JAVA_COMPILER=none" or "export
>JAVA_COMPILER=NONE", but this time it was worse, the java command returns
>an error saying ClassDefNotFound for the java program....
>
>Any help would be much appreciated.
>
>Regards,
>
>Desmond
>
>
>
>                      Rick Tsujimoto
>                      <[EMAIL PROTECTED]        To:
[EMAIL PROTECTED]
>                      .CANON.COM>                        cc:
>                      Sent by: MQSeries List             Subject:  Re: Has
anyone used Java/MQ program launched by the MQ Trigger Mo
>                      <[EMAIL PROTECTED]>           nitor ?
>
>
>                      03/28/2003 05:04 AM
>                      Please respond to MQSeries
>                      List
>
>
>
>
>
>Here's something from my dusty archives:
>
>Please respond to [EMAIL PROTECTED]
>
>
>To:   [EMAIL PROTECTED]
>cc:    (bcc: Richard Tsujimoto/CHASE)
>Subject:    Re: Triggering Java applications
>
>
>
>Hi  Arthur Yeh,
>
>I also face same problem some time before on WIndows NT.
>TO solve this problem
>
>1) Write a  .cmd (command file)/.bat (batch file ) which call JVM to
>execute your class like
>
> Log.cmd :
> java -classpath .; logManager
>
>2)And give full path of thie .cmd/.bat in  APPLICID field of your
>process
>  definition.like
>
>   DESCR( )
>APPLICID(E:\Test\Logmanager\Log.cmd)
>   USERDATA( )                             ENVRDATA( )
>   PROCESS(Process.LogManager)             ALTDATE(2000-04-20)
>   ALTTIME(19.04.50)                       APPLTYPE(WINDOWSNT)
>
>Hope It help you.
>
>Regards
>Sandeep Goyal
>
>
>
>
>Arthur C Yeh wrote:
>>
>> It's been asked before - but I could not find a response.
>> There's an FAQ on this subject that seems to be horribly inaccurate.
>>
>> I need to trigger a Java Bindings server-side
>> application in a TRIGTYPE(FIRST) condition on
>> WindowsNT.
>>
>> Would some kind soul contribute a sample Process definition
>> for this scenario?
>>
>> Arthur Yeh
>> Kaiser Permanente
>
>
>
>                      Jim Ford
>                      <[EMAIL PROTECTED]         To:
>[EMAIL PROTECTED]
>                      OM>                      cc:
>                      Sent by:                 Subject: Re: Has anyone used
>Java/MQ program launched by
>                      MQSeries List            the MQ Trigger Mo
>nitor ?
>                      <[EMAIL PROTECTED]
>                      en.AC.AT>
>
>
>                      03/27/2003 02:11
>                      PM
>                      Please respond
>                      to MQSeries List
>
>
>
>
>
>Right, runmqtrm. I don't see why you'd need an intermediary app, tho.
>
>
>
>
>                      Benjamin Zhou
>                      <[EMAIL PROTECTED]>          To:
>[EMAIL PROTECTED]
>                      Sent by: MQSeries        cc:
>                      List                     Subject:  Re: Has anyone
>used Java/MQ program launched by the MQ Trigger
>                      <[EMAIL PROTECTED]         Mo              nitor ?
>                      N.AC.AT>
>
>
>                      03/27/2003 12:49
>                      PM
>                      Please respond to
>                      MQSeries List
>
>
>
>
>
>
>Jim,
>
>
>I suppose you mean "runmqtrm"?
>Right, runmqtrm passes the whole MQTM2 structure as a string. Your
>java program will have to parse the string into objects.
>
>
>How do you let runmqtrm call "java your_app"?, you have to use an
>intermedirary(under Windows, commonly a your_app.bat that contains
>"java your_app") anyway, am I right?
>
>
>cheers,
>
>
>-----Original Message-----
>From: Jim Ford [mailto:[EMAIL PROTECTED]
>Sent: Thursday, March 27, 2003 1:04 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Has anyone used Java/MQ program launched by the MQ
>Trigger
>Mo nitor ?
>
>
>
>
>
>But isn't that what a trigger monitor is? That is, runmqdlq retrieves
>the trigger message, constructs the command line and uses a system
>call to start the application. Why would you need to write your own?
>
>
>
>
>
>
>
>                      Benjamin Zhou
>                      <[EMAIL PROTECTED]>          To:
>[EMAIL PROTECTED]
>                      Sent by: MQSeries        cc:
>                      List                     Subject:  Re: Has
>anyone used Java/MQ program launched by the MQ Trigger
>                      <[EMAIL PROTECTED]         Mo              nitor
>?
>                      N.AC.AT>
>
>
>
>
>
>                      03/27/2003 10:53
>                      AM
>                      Please respond to
>                      MQSeries List
>
>
>
>
>
>
>
>
>
>Because MQ Java doesn't support a Trigger class. it's a pain to
>implement triggering directly.
>
>
>
>
>
>The easist way is to write a tiny C MQ intermediary that retrieves the
>
>trigger msg, construct the command line and then use a system call to
>start the java application. There's virtually no delay because C is
>much faster, and you can minimize the code.
>
>
>
>
>
>cheers,
>Benjamin Zhou
>State Street Corp.
>
>
>
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]
>Sent: Thursday, March 27, 2003 8:50 AM
>To: [EMAIL PROTECTED]
>Subject: Has anyone used Java/MQ program launched by the MQ Trigger
>Monitor ?
>
>
>
>
>
>
>
>
>If so, would you care to share some detail about what objects were
>used to
>accomplished this and any other detail on setting up the MQ Process
>Object
>?
>
>
>
>
>
>Thanks !
>
>
>
>
>
>
>
>
>This communication is for informational purposes only.  It is not
>intended as
>an offer or solicitation for the purchase or sale of any financial
>instrument
>or as an official confirmation of any transaction. All market prices,
>data
>and other information are not warranted as to completeness or accuracy
>
>and
>are subject to change without notice. Any comments or statements made
>herein
>do not necessarily reflect those of J.P. Morgan Chase & Co., its
>subsidiaries and affiliates.
>
>
>
>
>
>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
>
>
>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
>
>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
>
>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
>
>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
>
>

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

Reply via email to