在atg

时间:2016-01-07 12:53:31

标签: java atg

,531 ERROR [org.apache.catalina.core.ContainerBase。[jboss.web]。[default-host]。[/ dyn / admin]。[AdminProxyServlet]](http- / 127.0.0.1:8080- 2)JBWEB000236:servlet AdminProxyServlet的Servlet.service()抛出异常:java.lang.NoClassDefFoundError:com / sun / tools / javac / Main 在atg.servlet.pagecompile.SunJavaSourceCompiler.javaToClass(SunJavaSourceCompiler.java:110)[_DAS_slib_sclasses.jar:] 在atg.servlet.pagecompile.jsp11.JSPPageProcessor.javaToClass(JSPPageProcessor.java:405)[_DAS_slib_sclasses.jar:] 在atg.servlet.pagecompile.PageProcessor.compilePageClass(PageProcessor.java:2437)[_DAS_slib_sclasses.jar:] 在atg.servlet.pagecompile.PageProcessor.getPageInfo(PageProcessor.java:1787)[_DAS_slib_sclasses.jar:] 在atg.servlet.pagecompile.jsp12.Jsp12PageProcessor.getPageInfo(Jsp12PageProcessor.java:324)[_DAS_slib_sclasses.jar:] 在atg.servlet.minimal.MinimalServletContainer.compileServlet(MinimalServletContainer.java:153)[_DAS_slib_sclasses.jar:] 在atg.servlet.pagecompile.PageCompileServlet.service(PageCompileServlet.java:306)[_DAS_slib_sclasses.jar:] 在atg.servlet.DynamoServlet.service(DynamoServlet.java:152)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:160)[_DAS_slib_sclasses.jar:] 在atg.droplet.DropletEventServlet.service(DropletEventServlet.java:696)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:267)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:253)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:228)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.FileFinderPipelineServlet.service(FileFinderPipelineServlet.java:729)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:275)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.ServletPathPipelineServlet.service(ServletPathPipelineServlet.java:208)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:] 在atg.security.ExpiredPasswordAdminServlet.service(ExpiredPasswordAdminServlet.java:312)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.BasicAuthenticationPipelineServlet.service(BasicAuthenticationPipelineServlet.java:555)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:] 在atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:249)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.SecurityServlet.service(SecurityServlet.java:200)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1281)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:950)[_DAS_slib_sclasses.jar:] 在atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)[_DAS_slib_sclasses.jar:] 在atg.nucleus.servlet.NucleusProxyServlet.service(NucleusProxyServlet.java:238)[_DAS_slib_sclasses.jar:] 在javax.servlet.http.HttpServlet.service(HttpServlet.java:847)[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1] 在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] 在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] 在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] 在org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] 在org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] 在org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] 在org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] 在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] 在org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] 在org.apache.coyote.http11.Http11Protocol $ Http11ConnectionHandler.process(Http11Protocol.java:653)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] 在org.apache.tomcat.util.net.JIoEndpoint $ Worker.run(JIoEndpoint.java:920)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

2 个答案:

答案 0 :(得分:2)

这是您用于编译JHTML页面的默认编译器的问题(并在Oracle支持网站上here

进行了记录。

解决方案是添加以下行

javaCompilerClassName=atg.servlet.pagecompile.SunJavaSourceCompiler

到localconfig文件夹中的以下文件之一(或两者)

/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor.properties
/atg/dynamo/servlet/pagecompile/PageProcessor.properties

您还需要确认JDAS的tools.jar库在CLASSPATH上可用。建议的JBOSS 7解决方案here

答案 1 :(得分:0)

我使用两个服务器web逻辑和jboss用于相同的本地配置路径     一个是项目规范,另一个是例如     /atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor.properties     正在为Web逻辑服务器正常工作。而对于jboss我只删除了配置     ExtendedJhtmlPageProcessor.properties文件并提供了类路径设置,直到tools.jar     现在它正常运作。

thank you for suggestions