keytool.exe -genkey -alias juheon -keyalg RSA -keypass 1234qwer -storepass 1234qwer -keystore juheon.jks keytool.exe -export -alias juheon -storepass 1234qwer -file juheon.cer -keystore juheon.jks keytool.exe -importkeystore -srckeystore juheon.jks -destkeystore juheon.key.p12 -deststoretype PKCS12 D:\Java\32bit\jdk1.5.0_22\jre\lib\security\cacert D:\Java\32bit\jdk1.5.0_22\bin\keytool.exe -import -alias tsasample -keystore D:\Java\32bit\jdk1.5.0_22\jre\lib\security\cacert -file D:\workspace\Servers\tsa-server-web-config\tomcat.cer keytool -import -alias somansa -keystore C:\Program Files\Java\jdk1.8.0_102\jre\lib\security\cacert -file c:\somansa.cer #인증서 생성 keytool -genkey -alias keyAlias -keyalg RSA -keypass changeit -storepass changeit –validity 9999 -keystore keystore.jks keytool -export -alias keyAlias -storepass changeit -file server.cer -keystore keystore.jks keytool -import -v -trustcacerts -alias keyAlias -file server.cer ...
WAS 구동시 jsp 에러가 났을때 jsp가 컴파일된 파일을 확인하여 디버깅한다.
jeus was jsp 컴파일된 파일 경로
%WAS_HOME%/WEBAPP/WEB-INF/.warjspwork/jeus_jspwork/
jsp 에러의 예)
javax.servlet.ServletException: String index out of range: -13
at javax.servlet.http.HttpServlet.service(Unknown Source)
at jeus.servlet.jsp.JspServletWrapper.executeServlet(JspServletWrapper.java(Compiled Code))
at jeus.servlet.engine.RequestDispatcherImpl.processCommonRequestDispatcher(RequestDispatcherImpl.java(Compiled Code))
at jeus.servlet.engine.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java(Compiled Code))
at jeus.servlet.engine.RequestDispatcherImpl.forward(RequestDispatcherImpl.java(Compiled Code))
at com.tomato.jef.servlet.BaseServlet.doDispatch(BaseServlet.java(Inlined Compiled Code))
at com.tomato.jef.bizframe.servlet.XecureHTMLMainServlet.doProcess(XecureHTMLMainServlet.java(Compiled Code))
at com.tomato.jef.bizframe.servlet.XecureHTMLMainServlet.doSessionProcess(XecureHTMLMainServlet.java(Compiled Code))
at com.tomato.jef.servlet.BaseServlet.doPreProcess(BaseServlet.java(Compiled Code))
at com.tomato.jef.servlet.BaseServlet.service(BaseServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service$WTImpl$javax$servlet$http$HttpServlet(Unknown Source)
at javax.servlet.http.HttpServlet.service(Unknown Source)
at jeus.servlet.engine.ServletWrapper.executeServlet(ServletWrapper.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.internalDoFilter(FilterChainImpl.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.doFilter(FilterChainImpl.java(Compiled Code))
at com.tomato.jef.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.internalDoFilter(FilterChainImpl.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.doFilter(FilterChainImpl.java(Compiled Code))
at jeus.servlet.engine.ServletWrapper.execute(ServletWrapper.java(Compiled Code))
at jeus.servlet.engine.WebtobRequestProcessor.run(WebtobRequestProcessor.java:181)
Root Exception stack trace :
java.lang.StringIndexOutOfBoundsException: String index out of range: -13
at java.lang.String.substring(String.java(Compiled Code))
at jeus_jspwork._ptl._500_PtleHotline_5fjsp._jspService(_500_PtleHotline_5fjsp.java:75)
at jeus.servlet.jsp.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service$WTImpl$javax$servlet$http$HttpServlet(Unknown Source)
at javax.servlet.http.HttpServlet.service(Unknown Source)
at jeus.servlet.jsp.JspServletWrapper.executeServlet(JspServletWrapper.java(Compiled Code))
at jeus.servlet.engine.RequestDispatcherImpl.processCommonRequestDispatcher(RequestDispatcherImpl.java(Compiled Code))
at jeus.servlet.engine.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java(Compiled Code))
at jeus.servlet.engine.RequestDispatcherImpl.forward(RequestDispatcherImpl.java(Compiled Code))
at com.tomato.jef.servlet.BaseServlet.doDispatch(BaseServlet.java(Inlined Compiled Code))
at com.tomato.jef.bizframe.servlet.XecureHTMLMainServlet.doProcess(XecureHTMLMainServlet.java(Compiled Code))
at com.tomato.jef.bizframe.servlet.XecureHTMLMainServlet.doSessionProcess(XecureHTMLMainServlet.java(Compiled Code))
at com.tomato.jef.servlet.BaseServlet.doPreProcess(BaseServlet.java(Compiled Code))
at com.tomato.jef.servlet.BaseServlet.service(BaseServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service$WTImpl$javax$servlet$http$HttpServlet(Unknown Source)
at javax.servlet.http.HttpServlet.service(Unknown Source)
at jeus.servlet.engine.ServletWrapper.executeServlet(ServletWrapper.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.internalDoFilter(FilterChainImpl.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.doFilter(FilterChainImpl.java(Compiled Code))
at com.tomato.jef.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.internalDoFilter(FilterChainImpl.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.doFilter(FilterChainImpl.java(Compiled Code))
at jeus.servlet.engine.ServletWrapper.execute(ServletWrapper.java(Compiled Code))
at jeus.servlet.engine.WebtobRequestProcessor.run(WebtobRequestProcessor.java:181)
jeus was jsp 컴파일된 파일 경로
%WAS_HOME%/WEBAPP/WEB-INF/.warjspwork/jeus_jspwork/
jsp 에러의 예)
javax.servlet.ServletException: String index out of range: -13
at javax.servlet.http.HttpServlet.service(Unknown Source)
at jeus.servlet.jsp.JspServletWrapper.executeServlet(JspServletWrapper.java(Compiled Code))
at jeus.servlet.engine.RequestDispatcherImpl.processCommonRequestDispatcher(RequestDispatcherImpl.java(Compiled Code))
at jeus.servlet.engine.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java(Compiled Code))
at jeus.servlet.engine.RequestDispatcherImpl.forward(RequestDispatcherImpl.java(Compiled Code))
at com.tomato.jef.servlet.BaseServlet.doDispatch(BaseServlet.java(Inlined Compiled Code))
at com.tomato.jef.bizframe.servlet.XecureHTMLMainServlet.doProcess(XecureHTMLMainServlet.java(Compiled Code))
at com.tomato.jef.bizframe.servlet.XecureHTMLMainServlet.doSessionProcess(XecureHTMLMainServlet.java(Compiled Code))
at com.tomato.jef.servlet.BaseServlet.doPreProcess(BaseServlet.java(Compiled Code))
at com.tomato.jef.servlet.BaseServlet.service(BaseServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service$WTImpl$javax$servlet$http$HttpServlet(Unknown Source)
at javax.servlet.http.HttpServlet.service(Unknown Source)
at jeus.servlet.engine.ServletWrapper.executeServlet(ServletWrapper.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.internalDoFilter(FilterChainImpl.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.doFilter(FilterChainImpl.java(Compiled Code))
at com.tomato.jef.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.internalDoFilter(FilterChainImpl.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.doFilter(FilterChainImpl.java(Compiled Code))
at jeus.servlet.engine.ServletWrapper.execute(ServletWrapper.java(Compiled Code))
at jeus.servlet.engine.WebtobRequestProcessor.run(WebtobRequestProcessor.java:181)
Root Exception stack trace :
java.lang.StringIndexOutOfBoundsException: String index out of range: -13
at java.lang.String.substring(String.java(Compiled Code))
at jeus_jspwork._ptl._500_PtleHotline_5fjsp._jspService(_500_PtleHotline_5fjsp.java:75)
at jeus.servlet.jsp.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service$WTImpl$javax$servlet$http$HttpServlet(Unknown Source)
at javax.servlet.http.HttpServlet.service(Unknown Source)
at jeus.servlet.jsp.JspServletWrapper.executeServlet(JspServletWrapper.java(Compiled Code))
at jeus.servlet.engine.RequestDispatcherImpl.processCommonRequestDispatcher(RequestDispatcherImpl.java(Compiled Code))
at jeus.servlet.engine.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java(Compiled Code))
at jeus.servlet.engine.RequestDispatcherImpl.forward(RequestDispatcherImpl.java(Compiled Code))
at com.tomato.jef.servlet.BaseServlet.doDispatch(BaseServlet.java(Inlined Compiled Code))
at com.tomato.jef.bizframe.servlet.XecureHTMLMainServlet.doProcess(XecureHTMLMainServlet.java(Compiled Code))
at com.tomato.jef.bizframe.servlet.XecureHTMLMainServlet.doSessionProcess(XecureHTMLMainServlet.java(Compiled Code))
at com.tomato.jef.servlet.BaseServlet.doPreProcess(BaseServlet.java(Compiled Code))
at com.tomato.jef.servlet.BaseServlet.service(BaseServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service$WTImpl$javax$servlet$http$HttpServlet(Unknown Source)
at javax.servlet.http.HttpServlet.service(Unknown Source)
at jeus.servlet.engine.ServletWrapper.executeServlet(ServletWrapper.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.internalDoFilter(FilterChainImpl.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.doFilter(FilterChainImpl.java(Compiled Code))
at com.tomato.jef.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.internalDoFilter(FilterChainImpl.java(Compiled Code))
at jeus.servlet.filter2.FilterChainImpl.doFilter(FilterChainImpl.java(Compiled Code))
at jeus.servlet.engine.ServletWrapper.execute(ServletWrapper.java(Compiled Code))
at jeus.servlet.engine.WebtobRequestProcessor.run(WebtobRequestProcessor.java:181)
댓글
댓글 쓰기