2016-05-11 02:48:33 +00:00
|
|
|
|
|
|
|
=== Before You Start
|
|
|
|
|
|
|
|
Before you can participate in this tutorial, you need to complete the installation of {{book.project.name}} and create the
|
2016-12-12 20:20:58 +00:00
|
|
|
initial admin user as shown in the <<fake/../../first-boot.adoc#_install-boot, Installing and Booting>> tutorial. There is one
|
2017-02-14 14:31:18 +00:00
|
|
|
caveat to this. You have to run a separate {{book.appserver.name}} instance on the same machine as the
|
2016-05-11 02:48:33 +00:00
|
|
|
{{book.project.name}} server. This separate instance will run your Java Servlet application. Because of this you will
|
|
|
|
have to run the {{book.project.name}} under a different port so that there are no port conflicts when running on the
|
|
|
|
same machine. Use the `jboss.socket.binding.port-offset` system property on the command line. The value of this property
|
2016-05-11 02:50:41 +00:00
|
|
|
is a number that will be added to the base value of every port opened by the {{book.project.name}} server.
|
2016-05-11 02:48:33 +00:00
|
|
|
|
|
|
|
To boot the {{book.project.name}} server:
|
|
|
|
|
|
|
|
.Linux/Unix
|
|
|
|
[source]
|
|
|
|
----
|
|
|
|
$ .../bin/standalone.sh -Djboss.socket.binding.port-offset=100
|
|
|
|
----
|
|
|
|
|
|
|
|
.Windows
|
|
|
|
[source]
|
|
|
|
----
|
|
|
|
> ...\bin\standalone.bat -Djboss.socket.binding.port-offset=100
|
|
|
|
----
|
|
|
|
|
|
|
|
After booting up {{book.project.name}}, you can then access the admin console at http://localhost:8180/auth/admin/
|
|
|
|
|
|
|
|
|