This discussion is archived
6 Replies Latest reply: Aug 1, 2013 11:06 PM by BobbyCh RSS

Getting atg.servlet.pagecompile.PageCompileException: can't load class: _dasadmin_3__UTF_s8._index Exception while accessing merch server dynamo

BobbyCh Newbie
Currently Being Moderated

Hi Experts,

 

I am getting following error while accessing merch server dynamo,

 

 

18:10:17,334 ERROR [STDERR] java.lang.UnsupportedClassVersionError: _dasadmin_3__UTF_s8/_index : Unsupported major.minor version 51.0

18:10:17,335 ERROR [STDERR]     at java.lang.ClassLoader.defineClass1(Native Method)

18:10:17,335 ERROR [STDERR]     at java.lang.ClassLoader.defineClassCond(Unknown Source)

18:10:17,335 ERROR [STDERR]     at java.lang.ClassLoader.defineClass(Unknown Source)

18:10:17,335 ERROR [STDERR]     at atg.servlet.pagecompile.ReusableClassLoader.findClass(ReusableClassLoader.java:330)

18:10:17,335 ERROR [STDERR]     at atg.servlet.pagecompile.ReusableClassLoader.findClass(ReusableClassLoader.java:286)

18:10:17,335 ERROR [STDERR]     at java.lang.ClassLoader.loadClass(Unknown Source)

18:10:17,335 ERROR [STDERR]     at atg.servlet.pagecompile.ReusableClassLoader.loadClass(ReusableClassLoader.java:602)

18:10:17,335 ERROR [STDERR]     at java.lang.ClassLoader.loadClass(Unknown Source)

18:10:17,336 ERROR [STDERR]     at atg.servlet.pagecompile.PageProcessor.loadClass(PageProcessor.java:2704)

18:10:17,336 ERROR [STDERR]     at atg.servlet.pagecompile.PageProcessor.loadClass(PageProcessor.java:2605)

18:10:17,336 ERROR [STDERR]     at atg.servlet.pagecompile.PageProcessor.compilePageClass(PageProcessor.java:2479)

18:10:17,336 ERROR [STDERR]     at atg.servlet.pagecompile.PageProcessor.getPageInfo(PageProcessor.java:1787)

18:10:17,336 ERROR [STDERR]     at atg.servlet.pagecompile.jsp12.Jsp12PageProcessor.getPageInfo(Jsp12PageProcessor.java:324)

18:10:17,336 ERROR [STDERR]     at atg.servlet.minimal.MinimalServletContainer.compileServlet(MinimalServletContainer.java:153)

18:10:17,336 ERROR [STDERR]     at atg.servlet.pagecompile.PageCompileServlet.service(PageCompileServlet.java:303)

18:10:17,336 ERROR [STDERR]     at atg.servlet.DynamoServlet.service(DynamoServlet.java:148)

18:10:17,336 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:160)

18:10:17,336 ERROR [STDERR]     at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:657)

18:10:17,336 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:267)

18:10:17,336 ERROR [STDERR]     at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:253)

18:10:17,336 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:228)

18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.FileFinderPipelineServlet.service(FileFinderPipelineServlet.java:729)

18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:275)

18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.ServletPathPipelineServlet.service(ServletPathPipelineServlet.java:208)

18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

18:10:17,337 ERROR [STDERR]     at atg.security.ExpiredPasswordAdminServlet.service(ExpiredPasswordAdminServlet.java:312)

18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.BasicAuthenticationPipelineServlet.service(BasicAuthenticationPipelineServlet.java:513)

18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

18:10:17,338 ERROR [STDERR]     at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)

18:10:17,338 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

18:10:17,338 ERROR [STDERR]     at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:249)

18:10:17,338 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

18:10:17,338 ERROR [STDERR]     at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1271)

18:10:17,338 ERROR [STDERR]     at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:952)

18:10:17,338 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)

18:10:17,338 ERROR [STDERR]     at atg.nucleus.servlet.NucleusProxyServlet.service(NucleusProxyServlet.java:237)

18:10:17,338 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

18:10:17,338 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

18:10:17,338 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

18:10:17,338 ERROR [STDERR]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

18:10:17,338 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

18:10:17,339 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

18:10:17,339 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

18:10:17,339 ERROR [STDERR]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

18:10:17,339 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

18:10:17,339 ERROR [STDERR]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

18:10:17,339 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

18:10:17,339 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

18:10:17,339 ERROR [STDERR]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

18:10:17,339 ERROR [STDERR]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

18:10:17,339 ERROR [STDERR]     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

18:10:17,339 ERROR [STDERR]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

18:10:17,339 ERROR [STDERR]     at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)

18:10:17,340 ERROR [STDERR]     at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)

18:10:17,340 ERROR [STDERR]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

18:10:17,340 ERROR [STDERR]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

18:10:17,340 ERROR [STDERR]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)

18:10:17,340 ERROR [STDERR]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

18:10:17,340 ERROR [STDERR]     at java.lang.Thread.run(Unknown Source)

18:10:17,340 ERROR [PageCompileServlet] Error compiling page: /index.jhtml : can't load class: _dasadmin_3__UTF_s8._index

atg.servlet.pagecompile.PageCompileException: can't load class: _dasadmin_3__UTF_s8._index

 

 

 

Can You please suggest me to fix this issue.

 

Thanks & Regards,

Murali

  • 2. Re: Getting atg.servlet.pagecompile.PageCompileException: can't load class: _dasadmin_3__UTF_s8._index Exception while accessing merch server dynamo
    BobbyCh Newbie
    Currently Being Moderated

    Thank you for your helpful response,

     

    Even I created property file in this path "D:\ATG\ATG10.1.2\home\servers\merch1\localconfig\atg\dynamo\servlet\pagecompile", I'm getting same error.

     

    Thanks & Regards,

    Murali

  • 3. Re: Getting atg.servlet.pagecompile.PageCompileException: can't load class: _dasadmin_3__UTF_s8._index Exception while accessing merch server dynamo
    Onhate Explorer
    Currently Being Moderated

    I read your error again.

     

    java.lang.UnsupportedClassVersionError is not CompilatoinException =D, my mistake.


    This error occours when you have compiled a class with a version and is running with a different version, a lower one.


    Try to clean up this directory, and try again.


    D:\ATG\ATG10.1.2\home\servers\merch1\pagebuild

  • 4. Re: Getting atg.servlet.pagecompile.PageCompileException: can't load class: _dasadmin_3__UTF_s8._index Exception while accessing merch server dynamo
    BobbyCh Newbie
    Currently Being Moderated

    I cleanedup pagebuild in both merch1 server and home path,

     

    Even I'm getting same error.

     

    10:50:40,098 ERROR [PageCompileServlet] Error compiling page: /index.jhtml : can't load class: _dasadmin_3__UTF_s8._index

    atg.servlet.pagecompile.PageCompileException: can't load class: _dasadmin_3__UTF_s8._index

      at atg.servlet.pagecompile.PageProcessor.compilePageClass(PageProcessor.java:2482)

      at atg.servlet.pagecompile.PageProcessor.getPageInfo(PageProcessor.java:1787)

      at atg.servlet.pagecompile.jsp12.Jsp12PageProcessor.getPageInfo(Jsp12PageProcessor.java:324)

      at atg.servlet.minimal.MinimalServletContainer.compileServlet(MinimalServletContainer.java:153)

      at atg.servlet.pagecompile.PageCompileServlet.service(PageCompileServlet.java:303)

      at atg.servlet.DynamoServlet.service(DynamoServlet.java:148)

      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:160)

      at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:657)

      at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:267)

      at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:253)

      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

      at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:228)

      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

      at atg.servlet.pipeline.FileFinderPipelineServlet.service(FileFinderPipelineServlet.java:729)

      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

      at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:275)

      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

      at atg.servlet.pipeline.ServletPathPipelineServlet.service(ServletPathPipelineServlet.java:208)

      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

      at atg.security.ExpiredPasswordAdminServlet.service(ExpiredPasswordAdminServlet.java:312)

      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

      at atg.servlet.pipeline.BasicAuthenticationPipelineServlet.service(BasicAuthenticationPipelineServlet.java:513)

      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

      at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)

      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

      at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:249)

      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

      at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1271)

      at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:952)

      at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)

      at atg.nucleus.servlet.NucleusProxyServlet.service(NucleusProxyServlet.java:237)

      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 org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      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:235)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)

      at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

      at java.lang.Thread.run(Unknown Source)

     

    Can You please suggest any other solution.

    I'm using JBOSS version : jboss-eap-5.1.2

                  JDK version      : jdk1.6.0_31

     

     

    Thanks & Regards,

    Murali

  • 5. Re: Getting atg.servlet.pagecompile.PageCompileException: can't load class: _dasadmin_3__UTF_s8._index Exception while accessing merch server dynamo
    Nitin Khare Expert
    Currently Being Moderated

    Check what JDK version's bin directory is in the path as "javac" would be executed to compile the jhtml pages used in dyn/admin. There is a Nucleus component /atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor which has a compileCommand string property whose value would be specified as something like  "javac -classpath {1} -d {2} {0}". Actually this same command string is used to compile the jhtml pages using javac. Here {0} is placeholder for the source file input, {1} is for classpath and {2} is for the destination directory which defaults to <ATG>\home\pagebuild. In the very first post you mentioned this error:

     

    18:10:17,334 ERROR [STDERR] java.lang.UnsupportedClassVersionError: _dasadmin_3__UTF_s8/_index : Unsupported major.minor version 51.0


    It means that the major version number of your class file for the compiled jhtml of dyn/admin page is 51 which means it is compiled with JDK7 java compiler and so it will run fine with a java7 interpreter unless you specified the target java version while compiling like "javac -target 1.6". Looks like you have both JDK7 and JDK6 on your machine and JDK7's javac is coming to the system path. You can check the default version in path by executing "javac -version" on command prompt. Change your path if required so that "javac -version" will give you 1.6 version that you have to use. Also check that ATGJRE is pointing to correct java version in <ATG>\home\localconfig\dasEnv.bat | .sh

     

    Hope it helps.

  • 6. Re: Getting atg.servlet.pagecompile.PageCompileException: can't load class: _dasadmin_3__UTF_s8._index Exception while accessing merch server dynamo
    BobbyCh Newbie
    Currently Being Moderated

    Thank you Nithin,

     

    I got resolved my issue, in my machine JDK1.7 and JDK1.6 both are set n classpath, I removed 1.7 from classpath

     

    Now i'm able to open all servers dynamos.

     

    Regards,

     

    Murali

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points