首页 技术 正文
技术 2022年11月22日
0 收藏 339 点赞 3,229 浏览 4413 个字

系统组成:

1. 服务器OS及硬件:

  OS: Red Hat Enterprise Linux Server release 6.6

  Hardware: Virtual Machine, x86_64,2 core, 8GB RAM, 100GB HDD

2. 软件:

  Java JDK 1.7.0 update 26

  IBM DB2 Database V9.7

  Sterling B2B Integrator 5.2.4

  继续装插件

  SAP Suite Adapter for JCo 3.x – 连接SAP系统

  Oracle Database 11g Release 2 JDBC Drivers – 连接Oracle

3. 修改OS系统参数

修改参数 – 在Linux系统用户可打开文件的最大数

[root@sterling ~]# vi /etc/security/limits.conf
#* soft core
#* hard rss
#@student hard nproc
#@faculty soft nproc
#@faculty hard nproc
#ftp hard nproc
#@student - maxlogins * hard nofile
* soft nofile
* hard memlock
* soft memlock
* hard nproc
* soft nproc
* hard stack
* soft stack # End of file

数据库参数

[sapadm02@sterling ~]$ ipcs -l------ Shared Memory Limits --------
max number of segments =
max seg size (kbytes) =
max total shared memory (kbytes) =
min seg size (bytes) = ------ Semaphore Limits --------
max number of arrays =
max semaphores per array =
max semaphores system wide =
max ops per semop call =
semaphore max value = ------ Messages: Limits --------
max queues system wide =
max size of message (bytes) =
default max size of queue (bytes) =

内核参数

[sapadm02@sterling ~]$ cat /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, is disabled, is enabled. See sysctl() and
# sysctl.conf() for more details.# Controls IP packet forwarding
net.ipv4.ip_forward = # Controls source route verification
net.ipv4.conf.default.rp_filter = # Do not accept source routing
net.ipv4.conf.default.accept_source_route = # Controls the System Request debugging functionality of the kernel
kernel.sysrq = # Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = # Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = # Disable netfilter on bridges.
net.bridge.bridge-nf-call-ip6tables =
net.bridge.bridge-nf-call-iptables =
net.bridge.bridge-nf-call-arptables = # Controls the default maxmimum size of a mesage queue
kernel.msgmnb = # Controls the maximum size of a message, in bytes
kernel.msgmax = # Controls the maximum shared segment size, in bytes
kernel.shmmax = # Controls the maximum number of shared memory segments, in pages
kernel.shmall =
kernel.shmall =
kernel.shmmni =
kernel.shmmax =
kernel.sem =
kernel.msgmni =
kernel.msgmax =
kernel.msgmnb =

默认内核参数对照表

Sterling B2B Integrator与SAP交互 – 02 安装配置

Oracle驱动参数 – 设置数据库连接

[sapadm02@sterling ~]$ cat /opt/app/gis/install/properties/jdbc_customer.properties.in
## PROPERTY_FILE_NAME
## jdbc_customer.properties.in (for initialization)
## jdbc_customer.properties (for operations)## PROPERTY_FILE_DESCRIPTION
## The jdbc_customer.properties file has the same settings as the jdbc.properties file. This allows
## you to separate your customized database pool information (in jdbc_customer.properties) from the
## pool information provided by Application (in jdbc.properties). This arrangement
## has the following benefits:
## * During an upgrade, you can copy your jdbc_customer.properties.in file instead of cutting
## and pasting your changes out of jdbc.properties.
## * The application can make changes to the jdbc.properties file during a patch (if
## necessary) without changing a database pool that you added.
## For information about the properties in the jdbc_customer.properties file, refer to
## the documentation for the jdbc.properties file.## DATABASE_SUPPORT: N## Adding Database Pools
## You can use the jdbc_customer.properties file to add a new database pool to the application
## environment. You can add this pool without having to restart the application, which lets
## you continue running business processes.
## To dynamically add a new database pool, do the following:
## . Create the new pool in jdbc_customer.properties.
## . Refresh the JDBC properties by doing one of the following:
## * Click the Refresh JDBC Pools button on the JDBC Monitor page.
## * Go the the [install_dir]/install/bin directory (UNIX/Linux) or the
## [install_dir]\install\bin directory (Windows) and run the following command:
## opscmd.sh/opscmd.cmd -cREFRESHJDBC -nnode1
## . Use the Database Usage page to confirm that you have added the pool.TVCSHTestPool.driver=oracle.jdbc.OracleDriver
TVCSHTestPool.url=jdbc:oracle:thin:@192.168.72.109::TDB
TVCSHTestPool.user=IPRTVCSH_T
TVCSHTestPool.password=password
TVCSHTestPool.catalog=TDB
TVCSHTestPool.type=remote
TVCSHTestPool.testOnReserve=true
TVCSHTestPool.testOnReserveQuery=select 'x' from dual
TVCSHTestPool.testOnReserveInterval=
TVCSHTestPool.max8177RetryCount=
TVCSHTestPool.dbvendor=oracle
TVCSHTestPool.buffersize=n
TVCSHTestPool.maxsize=
TVCSHTestPool.initsize=
TVCSHTestPool.behaviour=
TVCSHTestPool.lifespan=
TVCSHTestPool.idletimeout=
TVCSHTestPool.housekeepinginterval=
TVCSHTestPool.storedProcClassName=com.sterlingcommerce.woodstock.util.frame.jdbc.OracleNoAppStoredProcQuery
TVCSHTestPool.varDataClassName=com.sterlingcommerce.woodstock.util.frame.jdbc.OracleVarData
TVCSHTestPool.factory=com.sterlingcommerce.woodstock.util.frame.jdbc.ConnectionFactory
相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,028
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,518
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,365
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,146
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,780
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,857