https://github.com/trendev/firestore-issue
https://github.com/trendev/firestore-issue
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/trendev/firestore-issue
- Owner: trendev
- Created: 2019-01-09T16:55:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-22T10:13:55.000Z (over 7 years ago)
- Last Synced: 2025-03-04T01:33:13.520Z (over 1 year ago)
- Language: Java
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# firestore-issue
## Pre-req
**service-key-account.json** (including Firestore credentials) must be located in src/main/resources. The folder does not exist in this repository, so please, make it :smile:
## Build the WAR file
`mvn clean install`
## Deploy on a Glassfish/Payara server and Test
Open a web browser and Go to http://localhost:8080/firestore
You should see a status message (SUCCESSFULLY_CONNECTED_AND_CLOSED or ERROR).
Undeploy the application and you will get the following severe message in the logs:
`Severe: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@48481300]) and a value of type [io.grpc.netty.shaded.io.netty.util.internal.InternalThreadLocalMap] (value [io.grpc.netty.shaded.io.netty.util.internal.InternalThreadLocalMap@69c1f6be]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.`