Windchill 监控工具.docx

上传人:b****3 文档编号:5708663 上传时间:2023-05-09 格式:DOCX 页数:28 大小:26.85KB
下载 相关 举报
Windchill 监控工具.docx_第1页
第1页 / 共28页
Windchill 监控工具.docx_第2页
第2页 / 共28页
Windchill 监控工具.docx_第3页
第3页 / 共28页
Windchill 监控工具.docx_第4页
第4页 / 共28页
Windchill 监控工具.docx_第5页
第5页 / 共28页
Windchill 监控工具.docx_第6页
第6页 / 共28页
Windchill 监控工具.docx_第7页
第7页 / 共28页
Windchill 监控工具.docx_第8页
第8页 / 共28页
Windchill 监控工具.docx_第9页
第9页 / 共28页
Windchill 监控工具.docx_第10页
第10页 / 共28页
Windchill 监控工具.docx_第11页
第11页 / 共28页
Windchill 监控工具.docx_第12页
第12页 / 共28页
Windchill 监控工具.docx_第13页
第13页 / 共28页
Windchill 监控工具.docx_第14页
第14页 / 共28页
Windchill 监控工具.docx_第15页
第15页 / 共28页
Windchill 监控工具.docx_第16页
第16页 / 共28页
Windchill 监控工具.docx_第17页
第17页 / 共28页
Windchill 监控工具.docx_第18页
第18页 / 共28页
Windchill 监控工具.docx_第19页
第19页 / 共28页
Windchill 监控工具.docx_第20页
第20页 / 共28页
亲,该文档总共28页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

Windchill 监控工具.docx

《Windchill 监控工具.docx》由会员分享,可在线阅读,更多相关《Windchill 监控工具.docx(28页珍藏版)》请在冰点文库上搜索。

Windchill 监控工具.docx

Windchill监控工具

windchill系统管理之--Windchill监控工具

java默认监控工具Jconsole

监控methodserver的运行情况:

service:

jmx:

rmi:

//:

6049/jndi/rmi:

//:

6049/jmxrmi

监控tomcat的运行情况:

service:

jmx:

rmi:

//:

8999/jndi/rmi:

//:

8999/jmxrmi

windchill系统管理之--WindchillRelease操作工具

发布历史记录:

发布管理工具目录:

重启terminate的ESI流程:

先把EC状态设成Cancelled,再执行

XXX是ECNumber

wt.load.LoadFromFile参数解释

-dFullpathnameoffilewithdatatobeloaded.

-mFullpathnameoffilewithmappingofattributenamestosequenceofdatainthedatafile.

-oNotcurrentlyimplemented.Tobeatraceorrecoveryfile.

-tThetokenusedtodelimitfieldsofdatainthedatafile.

-gAstringusedwiththeobjectname(thefirstfield)fromthedatafiletokeyintothemapdatafile.Thelineinthemapdatafilewillthencontainthemethodnametopassthisinformationtoandtheorderedlistoffieldnamestomatchwiththelineinthedatafile.

-uTheusertoexecutethemethod,ifnouserisgiveninthelinefromthedatafile.

-pSpecifiesthepasswordfortheauthenticatinguser.Thepasswordargumentisoptionalforthecommandline,however,theLoadFromFileutilitywillpromptforuserauthenticationusingapop-upwindow.

-CONT_PATHSpecifiesthetargetcontainerforthedatawhenthetargetcontainerisnot"Exchange".Bydefault,thetargetcontaineris"Exchange".

cmd_line-Name/Valuevariablesthatcanbesubstitutedintothedatafromthedatafile.

windchill系统管理之--密码管理

windchill中很多配置文件使用明文管理,特别是比较敏感的密码。

但是在WC10中增加了关于如果进行明文加密的功能,可以说是一个漏掉的修复。

一.对明文加密

1.使用xconfmanager进行加密

1>修改/bin/adminTools/sip/validProperties.list,将要加密的propertieskey加到这个文件中

2>执行/bin/xconfmanager–s=–p命令,进行加密和传播

2.使用EncryptPasswords进行加密

1>修改/bin/adminTools/sip/validProperties.list,将要加密的propertieskey加到这个文件中

2>执行/bin/adminTools/sip/EncryptPasswords.xmlencryptPw–DpropertyName=

-Dpassword=进行加密

WC10的AjaxRequest对象的构建函数

//Dynamicobjectcreation-mindingthenamespaceissues...

varpAjax=newObject();

pAjax.ContentLoader=function(url,onload,onerror,method,params){

//Whereurlis..theurl

//Whereonloadisthecallbackfunctiononsuccess

//Whereonerrorisacustomerrorhandleronfailure

//WheremethodiseitherGETorPOST

//Whereparamsareformparameterstobepassedtotheurl

this.url=url;

this.req=null;

this.shouldContinue=true;

//passthereferencetothecallbackfunction

this.onload=onload;

this.onerror=(onerror)?

onerror:

this.defaultError

this.shouldContinue=this.loadXMLDoc(url,method,params);

returnthis.shouldContinue;

}

//简单处理response值

varurlValue="netmarkets/jsp/plan/planMilestonesAssociate.jsp";

varparams="selectedProject="+oid;

varloader=newajax.ContentLoader(urlValue,null,null,'POST',params);

vardata=loader.req.responseText;

document.getElementByIdx_x("milestonePikcer").innerHTML=data;

 

//通过设置返回值处理函数处理response值

functiondashboardOrgPickerCallBack(objects)

{

if(document.getElementByIdx_x("containerOrgTypeList$label$")!

=null)document.getElementByIdx_x("containerOrgTypeList$label$").value=objects.pickedObject[0].orgId;

varjspName="netmarkets/jsp/workflow/fetchActualObject.jsp";

varfullURL=jspName;

varselection="OrgName="+objects.pickedObject[0].orgId;

varloader=newajax.ContentLoader(fullURL,organizationValue,null,'POST',selection);

}

functionorganizationValue(){

if(this.req.readyState==4){

if(this.req.status==200){

varresponse=newString(this.req.responseText);

vartemp1=response.split("OR");

varresult="OR"+temp1[1];

setContainerToRefineContextPicker(result);

}

}

}

关于使用task创建文档及附件的几种方法

(2012-11-2011:

06:

32)

标签:

tasks

add-contentitem

杂谈

关于使用task创建文档及附件的几种方法:

1.通过上传附件,在session中设置BLOB_COUNT=1

2.通过URL获取inputstream

3.通过本地文件

对于第一种方法,有很多OOTB的例子,这里就忽略,重点说后两钟。

关于URL:

.URLneturl=new.URL(url);

.HttpURLConnectionconnection=(.HttpURLConnection)neturl.openConnection();

connection.setRequestMethod("GET");

byte[]b=Base64.encode(user_password.getBytes("UTF-8"));

Strings=newString(b,"UTF-8");

connection.setInstanceFollowRedirects(false);

connection.setRequestProperty("Authorization","Basic"+s);

connection.connect();

com.infoengine.object.IeMultipartInputStreaminputstream=

newcom.infoengine.object.IeMultipartInputStream(connection.getInputStream(),"application/octet-stream",fileName,fileName);

setInputStream(inputstream);

 

关于本地文件:

STAGED_FILE_ID和STAGING_AREA必须成对出现,其中STAGING_AREA是相对路径,实际读取文件系统会拼接一个绝对路径出来:

{wt.adapter.stagingAreaRoot}/STAGING_AREA/username

其中wt.adapter.stagingAreaRoot是wt.properties里面的一个属性,默认值是在WT_HOME/tmp目录,

username就是执行这个tasks的用户名

STAGING_AREA可以是多级目录

 

下面附录Add-ContentItems的详细说明:

data="$(@SERVER[]accept_language[])"/>

data="$(@SERVER[]authorization[0])"/>

ATTRIBUTE

Specifiestheattributestobereturnedintheoutputgroupforeachobject.Multiple

valuescanbespecifiedforthisparameter.Ifthisparameterisnotspecified,a

defaultsetofattributesisreturned.Thedefaultsetofattributesforatypeis

configuredinaDefaultAttributespropertyvalueofthe

wt.adapter.delegates.propertiesfile.IfaDefaultAttributespropertyisnotdefined,

allattributesofallobjectsarereturned.Thisparameterisoptional.

AUTHORIZATION

SpecifiesavalidHTTPAuthorizationheadervalue.OnlyHTTPbasic

Authenticationissupported.Ifspecified,thisparameterservesasthesourceofthe

usernameandpasswordtoassociatewiththeexecutionofthewebject,and

DBUSERandPASSWDareignored.Ifcredentialsarenotsuppliedviathe

AUTHORIZATION/DBUSER/PASSWDparameters,Info*Engineattemptsto

providevaluesfortheseparametersbywayofitscredentialsmapping

mechanism.

Note:

InastandardWindchillinstallation,requestsigningisalwaysconfigured,

whichmeanstheserverwilltrusttheusernamesuppliedtothewebserverfor

authentication.Thisusernamewillbeusedduringwebjectinvocationroutedto

thelocalWindchillandtheDBUSER,PASSWD,andAUTHORIZATION

parametervalueswillbeignored.Formoreinformationaboutauthenticationand

userauthenticationspecifications,seetheInfo*EngineUser'sGuide.

CONNECTION_ATTEMPTS

Definesthemaximumnumberoftimestoattemptestablishingaconnectiontoan

adapterbeforereturninganerror.Thedefaultvalueis1.Thisparameteris

optional.

IfmultipleINSTANCEparametervaluesarespecified,thevalueof

CONNECTION_ATTEMPTSdefinesthemaximumnumberoftimestoiterate

throughthelistofadapterinstances.

4-10WindchillAdapterGuide

CONNECTION_ATTEMPT_INTERVAL

Definestheamountoftime,inseconds,todelaybetweenconnectionattempts

whenconnectionstoaWindchillsystemarefailing.Thedefaultvalueis60

seconds.Thisparameterisoptional.

IfmultipleINSTANCEparametervaluesarespecified,thevalueof

CONNECTION_ATTEMPT_INTERVALdefinesthenumberofsecondstowait

betweentheattemptstoiteratethroughtheentirelistofadapterinstances.

CONTAINER_REF

SpecifiesaWindchillcontainertoapplythewebjectagainst.Thisparameter

acceptsthefollowingtypesofinput:

•TheUFIDofaWindchillcontainer.MultipleUFIDscanbespecifiedforthis

parameter.

•MEMBERSHIP-SpecifyingMEMBERSHIPasthevalueforthisparameter

causesforthequerytofindonlythosecontainersofwhichtheuserisa

member.

Whenthisparameterisspecified,thescopeofqueriesexecutedagainsttheTYPE

andWHEREparametersarerestrictedtotheassociatedcontainer.

DBUSER

TheDBUSERwebjectspecifiestheusernametousewhenauthenticatingtothe

Windchillsystem.Forthisparametertobeapplied,PASSSWDmustalsobe

specified.IfAUTHORIZATIONisspecified,DBUSERandPASSWDare

ignored.Ifcredentialsarenotsuppliedviathe

AUTHORIZATION/DBUSER/PASSWDparameters,Info*Engineattemptsto

providevaluesfortheseparametersbywayofitscredentialsmapping

mechanism.

Note:

InastandardWindchillinstallation,requestsigningisalwaysconfigured,

whichmeanstheserverwilltrusttheusernamesuppliedtothewebserverfor

authentication.Thisusernamewillbeusedduringwebjectinvocationroutedto

thelocalWindchillandtheDBUSER,PASSWD,andAUTHORIZATION

parametervalueswillbeignored.

Formoreinformationaboutauthenticationanduserauthenticationspecifications,

seetheInfo*EngineUser'sGuide.

DESCRIPTION

Specifiesthedescriptionofacorrespondingcontentitem.Eachinstanceofthe

DESCRIPTIONparametercorrespondstoacontentitemandspecifiesthe

descriptionofthatcontentitem.IfnoDESCRIPTIONparametersarespecified,

thedescriptionofthecontentitemsdefaultstoanemptystring.Similarly,ifthere

arefewerDESCRIPTIONparametersthancontentitems,emptystringsare

implicitlyaddedtothelistofDESCRIPTIONparameters.Thisparameteris

optional.

TheWebjectLibrary4-11

DESCRIPTOR

Specifiesthenameofanattributetobeincludedinthecommandfilterofthe

underlyingcommandexecutedbyawebject.Thisparametermaybespecified

morethanoncetoidentifymultipleattributenamestobeincludedinthefilter.

Thesearetheattributesthatwillbereturnedindatabasequeriesexecutedbythe

underlyingcommand.Inmostcases,thissetofattributesiscombinedwiththeset

ofattributesidentifiedbyATTRIBUTEparameters.However,ATTRIBUTE

parametersalsodeterminethesetofattributesreturnedineachelementofa

webject'soutputgroupwhileDESCRIPTORparametershelpcontrolthebusiness

objectattributesselectedfromthedatabasebyWindchillcomm

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > IT计算机 > 电脑基础知识

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2