Linux Installation Steps
Linux Installation Steps
The following webinar describes the single server installation of CONNECT 2.2 on a Linux platform. The
install various snapshots of the terminal as well as highlights key points in the install.
Assumptions
You have acquired a machine that meets the Hardware Requirements defined in section 5.1 of the Linux
Full Binary System Installation and Configuration Manual
You have root privileges or can sudo on this machine
You have a CONNECT Community Portal
You have an understanding of UNIX commandsManuals
To install the CONNECT 2.2 Linux install youll need to download the following Installation and Configuration
Manual from the Connect Open Source website:
http://www.connectopensource.org/download/attachments/24182891/CONNECT_Linux_Release_2_2_Syste
m_Installation_and_Configuration_Full_Binary.pdf?version=1
This webinar is a supplement to the Installation Manual. The documentation has details this presentation
does not have.
Linux
Things to Remember
11/27/15
Linux
Step
Step
Initial Setup:
make folder and add user
11/27/15
Linux
[root@dnocc7201:~]#mkdir/nhin
[root@dnocc7201:~]#groupaddglassfish
[root@dnocc7201:~]#useraddgglassfishd/nhinglassfish
useradd:warning:thehomedirectoryalreadyexists.
Notcopyinganyfilefromskeldirectoryintoit.
[root@dnocc7201:~]#passwdglassfish
Changingpasswordforuserglassfish.
NewUNIXpassword:
BADPASSWORD:itisbasedonadictionaryword
RetypenewUNIXpassword:
passwd:allauthenticationtokensupdatedsuccessfully.
[root@dnocc7201:~]#chownglassfish:glassfish/nhin
Initial Setup:
make folder and add user
11/27/15
Linux
There
are 5 packages:
Linux
Download/Install: Java
Packages
Step
Step
11/27/15
6
Linux
[root@dnocc7201:~]#yumlocalinstall/nhin/java1.6.0*.rpm
Loadedplugins:rhnplugin,security
SettingupLocalPackageProcess
Examining/nhin/java1.6.0sun1.6.0.131jpp.1.el5.i586.rpm:1:java1.6.0sun1.6.0.131jpp.1.el5.i586
Marking/nhin/java1.6.0sun1.6.0.131jpp.1.el5.i586.rpmtobeinstalled
Examining/nhin/java1.6.0sundevel1.6.0.131jpp.1.el5.i586.rpm:1:java1.6.0sundevel1.6.0.131jpp.1.el5.i586
Marking/nhin/java1.6.0sundevel1.6.0.131jpp.1.el5.i586.rpmtobeinstalled
ResolvingDependencies
>Runningtransactioncheck
>Packagejava1.6.0sun.i5861:1.6.0.131jpp.1.el5settobeupdated
>ProcessingDependency:jpackageutils>=1.5.38forpackage:java1.6.0sun
>Packagejava1.6.0sundevel.i5861:1.6.0.131jpp.1.el5settobeupdated
>Runningtransactioncheck
>Packagejpackageutils.noarch0:1.7.31jpp.2.el5settobeupdated
>FinishedDependencyResolution
DependenciesResolved
==================================================================================================================
PackageArchVersionRepositorySize
==================================================================================================================
Installing:
java1.6.0suni5861:1.6.0.131jpp.1.el5/java1.6.0sun1.6.0.131jpp.1.el5.i586102M
java1.6.0sundeveli5861:1.6.0.131jpp.1.el5/java1.6.0sundevel1.6.0.131jpp.1.el5.i58652M
Installingfordependencies:
jpackageutilsnoarch1.7.31jpp.2.el5rheli386server561k
TransactionSummary
==================================================================================================================
Install3Package(s)
11/27/15
Linux
Totalsize:154M
Totaldownloadsize:61k
Isthisok[y/N]:y
DownloadingPackages:
jpackageutils1.7.31jpp.2.el5.noarch.rpm|61kB00:01
Runningrpm_check_debug
RunningTransactionTest
FinishedTransactionTest
TransactionTestSucceeded
RunningTransaction
Installing:jpackageutils1/3
Installing:java1.6.0sun2/3
Installing:java1.6.0sundevel3/3
Installed:
java1.6.0sun.i5861:1.6.0.131jpp.1.el5java1.6.0sundevel.i5861:1.6.0.131jpp.1.el5
DependencyInstalled:
jpackageutils.noarch0:1.7.31jpp.2.el5
Complete!
Linux
Step
Step
Step
File
Step
Step
Installation of GlassFishESB
11/27/15
9
Linux
[jsanch07@sustd3540:~/nhin/linuxinstall]$sshglassfish@dnocc7201
glassfish@dnocc7201'spassword:
Lastlogin:WedNov316:37:282009fromsustd3540.gs.myharris.net
[glassfish@dnocc7201:~]$tarxzfconnectthirdpartytools2.2.tar.gz
[glassfish@dnocc7201:~]$su
Password:
[root@dnocc7201:~]#cp/nhin/connectthirdpartytools/nhinprofile.sh/etc/profile.d/
[root@dnocc7201:~]#chmod755/etc/profile.d/nhinprofile.sh
[jsanch07@sustd3540:~/nhin/linuxinstall]$sshglassfish@dnocc7201
glassfish@dnocc7201'spassword:
[glassfish@dnocc7201:~]$connectthirdpartytools/glassfishesbv2.1fullinstaller
linux.shsilentstate\
>connectthirdpartytools/glassfishstate.xml
[glassfish@dnocc7201:~]$su
Password:
[root@dnocc7201:~]#cp/nhin/connectthirdpartytools/glassfishinit
/etc/init.d/glassfish
[root@dnocc7201:~]#chkconfigaddglassfish
[root@dnocc7201:~]#chkconfiglevel345glassfishon
Installation of GlassFishESB
11/27/15
Linux
10
11/27/15
11
Linux
11
[glassfish@dnocc7201:~]$javajarconnectthirdpartytools/metro1_4.jarconsole
COMMONDEVELOPMENTANDDISTRIBUTIONLICENSE(CDDL)Version1.0
1.Definitions.
1.1.Contributor.meanseachindividualorentitythatcreatesorcontributestothecreationofModifications.
1.2.ContributorVersion.meansthecombinationoftheOriginalSoftware,priorModificationsusedbyaContributor
(ifany),andtheModificationsmadebythatparticularContributor.
1.3.CoveredSoftware.means(a)theOriginalSoftware,or(b)Modifications,or(c)thecombinationoffiles
containingOriginalSoftwarewithfilescontainingModifications,ineachcaseincludingportionsthereof.
1.4.Executable.meanstheCoveredSoftwareinanyformotherthanSourceCode.
1.5.InitialDeveloper.meanstheindividualorentitythatfirstmakesOriginalSoftwareavailableunderthis
License.. . .
Truncated the output for this webinar. The output includes:
- COMMON DEVELOPMENT AND DISTRIBUTION LICENSE
- NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
- TERMS AND CONDITIONS FOR COPYING
- DISTRIBUTION AND MODIFICATION
- How to Apply These Terms to your New Programs,
- "CLASSPATH" EXCEPTION TO THE GPL VERSION 2
TO THE GPL VERSION 2
Install Metro
11/27/15
Linux
12
AcceptorDecline?[A,D,a,d]a
metro
metro/bin
metro/docs
metro/docs/style
metro/for_v3
metro/lib
metro/samples
Accept by entering a or A
metro/samples/annotations
metro/samples/annotations/etc
metro/samples/annotations/src
metro/samples/annotations/src/annotations
metro/samples/annotations/src/annotations/client
metro/samples/annotations/src/annotations/server
metro/samples/async
metro/samples/async/etc
metro/samples/async/src
metro/samples/async/src/async
metro/samples/async/src/async/client
metro/samples/async/src/async/server
metro/samples/asyncprovider
metro/samples/asyncprovider/etc
metro/samples/asyncprovider/src
metro/samples/asyncprovider/src/asyncprovider
metro/samples/asyncprovider/src/asyncprovider/client
...
Shortened for space purposes. The actual output is a list of items installed in /metro
Install Metro
11/27/15
Linux
13
...
metro/samples/xmlbind_datasource/src/xmlbind_datasource/client/DispatchImage.java
metro/samples/xmlbind_datasource/src/xmlbind_datasource/server/ImageImpl.java
installationcomplete
[glassfish@dnocc7201:~]$cdmetro
[glassfish@dnocc7201:~/metro]$antfmetroonglassfish.xmlinstall
Buildfile:metroonglassfish.xml
gfv3checkpoint:
init:
[mkdir]Createddir:/nhin/GlassFishESB/glassfish/.wsit1.4
[copy]Copying3filesto/nhin/GlassFishESB/glassfish/.wsit1.4
install:
[echo]InstallingMetro1.4FCSon/nhin/GlassFishESB/glassfish...
[copy]Copying2filesto/nhin/GlassFishESB/glassfish/lib
[copy]Copying1fileto/nhin/GlassFishESB/glassfish/lib/endorsed
gfv3checkpoint:
installapi:
[copy]Copying1fileto/usr/lib/jvm/java1.6.0sun1.6.0.13/jre/lib/endorsed
BUILDFAILED
/nhin/metro/metroonglassfish.xml:132:Thefollowingerroroccurredwhileexecutingthisline:
/nhin/metro/metroonglassfish.xml:139:Failedtocopy/nhin/metro/lib/webservicesapi.jarto/usr/lib/jvm/java1.6.0sun
1.6.0.13/jre/lib/endorsed/webservicesapi.jarduetojava.io.FileNotFoundException/usr/lib/jvm/java1.6.0sun
1.6.0.13/jre/lib/endorsed/webservicesapi.jar(Permissiondenied)andIcouldn'tdeletethecorrupt/usr/lib/jvm/java1.6.0sun
1.6.0.13/jre/lib/endorsed/webservicesapi.jar
Install Metro
11/27/15
Linux
14
Totaltime:1second
[glassfish@dnocc7201:~/metro]$su
Password:
[root@dnocc7201:~]#cd/nhin/metro
[root@dnocc7201:/nhin/metro]#antfmetroonglassfish.xmlinstallapi
Buildfile:metroonglassfish.xml
gfv3checkpoint:
installapi:
[copy]Copying1fileto/usr/lib/jvm/java1.6.0sun1.6.0.13/jre/lib/endorsed
BUILDSUCCESSFUL
Totaltime:0seconds
Install Metro
11/27/15
Linux
15
11/27/15
16
Linux
16
[root@dnocc7201:/nhin/metro]#exit
logout
[glassfish@dnocc7201:~/metro]$cd/nhin
[glassfish@dnocc7201:~]$tarxzfconnectglassfishlibsbin2.2.tar.gz
[glassfish@dnocc7201:~]$cpconnectglassfishlibs/*$AS_HOME/lib
Linux
17
Step
Step
Step
18
Linux
18
[jsanch07@sustd3540:~/nhin/linuxinstall]$sshglassfish@dnocc7201
glassfish@dnocc7201'spassword:
Lastlogin:TueNov316:52:072009fromsustd3540.gs.myharris.net
[glassfish@dnocc7201:~]$mkdircerts
[glassfish@dnocc7201:~]$cdcerts
[glassfish@dnocc7201:~/certs]$keytoolgenkeypairkeyalgRSAkeysize2048keystoregateway.jks\
>validity365aliasgatewaydname\
"[email protected],cn=linuxinstall.gcsd.harris.com,ou=exchangeservices,o=HarrisCorp,
l=Melbourne,s=Florida,c=US"
Enterkeystorepassword:
Reenternewpassword:
Enterkeypasswordfor<gateway>
(RETURNifsameaskeystorepassword):
uest.csr
Enterkeystorepassword:
[glassfish@dnocc7201:~]$keytoolcertreqaliasgatewaysigalgSHA1withRSAkeystoregateway.jks
filerequest.csr
Enterkeystorepassword:
Linux
19
Step
Step
11/27/15
20
Linux
20
Extensions:
#1:ObjectId:2.5.29.14Criticality=false
SubjectKeyIdentifier[
KeyIdentifier[
0000:2763BD29BEF1887C350F8E194DDB2CDF'c.)....5...M.,.
0010:C6293A44.):D
]
]
#2:ObjectId:2.5.29.19Criticality=false
BasicConstraints:[
CA:true
PathLen:2147483647
]
#3:ObjectId:2.5.29.35Criticality=false
AuthorityKeyIdentifier[
KeyIdentifier[
0000:2763BD29BEF1887C350F8E194DDB2CDF'c.)....5...M.,.
0010:C6293A44.):D
]
11/27/15
Linux
21
[[email protected],CN=JustinSanchez,OU=ExchangeServices,O=HarrisCorporation,ST=Florida,
C=US]
SerialNumber:[db52e7f1260cffdc]
]
Trustthiscertificate?[no]:yes
<- Answer yes
Certificatewasaddedtokeystore
[glassfish@dnocc7201:~/certs]$keytoolimportaliasgatewayfileresponse.armkeystoregateway.jks
Enterkeystorepassword:
Certificatereplywasinstalledinkeystore
[glassfish@dnocc7201:~/certs]$cpgateway.jks/nhin/GlassFishESB/glassfish/domains/domain1/config/keystore.jks
store\ish@dnocc7201:~/certs]$keytoolimporttrustcacertsaliasjustin_cafile/nhin/certs/justin_ca.armkey
>$AS_HOME/domains/domain1/config/cacerts.jks
Enterkeystorepassword:
Owner:[email protected],CN=JustinSanchez,OU=ExchangeServices,O=HarrisCorporation,
ST=Florida,C=US
Issuer:[email protected],CN=JustinSanchez,OU=ExchangeServices,O=HarrisCorporation,
ST=Florida,C=US
Serialnumber:db52e7f1260cffdc
Validfrom:TueOct0616:16:37EDT2009until:FriOct0516:16:37EDT2012
Certificatefingerprints:
MD5:45:DE:0C:56:59:BE:BF:F9:DD:C3:5A:BC:74:CC:B2:AB
SHA1:17:F4:0C:62:72:52:71:97:3B:DF:56:A5:89:B4:88:94:AA:AD:6B:EB
Signaturealgorithmname:SHA1withRSA
Version:3
Extensions:
#1:ObjectId:2.5.29.14Criticality=false
SubjectKeyIdentifier[
KeyIdentifier[
0000:2763BD29BEF1887C350F8E194DDB2CDF'c.)....5...M.,.
0010:C6293A44.):D
]
]
11/27/15
Linux
22
#2:ObjectId:2.5.29.19Criticality=false
BasicConstraints:[
CA:true
PathLen:2147483647
]
#3:ObjectId:2.5.29.35Criticality=false
AuthorityKeyIdentifier[
KeyIdentifier[
0000:2763BD29BEF1887C350F8E194DDB2CDF'c.)....5...M.,.
0010:C6293A44.):D
]
[[email protected],CN=JustinSanchez,OU=ExchangeServices,O=HarrisCorporation,
ST=Florida,C=US]
SerialNumber:[db52e7f1260cffdc]
]
Trustthiscertificate?[no]:yes
Certificatewasaddedtokeystore
11/27/15
Linux
23
Configure Glassfish
11/27/15
24
Linux
24
Configure Glassfish
11/27/15
25
Linux
25
Step
Step
* If you are creating a production installation, you will need to obtain an OID.
Instructions for this are in Appendix A.
Step
Linux
26
Linux
27
11/27/15
28
Linux
28
[jsanch07@sustd3540:~/nhin/linuxinstall]$sshglassfish@dnocc7201
glassfish@dnocc7201'spassword:
Lastlogin:TueNov317:59:362009fromsustd3540.gs.myharris.net
[glassfish@dnocc7201:~]$su
Password:
[root@dnocc7201:~]#yuminstallmysqlmysqlserver
Loadedplugins:rhnplugin,security
SettingupInstallProcess
ResolvingDependencies
>Runningtransactioncheck
>Packagemysql.i3860:5.0.773.el5settobeupdated
>ProcessingDependency:perl(DBI)forpackage:mysql
>Packagemysqlserver.i3860:5.0.773.el5settobeupdated
>ProcessingDependency:perlDBDMySQLforpackage:mysqlserver
>Runningtransactioncheck
>PackageperlDBDMySQL.i3860:3.00072.el5settobeupdated
>PackageperlDBI.i3860:1.522.el5settobeupdated
FinishedDependencyResolution
DependenciesResolved
==================================================================================================================
PackageArchVersionRepositorySize
==================================================================================================================
Installing:
mysqli3865.0.773.el5rheli386server54.8M
mysqlserveri3865.0.773.el5rheli386server59.8M
Installingfordependencies:
perlDBDMySQLi3863.00072.el5rheli386server5147k
perlDBIi3861.522.el5rheli386server5605k
Linux
29
TransactionSummary
==================================================================================================================
Install4Package(s)
Update0Package(s)
Remove0Package(s)
Totaldownloadsize:15M
Isthisok[y/N]:y
DownloadingPackages:
(1/4):perlDBDMySQL3.00072.el5.i386.rpm|147kB00:01
(2/4):perlDBI1.522.el5.i386.rpm|605kB00:00
(3/4):mysql5.0.773.el5.i386.rpm|4.8MB00:02
(4/4):mysqlserver5.0.773.el5.i386.rpm|9.8MB00:05
Total512kB/s|15MB00:30
Runningrpm_check_debug
RunningTransactionTest
FinishedTransactionTest
TransactionTestSucceeded
RunningTransaction
Installing:perlDBI1/4
Installing:mysql2/4
Installing:perlDBDMySQL3/4
Installing:mysqlserver4/4
Installed:
mysql.i3860:5.0.773.el5mysqlserver.i3860:5.0.773.el5
DependencyInstalled:
perlDBDMySQL.i3860:3.00072.el5perlDBI.i3860:1.522.el5
Complete!
Linux
30
[root@dnocc7201:~]#chkconfiglevel345mysqldon
[root@dnocc7201:~]#servicemysqldstart
InitializingMySQLdatabase:InstallingMySQLsystemtables...
09110318:32:24[Warning]option'max_join_size':unsignedvalue18446744073709551615adjustedto4294967295
09110318:32:24[Warning]option'max_join_size':unsignedvalue18446744073709551615adjustedto4294967295
OK
Fillinghelptables...
09110318:32:24[Warning]option'max_join_size':unsignedvalue18446744073709551615adjustedto4294967295
09110318:32:24[Warning]option'max_join_size':unsignedvalue18446744073709551615adjustedto4294967295
OK
Tostartmysqldatboottimeyouhavetocopy
supportfiles/mysql.servertotherightplaceforyoursystem
PLEASEREMEMBERTOSETAPASSWORDFORTHEMySQLrootUSER!
Todoso,starttheserver,thenissuethefollowingcommands:
/usr/bin/mysqladminurootpassword'newpassword'
/usr/bin/mysqladminuroothdnocc7201.mtse.devpassword'newpassword'
Alternativelyyoucanrun:
/usr/bin/mysql_secure_installation
whichwillalsogiveyoutheoptionofremovingthetest
databasesandanonymoususercreatedbydefault.Thisis
stronglyrecommendedforproductionservers.
Seethemanualformoreinstructions.
Linux
31
YoucanstarttheMySQLdaemonwith:
cd/usr;/usr/bin/mysqld_safe&
YoucantesttheMySQLdaemonwithmysqltestrun.pl
cdmysqltest;perlmysqltestrun.pl
Pleasereportanyproblemswiththe/usr/bin/mysqlbugscript!
ThelatestinformationaboutMySQLisavailableonthewebat
http://www.mysql.com
SupportMySQLbybuyingsupport/licensesathttp://shop.mysql.com
[OK]
StartingMySQL:[OK]
[root@dnocc7201:~]#exit
Linux
32
11/27/15
33
Linux
33
[glassfish@dnocc7201:~]$mysqladminurootpassword'NHIEGateway'
[glassfish@dnocc7201:~]$mysqlurootpNHIEGateway
WelcometotheMySQLmonitor.Commandsendwith;or\g.
YourMySQLconnectionidis3
Serverversion:5.0.77Sourcedistribution
Type'help;'or'\h'forhelp.Type'\c'toclearthebuffer.
mysql>DELETEFROMmysql.userWHEREuser="";
QueryOK,2rowsaffected(0.00sec)
mysql>exit
Bye
[glassfish@dnocc7201:~]$mysqlurootpNHIEGateway<connectthirdpartytools/nhincdb.sql
[glassfish@dnocc7201:~]$exit
logout
Connectiontodnocc7201closed.
Linux
34
Deploy CONNECT
Gateway
Step
Step
Step
Step
Step
11/27/15
35
Linux
35
[jsanch07@sustd3540:~/nhin/linuxinstall]$sshglassfish@dnocc7201
glassfish@dnocc7201'spassword:
Lastlogin:WedNov410:53:072009fromsustd3540.gs.myharris.net
[glassfish@dnocc7201:~]$tarxzfconnectinterfaces2.2.tar.gz
[glassfish@dnocc7201:~]$tarxzfconnectgatewaybin2.2.tar.gz
[glassfish@dnocc7201:~]$cpconnectgateway/*Lib.jar$AS_HOME/lib
[glassfish@dnocc7201:~]$asadminstartdomaindomain1
StartingDomaindomain1,pleasewait.
DefaultLoglocationis/nhin/GlassFishESB/glassfish/domains/domain1/logs/server.log.
Redirectingoutputto/nhin/GlassFishESB/glassfish/domains/domain1/logs/server.log
Domaindomain1isreadytoreceiveclientrequests.Additionalservicesarebeingstartedinbackground.
Domain[domain1]isrunning[SunGlassFishEnterpriseServerv2.1(9.1.1)(buildb60efcs)]withitsconfiguration
andlogsat:[/nhin/GlassFishESB/glassfish/domains].
AdminConsoleisavailableat[http://localhost:4848].
Usethesameport[4848]for"asadmin"commands.
UserwebapplicationsareavailableattheseURLs:
[http://localhost:8080https://localhost:8181].
Followingwebcontextsareavailable:
[/web1/__wstxservices].
StandardJMXClients(likeJConsole)canconnecttoJMXServiceURL:
[service:jmx:rmi:///jndi/rmi://dnocc7201.mtse.dev:8686/jmxrmi]fordomainmanagementpurposes.
Domainlistensonatleastfollowingportsforconnections:
[8080818148483100382039208686].
Domaindoesnotsupportapplicationserverclustersandotherstandaloneinstances.
Linux
36
[glassfish@dnocc7201:~]$connectgateway/modules.shdeploy
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
Commanddeployexecutedsuccessfully.
[glassfish@dnocc7201:~]$exit
logout
Connectiontodnocc7201closed.
[jsanch07@sustd3540:~/nhin/linuxinstall]$exit
Linux
37
11/27/15
38
Linux
38
Setup
Load
Setup
Edit
InternalSelfTest.properties
Run
Linux
39
[jsanch07@sustd3540:~/nhin/linuxinstall]$sshglassfish@dnocc7201
glassfish@dnocc7201'spassword:
Lastlogin:WedNov414:49:432009fromsustd3540.gs.myharris.net
[glassfish@dnocc7201:~]$unzipNHIN_CONNECT_Release_2_2_A020_Demonstration_Scripts_Internal_Self_Test_UNIX_092709.zip
Archive:NHIN_CONNECT_Release_2_2_A020_Demonstration_Scripts_Internal_Self_Test_UNIX_092709.zip
SelfTest\InternalSelfTest\document.sql:mismatching"local"filename(SelfTest/InternalSelfTest/document.sql),
continuingwith"central"filenameversion
warning:NHIN_CONNECT_Release_2_2_A020_Demonstration_Scripts_Internal_Self_Test_UNIX_092709.zipappearstousebackslashesaspath
separators
inflating:SelfTest/InternalSelfTest/document.sql
SelfTest\InternalSelfTest\mpi.xml:mismatching"local"filename(SelfTest/InternalSelfTest/mpi.xml),
continuingwith"central"filenameversion
inflating:SelfTest/InternalSelfTest/mpi.xml
SelfTest\InternalSelfTest\mysqlconnectorjava5.0.8bin.jar:mismatching"local"filename(SelfTest/InternalSelfTest/mysqlconnectorjava
5.0.8bin.jar),
continuingwith"central"filenameversion
inflating:SelfTest/InternalSelfTest/mysqlconnectorjava5.0.8bin.jar
SelfTest\InternalSelfTest\reidentification.xml:mismatching"local"filename(SelfTest/InternalSelfTest/reidentification.xml),
continuingwith"central"filenameversion
inflating:SelfTest/InternalSelfTest/reidentification.xml
SelfTest\InternalSelfTest\InternalSelfTest.properties:mismatching"local"filename
(SelfTest/InternalSelfTest/InternalSelfTest.properties),
continuingwith"central"filenameversion
inflating:SelfTest/InternalSelfTest/InternalSelfTest.properties
SelfTest\InternalSelfTest\InternalSelfTestsoapuiproject.xml:mismatching"local"filename(SelfTest/InternalSelfTest/InternalSelfTest
soapuiproject.xml),
continuingwith"central"filenameversion
inflating:SelfTest/InternalSelfTest/InternalSelfTestsoapuiproject.xml
[glassfish@dnocc7201:~]$unzipconnectthirdpartytools/soapui2.5.1bin.zip
Archive:soapui2.5.1bin.zip
creating:soapui2.5.1/
creating:soapui2.5.1/bin/
...
Linux
40
...
inflating:soapui2.5.1/Tutorials/WSDLWADL/NewsSearchResponse.xsd
inflating:soapui2.5.1/Tutorials/WSDLWADL/sampleservice.wsdl
inflating:soapui2.5.1/Tutorials/WSDLWADL/YahooSearch.wadl
[glassfish@dnocc7201:~]$cpSelfTest/InternalSelfTest/mysqlconnectorjava5.0.8bin.jarsoapui2.5.1/bin/ext/
[glassfish@dnocc7201:~]$cpSelfTest/InternalSelfTest/mpi.xmlGlassFishESB/glassfish/domains/domain1/config/
[glassfish@dnocc7201:~]$cpSelfTest/InternalSelfTest/reidentification.xmlGlassFishESB/glassfish/domains/domain1/config/nhin/
[glassfish@dnocc7201:~]$mysqlurootpNHIEGateway
WelcometotheMySQLmonitor.Commandsendwith;or\g.
YourMySQLconnectionidis263
Serverversion:5.0.77Sourcedistribution
Type'help;'or'\h'forhelp.Type'\c'toclearthebuffer.
mysql>GRANTALLPRIVILEGESON*.*TO'nhincuser'@'localhost'IDENTIFIEDBY'nhincpass'WITHGRANTOPTION;
QueryOK,0rowsaffected(0.00sec)
mysql>GRANTALLPRIVILEGESON*.*TO'nhincuser'@'dnocc7201'IDENTIFIEDBY'nhincpass'WITHGRANTOPTION;
QueryOK,0rowsaffected(0.00sec)
mysql>FLUSHPRIVILEGES;
QueryOK,0rowsaffected(0.00sec)
mysql>exit
Bye
Linux
41
[glassfish@dnocc7201:~]$mysqlurootpNHIEGatewaydocrepository<SelfTest/InternalSelfTest/document.sql
[glassfish@dnocc7201:~]$lns/nhin\$HOME
[glassfish@dnocc7201:~]$perlpie's/<GatewayIP>/dnocc7201/;s/=1\.1\r?$/=DNOCC7201/'
SelfTest/InternalSelfTest/InternalSelfTest.properties
[glassfish@dnocc7201:~]$shsoapui2.5.1/bin/testrunner.shrSelfTest/InternalSelfTest/InternalSelfTestsoapuiproject.xml
================================
=
=SOAPUI_HOME=/nhin/soapui2.5.1
=
================================
soapUI2.5.1TestCaseRunner
15:28:12,824INFO[SoapUI]Added[file:/nhin/soapui2.5.1/bin/ext/mysqlconnectorjava5.0.8bin.jar]toclasspath
15:28:13,758INFO[DefaultSoapUICore]initializedsoapuisettingsfrom[/nhin/soapui2.5.1/soapuisettings.xml]
15:28:15,793INFO[WsdlProject]Loadedprojectfrom[file:/nhin/SelfTest/InternalSelfTest/InternalSelfTestsoapuiproject.xml]
15:28:18,116INFO[SoapUITestCaseRunner]RunningsoapUItestsinproject[InternalSelfTest]
...
15:29:49,170INFO[SoapUITestCaseRunner]FinishedrunningsoapUItestcase[Revoke],timetaken:12605ms,status:FINISHED
15:29:49,171INFO[SoapUITestCaseRunner]soapUIsuite[InternalSelfTestTestSuite]finishedin90952ms
SoapUI2.5.1TestCaseRunnerSummary
TimeTaken:91053ms
TotalTestSuites:1
TotalTestCases:9(0failed)
TotalTestSteps:59
TotalRequestAssertions:30
TotalFailedAssertions:0
TotalExportedResults:0
[glassfish@dnocc7201:~]$exit
logout
Connectiontodnocc7201closed.
11/27/15
Linux
42
Questions?
Thank you for joining.
11/27/15
Linux
43