We strongly, strongly, strongly
discourage application deployment on the Keycloak server. In
fact, we might soon be taking steps keep people from doing that.
Can you re-create the problem with the Keycloak server alone?
On 6/6/2016 4:00 PM, Brooks Isoldi wrote:
Stian,
I apologize, by "non-JEE" application, I meant only that it does
not rely on standalone-full.xml. We're using only standalone.xml
for the application deployed to the keycloak wildfly server.
Thanks.
On 06/06/2016 02:19 PM, Brooks Isoldi
wrote:
Bill,
We do not see the war being redeployed upon startup.
Stian,
We are deploying a non-JEE application to the Keycloak Wildfly
instance and our initial setup process includes the following
commands:
sudo ./jboss-cli.sh -c <<EOF
module add --name=org.postgres
--resources=${KEYCLOAK_INSTALL_DIR}/${JDBC_FILENAME}
--dependencies=javax.api,javax.transaction.api
/subsystem=datasources/jdbc-driver=postgres:add(driver-name="postgres",driver-module-name="org.postgres",driver-class-name=org.postgresql.Driver)
data-source add --jndi-name=java:/PostgresDS --name=PostgrePool
--connection-url=jdbc:postgresql://${POSTGRES_SERVER_URL}
--driver-name=postgres --user-name=<<USERNAME>>
--password=<<PASSWORD>>
/core-service=management/security-realm=ApplicationRealm/server-identity=ssl/:add(keystore-path=keystore.jks,
keystore-relative-to=jboss.server.config.dir,
keystore-password=<<PASSWORD>>, alias=keystore,
key-password=<<PASSWORD>>)
EOF
sleep 10
sudo service wildfly restart
sleep 10
sudo ./jboss-cli.sh -c <<EOF
/subsystem=undertow/server=default-server/https-listener=https/:add(socket-binding=https,
security-realm=ApplicationRealm)
EOF
sleep 10
sudo service wildfly restart
sleep 10
cd ${KEYCLOAK_INSTALL_DIR}/bin
sudo ./jboss-cli.sh -c --file=adapter-install.cli
On 06/06/2016 01:18 PM, Stian
Thorgersen wrote:
Do you modify the standalone distribution in
any way? Do you deploy applications to it? Anything else
that you do to it that could affect this?
_______________________________________________
keycloak-dev mailing list
keycloak-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev