Skip to content

Commit

Permalink
Updated to 6.1 based on CR1.
Browse files Browse the repository at this point in the history
  • Loading branch information
eschabell committed Apr 2, 2015
1 parent da469fa commit 50f1f35
Show file tree
Hide file tree
Showing 10 changed files with 619 additions and 438 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ Released versions
-----------------
See the tagged releases for the following versions of the product:

- v1.8 - JBoss BPM Suite 6.1 installed on JBoss EAP 6.4.

- v1.7 - JBoss BPM Suite 6.0.3 with email configuration for task notifications and reassignments.

- v1.6 - JBoss BPM Suite 6.0.3 with optional docker installation.
Expand Down
46 changes: 32 additions & 14 deletions init.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@ set DEMO=Install Demo
set AUTHORS=Andrew Block, Eric D. Schabell
set PROJECT=git@github.com:jbossdemocentral/bpms-install-demo.git
set PRODUCT=JBoss BPM Suite
set JBOSS_HOME=%PROJECT_HOME%target\jboss-eap-6.1
set JBOSS_HOME=%PROJECT_HOME%target\jboss-eap-6.4
set SERVER_DIR=%JBOSS_HOME%\standalone\deployments
set SERVER_CONF=%JBOSS_HOME%\standalone\configuration\
set SERVER_BIN=%JBOSS_HOME%\bin
set SRC_DIR=%PROJECT_HOME%\installs
set SUPPORT_DIR=%PROJECT_HOME%\support
set PRJ_DIR=%PROJECT_HOME%\projects
set BPMS=jboss-bpms-installer-6.0.3.GA-redhat-1.jar
set VERSION=6.0.3
set BPMS=jboss-bpmsuite-6.1.0.GA-installer.jar
set EAP=jboss-eap-6.4.0.CR2-installer.jar
set VERSION=6.1

REM wipe screen.
cls
Expand All @@ -41,6 +42,16 @@ echo #################################################################
echo.

REM make some checks first before proceeding.
if exist %SRC_DIR%\%EAP% (
echo Product sources are present...
echo.
) else (
echo Need to download %EAP% package from the Customer Support Portal
echo and place it in the %SRC_DIR% directory to proceed...
echo.
GOTO :EOF
)

if exist %SRC_DIR%\%BPMS% (
echo Product sources are present...
echo.
Expand All @@ -53,26 +64,33 @@ if exist %SRC_DIR%\%BPMS% (

REM Move the old JBoss instance, if it exists, to the OLD position.
if exist %JBOSS_HOME% (
echo - existing JBoss product install detected...
echo.
echo - moving existing JBoss product install aside...
echo - removing existing JBoss product install...
echo.

if exist "%JBOSS_HOME%.OLD" (
rmdir /s /q "%JBOSS_HOME%.OLD"
)

move "%JBOSS_HOME%" "%JBOSS_HOME%.OLD"
rmdir /s /q "%JBOSS_HOME%"
)


REM Run installer.
echo Product installer running now...
REM Run installers.
echo EAP installer running now...
echo.
call java -jar %SRC_DIR%/%EAP% %SUPPORT_DIR%\installation-eap -variablefile %SUPPORT_DIR%\installation-eap.variables


if not "%ERRORLEVEL%" == "0" (
echo.
echo Error Occurred During JBoss EAP Installation!
echo.
GOTO :EOF
)

echo BPM Suite installer running now...
echo.
call java -jar %SRC_DIR%/%BPMS% %SUPPORT_DIR%\installation-bpms -variablefile %SUPPORT_DIR%\installation-bpms.variables

if not "%ERRORLEVEL%" == "0" (
echo Error Occurred During %PRODUCT% Installation!
echo.
echo Error Occurred During JBoss BPM Suite Installation!
echo.
GOTO :EOF
)
Expand Down
40 changes: 30 additions & 10 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ DEMO="Install Demo"
AUTHORS="Andrew Block, Eric D. Schabell"
PROJECT="git@github.com:jbossdemocentral/bpms-install-demo.git"
PRODUCT="JBoss BPM Suite"
JBOSS_HOME=./target/jboss-eap-6.1
JBOSS_HOME=./target/jboss-eap-6.4
SERVER_DIR=$JBOSS_HOME/standalone/deployments
SERVER_CONF=$JBOSS_HOME/standalone/configuration/
SERVER_BIN=$JBOSS_HOME/bin
SRC_DIR=./installs
SUPPORT_DIR=./support
PRJ_DIR=./projects
BPMS=jboss-bpms-installer-6.0.3.GA-redhat-1.jar
VERSION=6.0.3
BPMS=jboss-bpmsuite-6.1.0.GA-installer.jar
EAP=jboss-eap-6.4.0.CR2-installer.jar
VERSION=6.1

# wipe screen.
clear
Expand Down Expand Up @@ -40,6 +41,16 @@ echo
command -v mvn -q >/dev/null 2>&1 || { echo >&2 "Maven is required but not installed yet... aborting."; exit 1; }

# make some checks first before proceeding.
if [ -r $SRC_DIR/$EAP ] || [ -L $SRC_DIR/$EAP ]; then
echo Product sources are present...
echo
else
echo Need to download $EAP package from the Customer Portal
echo and place it in the $SRC_DIR directory to proceed...
echo
exit
fi

if [ -r $SRC_DIR/$BPMS ] || [ -L $SRC_DIR/$BPMS ]; then
echo Product sources are present...
echo
Expand All @@ -52,20 +63,29 @@ fi

# Move the old JBoss instance, if it exists, to the OLD position.
if [ -x $JBOSS_HOME ]; then
echo " - existing JBoss product install detected..."
echo " - removing existing JBoss product..."
echo
echo " - moving existing JBoss product install aside..."
echo
rm -rf $JBOSS_HOME.OLD
mv $JBOSS_HOME $JBOSS_HOME.OLD
rm -rf $JBOSS_HOME
fi

# Run installers.
echo "JBoss EAP installer running now..."
echo
java -jar $SRC_DIR/$EAP $SUPPORT_DIR/installation-eap -variablefile $SUPPORT_DIR/installation-eap.variables

if [ $? -ne 0 ]; then
echo
echo Error occurred during JBoss EAP installation!
exit
fi

# Run installer.
echo Product installer running now...
echo
echo "JBoss BPM Suite installer running now..."
echo
java -jar $SRC_DIR/$BPMS $SUPPORT_DIR/installation-bpms -variablefile $SUPPORT_DIR/installation-bpms.variables

if [ $? -ne 0 ]; then
echo
echo Error occurred during $PRODUCT installation!
exit
fi
Expand Down
6 changes: 4 additions & 2 deletions installs/README
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
Download the following from the JBoss Customer Portal

* BPM Suite installer (jboss-bpms-installer-6.0.3.GA-redhat-1.jar)
* EAP installer (jboss-eap-6.4.0.CR2-installer.jar)
* BPM Suite installer (jboss-bpmsuite-6.1.0.GA-installer.jar)

and copy to this directory for the init.sh script to work.

Ensure that this file is executable by running:

chmod +x <path-to-project>/installs/jboss-bpms-installer-6.0.3.GA-redhat-1.jar
chmod +x <path-to-project>/installs/jboss-eap-6.4.0.CR2-installer.jar
chmod +x <path-to-project>/installs/jboss-bpmsuite-6.1.0.GA-installer.jar

2 changes: 1 addition & 1 deletion support/application-roles.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
#
# * "manager" only be the dashboards
#
erics=analyst,admin,manager,user
erics=analyst,admin,manager,user,kie-server
28 changes: 10 additions & 18 deletions support/installation-bpms
Original file line number Diff line number Diff line change
@@ -1,33 +1,28 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<AutomatedInstallation langpack="eng">
<productName>BPMS</productName>
<productVersion>6.1.0</productVersion>
<com.izforge.izpack.panels.HTMLLicencePanel id="HTMLLicencePanel"/>
<com.izforge.izpack.panels.TargetPanel id="DirectoryPanel">
<installpath>target</installpath>
<installpath>target/jboss-eap-6.4</installpath>
</com.izforge.izpack.panels.TargetPanel>
<com.izforge.izpack.panels.UserInputPanel id="security">
<userInput>
<entry autoPrompt="true" key="adminPassword"/>
<entry key="adminUser" value="erics"/>
<entry key="addUser" value="false"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="bpmsUser">
<userInput>
<entry key="bpms.user" value="erics"/>
<entry autoPrompt="true" key="bpms.password"/>
<entry key="bpms.user.additional.roles" value="kie-server"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="JavaSecurityManager">
<userInput>
<entry key="jvm.security.enabled" value="false"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="ClientKeystores">
<userInput>
<entry key="generated.keystores.client.number" value="1"/>
<entry autoPrompt="true" key="generated.keystores.server.storepass"/>
<entry autoPrompt="true" key="generated.keystores.client.storepass"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="pureIPv6">
<userInput>
<entry key="pureIPv6" value="false"/>
Expand All @@ -40,16 +35,13 @@
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="vaultsecurity"/>
<com.izforge.izpack.panels.UserInputPanel id="vaultsecuritypreexisting"/>
<com.izforge.izpack.panels.UserInputPanel id="vaultsecurity.default">
<userInput>
<entry autoPrompt="true" key="vault.keystorepwd"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="sslsecurity"/>
<com.izforge.izpack.panels.UserInputPanel id="ldapsecurity"/>
<com.izforge.izpack.panels.UserInputPanel id="ldapsecurity2"/>
<com.izforge.izpack.panels.UserInputPanel id="securitydomain"/>
<com.izforge.izpack.panels.UserInputPanel id="ldapconnection"/>
<com.izforge.izpack.panels.UserInputPanel id="ldapmgmtconsole"/>
<com.izforge.izpack.panels.UserInputPanel id="ldapbusinesscentral"/>
<com.redhat.installer.asconfiguration.securitydomain.panel.SecurityDomainPanel id="securitydomain"/>
<com.izforge.izpack.panels.UserInputPanel id="jsssecuritydomain"/>
<com.izforge.izpack.panels.UserInputPanel id="ClientKeystores"/>
<com.izforge.izpack.panels.SummaryPanel id="SummaryPanel"/>
<com.izforge.izpack.panels.InstallPanel id="InstallPanel"/>
<com.izforge.izpack.panels.ProcessPanel id="ProcessPanel"/>
Expand Down
4 changes: 0 additions & 4 deletions support/installation-bpms.variables
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
adminPassword=bpmsuite1!
bpms.password=bpmsuite1!
generated.keystores.server.storepass=bpmsuite1!
generated.keystores.client.storepass=bpmsuite1!
vault.keystorepwd=bpmsuite1!
79 changes: 79 additions & 0 deletions support/installation-eap
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<AutomatedInstallation langpack="eng">
<productName>EAP</productName>
<productVersion>6.4.0</productVersion>
<com.izforge.izpack.panels.HTMLLicencePanel id="HTMLLicencePanel"/>
<com.izforge.izpack.panels.TargetPanel id="DirectoryPanel">
<installpath>target/jboss-eap-6.4</installpath>
</com.izforge.izpack.panels.TargetPanel>
<com.izforge.izpack.panels.TreePacksPanel id="TreePacksPanel">
<pack index="0" name="Red Hat JBoss Enterprise Application Platform" selected="true"/>
<pack index="1" name="AppClient" selected="true"/>
<pack index="2" name="Bin" selected="true"/>
<pack index="3" name="Bundles" selected="true"/>
<pack index="4" name="XMLs and XSDs" selected="true"/>
<pack index="5" name="Domain" selected="true"/>
<pack index="6" name="Domain Shell Scripts" selected="true"/>
<pack index="7" name="Modules" selected="true"/>
<pack index="8" name="Standalone" selected="true"/>
<pack index="9" name="Standalone Shell Scripts" selected="true"/>
<pack index="10" name="Welcome Content" selected="true"/>
<pack index="11" name="Quickstarts" selected="false"/>
</com.izforge.izpack.panels.TreePacksPanel>
<com.izforge.izpack.panels.UserInputPanel id="CreateUserPanel">
<userInput>
<entry key="adminUser" value="admin"/>
<entry autoPrompt="true" key="adminPassword"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="QuickStartsPanel">
<userInput>
<entry key="installQuickStarts" value="false"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.redhat.installer.installation.maven.panel.MavenRepoCheckPanel id="MavenRepoCheckPanel"/>
<com.izforge.izpack.panels.UserInputPanel id="SocketBindingPanel">
<userInput>
<entry key="portDecision" value="false"/>
<entry key="pureIPv6" value="false"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="SocketStandalonePanel"/>
<com.izforge.izpack.panels.UserInputPanel id="SocketHaStandalonePanel"/>
<com.izforge.izpack.panels.UserInputPanel id="SocketFullStandalonePanel"/>
<com.izforge.izpack.panels.UserInputPanel id="SocketFullHaStandalonePanel"/>
<com.izforge.izpack.panels.UserInputPanel id="HostDomainPanel"/>
<com.izforge.izpack.panels.UserInputPanel id="SocketDomainPanel"/>
<com.izforge.izpack.panels.UserInputPanel id="SocketHaDomainPanel"/>
<com.izforge.izpack.panels.UserInputPanel id="SocketFullDomainPanel"/>
<com.izforge.izpack.panels.UserInputPanel id="SocketFullHaDomainPanel"/>
<com.izforge.izpack.panels.UserInputPanel id="ServerLaunchPanel">
<userInput>
<entry key="serverStartup" value="none"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="LoggingOptionsPanel">
<userInput>
<entry key="configureLog" value="false"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="postinstall">
<userInput>
<entry key="postinstallServer" value="false"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="vaultsecurity"/>
<com.izforge.izpack.panels.UserInputPanel id="sslsecurity"/>
<com.izforge.izpack.panels.UserInputPanel id="ldapsecurity"/>
<com.izforge.izpack.panels.UserInputPanel id="ldapsecurity2"/>
<com.izforge.izpack.panels.UserInputPanel id="infinispan"/>
<com.redhat.installer.asconfiguration.securitydomain.panel.SecurityDomainPanel id="Security Domain Panel"/>
<com.izforge.izpack.panels.UserInputPanel id="jsssecuritydomain"/>
<com.redhat.installer.asconfiguration.jdbc.panel.JBossJDBCDriverSetupPanel id="JDBC Setup Panel"/>
<com.redhat.installer.asconfiguration.datasource.panel.JBossDatasourceConfigPanel id="Datasource Configuration Panel"/>
<com.izforge.izpack.panels.SummaryPanel id="SummaryPanel"/>
<com.izforge.izpack.panels.InstallPanel id="InstallPanel"/>
<com.izforge.izpack.panels.ProcessPanel id="ProcessPanel"/>
<com.izforge.izpack.panels.ShortcutPanel id="ShortcutPanel"/>
<com.izforge.izpack.panels.FinishPanel id="FinishPanel"/>
</AutomatedInstallation>
1 change: 1 addition & 0 deletions support/installation-eap.variables
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
adminPassword=jbosseap1!
Loading

0 comments on commit 50f1f35

Please sign in to comment.