Port Unicode JSPs to new host

Description

Unicode JSP demo pages, such as the one formerly hosted at http://unicode.org/cldr/utility/properties.html, need a new host. made Docker containers for them:

https://github.com/unicode-org/unicodetools/tree/dockerize/UnicodeJsps

It was suggested to run the Docker containers on Google Cloud Run.

outlined the following steps that need to be taken:

1. set up the UnicodeJsps on github
2. add steps to dockerize (https://github.com/unicode-org/unicodetools/compare/dockerize)
3. modify the steps to dockerize to work under GCP (see links below)
4. deploy to GCP
5. set up some way to deploy to GCP automatically
6. ...
7. User can go to <someURL>/unicode-list.jsp, and it works as it did before.

Steven says most recently:

https://github.com/unicode-org/unicodetools/pull/9#issuecomment-625618194 this PR, and docker image "unicode/unicode-jsp:pr9" should be ready to host on the Google environment.

At this point, and Myles Borins got some partially-working prototypes running on GCP.

Mihai created a standalone GCE instance running the container.

Myles deployed it on Cloud Run with the following commands:

```
gcloud builds submit --tag gcr.io/$(gcloud config get-value project)/unicodejsps
gcloud run deploy unicodejsps --image gcr.io/$(gcloud config get-value project)/unicodejsps --platform managed
```

However, Myles says: "It is definitely serving traffic, but it is not working properly. Unfortunately the service does not seem to be doing any logging that is being picked up by GCP so I’m not able to figure out why we are getting a 404."

Myles suggested adding more logging:

  • Log errors for any place where they are handled

  • Log at various phases in startup / initialization

  • Log at various phases in handling a request

Activity

Show:
Shane Carr
November 19, 2020, 1:18 AM

Is this done? If so, please close.

Steven R. Loomis
August 20, 2020, 3:55 PM

These tools are sure handy for reviewing exemplars! I corrected my comment https://github.com/unicode-org/unicodetools/pull/9#issuecomment-625618194 as to how to run them locally.

I now kind of remember I had to tweak something to get the ICU4J JSPs to run on Cloud Run. Perhaps it needed a larger memory allocation to be able to spin up a JVM?

Fixed non-repo
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Mihai Nita

Reporter

Shane Carr

Components

Priority

major

Time Needed

Days

Fix versions