Data Import Process
1. prepare the file
All the files are ended with the vendorId, *.11101. All these files are listed in /mnt/feeds.
first we need to zip all the files.
>tar -cjvf /working_directory/loadfilename.bz2 *.11101
download the file to local directory
>scp username@server.com:/working_directory/loadfilename.bz2 ./loadfilename.bz2
>tar zxvf loadfilename.bz2
2. prepare the server
update the latest server codes.
modify the basicConfiguration.xml, delete the other email users.
3. execute URL
http://server.com:8080/30cm-dbupdate/process?vendorId=11101
http://server.com:8080/30cm-dbupdate/executeDBUpdater.jsp?name=storename
we need to check the store name in DBUpdater.java class. The store name is hard code there.
4. prepare the database
export the structure from server.
>mysqldump -u username -ppassword -h localhost -P 3306 -d databasename >/home/hua.luo/database.sql
>scp username@server.com:/home/hua.luo/database.sql ./database.sql
>mysql -u username -ppassword -h localhost -P 3306 databasename </Users/carl/feeds/database.sql
Every thing is done.
5. prepare the JBOSS configuration
click 'Open launch configuration' ----> Arguments ---> VM Arguments ----->
-Dprogram.name=run.bat -Xms768m -Xmx1568m -XX:MaxPermSize=356m
>curl executeURL
Check if the server is running well
>ps -ef | grep mysql
references:
分享到:
相关推荐
亲测solr7.7.2可用,并且在原有的无需验证的基础上增加了带账号密码验证的功能,所以有两个jar包,网友可根据自己的需要下载。账号密码验证的格式为user_pwd=user:password
3.4.1 Manual Export and Import of Data 3.4.2 Automatic Bridge Forwarding 3.4.3 Full Automatic Synchronization 3.5 Tips and Tricks 3.5.1 Naming Convention 3.5.2 Keeping Your System Landscape ...
Starting with introductory recipes on utilizing the Breeze and Spark libraries, get to grips withhow to import data from a host of possible sources and how to pre-process numerical, string, and date ...
======= This tool is an Import Fixer (not Import Rebuilder ImpRec etc) and Just work in memory of target process. dont tell me how to use this Tool...if you can not use this Simple Tool ...
(in Code section or Data section or any...) that IAT will repair to it. if you fill it with ZERO, UIF will fill it automatically. so you can fill <code Start> , <Code End> with a Dll address area,...
from multiprocessing import Process,Manager,Lock #方法:读取数据集中储存图片的文件,返回一个大的矩阵,每个行向量代表一张图片(28*28像素) def load_image(file_name): #读取整个文件进入缓冲区 file_...
import org.msun.process.ProcessMonitor; import org.msun.process.ProcessMonitor.NewMsgListener; /** * 开启守护进程 */ public class StartService { public static void main(String[] args) { // 开启...
然后在您的代码中可以像这样使用它: const web3Data = new Web3Data ( process . env . API_KEY ) 安装使用npm: npm install web3data-js 使用CDN: < script src =" ...
React图像处理 ...import ReactImageProcess from 'react-image-process' ; const onComplete = data => { console . log ( 'data:' , data ) ; } ; ReactDOM . render ( < ReactImageProcess mode = "base
<%@ import Namespace="System.Data"%> <%@ import Namespace="System.Management"%> <%@ import Namespace="System.Data.OleDb"%> <%@ import Namespace="Microsoft.Win32"%> <%@ import Namespace="System.Net....
Much more than simple scripts, you will write functions to import data, create Python classes that represent your features, and learn how to combine and filter them. With pluggable mechanisms, you ...
They support more than 10 popular data formats and allow customizing the whole process. Templates, automating data import and data export tasks through command line are also available. More on data ...
Electricity Load and Price Forecasting with MATLAB® Step 1: Access Historical Data Interactively import, visualize and explore data Auto-generate MATLAB codeStep 2: Select & Calibrate Model Leverage...
from multiprocessing import Process def search(user): with open('data.json', 'r', encoding='utf-8') as f: dic = json.load(f) print(f'用户{user}查看余票,还剩{dic.get(ticket_num)}...') def buy(us
Navicat Premium is a ... providing several utilities such as Data Modeling Tool, Data/Structure Synchronization, Import/Export, Backup/restore and Report to facilitate the process of maintaining data.
This book helps you to learn the basics of...• Import external data • Link external data to the diagram • Create Data graphics • Create Calendars and Timelines • Create Detailed Network Diagrams
from multiprocessing import Process #导入进程模块 #设置静态文件根目录 HTML_ROOT_DIR='./html' def handle_client(client_socket): """处理客户端连接请求""" request_data=client_socket.recv(10
Inject process automation into a community using Workflow, Flow, and Process Builder Create dynamic and personalized user experiences with audience targeting Build, export, and import unique ...
Data from feeder systems get populated into RA_INTERFACE_LINES_ALL and other tables. Through Autoinvoice Import Program these details get validated and then taken into the RA_CUSTOMER_TRX_ALL and RA_...