Unable To Run SRT Sample Code (Doc ID 859234.1)

Last updated on APRIL 07, 2017

Applies to:

Oracle Communications ASAP - Version 7.0.0 to 7.0.0 [Release 7.0.0]
Information in this document applies to any platform.
***Checked for relevance on 03-May-2013***

Symptoms

-- Problem Statement:
Installed ASAP SRT as per the Readme file and the SRT gets deployed sucessfully without any
errors. Please see below:

bash-3.00$ ant -propertyfile install.properties
Buildfile: build.xml

customize:
[echo] Creating file /export/home/asap/asap/lib/srtAS_1.ear
[mkdir] Created dir: /var/tmp/null1221601961
[unjar] Expanding: /export/home/asap/asap/lib/srtAS_1.ear into /var/tmp/null1221601961
[mkdir] Created dir: /var/tmp/null1830400718
[unjar] Expanding: /var/tmp/null1221601961/SRT.jar into /var/tmp/null1830400718
[delete] Deleting 2 files from /var/tmp/null1830400718
[delete] Deleted 2 directories from /var/tmp/null1830400718
[delete] Deleting 2 files from /var/tmp/null1221601961
[delete] Deleted 2 directories from /var/tmp/null1221601961

init:

configure:
[wlconfig] Ok
[wlconfig] Ok
[wlconfig] Ok
[wlconfig] Ok
[wlconfig] Ok

deploy:
[java] weblogic.Deployer invoked with options: -adminurl t3://10.116.133.124:7003 -username
weblogic -name srtAS_1 -targets AsapServer -upload -deploy /export/home/asap/asap/lib/srtAS_1.ear
[java] <Jun 24, 2009 4:30:59 PM IST> <Info> <J2EE Deployment SPI>
<BEA-260121> <Initiating deploy operation for application, srtAS_1 [archive:
/export/home/asap/asap/lib/srtAS_1.ear], to AsapServer .>
[java] Task 9 initiated: [Deployer:149026]deploy application srtAS_1 on AsapServer.
[java] Task 9 completed: [Deployer:149026]deploy application srtAS_1 on AsapServer.
[java] Target state: deploy completed on Server AsapServer


clean:

install:

BUILD SUCCESSFUL
Total time: 43 seconds




After SRT installation, the SRT is visible in the weblogic console but it does not create the
SRT.Request Queue as required by the samples.

The 2 samples, Eventlistener and RequestSender require both request and response SRT queues. The
SRT.ResponseQueue is visible in the weblogic console but there is no SRT.RequestXX  listed. I am able to sucessfully run the Eventlistener example. See below:


D:\SRT\sample\client\classes>java client.EventQueueListener t3://solaris:7003
System.AS_1.ApplicationType.ServiceActivation.Application.1-0;7-0;ASAP.Comp.SRT.ResponseQueue
Queue name is
System.AS_1.ApplicationType.ServiceActivation.Application.1-0;7-0;ASAP.Comp.SRT.ResponseQueue
To end program, enter Q or q, then <return>



but it is not possible to start the SRTJMSClient since there is no RequestQueue created which is required as an argument to this java program.

-- Steps To Reproduce:

1) install SRT as per Readme after installing ASAP
2) Check in weblogic console
3) there is no SRT.Request Queue created in weblogic server



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms