0 Replies Latest reply: Apr 23, 2014 4:56 AM by 949277 RSS

    OEPE using 100% CPU (oracle.eclipse.tools.webtier.jsf.facelet.dtcompiler)

    949277

      I frequently get 100% CPU usage in (over long periods of time, while idle) in my OEPE installation on Mac OS (oepe-12.1.2.1.1-kepler-distro-macosx-cocoa-x86_64 installation)

       

      The culprit seems to be this thread (popped up several times with the exact same stack trace when I did a thread dump):

       

      "Worker-64" prio=5 tid=0x000000011f138000 nid=0xf8b7 runnable [0x000000011deb1000]

         java.lang.Thread.State: RUNNABLE

          at oracle.eclipse.tools.webtier.jsf.facelet.dtcompiler.el.ObjectSubExprVisitor.endVisitDot(ObjectSubExprVisitor.java:103)

          at de.odysseus.el.tree.impl.TreeVisitor.endVisit(TreeVisitor.java:190)

          at de.odysseus.el.tree.impl.TreeVisitor.visitNode(TreeVisitor.java:59)

          at de.odysseus.el.tree.impl.TreeVisitor.visitNode(TreeVisitor.java:55)

          at de.odysseus.el.tree.impl.TreeVisitor.visitNode(TreeVisitor.java:55)

          at de.odysseus.el.tree.impl.TreeVisitor.accept(TreeVisitor.java:38)

          at oracle.eclipse.tools.webtier.jsf.facelet.dtcompiler.el.ObjectSubExprVisitor.accept(ObjectSubExprVisitor.java:68)

          at oracle.eclipse.tools.webtier.jsf.facelet.dtcompiler.el.ELParser.getModelObjects(ELParser.java:30)

          at oracle.eclipse.tools.webtier.jsf.facelet.dtcompiler.el.ELParser.getModelObjects(ELParser.java:24)

          at oracle.eclipse.tools.webtier.jsf.facelet.dtcontext.DesignTimeContextData$TagRange.addELAttribute(DesignTimeContextData.java:511)

          at oracle.eclipse.tools.webtier.jsf.facelet.dtcontext.DesignTimeContext.reportAttributeWithEL(DesignTimeContext.java:200)

          at oracle.eclipse.tools.webtier.jsf.facelet.dtcompiler.cu.DTTagUnit.processAttributes(DTTagUnit.java:117)

          at oracle.eclipse.tools.webtier.jsf.facelet.dtcompiler.DTCompilationManager.pushTag(DTCompilationManager.java:318)

          at oracle.eclipse.tools.webtier.jsf.facelet.dtcompiler.DTSAXCompiler$CompilationHandler.startElement(DTSAXCompiler.java:331)

          at oracle.eclipse.tools.webtier.jsf.facelet.dtcompiler.StaxStreamXMLReader.handleStartElement(StaxStreamXMLReader.java:221)

          at oracle.eclipse.tools.webtier.jsf.facelet.dtcompiler.StaxStreamXMLReader.parseInternal(StaxStreamXMLReader.java:140)

          at oracle.eclipse.tools.webtier.jsf.facelet.dtcompiler.StaxStreamXMLReader.parse(StaxStreamXMLReader.java:476)

          at oracle.eclipse.tools.webtier.jsf.facelet.dtcompiler.StaxStreamXMLReader.parse(StaxStreamXMLReader.java:471)

          at oracle.eclipse.tools.webtier.jsf.facelet.dtcompiler.DTSAXCompiler.doCompile(DTSAXCompiler.java:446)

          at org.apache.myfaces.view.facelets.compiler.Compiler.compile(Compiler.java:128)

          at oracle.eclipse.tools.webtier.jsf.facelet.DTDefaultFaceletFactory._createFacelet(DTDefaultFaceletFactory.java:312)

          at oracle.eclipse.tools.webtier.jsf.facelet.DTDefaultFaceletFactory.access$0(DTDefaultFaceletFactory.java:301)

          at oracle.eclipse.tools.webtier.jsf.facelet.DTDefaultFaceletFactory$1.newInstance(DTDefaultFaceletFactory.java:121)

          at oracle.eclipse.tools.webtier.jsf.facelet.DTDefaultFaceletFactory$1.newInstance(DTDefaultFaceletFactory.java:1)

          at oracle.eclipse.tools.webtier.jsf.facelet.DTFaceletCacheImpl.getFacelet(DTFaceletCacheImpl.java:83)

          at oracle.eclipse.tools.webtier.jsf.facelet.DTFaceletCacheImpl.getFacelet(DTFaceletCacheImpl.java:1)

          at oracle.eclipse.tools.webtier.jsf.facelet.DTDefaultFaceletFactory.getFacelet(DTDefaultFaceletFactory.java:206)

          at oracle.eclipse.tools.webtier.jsf.facelet.DTFaceletCompilerExecutor.execute(DTFaceletCompilerExecutor.java:99)

          at oracle.eclipse.tools.webtier.jsf.facelets.OepeFaceletCompiler.compile(OepeFaceletCompiler.java:84)

          at oracle.eclipse.tools.webtier.jsf.facelets.FaceletCompileUtil.ensureContext(FaceletCompileUtil.java:35)

          at oracle.eclipse.tools.webtier.jsf.dependency.discovery.FaceletDiscoveryParticipant.discover(FaceletDiscoveryParticipant.java:267)

          at oracle.eclipse.tools.common.services.dependency.model.internal.DiscoveryParticipantList$SafeRunnerWithStatus.run(DiscoveryParticipantList.java:161)

          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

       

      The 100% CPU usage occurred both before and after updating plugins. Current versions of the Oracle plugins have version 6.4.0.201403011416

       

      Since I don't use the plugins much, I now unchecked them in the Startup Preferences and hope it helps. I don't really have time to investigate this, but thought I'd share the information.