ATG应用之旅

专注B2B电子商务完整解决方案、产品选型、实施、运营、开发、项目过程

导航

安装ATG本地环境(二)

8、启动CIM初始化数据库

    (1) 选择安装的产品包

    (2) 配置JBOSS安装目录

    (3) 使用Database Configuration工具初始化数据库

设置pub、prod、agent三个用户的三个Schema,CIM会自动调用脚本创建表,初始化数据等。按照CIM提示一步一步来即可

其中MySQL的驱动程序路径如下:E:\ATG\ATG10.1.1\MySQL\mysql-connector-java-5.1.15-bin.jar

设置Staging的数据库,由于启动CIM选择产品时,对于产品数据,笔者选择的是no-switch,因此这是使用数据库中switchA用户就可以了,不需要再使用switchingb用户。(switch是ATG提供的一种产品发布机制,可以在不同的基础数据中进行切换,个人开发不需要使用此选项)

设置pub的Schema期间,会设置两个用户的密码如下,这两个密码是登录ATG后台管理页面(BCC)时会使用的。

Define the password for the Merchandising User (login: merchandising). Password must be at least 8 characters in length. Password must contain one of the following characters: 1234567890. >

Define the password for the Publishing Admin User (login: admin). Password must be at least 8 characters in length. Password must contain one of the following characters: 1234567890.>

设置agent的Schema期间,会设置两个用户的密码如下,这两个密码是登录ATG后台管理页面(CSC)时会使用的。

Define the password for the Service Super Admin (login: service). Password must be at least 8 characters in length. Password must contain one of the following characters: 1234567890. >

Define the password for the Publishing Admin User (login: admin). Password must be at least 8 characters in length. Password must contain one of the following characters: 1234567890. >

9、使用CIM的Server Instance Configuration选项配置Server实例,需要配置的主要有三个Server

遵照屏幕提示设置端口号,Server名称等信息,基本采用默认值即可。

ATG Commerce Reference Store Production:对应服务器设置为atg_prod

ATG Commerce Reference Store Publishing:对应服务器设置为atg_pub

ATG Agent Server:对应服务器设置为atg_agent

10、使用CIM的Application Assembly & Deployment选项发布,这一步比较简单,没有多少选项,直接按照屏幕提示选择即可。

11、启动Server

(1)访问以下地址,启动bat

E:\ATG\ATG10.1.1\home\servers\atg_prod\startServerOnJBoss.bat

(2)访问:http://localhost:8080/crs/出现以下界面,证明ATG前台网站安装成功。

image

(3)访问以下地址,启动bat

E:\ATG\ATG10.1.1\home\servers\atg_pub\startServerOnJBoss.bat

(4)访问:http://localhost:8080/atg/bcc/出现以下界面,证明ATG的后台管理界面(BCC)安装成功

image

(5) 访问以下地址,启动bat

E:\ATG\ATG10.1.1\home\servers\atg_agent\startServerOnJBoss.bat

(6)访问http://localhost:8080/agent出现以下画面,证明ATG的后台管理界面(CSC)安装成功

image

注:在执行此步时,笔者的电脑上启动时,后台报异常【The element type "description" must be terminated by the matching end-tag "</description>"】,大意是说web.xml中<description>元素没有正常关闭。在将Server上各Application中web.xml中<description>元素的中文字符去掉后,正常启动。猜测可能还是ATG或Jboss平台中文兼容性导致问题。

posted on 2013-01-07 19:59  阿泰哥  阅读(642)  评论(0编辑  收藏  举报