혹시나 웹어플리케이션을 바꾸어서 연동해보려고 하거나 하는 시도를 하다가 연동이 안되면서


[RPC Fault faultString="[MessagingError message='Destination 'sampleService' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']" faultCode="InvokeFailed" faultDetail="Couldn't establish a connection to 'sampleService'"]


한국말로는

[RPC Fault faultString="[MessagingError message='대상 'sampleService'이(가) 없거나 해당 대상에 채널이 정의되지 않았습니다. 또한 응용 프로그램에 기본 채널이 정의되지 않았습니다.']" faultCode="InvokeFailed" faultDetail="sampleService'에 연결할 수 없습니다."]


과 같은 에러가 발생될 때가 있다. 이 때는 플렉스 프로젝트의 Properties에서 Flex Compile 과 Flex Server 부분을 확인해 볼 필요가 있다. BlazeDS와 연동하는 플렉스 프로젝트를 Compile하는데에는 웹어플리케이션 측의 services-config.xml파일도 이용을 하기 때문에 이를 못찾는다거나 설정이 틀릴경우에는 문제가 발생된다. 이 부분을 간과한 채 아무래 웹어플리케이션만 죽어라 설정파일 변경하고 빌딩했지만 해결이 안되었었다.


services-config.xml

    <services>

        <service-include file-path="remoting-config.xml" />

        <service-include file-path="proxy-config.xml" />

        <service-include file-path="messaging-config.xml" />  

        

        <!-- 

    Application level default channels. Application level default channels are 

    necessary when a dynamic destination is being used by a service component

    and no ChannelSet has been defined for the service component. In that case,

    application level default channels will be used to contact the destination.

        --> 

        <default-channels>

           <channel ref="my-amf"/>

        </default-channels>     

    </services>

Posted by 미랭군
데이터베이스2013. 3. 11. 15:00
언제부터인가 Oracle SQL Developer 의 언어가 OS에 따라 현지화가 되어 실행되기 시작했습니다.
물론 한글이 더 좋긴 하지만 기존 사용자들에게는 혼란스러울 수 도 있을 것 같습니다.

다음과 같이 config 파일을 수정하여 다시 영문으로 변경할 수 있습니다.


sqldeveloper/bin/sqldeveloper.conf에 다음을 추가

AddVMOption -Duser.language=en
AddVMOption -Duser.country=US


수정 후 재실행 하면 적용 됩니다.

 

Posted by 미랭군
모바일앱2013. 2. 15. 20:24

최근 들어 모바일 앱 관련한 요구가 많이 발생하다보니 이쪽 관련해서 관심이 많아졌다.

안드로이드같은 경우 그냥 브라우져 URL에서 다운로드 받은 APK파일을 경고창을 무시하고 설치하면 되는데 아이폰의 경우는

루팅을 하지 않으면 설치가 힘드니 어떤 식으로 기업 내부용 앱을 배포할지가 궁금했다.

검색해보니

 

아이폰 개발자 기업용 프로그램(iPhone Developer Enterprise Program)

:기업용 내부 어플 개발용 / 1년 $299 (약 33만원)

:Ad Hoc 배포

:In-House 배포

:500인 이상 기업체 가입 가능

 

이라는 것을 가입 후에 Ad Hoc, In-House 배포 방식을 통해 배포가 가능할 것 같다.

이메일로도 동기화가능하다고 하니 이것을 사용하면 될 듯 싶다.

'모바일앱' 카테고리의 다른 글

[iOS] ad-hoc 배포시 주의점  (0) 2017.07.25
[Android] AlertDialog 생성  (0) 2015.08.06
[Android] AndroidManifest.xml의 역할  (0) 2015.08.06
Posted by 미랭군