Skip to content

Commit

Permalink
added docu
Browse files Browse the repository at this point in the history
Issue imixs#179
  • Loading branch information
rsoika committed Feb 15, 2023
1 parent 5f528fe commit 8284bfc
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion open-bpmn.glsp-server/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Imixs BPMN - GLSP Server
# Open BPMN - Server

This is the Imixs BPMN GLSP Server module used by the Imixs BPMN Client modules.

Expand All @@ -15,6 +15,28 @@ From the /target/ folder you can now start the server by executing the following
$ cd target
$ java -jar open-bpmn.server-0.3.0-SNAPSHOT-glsp.jar org.imixs.bpmn.glsp.server.launch.BPMN2ServerLauncher


### Failed to send notification message.

In case you see server exceptions like this one:

```
WARNUNG: Failed to send notification message.
java.lang.reflect.InaccessibleObjectException: Unable to make private java.util.Collections$EmptyMap() accessible: module java.base does not "opens java.util" to unnamed module @23fe1d71
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
```

it indicates a problem with the JVM / Gson Libraries. Find details [here](https://github.com/eclipse-glsp/glsp/discussions/702)

A possible solution is to add the VM Option `java.base/java.util=ALL-UNNAMED`. For VSCode this can be done by adding the following vmArgs to the launch config:

```
"vmArgs": [
"--add-opens",
"java.base/java.util=ALL-UNNAMED",
],
```

## Build & Run

During development you can use the 'build' script to build & run the backend in a separat task. This gives you more control as the server can be rebuild and started independent from your Client components.
Expand Down

0 comments on commit 8284bfc

Please sign in to comment.