#0003 LiveCycle Data과 쉘스크립트 설정
운영체제
SunOS 5.10(x86)
WAS서버(port 2880)
Tomcat 5.5
LCDS 경로
/usr/local/APP/tomcat/webapps/flex
Coldfusion 경로
/usr/local/APP/tomcat/webapps/cfusion
webroot 경로
/usr/local/APP/tomcat/webapps/flex
톰캣 스크립트(file: /usr/bin/tomcat, chmod 775)
사용법 : tomcat start | stop | log
tomcat 스크립트 다운로드
mxmlc 스크립트(file: /usr/bin/mxmlc, chmod 775)
사용법 : mxmlc < 파일확장자를 제외한 메인 파일> ex) mxmlc Main
mxmlc 스크립트 다운로드
실행화면

remoting-config.xml 설정
remoting-config.xml 다운로드 – destination 설정부분
<destination id="ColdFusion"> <channels> <channel ref="my-cfamf"/> </channels> <properties> <source>*</source> <access> <!-- 기본값으로 webroot에서 cfc를 호출하도록 할것이므로 use-mappings는 false로 --> <use -mappings>false</use> <!-- cfc의 public와 remote가 되어있는 메소드 타입을 호출하도록 한다. --> <method -access-level>remote</method> </access> <property -case> <force -cfc-lowercase>false</force> <force -query-lowercase>false</force> <force -struct-lowercase>false</force> </property> </properties> </destination>
<default> <!-- 채널은 services-config.xml에서 설정한 my-cfamf을 쓰도록한다. --> <channel ref="my-cfamf"> </channel> </default>
services-config.xml 설정
services-config.xml 다운로드
<channel -definition id="my-cfamf" class="mx.messaging.channels.AMFChannel"> <endpoint uri="http://{server.name}:{server.port}/cfusion/flex2gateway/" class="flex.messaging.endpoints.AMFEndpoint"/> <properties> <polling -enabled>false</polling> <serialization> <instantiate -types>false</instantiate> </serialization> </properties> </channel>
다음은 Coldfusion설정을 해볼까 ![]()





Recent Comments