1 Reply Latest reply: May 28, 2012 4:14 AM by Mkirtley-Oracle RSS

    Weblogic 11g JPS-04028 error - Application with name "abc" does not exist

    939583
      Hi,

      We are migration one our app from OC4J to weblogic 11g server. This app is running fine in OC4J but getting the below exception in 11g. Pls help us in resolving this in identifying and resolving the same.

      I found info here, but wasn't help full to understand.

      JPS-04028: Application with name "{0}" does not exist.
      Cause: Could not find application with name {0}.
      Action: Verify that an application with the provided name exists.
      Level: 1

      Type: ERROR

      Impact: Configuration


      link - http://docs.oracle.com/cd/E25178_01/core.1111/e10113/chapter_jps_messages.htm

      ------------------------------------------------

      <May 24, 2012 11:17:11 AM GMT+00:00> <Notice> <StdErr> <BEA-000000> <May 24, 2012 11:17:11 AM oracle.security.jps.az.internal.runtime.service.PDPServiceImpl getApplicationPolicy
      FINE: Not found ApplicationPolicy:abc
      oracle.security.jps.service.policystore.PolicyObjectNotFoundException: Application with name "abc" does not exist.
      at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.unsync_getApplicationPolicy(XmlPolicyStore.java:640)
      at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.getApplicationPolicyWithNoAuthzCheck(XmlPolicyStore.java:625)
      at oracle.security.jps.az.internal.management.pd.service.XmlPolicyDistributionService.getAppPolicy(XmlPolicyDistributionService.java:222)
      at oracle.security.jps.az.internal.management.pd.service.XmlPolicyDistributionService.getAppPolicyEntity(XmlPolicyDistributionService.java:212)
      at oracle.security.jps.az.internal.management.pd.service.XmlPolicyDistributionService.getAppPolicyEntry(XmlPolicyDistributionService.java:121)
      at oracle.security.jps.az.internal.management.pd.service.XmlPolicyDistributionService.getAppPolicyEntry(XmlPolicyDistributionService.java:116)
      at oracle.security.jps.az.internal.management.pd.service.PolicyDistributionServiceImpl.getAppPolicyEntry(PolicyDistributionServiceImpl.java:137)
      at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:355)
      at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:320)
      at oracle.security.jps.internal.policystore.PolicyUtil.getGrantedAppRoles(PolicyUtil.java:2719)
      at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$4.run(JpsAbsSubjectResolver.java:526)
      at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$4.run(JpsAbsSubjectResolver.java:516)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getApplicationRoles(JpsAbsSubjectResolver.java:516)
      at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.createJpsSubject(JpsAbsSubjectResolver.java:363)
      at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getAuthenticatedSubject(JpsAbsSubjectResolver.java:356)
      at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveJpsSubject(JpsAbsSubjectResolver.java:269)
      at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveSubject(JpsAbsSubjectResolver.java:212)
      at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalPreRegister(JpsJmxInterceptor.java:447)
      at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
      at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPreRegister(DefaultMBeanInterceptor.java:81)
      at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalPreRegister(ContextClassLoaderMBeanInterceptor.java:1
      50)
      at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
      at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPreRegister(DefaultMBeanInterceptor.java:81)
      at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
      at oracle.as.jmx.framework.generic.spi.interceptors.BasePublicMBeanInterceptor.internalPreRegister(BasePublicMBeanInterceptor.java:110)
      at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalPreRegister(LoggingMBeanInterceptor.java:633)
      at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
      at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.preRegister(OracleStandardEmitterMBean.java:611)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegisterInvoke(DefaultMBeanServerInterceptor.java:1010)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:938)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
      at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)
      at java.security.AccessController.doPrivileged(Native Method)
      at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
      at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:445)
      at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712)
      at java.security.AccessController.doPrivileged(Native Method)
      at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
      at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:462)
      at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor$1.run(PrivilegedMBeanServerInterceptor.java:55)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor.registerMBean(PrivilegedMBeanServerInterceptor.java:60)
      at HTTPClient.config.JRFContextProvider.registerContextRemovalListener(JRFContextProvider.java:142)
      at HTTPClient.config.ConfigurationFactory.registerContextRemovalListener(ConfigurationFactory.java:569)
      at HTTPClient.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:133)
      at HTTPClient.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:103)
      at HTTPClient.HttpClientConfiguration.getConfiguration(HttpClientConfiguration.java:53)
      at HTTPClient.CookieModule.getMutableStatics(CookieModule.java:769)
      at HTTPClient.CookieModule.addCookie(CookieModule.java:515)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      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.ServletStubImpl.execute(ServletStubImpl.java:183)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
      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)>
      <May 24, 2012 11:17:11 AM GMT+00:00> <Notice> <StdErr> <BEA-000000> <May 24, 2012 11:17:11 AM oracle.security.jps.internal.jaas.JpsAbsSubjectResolver getApplicationRoles
      FINE: oracle.security.jps.ee.jmx.JpsJmxInterceptor:internalPreRegisterJpsException caught during app roles computation: oracle.security.jps.service.policyst
      ore.PolicyObjectNotFoundException: JPS-04028: Application with name "abc" does not exist.>

      -----------------