War배포시 잘되는제 프로젝트를 직접 배포 할경우 다음과 같은 오류 발생.
War배포가 아닌 직접 프로젝트로 배포 할경우 WebContent까지 경로를 잡아줘야 한다.
[2013.09.12 11:03:04][1][b068] [container1-10] fail to parse jsp file : /WebContent/main.jsp
<<__Exception__>>
jeus.servlet.jsp2.Jsp2EngineException: file:D:test_web/WebContent/main.jsp(19,0) File "/Top.jsp" not found
at jeus.servlet.jsp2.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:48)
at jeus.servlet.jsp2.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:465)
at jeus.servlet.jsp2.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:105)
at jeus.servlet.jsp2.compiler.Parser.processIncludeDirective(Parser.java:365)
at jeus.servlet.jsp2.compiler.Parser.parseIncludeDirective(Parser.java:398)
at jeus.servlet.jsp2.compiler.Parser.parseDirective(Parser.java:506)
at jeus.servlet.jsp2.compiler.Parser.parseElements(Parser.java:1582)
at jeus.servlet.jsp2.compiler.Parser.parse(Parser.java:150)
at jeus.servlet.jsp2.compiler.ParserController.doParse(ParserController.java:232)
at jeus.servlet.jsp2.compiler.ParserController.parse(ParserController.java:115)
at jeus.servlet.jsp2.compiler.Compiler.generateJava(Compiler.java:256)
at jeus.servlet.jsp2.compiler.Compiler.compile(Compiler.java:604)
at jeus.servlet.engine.Context.parseAndCompile(Context.java:1474)
at jeus.servlet.engine.Context.doStart(Context.java:1141)
at jeus.servlet.engine.Context.execStart(Context.java:955)
at jeus.management.j2ee.WebModule.preStart(WebModule.java:390)
at jeus.management.j2ee.J2EEManagedObject.start(J2EEManagedObject.java:853)
at jeus.management.j2ee.J2EEDeployedObject.start(J2EEDeployedObject.java:275)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)
at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)
at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:264)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:762)
at jeus.management.JMXUtility.invokeWithTargetModuleID(JMXUtility.java:821)
at jeus.server.enginecontainer.EngineContainer.deployRegisteredApp(EngineContainer.java:1122)
at jeus.server.enginecontainer.EngineContainer.deployApp(EngineContainer.java:1047)
at jeus.server.enginecontainer.EngineContainer.init(EngineContainer.java:368)
at jeus.server.enginecontainer.EngineContainer.<init>(EngineContainer.java:134)
at jeus.server.enginecontainer.EngineContainer.main(EngineContainer.java:998)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at jeus.server.Bootstrapper.callMainMethod(Bootstrapper.java:295)
at jeus.server.Bootstrapper.callMain(Bootstrapper.java:364)
at jeus.server.enginecontainer.EngineContainerBootstrapper.main(EngineContainerBootstrapper.java:14)
Caused by: jeus.servlet.jsp2.Jsp2EngineException: File "Top.jsp" not found
어라 왜 여기에 WEB_INF가 여기 생김.-_- 18 세상에
그래서 변경함. T.T
--------------JEUSMain.xml-----------
<application>
<name>test_web</name>
<path>D:\test_web\</path> <===== 여기를 <path>D:\test_web\WebContent</path> 잡아줘야 한다.(난 아마추어다 -_-)
<deployment-type>COMPONENT</deployment-type>
<web-component/>
<deployment-target>
<target>
<engine-container-name>XXX_container1</engine-container-name>
<web-context-group>
<name>MyGroup</name>
</web-context-group>
</target>
</deployment-target>
</application>
---------------------------------------
가이드좀 볼걸 ㅜㅜ
댓글 없음:
댓글 쓰기