Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
my-root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paulina Nogal
my-root
Commits
2403618c
Commit
2403618c
authored
4 years ago
by
Andrew W Petro
Browse files
Options
Downloads
Patches
Plain Diff
document that valve is thing included in releases
parent
25ef3448
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+37
-4
37 additions, 4 deletions
README.md
with
37 additions
and
4 deletions
README.md
+
37
−
4
View file @
2403618c
# MyUW root webapp
# MyUW root webapp
and Tomcat error valve
Th
is is the root context of MyUW. It is just here to serve up some static html
pages for 500 and 400 level errors
.
Th
ere are two modules here: a webapp to serve as the root web application
context and plugin to customize Tomcat's error handling
.
## Development
## MyUW root webapp
This is a small webapp to serve as the root, default servlet application in MyUW
Tomcat. It contains the error pages to fall back upon when another servlet
context does not handle the request.
### Development of the root webapp
From the root directory, run
`npm start`
. The web app will run at
[
http://localhost:8080
](
http://localhost:8080
)
and will show the 404 page by
default.
## MyUW Tomcat error valve
Customizes Tomcat to use the error pages in the custom root webapp.
## Releasing
The root webapp and the valve are versioned and released together.
From the root directory of this project
```
mvn release:prepare
mvn release:perform
```
When you release a new version of this project, you'll publish both a root
webapp .war and a Tomcat error valve .jar.
For these to be actually used in MyUW, update the tier-specific ears to
[
reference the new root webapp version
][
MyUW ear use of root webapp
]
,
and update the Tomcat container to
[
use the new valve version
][
MyUW Tomcat use of valve
]
.
[
MyUW ear use of root webapp
]:
https://git.doit.wisc.edu/myuw-overlay/myuw-ear/-/blob/qa/pom.xml#L54
[
MyUW Tomcat use of valve
]:
https://git.doit.wisc.edu/myuw/tomcat7-java8/-/blob/master/Dockerfile#L8
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment