• 고객센터
  • 교육
  • 매뉴얼
  • 데모
  • 제품소개
기술지원44
조회 수 : 1375
2008.11.27 (23:01:15)

>게시판을 이용해 주셔서 감사합니다.
>다음양식에 맞게 입력해주세요.
>
>* 고객시스템명 :
>* GAUCE 버전 : 4.0
>* WAS 종류(WebLogic 등등) : 10.1
>* DB 종류 : ORACLE
>* 문의 유형(질문/요청/참조) : 질문
>* 내용 :
>아래 소스에서 [TRNS-50077] 서비스 수행시 Error가 발생했습니다.  라는 오류 메세지가 발생하는데
>원인을 찾을수가 없습니다. 확인 부탁드립니다.
>
>
><%
>        ServiceLoader loader = new ServiceLoader(request, response);
>        GauceService service = loader.newService();
>        GauceContext context = service.getContext();
>        
>        // 필수항목
>        String PROGID = "Ajbgscom40_00_trn00";
>        String PROGFC = "S";
>        String MSG    = "";
>        
>        // 각종변수 셋팅
>        HanaDataSetMgr dsMgr = null;
>        String action    = null;
>        ArrayList result = null;
>
>        try{
>                GauceResponse res         = service.getGauceResponse();
>                GauceRequest req         = service.getGauceRequest();
>                GauceDataSet dSet         = new GauceDataSet();
>
>                res.enableFirstRow(dSet);
>                
>                action  = req.getParameter("action");
>                
>            JbgsComBeen comBeen = new JbgsComBeen();
>            
>            if (action.equals("main")) {
>                String strSubjSearch = req.getParameter("strSubjSearch");
>                        
>
>                        dSet.addDataColumn(new GauceDataColumn("업무구분",        GauceDataColumn.TB_DECIMAL));
>                        dSet.addDataColumn(new GauceDataColumn("문구ID",                GauceDataColumn.TB_DECIMAL));
>                        dSet.addDataColumn(new GauceDataColumn("문구명",                GauceDataColumn.TB_STRING));
>                        dSet.addDataColumn(new GauceDataColumn("문구설명",        GauceDataColumn.TB_STRING));
>
>                        result = comBeen.getList ( strSubjSearch );
>
>                if ( result != null && result.size() > 0 ) {
>                                
>                                for ( int i = 0; i < result.size(); i++ ) {
>                                        ArrayList data = ( ArrayList ) result.get( i );
>                                        
>                                        GauceDataRow row = dSet.newDataRow();
>                                        
>                                        row.addColumnValue( data.get ( 0 ) );
>                                        row.addColumnValue( data.get ( 1 ) );
>                                        row.addColumnValue( data.get ( 2 ) );
>                                        row.addColumnValue( data.get ( 3 ) );
>                                        
>                                        dSet.addDataRow(row);
>                                }
>                        } else {
>                        }
>            }
>                
>                dSet.flush();
>                res.flush();
>                res.commit();
>                res.close();
>        } catch(NullPointerException _en) {
>                System.out.println(_en);
>        _en.printStackTrace();
>        } catch(Exception _e) {
>                System.out.println(_e);
>            _e.printStackTrace();
>%>
>            <!-- 에러 페이지 처리 -->
>            <%@ include file="/comm/inc/inc_exception_00.jsp" %>
><%
>        } finally {
>                loader.restoreService(service);
>        }
>%>
>
>
>

50077은 서비스 로직 소스에 문제가 있다는 코드입니다.

서비스 페이지를 직접 호출해 보시기 바랍니다.

소스를 봐서는 어디가 문제인지 알수가 없네요.. 로그파일 등을 첨부하시는게 더 좋을듯 합니다.
 
Tag List
XE Login