Jos Nieuwenhuis


WSO2 Enterprise Service Bus in een Docker container

Het is verbluffend simple om een WSO2 Enterprise Service Bus in een Docker container te draaien.
Uiteraard, moet je hiervoor eerst de Docker tools hebben geïnstalleerd, zie: https://docs.docker.com/engine/installation/

Check even op welke IP address de Docker Engine draait:
$ docker-engine ip default
In mijn geval draait Docker Engine op: 192.168.99.100

Vervolgens download en run een docker WSO2ESB Docker container:
$ docker run -p 9443:9443 -p 9763:9763 -p 8243:8243 -p 8280:8280 -t thoeni/wso2esb:4.9.0

De console toont nu het opstarten van WSO2ESB container:
JAVA_HOME environment variable is set to /usr/java/jdk1.8.0_60/
CARBON_HOME environment variable is set to /opt/wso2esb
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[2016-04-22 06:56:45,022] INFO - CarbonCoreActivator Starting WSO2 Carbon...
[2016-04-22 06:56:45,035] INFO - CarbonCoreActivator Operating System : Linux 4.1.19-boot2docker, amd64
[2016-04-22 06:56:45,035] INFO - CarbonCoreActivator Java Home : /usr/java/jdk1.8.0_60/jre
[2016-04-22 06:56:45,036] INFO - CarbonCoreActivator Java Version : 1.8.0_60
[2016-04-22 06:56:45,036] INFO - CarbonCoreActivator Java VM : Java HotSpot(TM) 64-Bit Server VM 25.60-b23,Oracle Corporation
[2016-04-22 06:56:45,036] INFO - CarbonCoreActivator Carbon Home : /opt/wso2esb
[2016-04-22 06:56:45,044] INFO - CarbonCoreActivator Java Temp Dir : /opt/wso2esb/tmp
[2016-04-22 06:56:45,047] INFO - CarbonCoreActivator User : root, en-US, UTC
[2016-04-22 06:56:45,265] WARN - ValidationResultPrinter Swap Memory size (MB): 1425 of the system is below the recommended minimum size :2047
[2016-04-22 06:56:45,267] WARN - ValidationResultPrinter Carbon is configured to use the default keystore (wso2carbon.jks). To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile.
[2016-04-22 06:56:45,268] WARN - ValidationResultPrinter RAM size (MB): 2002 of the system is below the recommended minimum size :2047
[2016-04-22 06:56:45,283] INFO - AgentHolder Agent created !
[....]
[2016-04-22 06:57:09,857] INFO - PassThroughHttpListener Starting Pass-through HTTP Listener...
[2016-04-22 06:57:14,888] INFO - PassThroughListeningIOReactorManager Pass-through HTTP Listener started on 0.0.0.0:8280
[2016-04-22 06:57:14,889] INFO - PassThroughHttpSSLListener Starting Pass-through HTTPS Listener...
[2016-04-22 06:57:14,897] INFO - PassThroughListeningIOReactorManager Pass-through HTTPS Listener started on 0.0.0.0:8243
[2016-04-22 06:57:14,906] INFO - NioSelectorPool Using a shared selector for servlet write/read
[2016-04-22 06:57:15,081] INFO - NioSelectorPool Using a shared selector for servlet write/read
[2016-04-22 06:57:15,182] INFO - TaskServiceImpl Task service starting in STANDALONE mode...
[2016-04-22 06:57:15,217] INFO - NTaskTaskManager Initialized task manager. Tenant [-1234]
[2016-04-22 06:57:15,298] INFO - RegistryEventingServiceComponent Successfully Initialized Eventing on Registry
[2016-04-22 06:57:15,413] INFO - JMXServerManager JMX Service URL : service:jmx:rmi://localhost:11111/jndi/rmi://localhost:9999/jmxrmi
[2016-04-22 06:57:15,416] INFO - StartupFinalizerServiceComponent Server : WSO2 Enterprise Service Bus-4.9.0
[2016-04-22 06:57:15,422] INFO - StartupFinalizerServiceComponent WSO2 Carbon started in 36 sec
[2016-04-22 06:57:16,054] INFO - CarbonUIServiceComponent Mgt Console URL : https://172.17.0.3:9443/carbon/

Open een browser en ga naar de volgende URL: https://192.168.99.100:9443/carbon
Inloggen met admin/admin.

Datum: 22 april 2016 - Docker,WSO2ESB

Geen reacties

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.