Search This Blog

Sunday, February 12, 2017

Docker!

Docker for Datapower

Here is the link to install a Datapower docker image. This seems to work while I had it running on my OpenSuse Linux. I tried to install the same on in Windows 10 and it did not work. Please bear in mind that I did not have Microsoft HyperV installed on my machine it being a Home edition. I had to install Docker Toolbox and that installed Oracle Virtual Box along with it.

The resolution for the problem I found in the following link.


Docker for RabbitMQ

Install the docker image for RabbitMQ. To enable the docker admin plugin issue the following command after getting the docker image started -

docker exec rabbitmq rabbitmq-plugins enable rabbitmq_management

Next assign the port 15672 to the RabbitMQ docker image. The management URL for RabbitMQ is

http://docker-image-ip:docker-port-for -15672/

UserID - guest
Password - guest

Docker tutorials - https://github.com/rabbitmq/rabbitmq-tutorials



Creating a Docker registry -

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-private-docker-registry-on-ubuntu-14-04


Sharing an image on kubernets - https://blog.hasura.io/sharing-a-local-registry-for-minikube-37c7240d0615

Using this registry to pull an image on local for kubernets - https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/

Saturday, February 4, 2017

Miscellaneous Maven and Eclipse help

Running JUnit test cases from Jenkins or Maven for WebSphere MQ causes 2495 error

I was trying to run JUnit test cases using Maven and from jenkins and I was continuously getting the following error - 
A WebSphere MQ Error occured : Completion Code 2 Reason Code 2495
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.477 sec

Make sure that the library path has the 32 or 64 bit depending on your configuration in the path i.e. -

export LD_LIBRARY_PATH=/opt/mqm/java/lib/:$LD_LIBRARY_PATH

Creating users for apache-tomcat
conf/tomcat-users.xml contains the users. To create a manager user to manage tomcat add the following details -

<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<user username="tomcat" password="s3cret" roles="manager-gui,manager-script"/>

This will create the user tomcat with password s3cret.


Running a Maven project in eclipse gives error

If you encounter the following error while trying to run a Maven project in Eclipse -

"-Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment variable and mvn script match."

Here's the solution to that -

In Eclipse you need to go like this.
Window-> Preference -> Java -> Installed JREs -> Edit
In the edit Default VM arguments you need to put
If you already set the maven home.
-Dmaven.multiModuleProjectDirectory=$M2_HOME

Thanks to Stackoverflow for this - http://stackoverflow.com/questions/29330577/maven-3-3-1-eclipse-dmaven-multimoduleprojectdirectory-system-propery-is-not-s


Friday, November 4, 2016

IBM Datapower Developerworks Articles

IBM Datapower DeveloperWorks Articles

1.     Secure integration of WebSphere Service Registry and Repository V8 with WebSphere DataPower V5

http://www.ibm.com/developerworks/websphere/library/techarticles/1210_willoughby/1210_willoughby.html

2.    Secure backup-restore for WebSphere DataPower SOA Appliances

http://www.ibm.com/developerworks/websphere/library/techarticles/1009_furbee/1009_furbee.html

3.     Enforcing SOA message security policy with WebSphere Service Registry and Repository and WebSphere DataPower

http://www.ibm.com/developerworks/webservices/library/ws-dpwsrr/index.html

4.    Integrating the WebSphere DataPower SOA Appliance XI50 with the WebSphere Application Server V7 default JMS messaging provider

http://www.ibm.com/developerworks/websphere/library/techarticles/1104_madan/1104_madan.html

5.     Secure mobile access to enterprise applications through IBM WebSphere DataPower SOA Appliances

http://www.ibm.com/developerworks/websphere/techjournal/1301_efremenko/1301_efremenko.html

6.    Using OAuth on IBM WebSphere DataPower Appliances

http://www.ibm.com/developerworks/websphere/library/techarticles/1208_rasmussen/1208_rasmussen.html

http://www.ibm.com/developerworks/websphere/library/techarticles/1208_prakash/1208_prakash.html

http://www.ibm.com/developerworks/websphere/library/techarticles/1208_poon1/1208_poon1.html

http://www.ibm.com/developerworks/websphere/library/techarticles/1208_wen/1208_wen.html

http://www.ibm.com/developerworks/websphere/library/techarticles/1208_yeh/1208_yeh.html

http://www.ibm.com/developerworks/websphere/library/techarticles/1208_poon2/1208_poon2.html

http://www.ibm.com/developerworks/websphere/library/techarticles/1208_shute/1208_shute.html

7.     SOA governance using WebSphere DataPower and WebSphere Service Registry and Repository

http://www.ibm.com/developerworks/websphere/library/techarticles/1204_burke/1204_burke.html

http://www.ibm.com/developerworks/websphere/library/techarticles/1212_burke/1212_burke.html

http://www.ibm.com/developerworks/websphere/library/techarticles/1304_dearmas/1304_dearmas.html

8.    Leverage DataPower SOA Appliances to extend InfoSphere Master Data Management Server security capabilities

http://www.ibm.com/developerworks/data/library/techarticle/dm-0908mdmserversecurity/index.html

9.    Using WebSphere DataPower and WebSphere MQ File Transfer Edition to manage file transfers

http://www.ibm.com/developerworks/websphere/library/techarticles/1208_zampieri/1208_zampieri.html

10.  Configuring a WebSphere DataPower Kerberos-secured backend server

http://www.ibm.com/developerworks/websphere/library/techarticles/1207_mcmahon/1207_mcmahon.html

11.   Overriding the WebSphere DataPower WSDL optimization conversion

http://www.ibm.com/developerworks/websphere/library/techarticles/1209_talavera/1209_talavera.html

12.  Enforcing Service Level Agreements using WebSphere DataPower

http://www.ibm.com/developerworks/websphere/library/techarticles/1204_dearmas/1204_dearmas.html

13.  Using the WebSphere DataPower Option for Application Optimization to demonstrate self-balancing across multiple DataPower appliances and intelligent load distribution to backend servers

http://www.ibm.com/developerworks/websphere/tutorials/1207_mohith/

14.  Integrating WebSphere DataPower SOA Appliances with WebSphere MQ

http://www.ibm.com/developerworks/websphere/library/techarticles/0703_crocker/0703_crocker.html

15.  Performance advantages of using WebSphere DataPower XC10 Appliance as a side cache for a Java application

http://www.ibm.com/developerworks/websphere/library/techarticles/1211_zeng/1211_zeng.html

16.  Integrating DataPower with WebSphere Message Broker using the Broker Explorer

http://www.ibm.com/developerworks/websphere/library/techarticles/0707_storey/0707_storey.html

17.  Integrating WebSphere DataPower XML Security Gateway XS40 with WebSphere Message Broker

http://www.ibm.com/developerworks/websphere/library/techarticles/0710_crocker/0710_crocker.html

18.  Enable XML awareness in WebSphere Extended Deployment with WebSphere DataPower SOA Appliances

http://www.ibm.com/developerworks/websphere/library/techarticles/0607_callaway/0607_callaway.html

19.  Sign and verify XML documents using Apache WSS4J and WebSphere DataPower SOA Appliances

http://www.ibm.com/developerworks/webservices/library/ws-soa-verifyxml/index.html

20. Integrating Web applications with the DataPower Web application firewall service

http://www.ibm.com/developerworks/websphere/library/techarticles/0712_sheikh/0712_sheikh.html

21.  Managing WebSphere DataPower SOA Appliance configurations for high availability, consistency, and control, Part 1

http://www.ibm.com/developerworks/websphere/library/techarticles/0801_rasmussen/0801_rasmussen.html

22. Managing WebSphere DataPower Device configurations for high availability, consistency, and control, Part 2: Application promotion strategies

http://www.ibm.com/developerworks/websphere/library/techarticles/0904_rasmussen/0904_rasmussen.html

23. Make SOA real with IBM WebSphere Enterprise Service Bus and IBM WebSphere DataPower SOA Appliances

http://www.ibm.com/developerworks/webservices/library/ws-soa-real1/index.html

http://www.ibm.com/developerworks/webservices/library/ws-soa-real2/index.html

http://www.ibm.com/developerworks/webservices/library/ws-soa-real3/index.html

24. Using DataPower SOA Appliances to query WebSphere Service Registry and Repository

http://www.ibm.com/developerworks/websphere/techjournal/0805_peterson/0805_peterson.html

25. Offload WebSphere web services security tasks to IBM WebSphere DataPower SOA Appliances

http://www.ibm.com/developerworks/webservices/library/ws-offload/index.html

http://www.ibm.com/developerworks/webservices/library/ws-offloadDataPower/index.html

http://www.ibm.com/developerworks/webservices/library/ws-offloadpart3/index.html

http://www.ibm.com/developerworks/webservices/library/ws-offloadpart4/index.html

http://www.ibm.com/developerworks/webservices/library/ws-offloadpart5/index.html

26. Web services security with WebSphere Application Server V6

http://www.ibm.com/developerworks/websphere/techjournal/0603_cowan/0603_cowan.html

http://www.ibm.com/developerworks/websphere/techjournal/0604_singh/0604_singh.html

http://www.ibm.com/developerworks/websphere/techjournal/0606_singh/0606_singh.html

http://www.ibm.com/developerworks/websphere/techjournal/0607_desprets/0607_desprets.html

http://www.ibm.com/developerworks/websphere/techjournal/0612_cowan/0612_cowan.html