Teamcenter12 安装布署

[复制链接]
leda 发表于 2022-8-16 15:10:41 | 显示全部楼层 |阅读模式
本帖最后由 feng 于 2022-9-14 11:58 编辑

Teamcenter12 安装布署

一、配置好JAVA环境:
安装jdk1.8

双击jdk_1.8.0.0_64.exe安装包,选择安装路径放在默认C盘
配置环境变量
此电脑 属性—>高级系统设置-->环境变量  
在“系统变量”配置项下配置两项。
3.新建3个系统环境变量
名称 值 如下:
JAVA_HOME C:\Program Files\Java\jdk1.8.0_211
JRE_HOME C:\Program Files\Java\jre1.8.0_211
classpath  %JAVA_HOME%\lib\dat.jar;%JAVA_HOME%\lib\tools.jar

4.找到下面的Path 以 “;” 分号隔开 在后面新建三个
C:\Program Files\Java\jdk1.8.0_211\bin
C:\Program Files\Java\jdk1.8.0_211\bin
C:\Program Files\Java\jre1.8.0_211
如果未生效,DOS输入javac ,无中文提示,随后找到path,直接将其编辑,在原有变量值前加入:
%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin (即C:变量值




5.验证是否成功
cmd 输入  java -version




查询java的JDK,JRE,使用命令查看:
set java
set jre



问题:windows上安装JDK文件时,发现没有JRE程序的目录,可通过dos命令安装jre?

解决方法
步骤1:
首先,也是最重要的一步:以管理员身份运行cmd
操作方法:
在Windows系统的开始菜单上,单击鼠标右键,这时候出现的菜单中,我们选择命令提示符(管理员)(或者是Windows PowerShell(管理员))点击打开即可。
windows上安装JDK文件时,发现没有JRE程序的目录,可通过dos命令安装jre

步骤:
首先,跳转到jdk安装目录
例如我的jdk安装目录为C:\Program Files\Java\jdk1.8.0_211

可以借助cd命令跳转到该目录
首先,输入 cd\,回车,跳转到C盘根目录

之后,输入cd "Program Files\Java\jdk1.8.0_211",回车,跳转到jdk目录
格式为cd "jdk安装目录",其中,jdk安装目录为你自己安装jdk时的目录

2. 最后,输入bin\jlink.exe --module-path jmods --add-modules java.desktop --output jre,回车
3. 安装成功


注意:
执行cd命令跳转到指定目录时,若 cd后所跟的目录名含有特殊字符,需加引号
例如 C盘下的 Progam Files 目录:
C:\Program Files 含有特殊字符 : 与 \ 以及Progrom与Files之间含有特殊字符"空格"
在执行cd命令时:
cd "C:\Progam Files" 需在目录两边加双引号
格式为:"含有特殊字符的目录"**

二、安装PLM LICENSE

DOS进入到许可证安装目录
C:\Users\Administrator>d:
D:\>cd Siemens
D:\Siemens>cd "PLM   Server"

查看所有许可证特征信息
lmutil lmstat -i

查看许可证服务状态
lmutil stat


问题1:安装teamcenter2层的时候tem.bat出现unabletolocatejavaat

1、在安装teamcenter2层的时候tem.bat出现报错:
Unable to locate Java at "\bin\javaw.exe". Please define JRE home path by command-line parameter '-jre' or environment variable JRE_HOME. Please use double-quotes on the parameter when using '-jre' and the path contains space characters. The version should be no older than 1.8.0_20.,其原因如下;



解决办法:
安装jdk的时候需要配置32位和64位的jdk,请按前面安装配置JAVA的环境进行操作,便可解决问题。


2、安装tc2层的时候,解决tem.bat问题出现功能部件teamcenter基础和两层结构胖客户端选择不了的情况。
原因:缺乏权限,


解决方法:用管理员运行tem.bat.

3、安装tc2层的时候,安装到“操作系统用户”这一步的时候在日志中出现登陆error问题;
原因:
1、操作系统没有设置开机密码,
2、操作系统密码没有在“操作系统用户”步骤这里设置进去

二、安装时选择TCRS版本安装


安装weblogic,其默认使用网页监听端口为7001,所以在指向网页端口时注意

问题1:警报:
操作过程中出错。请查看问题描述和建议的操作。如果故障需要提供某些输入,相关字段会显示在下方。
General Exception
描述:
设置基础数据模型失败。请参见安装日志以获取更多详细信息。



处理办法:
使用合谐文件覆盖安装位置的文件后,点继续安装,一般能解决问题


问题2:安装好tcrs时,服务器选项空白,输入密码没有反应?

http://tm:7001/
  1. Error 404--Not Found
  2. From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
  3. 10.4.5 404 Not Found
  4. The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.

  5. If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
复制代码

问题3:teamcenter主机名端口号错误,或服务器未安装瘦客户端invalid VRL -http://tm:8080/t


处理办法:


问题4:无法从数据库查询语言环境。从数据库恢复文件。恢复文件之前更新 FileVersions.txt
安装Action workspace时,会出现本报错,安装版本v12.0.0

Deploying foundation to TC_DATA
Copying file D:\TC\install\foundation\foundation_template.xml to D:\tcdata\model\foundation_template.xml
Copying file D:\TC\install\foundation\foundation_dependency.xml to D:\tcdata\model\foundation_dependency.xml
Copying file D:\TC\install\foundation\foundation_tcbaseline.xml to D:\tcdata\model\baselines\foundation_tcbaseline.xml
Copying directory D:\TC\install\foundation\lang to D:\tcdata\model\lang
Copying file D:\TC\install\foundation\foundation_icons.zip to D:\tcdata\model\icons\foundation_icons.zip
foundation (Teamcenter 基础)

Executing ["D:\TC\bin\bmide_processtemplates.bat" -u=infodba -pf=D:\TC\security\TcRS_Configuration1_infodba.pwf -g=dba -mode=server -dir=D:\tcdata\model -templates=foundation ]
Output from command:  "D:\TC\bin\bmide_processtemplates.bat" -u=infodba -pf=D:\TC\security\TcRS_Configuration1_infodba.pwf -g=dba -mode=server -dir=D:\tcdata\model -templates=foundation
Adding Template to Master File...
Backing up the Consolidated Model File...
Backing up the Consolidated Model Localization File...
Finding Applicable Locales...
无法从数据库查询语言环境。
从数据库恢复文件。
恢复文件之前更新 FileVersions.txt
java.lang.Exception
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.executeFindLocalesForDB(Unknown Source)
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)
        at com.teamcenter.bmide.foundation.core.internal.consolidator.ProcessTemplatesMain.execute(Unknown Source)
        at com.teamcenter.bmide.foundation.core.internal.consolidator.ProcessTemplatesMain.main(Unknown Source)


处理办法:
1、JAVA版本兼容性不够或是JAVA环境设置被调动了。可在DOS下,进入JDK\bin的目录,javac查看是否有中文出现,无中文出现,即需要设置一下Path里的JAVA设置


问题5:Starting the FSC...错误: 找不到或无法加载主类 com.teamcenter.fms.servercache.FMSServerCache

D:\tc\tm\fsc>startfsc.bat
Setting the classpath...
'fsc_classpath.bat' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Starting the FSC...
错误: 找不到或无法加载主类 com.teamcenter.fms.servercache.FMSServerCache
D:\tc\tm\fsc>

处理办法:


问题6:TCRS安装完成,登陆时也显示出服务应用信息,但无法登陆



-------------------------------------------------------
GMS: address is 192.168.15.86:17810
-------------------------------------------------------
INFO  - NoId - 2022/09/14-03:44:41,385 UTC - tc - TreeCache View: [192.168.15.86:17810|0] [192.168.15.86:17810]
INFO  - tc.92686.01.Anonymous.00001 - 2022/09/14-03:44:41,388 UTC - tc - TreeCache GMS address: 192.168.15.86:17810
INFO  - tc.92686.01.Anonymous.00001 - 2022/09/14-03:44:41,403 UTC - tc - Global pool configuration:
        MANAGER_AVAILABILITY_INTERVAL=5000
        SOFT_TIMEOUT_EDIT=28800
        PROCESS_MAX_PER_USER=0
        SOFT_TIMEOUT_STATELESS=1200
        CACHE_CONFIG_PATH=TreeCacheTCP.xml
        HARD_TIMEOUT_STATELESS=28800
        QUERY_TIMEOUT=0
        SOFT_TIMEOUT_READ=28800
        HARD_TIMEOUT_EDIT=28800
        ASSIGNMENT_MAX_CONNECTIONS=100
        HARD_TIMEOUT_READ=28800
        MANAGER_AVAILABILITY_TIMEOUT=5000
        USER_TIMEOUT_STATELESS=0
INFO  - tc.92686.01.Anonymous.00001 - 2022/09/14-03:44:41,403 UTC - tc - Global pool config published.
WARN  - tc.92686.01.Anonymous.00001 - 2022/09/14-03:44:41,449 UTC - tc - Global pool configuration INVOCATION_MAX_CONNECTIONS not found.  Using 1000
ERROR - tc.92686.01.Anonymous.00001 - 2022/09/14-03:44:41,485 UTC - tc - Cannot find any server pools.  Please check TreeCache configuration.
        TreeCache Cluster Name=Cluster
        TreeCache Mode=TCP
        Local Service Port=17810
        TreeCache Socket Connect Timeout=2000
        TreeCache Peers=localhost[17800]
        TreeCache Port Range=1
        TreeCache Connection Timeout=30000
        TreeCache Merge Min=5000
        TreeCache Merge Max=10000
        TreeCache Join Timeout=60000
:com.teamcenter.jeti.serverassigner.ServerAssigner.assignNewServer(Unknown Source) com.teamcenter.jeti.serverassigner.ServerAssigner







本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|RuZhuo ( 鄂ICP备16015978号-8 )

GMT+8, 2024-9-17 03:28 , Processed in 0.025352 second(s), 28 queries .

Powered by RuZhuo

快速回复 返回顶部 返回列表