2013-01-24 60 views
0

我已經遷移到Jdevtp4的jdev 11.1.2.3.0 有誰知道這個錯誤..的jdev崩潰而做遷移

Target URL -- http://localhost:7101/xxxxx/index.jsp 
    <ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent. 
    Caller should ensure that a DefaultContext is proper for this use. 
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly. 
    This message may be avoided by performing initADFContext before using getCurrent(). 
    For more information please enable logging for oracle.adf.share.ADFContext at FINEST level. 
    2013-01-24 14:38:52,027 ERROR [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' [com.cassiopae.cassiopae.container.servlets.CassiopaeFacesServlet] - <Some Other Exception> 
    java.lang.UnsupportedOperationException 
     at javax.faces.application.Application.getResourceHandler(Application.java:287) 
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:503) 
     at com.cassiopae.cassiopae.container.servlets.CassiopaeFacesServlet.service(CassiopaeFacesServlet.java:160) 
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) 
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) 
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) 
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) 
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) 
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) 
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468) 
     at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135) 
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468) 
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69) 
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468) 
     at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:85) 
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468) 
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293) 
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199) 
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) 
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) 
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) 
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468) 
     at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135) 
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468) 
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69) 
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468) 
     at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:85) 
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468) 
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293) 
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199) 
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) 
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) 
     at com.cj.trim.trimFilter.doFilter(Unknown Source) 
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) 
     at com.cj.gzipflt.GzipFilter.doFilter(Unknown Source) 
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) 
     at org.springframework.webflow.executor.jsf.FlowSystemCleanupFilter.doFilterInternal(FlowSystemCleanupFilter.java:41) 
     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) 
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) 
     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) 
     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) 
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) 
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) 
     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:442) 
     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) 
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) 
     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) 
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) 
     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139) 
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) 
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) 
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) 
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) 
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) 
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) 
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) 
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) 
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) 
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) 
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) 
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) 
+0

我曾經與JDev和ADF過去在這一點上我很可惜。 –

+0

@KevinBowersox任何幫助將被認爲 – vinod

+0

我希望我能,但ADF是狂野的,你有多久使用它? –

回答

2
java.lang.UnsupportedOperationException 
    at javax.faces.application.Application.getResourceHandler(Application.java:287) 

時,有沒有合適的Application被初始化,這將引發異常。這可能會在使用的JSF API/impl版本不匹配時發生。例如。您的web應用程序正在運行JSF 2.0 API以及JSF 1.2 impl。

你應該調查,如果目標容器(Weblogic的你的情況),不已經與JSF開箱船取決於調查2種選擇:

  1. 利用容器提供的JSF版本並確保您的web應用程序而不是在其/WEB-INF/lib中有任何JSF庫。

  2. 禁用容器提供的JSF庫,並確保您的web應用程序在其/WEB-INF/lib中提供了適當的JSF API/impl版本。

+0

謝謝,但點1和點2反之亦然.. – vinod

+0

這是正確的。您最終應該在運行時類路徑中沒有重複的庫。有什麼問題?你是否期待其他方式? – BalusC

+0

不,我得到它讓我給嘗試:) – vinod