[
https://issues.jboss.org/browse/WFLY-11377?page=com.atlassian.jira.plugin...
]
Robert Baumgartner commented on WFLY-11377:
-------------------------------------------
messaging-clustering-singleton needs some update before it can run under OpenShift.
The postconfigure.sh will be executed automatically after the container will be started.
please add following two files:
extensions/extensions.cli
##Batch file to configure the standalone server for the messaging-clustering-singleton
quickstart.
embed-server --server-config=standalone-openshift.xml
batch
# -- The console is disabled by default in the Full HA profile. Enable the console to
allow us to view the quickstart output.
#
/subsystem=logging/console-handler=CONSOLE:add(level=INFO,formatter="%K{level}%d{HH:mm:ss,SSS}
%-5p [%c] (%t) %s%E%n")
# /subsystem=logging/root-logger=ROOT:add-handler(name="CONSOLE")
# -- Enable clustering, and set a cluster password
/subsystem=messaging-activemq/server=default:write-attribute(name=cluster-password,
value=password)
# -- Add mdb-delivery-group named "my-mdb-delivery-group"
/subsystem=ejb3/mdb-delivery-group=my-mdb-delivery-group:add(active=true)
# -- Deploy the messaging-clustering-singleton.war file
# deploy /deployments/messaging-clustering-singleton.war
# -- Run this batch file
run-batch
# Reload the server
reload
extensions/postconfigure.sh
#!/bin/bash
echo " "
echo " $0 start"
echo " "
${JBOSS_HOME}/bin/jboss-cli.sh --file=${JBOSS_HOME}/extensions/extensions.cli
echo " "
echo " $1 end"
echo " "
messaging-clustering-singleton does not run under OpenShift
-----------------------------------------------------------
Key: WFLY-11377
URL:
https://issues.jboss.org/browse/WFLY-11377
Project: WildFly
Issue Type: Enhancement
Environment: JBoss EAP 7.1 and OpenShift 3.11
Reporter: Robert Baumgartner
Assignee: Jason Greene
Priority: Major
create a project in OpenShift
create a new a app with the quickstart: messaging-clustering-singleton
install-singleton is not executed...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)