Data Import and Export
Data Import and Export
Contents
1 Introduction.................................................................................................................................3
2 Data Import from MMS into CO...................................................................................................3
2.1 Configuring data import on CO machine.................................................................................3
2.1.1 Configure ‘dataimport’ folder supplied by Infodart.........................................................3
2.1.2 Configure Back Office profile on Websphere...................................................................7
2.1.3 Configuring ‘dataimport’ to connect to stage1, stage2, BO and CO databases on
Remote machine.................................................................................................................................7
2.1.4 Configure Central Office Profile on Websphere...............................................................9
2.2 Create Stores in Central Office and Back Office.......................................................................9
2.3 Running Interfaces...................................................................................................................9
2.3.1 Pre-requisites...................................................................................................................9
2.3.2 Build Jars on CO using POLL files from MMS..................................................................10
3 Exporting Data from CO to MMS...............................................................................................14
3.1 Executing StoresSales.bat to create T* files...........................................................................14
4 Export data from Central Office to Back Office..........................................................................15
4.1 Export Promotions from CO to BO.........................................................................................15
4.2 Export GV from CO to BO.......................................................................................................16
4.3 Export Parameters from CO to BO.........................................................................................16
5 Export data from Back Office to POS.........................................................................................21
5.1 Export Parameters from BO to POS.......................................................................................21
5.1.1 Configuring POS Client...................................................................................................21
5.1.2 Configuring POS Server..................................................................................................22
6 Export data from POS to CO and BO..........................................................................................26
6.1 Export Sales Transactions from POS to BO & CO...................................................................26
6.1.1 Check POS Log Queue on BO Server..............................................................................26
6.1.2 Check POS Log Queue on CO Server..............................................................................26
6.1.3 Configuring POS Client...................................................................................................26
6.1.4 Configuring POS Server..................................................................................................27
6.2 Export Journal from POS to CO..............................................................................................31
6.2.1 Check EJournalImport and EJournal Queue on BO Server.............................................31
6.2.2 Check EJournalImport Queue on CO Server...................................................................31
6.2.3 Configuring POS Client...................................................................................................32
1 Introduction
This guide covers various configurations required for
Importing data from MMS to Central Office
Exporting Data from Central Office to MMS
Exporting Data from Central Office to Back Office
Exporting Data from Back Office to POS
Exporting data from POS to Back Office and Central Office
1. Edit dataimport\build.xml
Edit the value of property <property name="java.home.dir" value="……." /> to point to
‘jdk1.5.0_15’ folder.
Edit the value of property <property name="config.dir" value="….." /> to point to
‘dataimport\config’ folder. Supply the complete path to the config folder.
2. Edit dataimport\db_config.xml
Edit the, URL, username, password of BODB in ‘storeDataSource’ bean.
db_config.xml
db_config.xml
db_config.xml
db_config.xml
3. Edit dataimport\hc-import.properties
Edit the URL, username and password of stage1db, stage2db, bodb and codb.
hc-import.properties
db.url=jdbc:db2://127.0.0.1:51000/stage1db
db.username=db2admin
db.password=db2admin@1
stage2db.url=jdbc:db2://localhost:51000/stage2db
stage2db.username=db2admin
stage2db.password=db2admin@1
bodb.url=jdbc:db2://localhost:51000/bodb
bodb.username=db2admin
bodb.password=db2admin@1
codb.url=jdbc:db2://localhost:51000/codb
codb.username=db2admin
hc_import.properties
runscriptpath=D:\\dataimport\\loadScripts
4. Edit dataimport\setenv.bat
Edit path to ANT_home to point to Ant 1.6
setenv.bat
set ANT_HOME=D:\hypercity_bo\thirdparty\apache-ant-1.6.2
setenv.bat
Note: On the SIT server I had to add the following line to setenv.bat
set CLASSPATH=%CLASSPATH%;E:\ dataimport;
otherwise the the application was unable to load ‘hc-import.properties’.
5. Edit dataimport\loadScripts\run-scripts.bat
Edit path to ANT_home to point to Ant 1.6
run-scripts.bat
run-scripts.bat
run-scripts.bat
run-scripts.bat
set DB_STG1=stage1db
set DB_STG1_USR=db2admin
set DB_STG1_USRPASS=db2admin@1
rem db2 connect to stage1db user db2admin using db2admin@1
6. Edit dataimport\loadScripts\run-scripts2.bat
Edit path to ANT_home to point to Ant 1.6
run-scripts2.bat
set ANT_HOME=D:\hypercity_bo\thirdparty\apache-ant-1.6.2
run-scripts2.bat
run-scripts2.bat
run-scripts2.bat
set DB_STG1=stage2db
set DB_STG1_USR=db2admin
set DB_STG1_USRPASS=db2admin@1
rem db2 connect to stage1db user db2admin using db2admin@1
Stage1CleanUp.db2
9. Edit dataimport\stage1_create_1.0.sql
Stage1CleanUp.db2
spring.properties
importdata.file.path=D:/dataimport/BO/jars
3. Edit path to the directory to which dimp bundles will be archived after processing
spring.properties
importdata.archive.path=D:/dataimport/BO/archive
4. Create a database alias named stage1db referring to stage1db, follow this procedure.
5. Now that the alias has been created, you can connect to the database alias using the CONNECT
command. For example:
db2 => connect to stage1db user db2admin using db2admin@1
6. Create another database alias named stage2db referring to stage2db, follow this procedure.
db2 "catalog database stage2db as stage2db at node remoteco authentication server"
db2 "terminate
7. Create database alias named codb referring to codb, follow this procedure.
db2 "catalog database codb as codb at node remoteco authentication server"
db2 "terminate
8. Create an instance alias named remotebo referring to db2admin instance on remotehost (o360-
prd-dbs2)
9. Create database alias named bodb referring to bodb, follow this procedure.
db2 "catalog database bodb as bodb at node remotebo authentication server"
db2 "terminate
run-scripts2.bat
set DB_STG1=stage1db
run-scripts2.bat
set DB_STG1=stage2db
spring.properties
importdata.file.path=D:/dataimport/CO/jars
3. Edit path to the directory to which dimp bundles will be archived after processing
spring.properties
importdata.archive.path=D:/dataimport/CO/archive
2.3.1 Pre-requisites
1. FTP server.
Correct JAVA_HOME in D:\dataimport\apache-ftpserver-1.0.0\bin\startserver.bat
Change folder to D:\dataimport\
Run setenv.bat
Change folder to D:\dataimport\apache-ftpserver-1.0.0\bin\
Run startserver.bat
Note:
1. FTP Client.
Change to D:\dataimport\
Run runFTP.bat
Before starting the FTP Client, check FTPClientConfig.properties.
dataimport\config\FTPClientConfig.properties on BO machine
#actual folder from which the poll files will be processed. need complete path lik
<Store ID of BO>
ftp.server.unprocessed.folder=U
ftp.server.current.folder=
2. Jar bat
Change to D:\dataimport\
Run runJar.bat
dataimport\hc-import.properties on CO machine
jars.directory=jars
bo.jars.directory=apache-ftpserver-1.0.0\\res\\home
The FTP client running on BO machine will pick up the jar from apache-ftpserver-
1.0.0\res\home. The FTP scheduler pings the FTP server at regular intervals for any JARs to be
imported into BO.
dataimport\config\FTPClientConfig.properties on BO machine
#actual folder from which the poll files will be processed. need complete path
ftp.server.unprocessed.folder=U
ftp.server.current.folder=
The FTP scheduler checks for store folders for stores defined in ftp.stores.list at location
apache-ftpserver-1.0.0\res\home on the FTP server. If jars found then these are downloaded to
ftp.client.destinationFolder, from where these are picked by the BO application server.
When the jar is consumed by CO and BO, styles are removed from the CO_STYL table in CODB and
BODB. Please note that only styles are deleted, the items with related styles are not deleted. The
items will have to be deleted using POLL files.
dataimport\build.xml
<target name="StoresSales">
………..
<arg value = '04241' />
…….
</target>
2. Create store folder (04241) under dataimport\target folder. The store folder must exist. Otherwise
the T* files will not be generated.
3. Run StoresSales.bat
co-pricing-import.properties
PricingImportBaseDir=apache-ftpserver-1.0.0/res/home/PricingImport
ItemGroupImportBaseDir=apache-ftpserver-1.0.0/res/home/ItemGroupImport
TargetDir=apache-ftpserver-1.0.0/res/home/
stores.list=04241,01290
3. Ensure that runFTP.bat is running on the BO machine. Refer to Section 2.3.1.3 - Processes on
Back Office machine for starting the FTP client. The FTP client pings the FTP server at regular
intervals for any JARs to be imported into BO.
dataimport\config\FTPClientConfig.properties on BO machine
#actual folder from which the poll files will be processed. need complete path lik
ftp.server.unprocessed.folder=U
ftp.server.current.folder=
#actual folder from which the poll files will be processed. need complete path lik
ftp.server.unprocessed.folder=U
ftp.server.current.folder=
Parameters are exported from CO to BO using queues. When a store is added to the enterprise
store hierarchy the queue for each store must be defined on the CO.
Example
DEFINE QLOCAL (STORE_04241.ERROR) USAGE (NORMAL) DEFPSIST(YES)
DEFINE QLOCAL (STORE_04241) USAGE (NORMAL) DEFPSIST(YES)
BOQNAME(STORE_04241.ERROR) BOTHRESH(1)
jndi.properties
#This is for WebSphere. Please uncomment these if you are using WebSphere and keep it
java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.provider.url=corbaloc:iiop:<BackOfficeServerName>:<BackOfficePortNo.>
(e.g. java.naming.provider.url=corbaloc:iiop:o360-test-bo:2810)
java.naming.factory.url.pkgs=com.ibm.ws.naming
jndi.properties
#This is for OracleAS. Please uncomment these if you are using OracleAS and keep it c
#java.naming.provider.url=ormi://"store_server_host_name":"store_server_port_number"
#java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
#java.naming.security.principal=oc4jadmin
#java.naming.security.credentials=oc4jadmin
2. Check the Back Office queue and topic connection factory entries in OracleRetailStore\Client
\pos\bin\comm.properties file.
comm.properties
comm.jms.topicConnectionFactory.name=jms/ApplicationTCF
comm.jms.queueConnectionFactory.name=jms/ApplicationQCF
ClientConduit.xml
<TECHNICIAN name="ParameterTechnician" class = "ParameterTechnician"
package = "com.extendyourstore.foundation.manager.parameter"
export = "Y" >
<PROPERTY propname="paramScript"
propvalue="classpath://config/manager/PosParameterTechnician.xml"/>
<PROPERTY propname="JmsProviderTopicName"
propvalue="jms/parameters"/>
<PROPERTY propname="listenForUpdates" propvalue="Y"/>
<PROPERTY propname="clientID" propvalue="reg129"/>
<PROPERTY propname="jmsID" propvalue="mqusr"/>
<PROPERTY propname="jmsPassword" propvalue="pos@123"/>
</TECHNICIAN>
Application.properties
WorkstationID=129
Note: The value of clientID must match the WorkstationID specified in the application.properties
file.
Note: You must create a user on the host where Back Office is installed and add that user to the
mqm group. The values for jmsID and jmsPassword specified in the Password Technician
definition must match the values for the UNIX user and password.
jndi.properties
#This is for WebSphere. Please uncomment these if you are using WebSphere and keep it
java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.provider.url=corbaloc:iiop:<BackOfficeServerName>:<BackOfficePortNo.>
(e.g. java.naming.provider.url=corbaloc:iiop:o360-test-bo:2810)
java.naming.factory.url.pkgs=com.ibm.ws.naming
jndi.properties
#This is for OracleAS. Please uncomment these if you are using OracleAS and keep it c
#java.naming.provider.url=ormi://"store_server_host_name":"store_server_port_number"
#java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
#java.naming.security.principal=oc4jadmin
#java.naming.security.credentials=oc4jadmin
backoffice.jndi.properties
#This is for WebSphere. Please uncomment these if you are using WebSphere and keep it
java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.provider.url=corbaloc:iiop:<BackOfficeServerName>:<BackOfficePortNo.>
(e.g. java.naming.provider.url=corbaloc:iiop:o360-test-bo:2810)
java.naming.factory.url.pkgs=com.ibm.ws.naming
Backoffice.jndi.properties
#This is for OracleAS. Please uncomment these if you are using OracleAS and keep it c
#java.naming.provider.url=ormi://"store_server_host_name":"store_server_port_number"
#java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
#java.naming.security.principal=oc4jadmin
#java.naming.security.credentials=oc4jadmin
centraloffice.properties
#This is for WebSphere. Please uncomment these if you are using WebSphere and keep it
java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.provider.url=corbaloc:iiop:<CentralOfficeServerName>:<CentralOfficePortNo
(e.g. java.naming.provider.url=corbaloc:iiop:o360-test-co:2811)
java.naming.factory.url.pkgs=com.ibm.ws.naming
centraloffice.properties
#This is for OracleAS; it will give you access to the POSLog and EJournalImport Queue
#Transaction Service Session Bean for CTR.
#Please uncomment these if you are using OracleAS and keep it commented if not using
#java.naming.provider.url=ormi://172.16.0.167:2810/CentralOffice
#java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
#java.naming.security.principal=pos
#java.naming.security.credentials=pos
4. Check the Back Office queue and topic connection factory entries to the
OracleRetailStore\Server \pos\bin\comm.properties file.
comm.properties
comm.jms.topicConnectionFactory.name=jms/ApplicationTCF
comm.jms.queueConnectionFactory.name=jms/ApplicationQCF
5. Check the Central Office queue and topic connection factory entries to the
OracleRetailStore\Server \pos\bin\comm.properties file.
comm.properties
comm.jms.topicConnectionFactory.name.<CentralOfficeServerName>=jms/ApplicationTCF
comm.jms.queueConnectionFactory.name.<CentralOfficeServerName>=jms/ApplicationQCF
jndi.properties
#This is for WebSphere. Please uncomment these if you are using WebSphere and keep it
java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.provider.url=corbaloc:iiop:<BackOfficeServerName>:<BackOfficePortNo.>
(e.g. java.naming.provider.url=corbaloc:iiop:o360-test-bo:2810)
java.naming.factory.url.pkgs=com.ibm.ws.naming
jndi.properties
#This is for OracleAS. Please uncomment these if you are using OracleAS and keep it c
#java.naming.provider.url=ormi://"store_server_host_name":"store_server_port_number"
#java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
#java.naming.security.principal=oc4jadmin
#java.naming.security.credentials=oc4jadmin
2. Check the Back Office queue and topic connection factory entries in OracleRetailStore\Client
\pos\bin\comm.properties file.
comm.properties
comm.jms.topicConnectionFactory.name=jms/ApplicationTCF
comm.jms.queueConnectionFactory.name=jms/ApplicationQCF
jndi.properties
#This is for WebSphere. Please uncomment these if you are using WebSphere and keep it
java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.provider.url=corbaloc:iiop:<BackOfficeServerName>:<BackOfficePortNo.>
(e.g. java.naming.provider.url=corbaloc:iiop:o360-test-bo:2810)
java.naming.factory.url.pkgs=com.ibm.ws.naming
jndi.properties
#This is for OracleAS. Please uncomment these if you are using OracleAS and keep it c
#java.naming.provider.url=ormi://"store_server_host_name":"store_server_port_number"
#java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
#java.naming.security.principal=oc4jadmin
#java.naming.security.credentials=oc4jadmin
backoffice.jndi.properties
#This is for WebSphere. Please uncomment these if you are using WebSphere and keep it
java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.provider.url=corbaloc:iiop:<BackOfficeServerName>:<BackOfficePortNo.>
(e.g. java.naming.provider.url=corbaloc:iiop:o360-test-bo:2810)
java.naming.factory.url.pkgs=com.ibm.ws.naming
backoffice.jndi.properties
#This is for OracleAS. Please uncomment these if you are using OracleAS and keep it c
#java.naming.provider.url=ormi://"store_server_host_name":"store_server_port_number"
#java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
#java.naming.security.principal=oc4jadmin
#java.naming.security.credentials=oc4jadmin
centraloffice.properties
#This is for WebSphere. Please uncomment these if you are using WebSphere and keep it
java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.provider.url=corbaloc:iiop:<CentralOfficeServerName>:<CentralOfficePortNo
(e.g. java.naming.provider.url=corbaloc:iiop:o360-test-co:2811)
java.naming.factory.url.pkgs=com.ibm.ws.naming
centraloffice.properties
#This is for OracleAS; it will give you access to the POSLog and EJournalImport Queue
#Transaction Service Session Bean for CTR.
#Please uncomment these if you are using OracleAS and keep it commented if not using
#java.naming.provider.url=ormi://172.16.0.167:2810/CentralOffice
#java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
#java.naming.security.principal=pos
#java.naming.security.credentials=pos
4. Check the Back Office queue and topic connection factory entries to the
OracleRetailStore\Server \pos\bin\comm.properties file.
comm.properties
comm.jms.topicConnectionFactory.name=jms/ApplicationTCF
comm.jms.queueConnectionFactory.name=jms/ApplicationQCF
5. Check the Central Office queue and topic connection factory entries to the
OracleRetailStore\Server \pos\bin\comm.properties file.
comm.properties
comm.jms.topicConnectionFactory.name.<CentralOfficeServerName>=jms/ApplicationTCF
comm.jms.queueConnectionFactory.name.<CentralOfficeServerName>=jms/ApplicationQCF
#This is for WebSphere. Please uncomment these if you are using WebSphere and keep it
java.naming.provider.url=
ormi://<Central Office Server Name>:<Central Office Port Number>
(e.g. java.naming.provider.url=corbaloc:iiop:o360-test-co:2811)
java.naming.factory.initial=
com.ibm.websphere.naming.WsnInitialContextFactory
#This is for OracleAS; it will give you access to the POSLog and EJournalImport Queue
#Transaction Service Session Bean for CTR.
#Please uncomment these if you are using OracleAS and keep it commented if not using
#java.naming.provider.url=ormi://172.16.0.167:2810/CentralOffice
#java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
#java.naming.security.principal=pos
#java.naming.security.credentials=pos
StoreServerConduit.xml
<TECHNICIAN name="DataReplicationDaemonTechnician"
class="DataReplicationDaemonTechnician"
package="com.extendyourstore.domain.manager.datareplication"
export="Y">
<PROPERTY propname="daemonClassName"
propvalue="com.extendyourstore.domain.manager.datareplication.DataReplicationExportDaemo
<PROPERTY propname="sleepInterval"
propvalue="10"/>
<PROPERTY propname="logWriterClass" propvalue="com.extendyourstore.domain.manager.da
<PROPERTY propname="extractorConfigurationFileName" propvalue="config/ReplicationExp
<PROPERTY propname="extractorObjectFactoryName" propvalue="com.oracle.xmlreplication
<PROPERTY propname="queueHostName" propvalue="<CO SERVER NAME>"/>
<PROPERTY propname="maximumTransactionsToExport" propvalue="10"/>
<PROPERTY propname="queueName" propvalue="jms/POSLog"/>
</TECHNICIAN>
EJournalImport differs from EJournal in that an actual MDB listens on EJournalImport and is
responsible for parsing an ejournal xml file. The EJournal queue is simply a staging area.
jndi.properties
#This is for WebSphere. Please uncomment these if you are using WebSphere and keep it
java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.provider.url=corbaloc:iiop:<BackOfficeServerName>:<BackOfficePortNo.>
(e.g. java.naming.provider.url=corbaloc:iiop:o360-test-bo:2810)
java.naming.factory.url.pkgs=com.ibm.ws.naming
jndi.properties
#This is for OracleAS. Please uncomment these if you are using OracleAS and keep it c
#java.naming.provider.url=ormi://"store_server_host_name":"store_server_port_number"
#java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
#java.naming.security.principal=oc4jadmin
#java.naming.security.credentials=oc4jadmin
2. Check the Back Office queue and topic connection factory entries in OracleRetailStore\Client
\pos\bin\comm.properties file.
comm.properties
comm.jms.topicConnectionFactory.name=jms/ApplicationTCF
comm.jms.queueConnectionFactory.name=jms/ApplicationQCF
3. Ensure that Journal entries are saved to database instead of flat file. Check entries in
OracleRetailStore\Client \pos\ config\conduit\ClientConduit.xml file.
ClientConduit.xml
<!-- Begin_IA_Default_Journal_Man
<MANAGER name="JournalManager"
class="JournalManager"
package="com.extendyourstore.foundation.manager.journal"
export="N">
</MANAGER>
End_IA_Default_Journal_Man -->
<!-- Begin_IA_Default_Journal_Tech
<TECHNICIAN name="LocalJournalTechnician"
class="JournalTechnician"
package="com.extendyourstore.foundation.manager.journal"
export="Y">
</TECHNICIAN>
End_IA_Default_Journal_Tech -->
jndi.properties
#This is for WebSphere. Please uncomment these if you are using WebSphere and keep it
java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.provider.url=corbaloc:iiop:<BackOfficeServerName>:<BackOfficePortNo.>
(e.g. java.naming.provider.url=corbaloc:iiop:o360-test-bo:2810)
java.naming.factory.url.pkgs=com.ibm.ws.naming
jndi.properties
#This is for OracleAS. Please uncomment these if you are using OracleAS and keep it c
#java.naming.provider.url=ormi://"store_server_host_name":"store_server_port_number"
#java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
#java.naming.security.principal=oc4jadmin
#java.naming.security.credentials=oc4jadmin
backoffice.jndi.properties
#This is for WebSphere. Please uncomment these if you are using WebSphere and keep it
java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.provider.url=corbaloc:iiop:<BackOfficeServerName>:<BackOfficePortNo.>
(e.g. java.naming.provider.url=corbaloc:iiop:o360-test-bo:2810)
java.naming.factory.url.pkgs=com.ibm.ws.naming
backoffice.jndi.properties
#This is for OracleAS. Please uncomment these if you are using OracleAS and keep it c
#java.naming.provider.url=ormi://"store_server_host_name":"store_server_port_number"
#java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
#java.naming.security.principal=oc4jadmin
#java.naming.security.credentials=oc4jadmin
centraloffice.properties
#This is for WebSphere. Please uncomment these if you are using WebSphere and keep it
java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.provider.url=corbaloc:iiop:<CentralOfficeServerName>:<CentralOfficePortNo
(e.g. java.naming.provider.url=corbaloc:iiop:o360-test-co:2811)
java.naming.factory.url.pkgs=com.ibm.ws.naming
centraloffice.properties
#This is for OracleAS; it will give you access to the POSLog and EJournalImport Queue
#Transaction Service Session Bean for CTR.
#Please uncomment these if you are using OracleAS and keep it commented if not using
#java.naming.provider.url=ormi://172.16.0.167:2810/CentralOffice
#java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
#java.naming.security.principal=pos
#java.naming.security.credentials=pos
4. Check the Back Office queue and topic connection factory entries to the
OracleRetailStore\Server \pos\bin\comm.properties file.
comm.properties
comm.jms.topicConnectionFactory.name=jms/ApplicationTCF
comm.jms.queueConnectionFactory.name=jms/ApplicationQCF
5. Check the Central Office queue and topic connection factory entries to the
OracleRetailStore\Server \pos\bin\comm.properties file.
comm.properties
comm.jms.topicConnectionFactory.name.<CentralOfficeServerName>=jms/ApplicationTCF
comm.jms.queueConnectionFactory.name.<CentralOfficeServerName>=jms/ApplicationQCF
#This is for WebSphere. Please uncomment these if you are using WebSphere and keep it
java.naming.provider.url=
ormi://<Central Office Server Name>:<Central Office Port Number>
(e.g. java.naming.provider.url=corbaloc:iiop:o360-test-co:2811)
java.naming.factory.initial=
com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.security.principal=pos
java.naming.security.credentials=pos
#This is for OracleAS; it will give you access to the POSLog and EJournalImport Queue
#Transaction Service Session Bean for CTR.
#Please uncomment these if you are using OracleAS and keep it commented if not using
#java.naming.provider.url=ormi://172.16.0.167:2810/CentralOffice
#java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
#java.naming.security.principal=pos
#java.naming.security.credentials=pos
StoreServerConduit.xml
<TECHNICIAN name="JMSJournalTechnician"
class="JMSJournalTechnician"
package="com.extendyourstore.foundation.manager.journal"
export="Y">
<PROPERTY propname="journalFormatterClass"
propvalue="com.extendyourstore.pos.manager.journal.POSJournalFormatter"/>
<PROPERTY propname="journalHandlerClass"
propvalue="com.extendyourstore.pos.manager.journal.POSJMSJournalHandler"/>
<PROPERTY propname="queueName" propvalue="jms/EJournal"/>
<PROPERTY propname="consolePrintable" propvalue="N"/>
</TECHNICIAN>
StoreServerConduit.xml
<TECHNICIAN name="MessageCenterDaemonTechnician"
class="MessageCenterDaemonTechnician"
package="com.extendyourstore.domain.manager.messagecenter"
export="Y">
<PROPERTY propname="daemonClassName"
propvalue="com.extendyourstore.domain.manager.messagecenter.MessageCenterDaemon
Thread"/>
<PROPERTY propname="senderQueueName"
propvalue="jms/EJournalImport"/>
<PROPERTY propname="senderBrokerName"
propvalue="<Central Office Server Name>"/>
<PROPERTY propname="receiverQueueName"
propvalue="jms/EJournal"/>
<PROPERTY propname="receiverBrokerName"
propvalue=""/>
</TECHNICIAN>
Note: The value set for the queueName property for the JMSJournalTechnician and the value set for the
receiverQueueName property for the MessageCenterDaemonTechnician must be the same.
7 TroubleShooting Interfaces
7.1 Jar Not Created - SQL0668N Operation not allowed for reason code "3" on table
This means that the previous LOAD had failed. You cannot perform any operations on the involved
tables unless the LOAD completes. You can however TERMINATE or RESTART the load. To do so, edit the
LOAD statement for all involved tables as below
Example – cutomerC0.db2
7.2 Jar Not Created - SQL0289N Unable to allocate new pages in table space
"USERSPACE1".
USERSPACE is the default tablespace that the DB2 uses when a user tablespace is not specified. One
cannot increase Free pages in the automatic storage by the following command
DB2 "ALTER TABLESPACE tablespace_name EXTEND (ALL 100000)"
One user tablespaces can be extended by the above command. I dropped unused databases to create
more free pages in USERSPACE1.
8 Revision History
Prepared /
Version Date Comments
Modified by
1.0 Jan 07, 2011 Pradeep Jain Minor updates and baseline for delivery
1.1 Feb 04, 2011 Pratima Gupta Made changes for following
Added more details to section 2.3.1.2
- Processes on Back Office machine
Added section 2.1.3 - Configuring
‘dataimport’ to connect to stage1,
stage2, BO and CO databases on
Remote machine
Added section 7 - TroubleShooting
Interfaces