Skip to content

Commit

Permalink
Deploy synch service as a war. The ear version could not access hiber…
Browse files Browse the repository at this point in the history
…nate mappings.
  • Loading branch information
douglm committed Aug 4, 2023
1 parent aa417aa commit de6d82b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/wildfly.deploy.properties
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ org.bedework.war.names=bedework,\
bw-dotwell-known,\
pubcalwskt,\
ucalwskt,\
bw-synch-war,\
bw-webcache-war

# --------------------------------------------------------------------
Expand Down
7 changes: 7 additions & 0 deletions src/main/asciidoc/deployers/databases.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ create role bedework with login password 'xxxxxxxxx';
create database caldb owner bedework;
----

Some or all of the following seems to be required. Note it also seems to be important to connect to the database first:
----
\c caldb
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO bw;
grant all privileges on database caldbwalsh to bw;
----

Set the hibernate dialect in the config file:
[source,xml]
----
Expand Down

0 comments on commit de6d82b

Please sign in to comment.