180.5. creating a WebSphere Commerce instance

简介:
		
su - wcuser
./config_server.sh
./config_client.sh -protocol SSL&
		
		

备份操作

		
su - root
cp -i -r IBM IBM.instance
cp -i -r IBMIHS IBMIHS.instance
		
		
ls /opt/IBM/WebSphere/AppServer/profiles/demo/installedApps/WC_demo_cell/WC_demo.ear/xml/config/wc-server.xml

# ls /opt/IBM/WebSphere/CommerceServer70/instances/demo/httplogs/ | wc -l
0
# cat /opt/IBM/WebSphere/CommerceServer70/instances/demo/logs/createInstanceANT.err.log |wc -c
0
# grep error /opt/IBM/WebSphere/CommerceServer70/instances/demo/logs/trace.txt
# grep error /opt/IBM/WebSphere/CommerceServer70/instances/demo/logs/messages.txt
# cat /opt/IBM/WebSphere/CommerceServer70/logs/WCSconfig.log |wc -l

# su - oracle
exp wcuser/passw0rd@wcsdb file=/home/oracle/wcuser.dmp

		

Oracle 部分

		
create tablespace tablespaceName datafile 'dataFilePath'
   size 100M reuse autoextend on next 2M maxsize unlimited;
create user oracleUser identified by oraclePassword default tablespace tablespaceName;
grant create procedure, create session, create synonym, create table, create
   trigger, create view, create materialized view to oracleUser;
ALTER USER oracleUser QUOTA UNLIMITED ON tablespaceName;
		
		
		
cat >> /opt/oracle/product/11.2.0.1/client/network/admin/tnsnames.ora <<EOF
WCSDB =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.3.50)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = wcsdb)
    )
  )
EOF
		
		

测试tnsnames.ora

# sqlplus /nolog
SQL> conn wcuser/password@wcsdb
SQL> select * from site;
		




原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
JavaScript Oracle 关系型数据库
|
JavaScript 应用服务中间件 前端开发
|
供应链 安全 IDE
IBM WebSphere Application Server Liberty 安全漏洞(CVE-2022-22475)
IBM WebSphere Application Server Liberty 安全漏洞(CVE-2022-22475)
|
Java 应用服务中间件
|
Java 应用服务中间件 关系型数据库
|
Web App开发 Java 应用服务中间件
|
Java 关系型数据库 应用服务中间件
|
Java 应用服务中间件 Apache
|
Java Linux 应用服务中间件
linux系统安装IBM WebSphere Application Server(简称WAS)报错:JVM terminated. Exit code=1 ....
安装WAS报错: 错误贴出来: JVM terminated. Exit code=1 /mnt/hgfs/WAS_ND_V8.
2210 0