Background Image

FORUM

조회 수 16253 추천 수 0 댓글 2
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

* 질문 등록 시 다음의 내용을 꼭 기입하여 주세요.
OS
Window7 32bit, Linux 64bit 등
CUBRID Ver.
CUBRID 2008 R4.0 (8.4.0.0243) (32bit release build for Windows_NT) (Jun 27 2011
19:47:59)
CUBRID TOOL Ver.
버전:2008 R4.0
빌드 번호:8.4.0.0241 (2011-06-24 16:22)
응용 환경(API)
java

* CUBRID 응용 오류, SQL 오류 또는 SQL 튜닝 관련된 문의는 반드시 다음의 내용을 추가해 주세요. 비밀글이나 비밀 댓글도 가능합니다.
* 저희가 상황을 이해하고, 재현이 가능해야 알 수 있는 문제들이 많습니다. 가능한 정보/정황들을 부탁합니다.
에러 내용 및 재현 방법 재현 가능한 Source와 SQL
관련 테이블(인덱스, 키정보 포함) 정보 CUBRID 홈 디렉토리 아래 log 디렉토리 압축


-------------- 아래에 질문 사항을 기입해 주세요. ------------------------------------------------------------------------

일반 조회시에는 문제가 없는데,

Transaction 작업을 하는 경우에만 가끔씩

Cannot communicate with the broker 오류가 발생합니다.

한번 발생하면, 강제로 commit를 날리거나, 조회를 한후 시도하면 문제가 한동안 나타나지 않습니다.

그런데, 아무런 작업을 하지 않다가 일정시간 경과후 다시 Transaction 작업을 하면

Cannot communicate with the broker 오류가 발생합니다.

 

 

[Spring을 이용한 Java 비지니스 소스 파일]

public class BO1100M00Mg implements BO1100M00MgIf {
 private PlatformTransactionManager transactionManager;
 BO1100M00DaIf BO1100M00Dao;

 public List<BO1100M00Vo> ret;

 public void setBO1100M00Dao(BO1100M00DaIf BO1100M00Dao) {
  System.out.println("setBO1100M00Dao:setBO1100M00Dao~~~~");
  this.BO1100M00Dao = BO1100M00Dao;
 }

 // Transaction Manager Setting
 public void setTransactionManager(
   PlatformTransactionManager transactionManager) {
      System.out.println("PU1200M00Mg:setTransactionManager~~~~");
       this.transactionManager = transactionManager;
 }

 private TransactionDefinition getDefinition(int isolationLevel,
   boolean isReadOnly) {
      DefaultTransactionDefinition def = new DefaultTransactionDefinition(
                                                                           TransactionDefinition.PROPAGATION_REQUIRED);
      def.setTimeout(5000);
      def.setReadOnly(isReadOnly);
      def.setIsolationLevel(isolationLevel);
      return def;
 } 
 // 중간생략........

 

 public String setBookStatus(String strLib_cd, String strUser_id, String inputXml) throws Exception 
 {
     int bRtn = 0;
     String bRtnStr = "";
     String errMsg = "";
     
     BO1100M00Vo voBook = new BO1100M00Vo();
      

    //  Cannot communicate with the broker 오류가 발생하면서, 이곳에서 transaction객체를 얻지 못합니다. 
    TransactionStatus trStatus = transactionManager.getTransaction(getDefinition(
                                                                                     TransactionDefinition.ISOLATION_READ_COMMITTED, false));

     try 
    {
              //............ 중간생략

     }
     catch (Exception e) {
         transactionManager.rollback(trStatus);
         return e.getMessage();
    }

    transactionManager.commit(trStatus);

   

    return errMsg;

}


  • ?
    이용미 2013.04.17 21:30

    안녕하세요.

    정확한 원인 분석을 위하여 $CUBRID/log 디렉토리를 압축하여 첨부파일로 추가해 주시면 도움이 될 것 같습니다.

    비밀 댓글도 가능하니 확인 부탁 드립니다.

  • ?
    미스터투 2013.04.19 04:54 Files첨부 (1)

    로그파일을 첨부합니다.

    이것때문에 정말 고생하고있습니다.

    꼭 원인이 밝혀지기를 기대해 봅니다.


  1. CUBRID 사용자를 위한 DBeaver 도구 출시 안내

    Date2024.04.23 Byadmin Views51
    read more
  2. SQLGate for CUBRID 영구 무료 라이선스 제공

    Date2020.04.09 Byadmin Views4458
    read more
  3. UTF-8 한글이 깨집니다.

    Date2011.04.30 By코난7 Views16473
    Read More
  4. 큐브리드 쿼리 처리 속도에 대한..

    Date2011.01.10 By스마트 Views16428
    Read More
  5. Clob Insert 시 Java heap space 에러 문의드립니다.

    Date2013.05.10 By김상윤 Views16401
    Read More
  6. 페도라 10에서 큐브리드 rpm 설치시 오류

    Date2009.03.26 By스나이퍼 Views16391
    Read More
  7. SELECT 시, 필드 값의 대소문자 구분 없이 조건 검색 가능할까요?

    Date2011.04.02 By차오이 Views16381
    Read More
  8. 저장 프로시저 작성법

    Date2010.03.14 Bywebdoors Views16379
    Read More
  9. java PreparedStatement 변수 바인딩 시 에러

    Date2012.08.04 By빛돌 Views16355
    Read More
  10. Java VM is not running....문제입니다

    Date2011.04.29 By수수 Views16349
    Read More
  11. jsp 연결~~

    Date2009.11.10 By하이에나 Views16335
    Read More
  12. OLEDB insert관련 질문입니다.

    Date2009.02.05 Bygarfield39 Views16334
    Read More
  13. mysql에서 limit와 같은 기능이 있나요?

    Date2009.03.14 By홍서기 Views16334
    Read More
  14. 이클립스 DBViewer에서 1분정도 지나면 컨넥션이 끊어집니다.

    Date2009.06.04 By천타에 허리한번 펴자 ㅡㅡ; Views16332
    Read More
  15. double 표시형식 문의

    Date2011.12.18 By지렸당께 Views16277
    Read More
  16. [문의]임베디드 SQL 개발시 참고해야 할 기술문서가 어디있는지요?

    Date2009.01.22 Byvictory Views16269
    Read More
  17. cubrid broker fail문제

    Date2016.12.13 By왠키 Views16263
    Read More
  18. Cannot communicate with the broker 오류

    Date2013.04.16 By미스터투 Views16253
    Read More
  19. Cubrid iBatis Cursor 예제좀 부탁드립니다.

    Date2012.03.21 By깨달음 Views16250
    Read More
  20. 오라클에서 큐브리드 데이터 이관

    Date2016.12.07 By으라챠챠 Views16239
    Read More
  21. cubridmigration toolkit 이용시

    Date2013.11.07 By쩡저리 Views16236
    Read More
  22. mysql 데이트 컬럼 자르기 문의

    Date2010.03.31 By초보 Views16213
    Read More
Board Pagination Prev 1 ... 10 11 12 13 14 15 16 17 18 19 ... 200 Next
/ 200

Contact Cubrid

대표전화 070-4077-2110 / 기술문의 070-4077-2113 / 영업문의 070-4077-2112 / Email. contact_at_cubrid.com
Contact Sales