게시판을 이용해 주셔서 감사합니다.
다음양식에 맞게 입력해주세요.
* 고객시스템명 : 하나은행 투자신탁부 증투시스템
* GAUCE 버전 : Gauce4.0
* WAS 종류(WebLogic 등등) : 웹로직10,아파치 톰캣6
* DB 종류 : Oracle10g
* 문의 유형(질문/요청/참조) : 질문
* 내용 :
개발서버
unix
weblogic 10
webt
tmax
개발서버환경에서는 가우스 잘 작동됩니다.
개발을 해야 하는 상황이라 제 로컬컴퓨터에 eclipse개발환경을 구축하려 합니다.
eclipse
C:ApacheTomcat 6.0
C:Program FilesJavajdk1.6.0_24
Gauce4.0
webapp디렉토리에 설치하고 실행 하니...
======================================================================================================
An error occurred at line: 255 in the generated java file
The type Collection is not generic; it cannot be parameterized with arguments <? extends E>
======================================================================================================
요런 에러가 나와서 찾아보았습니다.
다음 설정사항을 web.xml에 추가 하라고 해서 추가 하니
톰캣이 구동이 됩니다.
======================================================================================================
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>fork</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>xpoweredBy</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>mappedfile</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>compilerTargetVM</param-name>
<param-value>1.5</param-value>
</init-param>
<init-param>
<param-name>compilerSourceVM</param-name>
<param-value>1.4</param-value>
</init-param>
<load-on-startup>3</load-on-startup>
</servlet>
======================================================================================================
이제 다음과 같이 구동이 됩니다.
======================================================================================================
2011. 4. 5 오후 1:40:37 org.apache.catalina.core.AprLifecycleListener init
정보: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:Program FilesJavajdk1.6.0_24bin;.;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;C:/Program Files/Java/jdk1.6.0_24/bin/../jre/bin/client;C:/Program Files/Java/jdk1.6.0_24/bin/../jre/bin;C:oracleora92bin;C:Program FilesThinkPadUtilities;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesIntelWirelessBin;;C:PROGRA~1ULTRAE~1;C:PWRSshared;c:fcs;c:fcsdllc:fcspbd;C:strawberrycbin;C:strawberryperlbin;c:Program FilesMicrosoft SQL Server90Toolsbinn;C:WINDOWSMicrosoft.NETFrameworkv3.5;C:Javajre6bin;C:WINDOWSSoftcampSDK;C:WINDOWSSoftcampVSD;C:Program FilesJavajdk1.6.0_24lib;C:Program FilesJavajdk1.6.0_24bin;C:Program FilesCVSNT;C:Program FilesESTsoftALSee
2011. 4. 5 오후 1:40:37 org.apache.tomcat.util.digester.SetPropertiesRule begin
경고: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:applications_its' did not find a matching property.
2011. 4. 5 오후 1:40:37 org.apache.coyote.http11.Http11Protocol init
정보: Initializing Coyote HTTP/1.1 on http-8080
2011. 4. 5 오후 1:40:37 org.apache.catalina.startup.Catalina load
정보: Initialization processed in 622 ms
2011. 4. 5 오후 1:40:38 org.apache.catalina.core.StandardService start
정보: Starting service Catalina
2011. 4. 5 오후 1:40:38 org.apache.catalina.core.StandardEngine start
정보: Starting Servlet Engine: Apache Tomcat/6.0.24
2011. 4. 5 오후 1:40:38 org.apache.catalina.core.ApplicationContext log
정보: [GAUCE] GauceFilter: [GAUCE_HOME] C:Webappsapplications_itsitsWebAppWEB-INF
2011. 4. 5 오후 1:40:38 org.apache.catalina.core.ApplicationContext log
정보: [GAUCE] GauceFilter: 가우스 서버 4.0은 Tue Apr 05 11:20:47 KST 2011에 설치되었습니다.
2011. 4. 5 오후 1:40:38 org.apache.catalina.core.ApplicationContext log
정보: [GAUCE] GauceFilter: 현재 30일용 Trial 라이센스로 가우스 서버 4.0을 사용하고 있습니다.
2011. 4. 5 오후 1:40:39 org.apache.catalina.core.ApplicationContext log
정보: [GAUCE] GauceFilter: 가우스 서버 4.0 Context가 로딩 되었습니다.
2011. 4. 5 오후 1:40:39 org.apache.catalina.core.ApplicationContext log
정보: [GAUCE] GauceFilter: PipeMap이 로딩되었습니다.
2011. 4. 5 오후 1:40:39 org.apache.catalina.core.ApplicationContext log
정보: [GAUCE] GauceFilter: 5초 간격으로 환경파일이 변경되었는지를 감지합니다.
2011. 4. 5 오후 1:40:39 org.apache.catalina.core.ApplicationContext log
정보: [GAUCE] GauceFilter: 가우스 Filter가 초기화 되었습니다. 위치 : C:Webapps.metadata.pluginsorg.eclipse.wst.server.coretmp0wtpwebappsapplications_its
2011. 4. 5 오후 1:40:39 org.apache.coyote.http11.Http11Protocol start
정보: Starting Coyote HTTP/1.1 on http-8080
2011. 4. 5 오후 1:40:39 org.apache.jk.common.ChannelSocket init
정보: JK: ajp13 listening on /0.0.0.0:8009
2011. 4. 5 오후 1:40:39 org.apache.jk.server.JkMain start
정보: Jk running ID=0 time=0/47 config=null
2011. 4. 5 오후 1:40:39 org.apache.catalina.startup.Catalina start
정보: Server startup in 1219 ms
======================================================================================================
이제 구동은 된 상태에서 가우스가 로딩되는 부분의 웹페이지를 열어보니....
======================================================================================================
2011. 4. 5 오후 1:42:11 org.apache.catalina.core.StandardWrapperValve invoke
심각: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 42 in the jsp file: /custo/callDB/app/ut/ut0300_CallDB.jsp
WebtConnection cannot be resolved to a type
39:
40:
41: // Webt 커넥션
42: WebtConnection con = null;
43:
44: Vector<ut0300_Bean> DBVector = new Vector<ut0300_Bean>();
45:
An error occurred at line: 44 in the jsp file: /custo/callDB/app/ut/ut0300_CallDB.jsp
The type Vector is not generic; it cannot be parameterized with arguments <ut0300_Bean>
41: // Webt 커넥션
42: WebtConnection con = null;
43:
44: Vector<ut0300_Bean> DBVector = new Vector<ut0300_Bean>();
45:
46: try {
47: con = new WebtConnection(TMAX_IP, TMAX_PORT);
.
.
.
.
Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.gauce.filter.GauceFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
======================================================================================================
에러에 관해 찾아보니 컴파일러 버전을 1.5나1.6으로 올리라고 나와서
<init-param>
<param-name>compilerTargetVM</param-name>
<param-value>1.5</param-value>
</init-param>
<init-param>
<param-name>compilerSourceVM</param-name>
<param-value>1.4</param-value>
</init-param>
이부분의 버전을 바꾸면 다시 톰캣이 구동되지 않고
======================================================================================================
An error occurred at line: 255 in the generated java file
The type Collection is not generic; it cannot be parameterized with arguments <? extends E>
======================================================================================================
요 메세지가 나옵니다.
어떻게 처리 해야 되는지 도움을 부탁 드립니다.
추가: 더 필요한 정보가 있으면 올려 드리겠습니다.