PAS部署:如何在PAS上部署元数据

【问题描述】

如何在PAS上部署元数据

【解决方案】

一、元数据部署在windows下的Pas6.0应用服务器。

       1.1 基础环境准备

  • Windows下Pas6.0安装参考 PAS6.0产品安装指南。Pas6.0安装完成后,需要手工替换下安装目录下 pas/pas6.0/repositroy/org/eclipse/jdt/core/3.3.0-v_771下的core-3.3.0-v_771.jar。
          从元数据部署WAR包WEB-INF\lib\ 路径下找到org.eclipse.jdt.core-3.18.0.jar,拷贝到 pas/pas6.0/repositroy/org/eclipse/jdt/core/3.3.0-v_771下,并重命名为core-3.3.0-v_771.jar
  • JDK1.8安装,配置JDK有关的环境变量。元数据7.0GA版本要在JDK1.8.0版本下运行。
  •  获取元数据的部署WAR包,dgs.war

       1.2 元数据配置文件修改

  • 元数据的部署WAR包WEB-INF\ 下找到web.xml文件,注释<security-constraint></security-constraint>标签中的内容。

  • 删除Web.xml文件内容的中文,有中文启动会报错。
  • 制定部署计划.xml文件例如:deloyePlan.xml,由于Pas工具中自带的log4j、quartz,asm相关的Jar与元数据中的Jar版本冲突。需要在部署计划中将Pas自带的冲突Jar包排除。
         部署计划.xml文件内容如下:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1">
    <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
    <dep:moduleId>
    <dep:groupId>default</dep:groupId>
    <dep:artifactId>dgs</dep:artifactId>
    <dep:version>Metacube7.0GA</dep:version>
    <dep:type>car</dep:type>F/
    </dep:moduleId>
    <dep:dependencies/>
    <dep:hidden-classes>
    <dep:filter>org.slf4j</dep:filter>
    <dep:filter>org.quartz</dep:filter>
    <dep:filter>org.objectweb.asm</dep:filter>
    <dep:filter>org.objectweb.asm.commons</dep:filter>
    </dep:hidden-classes>
    </dep:environment>
    <context-root>dgs</context-root>
    </web-app>
  • 修改元数据系统连接数据库的配置,在元数据部署包dgs.war包路径\WEB_INF\classes\spring下找到jdbc.properties文件修改为要连接元数据知识库的配置。
    在WEB-INF\_srv\config下找到user-config.xml文件修改为要连接的元数据知识库的配置

    1.3 元数据在Pas平台部署
    登录Pas6.0,点击应用→部署应用,上传dgs.war包和部署计划.xml文件。点击安装,具体参考 PAS6.0管理手册。

二、元数据部署在linux下的Pas6.0应用服务器。

2.1 基础环境准备

  •     linux 下Pas6.0 安装参考PAS6.0产品安装指南安装手册。替换pas/pas6.0/repositroy/org/eclipse/jdt/core/3.3.0-v_771/3.3.0-v_771.jar文件,具体参考1.1windows下基础环境准备。
  •    安装JDK,配置环境变量。
  •    获取元数据dgs.war部署包

2.2 元数据配置文件修改
参考1.2元数据配置文件修改。

2.3元数据在Pas平台部署
登录Pas6.0,点击应用→部署应用,上传dgs.war包和部署计划.xml文件。点击安装,具体参考 PAS6.0管理手册。

【原文链接】

http://doc.primeton.com/pages/viewpage.action?pageId=32739225

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
=============================================== TeeChart Pro v2013 Copyright (c) 1995-2013 by Steema Software All Rights Reserved =============================================== SOFTWARE LICENSING CONTRACT NOTICE TO USER: THIS IS A CONTRACT. BY CLICKING THE 'OK' BUTTON BELOW DURING INSTALLATION, YOU ACCEPT ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT. =========================================== License Terms: =============== -- A Single License of TeeChart Pro VCL is per developer. -- A Site License of TeeChart Pro VCL is per "physical place" with unlimited number of developers under the same company building(s). -- For special licensing issues, volume discounts, integrations or redistribution please contact us at: sales@steema.com TeeChart Pro is royalty free under the following use conditions ================================== You can freely distribute TeeChart Pro code COMPILED into your applications as executables or dynamic link libraries, including as OCX ActiveX Controls or ActiveX Forms, excepting compilation as design-time packages or compilation into a DLL or OCX for use in a Web server scripting environment. The latter case requires that a WebServer runtime license be registered per installed server. You are NOT allowed to distribute stand-alone TeeChart Pro files, TeeChart Pro source code, TeeChart Pro manual and help file or everything else contained in this software without receiving our written permission. You are NOT allowed to distribute the TeeChart design-time package files and/or any of the TeeChart *.DCP or any other file from the source code files. You can freely distribute the TeeChart evaluation version, located at our web site http://www.steema.com END-USER LICENSE AGREEMENT FOR STEEMA SOFTWARE SL IMPORTANT- READ CAREFULLY BEFORE INSTALLING THE SOFTWARE. This End User License Agreement (this "EULA") contains the terms and conditions regarding your use of the SOFTWARE (as defined below) and material

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值