IBM Was env Configuration
Env configuration guide
1. Below introduction is base on eclipse 4.3, apache-maven-3.0.4 and websphere-8.5.10
2. Install eclipse on version 4.3 and make sure it was installed below plugin
a. install github in Eclipse marketplace
b. install maven in Eclipse marketplace for appropriate version
c. install websphere 8.5 in your Eclipse
3. install maven client in your local
a. look for settings.xml under the path “/ apache-maven-3.0.4/conf” and then change the servers as below:
<servers>
<server>
<id>dsnexus</id>
<username>43904179</username> <password>{rA74W1s3iwsH11tiwQ4PcUX2HUKVjk14eKF6OUVtMIY=}</password>
</server>
<server>
<id>dsnexus-snapshots</id>
<username>43904179</username>
<password>{rA74W1s3iwsH11tiwQ4PcUX2HUKVjk14eKF6OUVtMIY=}</password>
</server>
<server>
<id>dsnexus-releases</id>
<username>43904179</username>
<password>{rA74W1s3iwsH11tiwQ4PcUX2HUKVjk14eKF6OUVtMIY=}</password>
</server>
</servers>
b. look for settings-security.xml in same directory and change the master for you master password as below:
<settingsSecurity>
<master>{rA74W1s3iwsH11tiwQ4PcUX2HUKVjk14eKF6OUVtMIY=}</master>
</settingsSecurity>
c. open the maven in eclipse and configuration the settings.xml


4. install git plugin in eclipse and get project from github
a. inportàproject from Git-> Clone URI

b. import the project as maven project or open git repositories and select a project import in working directory

c. update the maven projects

4. install websphere 8.5.10 in your local(please choice directory without the “Program Files”, otherwise it can’t access )
a. Start server if the application installed successful in your local
b. open the admin console and look for the Jdbc providers, the configuration as below

c. open the Data source and create new one, the configuration as below:

d. configuration time manager and work manager,



e. configuration the context of web access(please note and check the websphere root context )

f. config the Initial heap size and the Maximum heap size in the console of websphere after start the server.( http://127.0.0.1:9060/ibm/console/login.do)

五.Set configeration file :Setting.xml and settings-security.xml
1. copy apache-maven-3.0.4-bin.zip to you home folder and unzip
2. find and mark down path 'C:\swdtools\IBM\RAD8\runtimes\base_v7\java'
mark down path 'C:\Users\pdczn\apache-maven-3.0.4-bin'
e.g C:\Users\43706713\develop\apache-maven-3.0.4-bin
3. go to path 'C:\Users\pdczn\apache-maven-3.0.4-bin\bin', open mvn.bat file
find string JAVA_HOME, mark down 'set "JAVA_HOME=C:\swdtools\IBM\RAD8\runtimes\base_v7\java\"'
4. find M2_HOME ,replace it to 'C:\Users\pdczn\apache-maven-3.0.4-bin'
5. run 'PATH=%PATH%;C:\Users\pdczn\apache-maven-3.0.4-bin\bin' in cmd.exe . eg PATH=%PATH%;C:\Users\43706713\develop\apache-maven-3.0.4-bin\bin' in cmd.execd
run 'mvn -v' to confirm its version
6. run 'mkdir .m2'
go into .m2, run 'mkdir repository'
copy settings.xml, settings-security.xml to .m2 folder
7. run 'set "JAVA_HOME=C:\swdtools\IBM\RAD8\runtimes\base_v7\java"' in cmd.exe
run '"%JAVA_HOME%\bin\"keytool -import -trustcacerts -noprompt -alias hsbc_root_ca -file \\hbeu.adroot.hsbc\dfsroot\GB002\DS_BUILD\GBM\nexus_reorg\HSBC_Root_CA.crt -keystore "%JAVA_HOME%\jre\lib\security\cacerts" -storepass changeit' in cmd.exe
8. run 'mvn --encrypt-master-password "<password>"' in cmd.exe , mvn --encrypt-master-password Rsas2017
record its result, copy it to settings-security.xml
9. run 'mvn --encrypt-password <AD password>' in cmd.exe , mvn --encrypt-password Rsas2017
record its result, copy it to settings.xml, <servers>
set 'C:\Users\pdczn\.m2\repository' to <localRepository>

浙公网安备 33010602011771号