-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Builds Container image WildFly App Server introduces use of --file for docker build. Allows to rapidly test different JEE app servers. tweaks to local dev script main Docker file is left with Tomcat JDK17 Signed-off-by: Andres LeonRangel <[email protected]> * Primefaces14 jakarta * cleaned up the gradle file from deprecated web services functions Signed-off-by: Andres LeonRangel <[email protected]> * upgraded maven file to Primefaces 11 Signed-off-by: Andres LeonRangel <[email protected]> * stable page 02 Primefaces 14 * removed older primefaces components * removed javascript inside xhtml Signed-off-by: Andres LeonRangel <[email protected]> * web.xml stable execution * added settings to handle custom error pages * added JakartaEE with jakarta Faces Signed-off-by: Andres LeonRangel <[email protected]> --------- Signed-off-by: Andres LeonRangel <[email protected]>
- Loading branch information
Showing
7 changed files
with
82 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# https://quay.io/repository/wildfly/wildfly?tab=tags | ||
FROM quay.io/wildfly/wildfly:27.0.0.Final-jdk17 | ||
|
||
ARG APP_WAR_FILE_VERSION | ||
ENV APP_WAR_FILE_VERSION=$APP_WAR_FILE_VERSION | ||
ENV APP_WAR_FILE="Attendance" | ||
ENV APP_WAR_FILE_PATH="build/libs/$APP_WAR_FILE-${APP_WAR_FILE_VERSION}" | ||
|
||
LABEL org.nz.itlatinos.image.authors="[email protected]" | ||
LABEL maintainer="www.andres.nz" | ||
LABEL war.version="$APP_WAR_FILE_VERSION" | ||
LABEL docker.image.build.command="docker build --build-arg APP_WAR_FILE_VERSION=$version --tag aleon1220/attendance-webapp:$version --file Dockerfile.wildfly ." | ||
|
||
RUN printf "WAR version is $APP_WAR_FILE-$APP_WAR_FILE_VERSION" | ||
RUN printf "Path to war file $APP_WAR_FILE_PATH" | ||
ADD ${APP_WAR_FILE_PATH}.war /opt/jboss/wildfly/standalone/deployments/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<web-app | ||
version="4.0" | ||
xmlns="http://xmlns.jcp.org/xml/ns/javaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" | ||
> | ||
<!-- https://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/index.html --> | ||
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd" | ||
version="6.0"> | ||
<display-name>Class Attendance WebApp</display-name> | ||
<!-- JSF mapping --> | ||
<!-- Servlet Mapping for Faces Servlet --> | ||
<servlet> | ||
<servlet-name>Faces Servlet</servlet-name> | ||
<servlet-class>org.apache.myfaces.webapp.FacesServlet</servlet-class> | ||
<servlet-class>jakarta.faces.webapp.FacesServlet</servlet-class> | ||
<load-on-startup>1</load-on-startup> | ||
</servlet> | ||
<servlet-mapping> | ||
<servlet-name>Faces Servlet</servlet-name> | ||
<url-pattern>*.xhtml</url-pattern> | ||
</servlet-mapping> | ||
<listener> | ||
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> | ||
</listener> | ||
<welcome-file-list> | ||
<welcome-file>index.xhtml</welcome-file> | ||
</welcome-file-list> | ||
<error-page> | ||
<error-code>404</error-code> | ||
<location>/404-loginError.xhtml</location> | ||
</error-page> | ||
</web-app> |