• 고객센터
  • 교육
  • 매뉴얼
  • 데모
  • 제품소개
조회 수 : 1245
2006.11.06 (22:48:58)
안녕하세요.


조금 전에 통화하시면서 언급한 API

관련 샘플 첨부하여 드립니다. 감사합니다.


>게시판을 이용해 주셔서 감사합니다.
>다음양식에 맞게 입력해주세요.
>
>* 고객시스템명 :  적십자
>* GAUCE 버전 : 4.0
>* WAS 종류(WebLogic 등등) :  WSAD(5.0) Websphere 5.0
>* DB 종류 :  Oracle
>* 문의 유형(질문/요청/참조) :
>* 내용 : GauceInputStream Error 발생 ..
>[06-11-06   13:46:32:359 KST] 7a2c7a2c SystemOut     O POST
>[06-11-06   13:46:33:437 KST] 7a2c7a2c RequestProces W org.apache.struts.action.RequestProcessor  Unhandled Exception thrown: class java.io.IOException
>[06-11-06   13:46:33:453 KST] 7a2c7a2c WebGroup      E SRVE0026E: [Servlet 오류]-[더 이상 입력 스트림으로부터 읽어들일 데이터가 없습니다.]: java.io.IOException: 더 이상 입력 스트림으로부터 읽어들일 데이터가 없습니다.
>        at java.lang.Throwable.<init>(Throwable.java:59)
>        at java.lang.Throwable.<init>(Throwable.java:73)
>        at com.gauce.io.bin.A.A(Unknown Source)
>        at com.gauce.io.bin.A.A(Unknown Source)
>        at com.gauce.filter.HttpGauceRequestWrapper.getGauceInputStream(Unknown Source)
>        at rims.comm.action.sample01Action.execute(sample01Action.java)
>        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
>        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
>        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
>        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>        at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
>        at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
>        at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
>        at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
>        at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
>        at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
>        at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
>        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)
>        at com.gauce.filter.GauceFilter.doFilter(Unknown Source)
>        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
>        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
>        at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
>        at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
>        at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
>        at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
>        at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
>        at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
>        at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
>        at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
>        at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
>        at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
>        at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
>        at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
>        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
>
>
>이라는 메세지 입니다..
>
>
>-- Source ---------
>        public ActionForward execute(
>                ActionMapping mapping,
>                ActionForm form,
>                HttpServletRequest request,
>                HttpServletResponse response)
>                throws IOException, ServletException {
>
>                ActionErrors errors = new ActionErrors();
>                ActionForward forward = new ActionForward(); // return value
>
>                System.out.println("Step 0000!!!");
>                System.out.println("Step 0000!!! getParameter :" + mapping.getParameter());
>                System.out.println("Step 0000!!! getAttribute :" + mapping.getAttribute());
>                System.out.println("Step 0000!!! getForward :" + mapping.getForward());
>                System.out.println("Step 0000!!! getInclude :" + mapping.getInclude());
>                System.out.println("Step 0000!!! getName :" + mapping.getName());
>                System.out.println("Step 0000!!! getType :" + mapping.getType());
>                System.out.println("Step 0000!!! getPath :" + mapping.getPath());
>                System.out.println("Step 0000!!! getInputForward :" + mapping.getInputForward());
>                System.out.println("Step 0000!!! getInput :" + mapping.getInput());
>                System.out.println("Step 0000!!!get ModuleConfig :" + mapping.getModuleConfig());
>
>                        
>                HttpGauceRequest gauceReq = (HttpGauceRequest) request.getAttribute("HttpGauceRequest");
>                HttpGauceResponse gauceRes =  (HttpGauceResponse) response;
>
>                String dummy =((String)request.getParameterValues("id")[0]);
>                        System.out.println(dummy);
>                System.out.println(gauceReq.isBuilderRequest());
>                System.out.println(gauceReq.getAuthType());
>                System.out.println(gauceReq.getCharacterEncoding());
>                System.out.println(gauceReq.getMethod());
>                
>                         GauceInputStream gis = gauceReq.getGauceInputStream();  <-- Error 발생,,
>                GauceOutputStream gos =gauceRes.getGauceOutputStream();
>
번호 제목 닉네임 조회 등록일
2449 닷넷 데이타셋을 가우스 데이타셋으로 변환가능하나요?
김종선
1227 2006-11-08
2448 DBConnection POOL is empty 문제... 여쭤봅니다.. 첨부 파일
형이
1152 2006-11-08
2447 Enable상태의 글자색에 대한 질문입니다.
정병관
1145 2006-11-07
2446 Enable상태의 글자색에 대한 질문입니다.
관리자
1114 2006-11-09
2445 Enable상태의 글자색에 대한 질문입니다.
정병관
1266 2006-11-13
2444 ie7
정정희
1290 2006-11-07
2443 ie7
관리자
1280 2006-11-07
2442 GauceInputStream Error
김유식
1157 2006-11-06
Selected GauceInputStream Error 첨부 파일
관리자
1245 2006-11-06
2440 GauceInputStream Error 첨부 파일
관리자
1395 2006-11-06
2439 IE7에서 가우스 사용
한정윤
1041 2006-11-06
2438 IE7에서 가우스 사용
관리자
1240 2006-11-07
2437 그리드안 체크박스
김희라
1197 2006-11-06
2436 그리드안 체크박스
관리자
1340 2006-11-06
2435 EditStyle=Lookup 사용법
이재훈
1265 2006-11-06
2434 EditStyle=Lookup 사용법
관리자
2032 2006-11-06
2433 Mgrid에서 셀 단위로 활성/비활성시키는 것 좀 알려주세요..
이해욱
1629 2006-11-05
2432 엑셀 출력 Title
유영욱
1198 2006-11-04
2431 엑셀 출력 Title
기술지원44
1361 2006-11-06
2430 textarea 스타일 질문입니다.
박민영
1127 2006-11-04
Tag List
XE Login