Discussions
Categories
- 196.9K All Categories
- 2.2K Data
- 239 Big Data Appliance
- 1.9K Data Science
- 450.3K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 545 SQLcl
- 4K SQL Developer Data Modeler
- 187K SQL & PL/SQL
- 21.3K SQL Developer
- 295.9K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.6K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 155 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 442 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
JDeveloper 12.2.1.3 ADF Application java.lang.NoSuchMethodError: -org.apache.myfaces.trinidadinte

Hi,
I had a running application. Recently at my work place, some patches were pushed into my windows PC, which made my integrated WebLogic server to fail. On investigation, it was found that there were some privileges that got revoked (specifically on cwallet.sso ). The Desktop admins fixed the issue by granting me the file permissions on the folder, & this resolved the issue.
I now have one application which used to work & is no longer working. I tested one another application & it still works. I am clue less of what needs to be done. May be the patching event is unrelated.
The application gets deployed without any issue, however prior to the sign-in page, I see the following error.
I would appreciate some help.
Regards,
Prakash
ERROR---
<oracle.adf.controller> <AdfcExceptionHandler> <handleException> <ADFc: No exception handler was found for an application exception.>
java.lang.NoSuchMethodError: org.apache.myfaces.trinidadinternal.agent.AgentImpl$AgentType.valueOfDisplayName(Ljava/lang/String;)Lorg/apache/myfaces/trinidadinternal/agent/AgentImpl$AgentType;
at oracle.adfinternal.view.faces.renderkit.rich.RichAdfRenderingContext._getloopbackCapabilities(RichAdfRenderingContext.java:484)
at oracle.adfinternal.view.faces.renderkit.rich.RichAdfRenderingContext._getCapabilityDeltas(RichAdfRenderingContext.java:444)
at oracle.adfinternal.view.faces.renderkit.rich.RichAdfRenderingContext._calculateAgent(RichAdfRenderingContext.java:383)
at oracle.adfinternal.view.faces.renderkit.rich.RichAdfRenderingContext.getAgent(RichAdfRenderingContext.java:367)
at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRendererUtils.supportsBooleanCapability(CoreRendererUtils.java:76)
at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRendererUtils.supportsPartialRendering(CoreRendererUtils.java:59)
at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderingContext._initializePPR(CoreRenderingContext.java:744)
at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderingContext.<init>(CoreRenderingContext.java:90)
at oracle.adfinternal.view.faces.renderkit.rich.RichAdfRenderingContext.<init>(RichAdfRenderingContext.java:95)
at oracle.adfinternal.view.faces.renderkit.rich.RichRenderKit$CreateARC.encodeBegin(RichRenderKit.java:479)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:168)
at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView(ResponseRenderManager.java:52)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1264)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeRenderResponse(LifecycleImpl.java:1107)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:348)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:258)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:651)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:207)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:529)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:74)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:529)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:354)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:232)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:77)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:169)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:207)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at viewsatapp.filter.SessionExpiryFilter.doFilter(SessionExpiryFilter.java:77)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at oracle.security.jps.ee.http.JpsAbsFilter$3.run(JpsAbsFilter.java:172)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:650)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:110)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilterInternal(JpsAbsFilter.java:273)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:147)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:94)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:248)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:32)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3701)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3667)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2443)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2291)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2269)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1703)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1663)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:644)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:415)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:355)
<oracle.adf.view> <RichExceptionHandler> <_logUnhandledException> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6>
java.lang.NoSuchMethodError: org.apache.myfaces.trinidadinternal.agent.AgentImpl$AgentType.valueOfDisplayName(Ljava/lang/String;)Lorg/apache/myfaces/trinidadinternal/agent/AgentImpl$AgentType;
at oracle.adfinternal.view.faces.renderkit.rich.RichAdfRenderingContext._getloopbackCapabilities(RichAdfRenderingContext.java:484)
at oracle.adfinternal.view.faces.renderkit.rich.RichAdfRenderingContext._getCapabilityDeltas(RichAdfRenderingContext.java:444)
at oracle.adfinternal.view.faces.renderkit.rich.RichAdfRenderingContext._calculateAgent(RichAdfRenderingContext.java:383)
Best Answer
-
Hi
Just to close this.
I had kept a copy separate copy of JDeveloper installation. Switching to a fresh copy resolved the problem. Initial attempt to only Re-create the WebLogic domain did not help.
Thank you,
Prakash
Answers
-
Please provide some additional information:
- JDeveloper version
- ADF Version
- WebLogic version
- Trinidad version
Was the Trinidad version upgraded?
-
Hi,
Thank you for your response.
JDeveloper version is 12.2.1.3
ADF-Version : BC4J Version is: 12.2.1.9.14
(From command java -cp adfm.jar oracle.jbo.common.PrintVersion)
Weblogic Version :
<Version: WebLogic Server 12.2.1.3.0 (from log)
I am unsure how to check the trinidad-version, but my POM.xml has Trinidad-Runtime-11
Thank you,
Prakash
-
I am unsure if some of the patches applied to JDeveloper updated the trinidad version
27141905
27836157
But all this was a while ago & everything was working fine till recent.
Prakash
-
Trinidad is an outdated API. Is it being used explicitly? If not, an internal class in the patch or other may have broken the build.
Seems like it is still a permissions issue according to:
The application gets deployed without any issue, however prior to the sign-in page, I see the following error.
-
Hi,
if you think this could be permission issue, then which file should I look out for permission? We have large number of files in the installation.
The desktop admins did grant all permissions to files in the installation folder. Yet based on your inputs there are some which have been missed out.
Thank you,
Prakash
-
The Trinidad message seems unrelated and sometimes the server generates such message. Find which files still need permissions set.
-
Hi
Just to close this.
I had kept a copy separate copy of JDeveloper installation. Switching to a fresh copy resolved the problem. Initial attempt to only Re-create the WebLogic domain did not help.
Thank you,
Prakash
-
If reinstalling JDeveloper, do not import settings when prompted, which usually fixes some issues.
-
Does anyone know which version of the jar has this method?