Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions servlet-security/README-source.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ process-state: reload-required
include::../shared-doc/restore-standalone-server-configuration-manual.adoc[leveloffset=+3]

// Build and run sections for other environments/builds
:glowWarnsAboutUnboundDatasource:
:datasourceJndiName: java:jboss/datasources/ServletSecurityDS
include::../shared-doc/build-and-run-the-quickstart-with-provisioned-server.adoc[leveloffset=+1]
include::../shared-doc/build-and-run-the-quickstart-with-openshift.adoc[leveloffset=+1]
ifndef::ProductRelease,EAPXPRelease[]
Expand Down
6 changes: 1 addition & 5 deletions servlet-security/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<version.server>39.0.0.Final</version.server>
<!-- the versions for BOMs, Packs and Plugins -->
<version.bom.ee>${version.server}</version.bom.ee>
<version.plugin.wildfly>5.1.5.Final</version.plugin.wildfly>
<version.plugin.wildfly>6.0.0.Beta2</version.plugin.wildfly>
<!-- the versions for other Dependencies and Plugins -->
<version.org.junit.jupiter>5.9.3</version.org.junit.jupiter>
</properties>
Expand Down Expand Up @@ -135,8 +135,6 @@
<configuration>
<discover-provisioning-info>
<version>${version.server}</version>
<!-- datasource added by CLI script -->
<failsOnError>false</failsOnError>
<add-ons>
<add-on>h2-database</add-on>
</add-ons>
Expand Down Expand Up @@ -172,8 +170,6 @@
<configuration>
<discover-provisioning-info>
<version>${version.server}</version>
<!-- datasource added by CLI script -->
<failsOnError>false</failsOnError>
<add-ons>
<add-on>h2-database</add-on>
</add-ons>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,32 @@ This is expected, the quickstart uses JNDI lookups, which WildFly Glow is not ab
====
endif::[]

ifdef::glowWarnsAboutUnboundDatasource[]
[NOTE]
====
When building, you may notice the following warning:

[source,subs="+quotes,attributes+",options="nowrap"]
----
[WARNING] * unbound datasources error: {datasourceJndiName}
The following suggestions should help you fix the reported warnings:
- configure a datasource using CLI script
Enabling one of the following add-ons may also fix this issue:
- db2
- mariadb
- mssqlserver
- mysql
- oracle
- postgresql

[INFO] Some suggestions have been found. You could enable suggestions with the <suggest>true</suggest> option.
[WARNING] Some errors have been identified, check logs.
----

This is expected, the quickstart uses a CLI script to bind the datasource. The warning can be safely ignored.
====
endif::[]

[NOTE]
====
When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
Expand Down
Loading