Friday, February 24, 2017

How to write a message to queue from C samples?

For sending a message to queue from C samples under mq instalation we need to do the following steps:

export MQSERVER=SVRCONN.CHANNEL/TCP/'127.0.0.1(1416)'
export MQSAMP_USER_ID=user
./opt/mqm/samp/bin/amqsputc QUEUE.NAME QMGR.NAME


On Windows it is necessary to add enviroment variable:
MQNOREMPOOL=1


Important links:

Friday, February 10, 2017

How to assign permissions to open url on Android application?

The solution to view external url on webview object is to put or give Internet permission:
...
<uses-permission android:name="android.permission.INTERNET" />
...
This line should be at AndroidManifest.xml.

Best regards,


How to create JMS objects from java code?

There is a utility inside wlfullclient called JMSModuleHelper, the proper way to call this util is described inside the documentation:

http://docs.huihoo.com/oracle/middleware/weblogic/12c/web.1211/e24387/modulehelper.htm

Important links:

How to create wlfullclient.jar over weblogic installation?

First position within the folder of weblogic home:
 
cd WL_HOME/server/lib

Next to create de jar with the following execution parameter:

java -jar wljarbuilder.jar
 
Now you will have wlfullclient.jar created in the folder.

Important links:
http://docs.oracle.com/cd/E24329_01/web.1211/e24378/jarbuilder.htm#SACLT421

Thursday, February 2, 2017

How to connect Http Pub/Sub with Cometd on Oracle Stream Analytics?

Establish a connection between Oracle Stream Analytics with a service pub/sub on weblogic using cometd could cause a problem like the one is described below:

So to resolve the problem connection on Oracle Stream Analytics you have to change de Server Url adding uri /cometd to discover correctly the service, for example:
http://127.0.0.1:7001/cometservice/cometd

Best regards,

Enlaces: