Error 222 no function with name "populate_list"

Hi all, I am getting the following error when compiling a trigger:
Error 222 at line 46, column 16
no function with name "POPULATE_LIST" exists in this scope.
Does anyone know whats going on here. Thanks.

POPULATE_LIST is a procedure.It does not return any value.
Just see if your code is trying to assign POPULATE_LIST to any variable.Refer form help for correct usage of this built-in.

Similar Messages

  • Error: PLS-222: no function with name 'V' exists in this scope

    In my application, I used the wizard to create a form on a table with Report (2 pages). Then I go to the Report page and I want to test the edit function. This successfully launches the edit Form. When I change the values in the form and then try to save them, I get this error:
    Error Unable to process row of table PRODUCER.
    OK
    ORA-20001: Error in DML: p_rowid=ISDIRECT12, p_alt_rowid=KEYCODE, p_rowid2=, p_alt_rowid2=. ORA-06552: PL/SQL: Statement ignored ORA-06553: PLS-222: no function with name 'V' exists in this scope
    I guess my question is: should I be able to run and use the application while in developer mode.
    If yes, what am I doing wrong?

    We downloaded the companion CD product from OTN
    In the install, we just set up the second option (for HTML db. No glitches on the install, ended successfully
    Read the notes in the doc folder. No issues there
    Platform for development is Win XP Pro
    DB server and app server on same PC.
    Not sure what else you might need to know to answer your question

  • Reg an Error: no function with name 'CURRENT_RECORD' exists in this scope

    Hi All,
    I am getting the following error when i try using Set_Item_Instance_Property for assigning a visual attribute to an item.
    This is the code. I have replaced Display_Item with Set_Item_Instance_Property for setting the visual attribute.
    --DISPLAY_ITEM(lv_cur_item, 'VA_CURRENT_BUTTON');
    SET_ITEM_INSTANCE_PROPERTY(lv_cur_item,CURRENT_RECORD,VISUAL_ATTRIBUTE,'VA_CURRENT_BUTTON');
    no function with name 'CURRENT_RECORD' exists in this scope
    Any suggestion regarding this.
    Regards,
    Prasad.

    L.Rajesh - :SYSTEM.CURRENT_RECORD global variable does not exist - use :SYSTEM.CURSOR_RECORD or :SYSTEM.TRIGGER_RECORD instead.
    Prasad - what version of Forms are you using? For Forms 6i and higher, CURRENT_RECORD property is a valid reference. (not sure about Forms 5 or earlier as I don't have access to these versions any longer :) ) Are you logged into a database when you compile your code? There might be a TYPO somewhere in your code that the PL/SQL compiler can't determine the cause and CURRENT_RECORD is the first recognizable term the compiler can find. Sometimes, I've had to log out, close Forms Builder and reopen the form I'm working on to eliminate these types of odd compilation errors.
    Hope this helps,
    Craig B-)
    If a response is helpful or correct, please mark it accordingly.

  • No function with name 'F_ITEMCHECK' exists in this scope

    Hi i have a error:
    SQL> Declare
    2 Cursor stk_val is
    3 Select prod_code,prod_desc, bal_Stock from prod_tran;
    4 mProd_code prod_tran.prod_Code%type;
    5 mProd_desc prod_tran.prod_desc%type;
    6 mProd_qty prod_tran.prod_qty%type;
    7 valexits integer;
    8 bal_stock integer;
    9 vquantity integer;
    10 f_itemcheck integer;
    11 Begin
    12 Open stk_val;
    13 loop
    14 Fetch stk_val into mprod_code,mprod_desc,mprod_qty;
    15 exit when stk_val%notfound;
    16 valexits := f_itemcheck(mprod_code);
    17 if valexits = 0 then
    18 insert into prod_mast(prod_code,prod_Desc,bal_Stock)
    19 values(mprod_code,mprod_Desc,mprod_qty);
    20 elsif valexits = 1 then
    21 update prod_mast
    22 set bal_stock = bal_stock+ vquantity
    23 where prod_code=mprod_code;
    24 end if;
    25 end loop;
    26 close stk_Val;
    27 end;
    28 /
    Declare
    ERROR at line 1:
    ORA-06550: line 3, column 34:
    PLS-00320: the declaration of the type of this expression is incomplete or malformed
    ORA-06550: line 3, column 6:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 16, column 22:
    PLS-00222: no function with name 'F_ITEMCHECK' exists in this scope
    ORA-06550: line 16, column 10:
    PL/SQL: Statement ignored

    May be try this code
    Declare
      Cursor stk_val is
      Select prod_code,prod_desc, bal_Stock
        from prod_tran;
      v_prod stk_val%rowtype;
      valexits    integer;
      bal_stock   integer;
      vquantity   integer;
    Begin
      Open stk_val;
      loop
        Fetch stk_val into v_prod;
        exit when stk_val%notfound;     
        valexits := f_itemcheck(v_prod.prod_code);
        if valexits = 0 then       
          insert into prod_mast(prod_code,prod_Desc,bal_Stock)
          values(v_prod.prod_code,v_prod.prod_Desc,v_prod.prod_qty);
        elsif valexits = 1 then
          update prod_mast
             set bal_stock = bal_stock+ vquantity
           where prod_code=v_prod.prod_code;
        end if;
      end loop;
      close stk_Val;
    end;Note: Code untested

  • Error on Undeploy:  Application with name "crazy" does not exist.

    I am working with Jdeveloper Studio Edition Version 11.1.1.6.0 Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.
    I have applications that run fine, however when I click on the undeploy, I get the error below. Please keep in mind that this is a simple sample application -- no security. Just one form with reading an HR schema table. Just a sample to try and figure out why I am getting this error. Any ideas?
    1. I have deleted the system folder (repeatedly)
    2. I deleted out my entire C:\Users\stuart\AppData\Local\Temp directory (someone mentioned this in another post)
    3. Reinstalled Jdeveloper.
    Thank you,
    Stuart
    PS, the application is called crazy because that is what this error is making me!
    I have included the start of weblogic too, just in case that sheds some light on this issue.
    starting weblogic with Java version:
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
    Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
    Starting WLS with line:
    C:\Jdev1116\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Jdev1116\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Jdev1116\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\Jdev1116\WLSERV~1.3 -Dwls.home=C:\Jdev1116\WLSERV~1.3\server -Dweblogic.home=C:\Jdev1116\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=C:\Jdev1116\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1 -Djrockit.optfile=C:\Jdev1116\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Jdev1116\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Jdev1116\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Jdev1116\patch_wls1035\profiles\default\sysext_manifest_classpath;C:\Jdev1116\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <Aug 26, 2012 10:09:26 PM EDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Aug 26, 2012 10:09:26 PM EDT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Aug 26, 2012 10:09:27 PM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 19.1-b02 from Sun Microsystems Inc.>
    <Aug 26, 2012 10:09:27 PM EDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <Aug 26, 2012 10:09:29 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Aug 26, 2012 10:09:29 PM EDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Aug 26, 2012 10:09:29 PM EDT> <Notice> <Log Management> <BEA-170019> <The server log file C:\Users\stuart\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Aug 26, 2012 10:09:39 PM EDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Aug 26, 2012 10:09:45 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Aug 26, 2012 10:09:45 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Aug 26, 2012 10:10:38 PM EDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Aug 26, 2012 10:10:38 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Aug 26, 2012 10:10:38 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Aug 26, 2012 10:10:38 PM EDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.1.55:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Aug 26, 2012 10:10:38 PM EDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Aug 26, 2012 10:10:38 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Aug 26, 2012 10:10:38 PM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    IntegratedWebLogicServer startup time: 76287 ms.
    IntegratedWebLogicServer started.
    [Running application crazy on Server Instance IntegratedWebLogicServer...]
    [10:10:41 PM] ---- Deployment started. ----
    [10:10:41 PM] Target platform is (Weblogic 10.3).
    [10:10:42 PM] Retrieving existing application information
    [10:10:42 PM] Running dependency analysis...
    [10:10:43 PM] Deploying 2 profiles...
    [10:10:44 PM] Wrote Web Application Module to C:\Users\stuart\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\crazy\ViewControllerWebApp.war
    [10:10:47 PM] Wrote Enterprise Application Module to C:\Users\stuart\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\crazy
    [10:10:47 PM] Deploying Application...
    <Aug 26, 2012 10:10:48 PM EDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application crazy is not versioned.>
    [10:11:15 PM] Application Deployed Successfully.
    [10:11:15 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [10:11:15 PM] http://stuart-PC:7101/crazy-ViewController-context-root
    [10:11:15 PM] Elapsed time for deployment: 34 seconds
    [10:11:15 PM] ---- Deployment finished. ----
    Run startup time: 34164 ms.
    [Application crazy deployed to Server Instance IntegratedWebLogicServer]
    Target URL -- http://stuart-PC:7101/crazy-ViewController-context-root/faces/main.jspx
    <Aug 26, 2012 10:11:25 PM EDT> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 192.168.1.55:52,130 during the configured idle timeout of 5 secs>
    <Aug 26, 2012 10:11:25 PM EDT> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 192.168.1.55:52,131 during the configured idle timeout of 5 secs>
    <Aug 26, 2012 10:11:25 PM EDT> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 192.168.1.55:52,132 during the configured idle timeout of 5 secs>
    <Aug 26, 2012 10:11:25 PM EDT> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 192.168.1.55:52,129 during the configured idle timeout of 5 secs>
    [Application termination requested.  Undeploying application crazy.]
    [10:11:54 PM] ---- Deployment started. ----
    [10:11:54 PM] Target platform is (Weblogic 10.3).
    [10:11:54 PM] Undeploying Application...
    <AppPolicyHandler> <removePolicies> Removal of application policy failed. Reason: {0}.
    oracle.security.jps.service.policystore.PolicyObjectNotFoundException: Application with name "crazy" does not exist.
         at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.unsync_getApplicationPolicy(XmlPolicyStore.java:704)
         at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.getApplicationPolicy(XmlPolicyStore.java:673)
         at oracle.security.jps.internal.config.deploy.DeployUtil.removeAppPolicy(DeployUtil.java:253)
         at oracle.security.jps.internal.config.deploy.AppPolicyHandler$2.run(AppPolicyHandler.java:123)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.internal.config.deploy.AppPolicyHandler.removePolicies(AppPolicyHandler.java:118)
         at oracle.security.jps.internal.config.deploy.AppPolicyHandler.handle(AppPolicyHandler.java:69)
         at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.callHandler(JpsApplicationLifecycleListener.java:125)
         at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.handle(JpsApplicationLifecycleListener.java:106)
         at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.postStop(JpsApplicationLifecycleListener.java:145)
         at weblogic.application.internal.flow.BaseLifecycleFlow$PostStopAction.run(BaseLifecycleFlow.java:351)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:199)
         at weblogic.application.internal.flow.BaseLifecycleFlow.postStop(BaseLifecycleFlow.java:95)
         at weblogic.application.internal.flow.HeadLifecycleFlow.unprepare(HeadLifecycleFlow.java:290)
         at weblogic.application.internal.BaseDeployment$1.previous(BaseDeployment.java:619)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.BaseDeployment.unprepare(BaseDeployment.java:248)
         at weblogic.application.internal.EarDeployment.unprepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.unprepare(DeploymentStateChecker.java:205)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.unprepare(AppContainerInvoker.java:117)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.silentUnprepare(AbstractOperation.java:689)
         at weblogic.deploy.internal.targetserver.operations.RemoveOperation.removeDeployment(RemoveOperation.java:313)
         at weblogic.deploy.internal.targetserver.operations.RemoveOperation.doCommit(RemoveOperation.java:114)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    [10:11:56 PM] Application Undeployed Successfully.
    [10:11:56 PM] Elapsed time for deployment: 2 seconds
    [10:11:56 PM] ---- Deployment finished. ----
    [Application crazy stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Edited by: Stuart Fleming on Aug 26, 2012 7:12 PM

    Frank,
    Thank you for your answer. I had not checked (will do so tonight).
    I had considered it adequate to wipe out the entire system directory (thereby wiping out the integrated weblogic server), but perhaps it was not adequate? I did not specify that this is on the integrated server, but that is the case....
    Stuart

  • System Error:Database access error,rollback segment number with name "" too small

    Hi Experts,
    In SXMB_MONI  XML messages for File2File scenario are failing
    with the below message:
    Database access error
    com.sap.aii.utilxi.misc.api.ResourceException: ORA-01555: snapshot too
    old: rollback segment number with name "" too small ORA-22924: snapshot
    too old at com.sap.aii.utilxi.blob.api.AIIBlob.getByteArray
    (AIIBlob.java:85) at
    com.sap.aii.utilxi.blob.api.AIIBlobImpl.getByteArray
    (BlobServices.java:156)
    I have refered this link http://scn.sap.com/thread/3147106
    Kindly suggest,
    Gagan.

    This may be due memory issue on the server. refer the note/thread as
    http://scn.sap.com/thread/3456694
    3807  - Error messages regarding rollback and undo segments
    Regards
    Ramg

  • Error while creating function with record type as return type

    Hi i tried the following code to get the nth highest sal using record type and function.
    CREATE OR REPLACE PACKAGE pack_rec_cur AS
    TYPE rec_type IS RECORD (
    name EMP.ename%TYPE,
    sal EMP.sal%TYPE);
      END;The above package is created
    CREATE OR REPLACE
      FUNCTION fun_rec_cur(n INT) RETURN pack_rec_cur.rec_type AS
       rec pack_rec_cur.rec_type;
        CURSOR cur_rec IS
          SELECT ename,sal
            FROM emp
             WHERE sal is not null
              ORDER BY DESC;
    BEGIN
    OPEN cur_rec;
      FOR i IN 1..n LOOP
       FETCH cur_rec into rec;
       EXIT WHEN cur_rec%NOTFOUND;
      END LOOP;
    CLOSE cur_rec;
    RETURN rec;
    END;   The above function is giving errors
    LINE/COL ERROR
    4/7      PL/SQL: SQL Statement ignored
    7/16     PL/SQL: ORA-00936: missing expression
    SQL> Could you please correct me where i'm doing mistake
    Thanks.

    You are missing the column name in order by clauase. Is it ename desc?
    CREATE OR REPLACE
      FUNCTION fun_rec_cur(n INT) RETURN pack_rec_cur.rec_type AS
       rec pack_rec_cur.rec_type;
        CURSOR cur_rec IS
          SELECT ename,sal
            FROM emp
             WHERE sal is not null
              ORDER BY ENAME DESC; ---added ename
    BEGIN
    OPEN cur_rec;
      FOR i IN 1..n LOOP
       FETCH cur_rec into rec;
       EXIT WHEN cur_rec%NOTFOUND;
      END LOOP;
    CLOSE cur_rec;
    RETURN rec;
    END;  
    -OUTPUT
    SQL> SET SERVEROUT ON
    SQL>
    SQL> DECLARE
      2     rec            pack_rec_cur.rec_type;
      3  BEGIN
      4     rec         := fun_rec_cur (6); --you get the 6th record in order of ename desc
      5     DBMS_OUTPUT.put_line ('ename::' || rec.NAME || '  sal ::' || rec.sal);
      6  END;
      7  /
    ename::MARTIN  sal ::1250
    PL/SQL procedure successfully completed.
    SQL>

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

    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.>
    -----------------

    Hi,
    This forum is for issues migrating from non-Oracle databases to Oracle.
    It would be better to ask this question in one of the Weblogic servers but as there are several Weblogic forums but it may be better to try this one first -
    Forum: WebLogic Server - Upgrade / Install / Environment / Migration
    WebLogic Server - Upgrade / Install / Environment / Migration
    Regards,
    Mike

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

    Hi,
    We are migration one our app from 10g OC4J to weblogic 11g server. This app is running fine in 10g 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.>

    Hi,
    This forum is for issues migrating from non-Oracle databases to Oracle.
    It would be better to ask this question in one of the Weblogic servers but as there are several Weblogic forums but it may be better to try this one first -
    Forum: WebLogic Server - Upgrade / Install / Environment / Migration
    WebLogic Server - Upgrade / Install / Environment / Migration
    Regards,
    Mike

  • Error creating bean with name 'org.springframework.dao.annotation.Persisten

    Hello
    I am using Hibernate 4, Spring 3 , JSF 2.0 and Weblogic 10.3.6
    When I start weblogic server and server starts successfully, however whenever it starts publishing application, I am getting the following exception.
    Error creating bean with name
    'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0'
      defined in ServletContext resource [/WEB-INF/applicationContext.xml]:
      Initialization of bean failed; nested exception is
      org.springframework.beans.factory.BeanCreationException:
        Caused By: org.springframework.beans.factory.BeanCreationException: Error creating
       bean with name 'entityManagerFactory'defined in ServletContext resource
       [/WEB-INF/applicationContext.xml]: Invocation of init method failed;
       nested exception is java.lang.NoSuchMethodError:
       javax.persistence.spi.PersistenceUnitInfo.getSharedCacheMode()Ljavax/persistence/
       SharedCacheMode;
    Caused By: java.lang.NoSuchMethodError:
    javax.persistence.spi.PersistenceUnitInfo.getSharedCacheMode()
    Ljavax/persistence /SharedCacheMode;    at
    org.hibernate.ejb.util.LogHelper.logPersistenceUnitInfo(LogHelper.java:38)  at
    org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:525)
    at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:72)     at  org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManager I have the following in applicationContext.xml
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"
        xmlns:context="http://www.springframework.org/schema/context"
        xsi:schemaLocation="http://www.springframework.org/schema/beans
    http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
    http://www.springframework.org/schema/tx
    http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
    http://www.springframework.org/schema/context
    http://www.springframework.org/schema/context/spring-context-3.0.xsd">     
        <context:component-scan base-package="net.test" />
        <!-- Data Source Declaration -->
        <bean id="DataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"
            destroy-method="close">
            <property name="driverClass" value="oracle.jdbc" />
            <property name="jdbcUrl" value="jdbc:oracle:thin:@server:1521:DB" />
            <property name="user" value="scott" />
            <property name="password" value="tiger" />
            <property name="maxPoolSize" value="10" />
            <property name="maxStatements" value="0" />
            <property name="minPoolSize" value="5" />
        </bean>
        <bean
            class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor" />
        <!-- JPA Entity Manager Factory -->
        <bean id="entityManagerFactory"
            class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
            <property name="dataSource" ref="DataSource" />
            <property name="packagesToScan" value="net.test.entity" />
            <property name="jpaVendorAdapter">
                <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
                    <property name="showSql" value="true" />
                    <property name="generateDdl" value="false" />
                    <property name="databasePlatform" value="${jdbc.dialectClass}" />
                </bean>
            </property>
        </bean>
        <bean id="defaultLobHandler" class="org.springframework.jdbc.support.lob.DefaultLobHandler" />
        <!-- Session Factory Declaration -->
        <bean id="SessionFactory"
            class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
            <property name="dataSource" ref="DataSource" />
            <property name="annotatedClasses">
                <list>
                    <value>net.test.entity.Department</value>
                    <value>net.test.entity.Employees</value>
                </list>
            </property>
            <property name="hibernateProperties">
                <props>
                    <prop key="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</prop>
                    <prop key="hibernate.show_sql">true</prop>
                    <prop key="hibernate.query.factory_class">org.hibernate.hql.internal.classic.ClassicQueryTranslatorFactory
                    </prop>
                </props>
            </property>
        </bean>
        <!-- Enable the configuration of transactional behavior based on annotations -->
        <tx:annotation-driven transaction-manager="txManager" />
        <tx:annotation-driven transaction-manager="transactionManager" />
        <!-- Transaction Config -->
        <bean id="txManager"
            class="org.springframework.orm.hibernate4.HibernateTransactionManager">
            <property name="sessionFactory" ref="SessionFactory" />
        </bean>
        <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
            <property name="entityManagerFactory" ref="entityManagerFactory" />
        </bean>
        <context:annotation-config />   
        <bean id="hibernateStatisticsMBean" class="org.hibernate.jmx.StatisticsService">
            <property name="statisticsEnabled" value="true" />
            <property name="sessionFactory" value="#{entityManagerFactory.sessionFactory}" />
        </bean>
        <bean name="ehCacheManagerMBean"
            class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" />
        <bean id="mbeanServer" class="org.springframework.jmx.support.MBeanServerFactoryBean">
            <property name="locateExistingServerIfPossible" value="true" />
        </bean>   
        <bean id="jmxExporter" class="org.springframework.jmx.export.MBeanExporter"
            lazy-init="false">
            <property name="server" ref="mbeanServer" />
            <property name="registrationBehaviorName" value="REGISTRATION_REPLACE_EXISTING" />
            <property name="beans">
                <map>
                    <entry key="SpringBeans:name=hibernateStatisticsMBean"
                        value-ref="hibernateStatisticsMBean" />
                    <entry key="SpringBeans:name=ehCacheManagerMBean" value-ref="ehCacheManagerMBean" />
                </map>
            </property>
        </bean>
    </beans>
    pom.xml
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
              http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>net.test</groupId>
        <artifactId>myappp</artifactId>
        <packaging>war</packaging>
        <version>1.0-SNAPSHOT</version>
        <name>myappp</name>
        <url>http://maven.apache.org</url>
        <repositories>
            <repository>
                <id>prime-repo</id>
                <name>PrimeFaces Maven Repository</name>
                <url>http://repository.primefaces.org</url>
                <layout>default</layout>
            </repository>
        </repositories>
        <properties>
            <spring.version>3.1.1.RELEASE</spring.version>
        </properties>
        <dependencies>
            <!-- Spring 3 dependencies -->
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-core</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-web</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-tx</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-orm</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-test</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <!-- JSF library -->
            <dependency>
                <groupId>com.sun.faces</groupId>
                <artifactId>jsf-api</artifactId>
                <version>2.1.6</version>
            </dependency>
            <dependency>
                <groupId>com.sun.faces</groupId>
                <artifactId>jsf-impl</artifactId>
                <version>2.1.6</version>
            </dependency>
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>jstl</artifactId>
                <version>1.2</version>
            </dependency>
            <!-- Primefaces library -->
            <dependency>
                <groupId>org.primefaces</groupId>
                <artifactId>primefaces</artifactId>
                <version>3.4.2</version>
            </dependency>
            <dependency>
                <groupId>org.primefaces.themes</groupId>
                <artifactId>afterwork</artifactId>
                <version>1.0.8</version>
            </dependency>
            <!-- Hibernate library -->
            <dependency>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate-core</artifactId>
                <version>4.1.0.Final</version>
            </dependency>
            <dependency>
                <groupId>javassist</groupId>
                <artifactId>javassist</artifactId>
                <version>3.12.1.GA</version>
            </dependency>
            <dependency>
                <groupId>javax.inject</groupId>
                <artifactId>javax.inject</artifactId>
                <version>1</version>
            </dependency>
            <!-- Oracle Java Connector library -->
            <dependency>
                <groupId>com.oracle</groupId>
                <artifactId>ojdbc6</artifactId>
                <version>11.2.0.3</version>
            </dependency>
            <dependency>
                <groupId>c3p0</groupId>
                <artifactId>c3p0</artifactId>
                <version>0.9.1.2</version>
            </dependency>
            <!-- Log4j library -->
            <dependency>
                <groupId>log4j</groupId>
                <artifactId>log4j</artifactId>
                <version>1.2.16</version>
            </dependency>
            <dependency>
                <groupId>org.testng</groupId>
                <artifactId>testng</artifactId>
                <version>6.4</version>
            </dependency>
            <dependency>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate-jpamodelgen</artifactId>
                <version>1.2.0.Final</version>
            </dependency>
            <dependency>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate-entitymanager</artifactId>
                <version>4.1.0.Final</version>
            </dependency>
            <dependency>
                <groupId>org.hibernate.javax.persistence</groupId>
                <artifactId>hibernate-jpa-2.0-api</artifactId>
                <version>1.0.1.Final</version>
            </dependency>
            <dependency>
        <groupId>org.apache.myfaces.extensions.cdi.core</groupId>
        <artifactId>myfaces-extcdi-core-api</artifactId>
        <version>1.0.5</version>
        <scope>compile</scope>
    </dependency>
            <dependency>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate-ehcache</artifactId>
                <version>4.0.1.Final</version>
            </dependency>      
        </dependencies>
        <build>
            <resources>
                <resource>
                    <directory>src/main/resources</directory>
                </resource>
            </resources>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>             
                    <configuration>
                        <source>1.6</source>
                        <target>1.6</target>
                        <compilerArgument>-proc:none</compilerArgument>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.bsc.maven</groupId>
                    <artifactId>maven-processor-plugin</artifactId>
                    <version>2.0.6</version>
                    <executions>
                        <execution>
                            <id>process</id>
                            <goals>
                                <goal>process</goal>
                            </goals>
                            <phase>generate-sources</phase>
                            <configuration>
                                <!-- source output directory -->
                                <outputDirectory>target/metamodel</outputDirectory>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
            </plugins>
        </build>
    </project>In Weblogic 10.3.6 I have enabled JPA2 support by adding the following in commEnv.cmd
    @rem Enable JPA 2.0 functionality on WebLogic Server
    set PRE_CLASSPATH=%BEA_HOME%\modules\javax.persistence_1.1.0.0_2-0.jar;
    %BEA_HOME%\modules\com.oracle.jpa2support_1.0.0.0_2-1.jarApplication which works on WLS 10.3.6 is http://download.oracle.com/otn/nt/middleware/11g/wls/1036/wls1036_dev.zip and the one which is not working is
    http://download.oracle.com/otn/nt/middleware/11g/wls/1036/wls1036_win32.exe.
    How can I resolve these errors and exceptions? Any help is highly appreciable.
    Thanks

    Looks like you might have a spelling error in your spring config, or are trying to set a read-only property. BdasInterfaceManagerImpl has been configured as having a method called setBdasInterfaceJdbcDao() : does it?
    By the way, we now know that you're writing code for JP Morgan - there's a slight risk that this could bite you in the @ss at some point (there are some malicious people around) you might want to take that into consideration next time!

  • No Definition for parameter with name NOREFFLAG available: IP Function

    Hi All!
    I'm working with Portal 7 and BW 7
    I'm trying to create a Planning Function of Type: <b>Distribution by reference data</b> when I indicate some characteristics to be changed in the "To Characteristics Usage" tab and change to the "To Parameters" tab, I get the following error:
    <i> The initial exception that caused the request to fail, was:
      <b>com.sap.ip.bi.plan.sb.interfaces.ifs.other.NoSuchElementException: No Definition for parameter with name NOREFFLAG available</b>.
        at com.sap.ip.bi.plan.sb.interfaces.cls.tydef.ParamSetDef.checkRequest(ParamSetDef.java:123)
        at com.sap.ip.bi.plan.sb.interfaces.cls.tydef.ParamSetDef.getParamElementaryDef(ParamSetDef.java:84)
        at com.sap.ip.bi.plan.sb.interfaces.cls.srv.ParamSet.getParamElementary(ParamSet.java:113)
        at com.sap.ip.bi.plan.sb.plandialogcomps02.distrefdata.DistRefDataParamsDialogComp.setAll(DistRefDataParamsDialogComp.java:326)
        at com.sap.ip.bi.plan.sb.plandialogcomps02.distrefdata.wdp.InternalDistRefDataParamsDialogComp.setAll(InternalDistRefDataParamsDialogComp.java:199)
        ... 62 more
    Detailed Exception Chain
    com.sap.ip.bi.plan.sb.interfaces.ifs.other.NoSuchElementException: No Definition for parameter with name NOREFFLAG available.
         at com.sap.ip.bi.plan.sb.interfaces.cls.tydef.ParamSetDef.checkRequest(ParamSetDef.java:123)
         at com.sap.ip.bi.plan.sb.interfaces.cls.tydef.ParamSetDef.getParamElementaryDef(ParamSetDef.java:84)
         at com.sap.ip.bi.plan.sb.interfaces.cls.srv.ParamSet.getParamElementary(ParamSet.java:113)
         at com.sap.ip.bi.plan.sb.plandialogcomps02.distrefdata.DistRefDataParamsDialogComp.setAll(DistRefDataParamsDialogComp.java:326)
         at com.sap.ip.bi.plan.sb.plandialogcomps02.distrefdata.wdp.InternalDistRefDataParamsDialogComp.setAll(InternalDistRefDataParamsDialogComp.java:199)
         at com.sap.ip.bi.plan.sb.plandialogcomps02.distrefdata.DistRefDataParamsDialogCompInterface.setAll(DistRefDataParamsDialogCompInterface.java:143)
         at com.sap.ip.bi.plan.sb.plandialogcomps02.distrefdata.wdp.InternalDistRefDataParamsDialogCompInterface.setAll(InternalDistRefDataParamsDialogCompInterface.java:156)
         at com.sap.ip.bi.plan.sb.plandialogcomps02.distrefdata.wdp.InternalDistRefDataParamsDialogCompInterface$External.setAll(InternalDistRefDataParamsDialogCompInterface.java:212)
         at com.sap.ip.bi.plan.sb.impl.main.pscreencust.ParamScreenCust.loadNewRule(ParamScreenCust.java:315)
         at com.sap.ip.bi.plan.sb.impl.main.pscreencust.ParamScreenCust._reloadAll(ParamScreenCust.java:590)
         at com.sap.ip.bi.plan.sb.impl.main.pscreencust.ParamScreenCust.prepareView(ParamScreenCust.java:341)
         at com.sap.ip.bi.plan.sb.impl.main.pscreencust.wdp.InternalParamScreenCust.prepareView(InternalParamScreenCust.java:179)
         at com.sap.ip.bi.plan.sb.impl.main.SBuilderMainComp.ehDoNavigationAfterCheck(SBuilderMainComp.java:561)
         at com.sap.ip.bi.plan.sb.impl.main.wdp.InternalSBuilderMainComp.wdInvokeEventHandler(InternalSBuilderMainComp.java:229)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.invokeEventHandler(DelegatingComponent.java:161)
         at com.sap.tc.webdynpro.progmodel.controller.Component.fireEvent(Component.java:283)
         at com.sap.ip.bi.plan.sb.impl.main.cuscreencust.wdp.InternalCharUsageScreenCust.wdFireEventEventCharUsageCheckAfter(InternalCharUsageScreenCust.java:236)
         at com.sap.ip.bi.plan.sb.impl.main.cuscreencust.CharUsageScreenCust._finishUpdateAndNavigationAfterCheck(CharUsageScreenCust.java:373)
         at com.sap.ip.bi.plan.sb.impl.main.cuscreencust.CharUsageScreenCust.checkCharUsage(CharUsageScreenCust.java:257)
         at com.sap.ip.bi.plan.sb.impl.main.cuscreencust.wdp.InternalCharUsageScreenCust.checkCharUsage(InternalCharUsageScreenCust.java:151)
         at com.sap.ip.bi.plan.sb.impl.main.SBuilderMainCompView.onActionNavButton(SBuilderMainCompView.java:230)
         at com.sap.ip.bi.plan.sb.impl.main.wdp.InternalSBuilderMainCompView.wdInvokeEventHandler(InternalSBuilderMainCompView.java:206)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)</i>
    I'll apreciate any help!.
    Thnks a lot!
    Yolanda.

    Hi Hans
    Yes, It was because I had to active some objects in the bussines content, specifically:
    Type Objects --> Type Formulas.  all of them.
    I unmarked this thread as a quiestion, that's for I cannot assing you points.
    Thnk you very much .

  • Error generating report job with the task name 'FSRM_Report_Task

    Since this morning we have been having a problem with FSRM on Windows Server 2008 R2, it is no longer running storage reports (both scheduled and on-demand).
    We get the following in the event logs:
    Log Name:      Application
    Source:        SRMREPORTS
    Date:          09/06/2014 08:09:55
    Event ID:      752
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      FILESERVER2.curriculum.riddlesdown.local
    Description:
    Error generating report job with the task name 'FSRM_Report_Task{3add1760-4e79-4141-baba-cb53391bef3e}'.
    Context:
     - Exception encountered = Invalid argument: StorageType = '101'
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SRMREPORTS" />
        <EventID Qualifiers="0">752</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-06-09T07:09:55.000000000Z" />
        <EventRecordID>42920</EventRecordID>
        <Channel>Application</Channel>
        <Computer>FILESERVER2.curriculum.riddlesdown.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Error generating report job with the task name 'FSRM_Report_Task{3add1760-4e79-4141-baba-cb53391bef3e}'.
    Context:
     - Exception encountered = Invalid argument: StorageType = '101'
    </Data>
      </EventData>
    </Event>
    We have uninstalled and reinstalled the FSRM role service but are still having the same problem.
    Anybody have any ideas?

    Hi,
    From the error message, it failed because of "invalid argument: storagetype = '101' ".
    101 means the storage type is "system" + "cache". Is there any change on your storage before the issue occurs? For example whether the source storage is changed?
    FsrmStorageModuleType enumeration
    http://msdn.microsoft.com/en-us/library/dd392346(v=vs.85).aspx
    If you have any feedback on our support, please send to [email protected]

  • Job submission failed : error occurred while scheduling the job. org.quartz.objectalreadyexistsexception: unable to store job with name

    Experts,
    Please help me out here,Am facing this issue while scheduling a job in BIPublisher.
    job submission failed : error occurred while scheduling the job. org.quartz.objectalreadyexistsexception: unable to store job with name
    Thanks,

    You are probably installing on a hardened machine.
    The "installation guide" says that if you are doing so, you need to create a file named libx11.so.4 and update your LD_LIBRARY_PATH (see http://docs.iplanet.com/docs/manuals/messaging/ims52/ig/unix/overview.htm)but:
    1- the library name is libX11.so.4 and
    2- for jre a common file is not enough, you need to install SUNWxwplt at least. This will install the library on /usr/openwin/lib.
    You can check the results running <server-root>/bin/base/jre/bin/jre
    Hope that helps and sorry about my poor english.

  • Error -43  when try playback on win7 64bits over the network QT that recide MacPro  osx 10.5 however i can play with VLC player, This happend when the QT is inside a Folder with name longer 8 chars other files has no problem with long names just the QT

    error -43  when try playback on win7 64bits over the network QT that recide MacPro  osx 10.5 however i can play with VLC player, This happend when the QT is inside a Folder with name longer 8 chars other files has no problem with long names just the QT  nfs sharing

    Never mind, I already found the solution myself.
    What I did wrong was:
    - not copying the master image to the nbi folder
    - selecting the netinstall-restore.dmg image as source to copy to my HD.
    The thing is, when you create a netinstall image for 10.5, the image itself is already included in the netinstall image so you don't have to do anything else.
    With the 10.4 image however, you also have to copy the master image to the NetBootSP0 directory.
    In the *.nbi folder contains an netinstall-restore.dmg file. But that is only to boot you to netrestore, it's not the image itself.
    Other alternative is to copy the images to another folder that you share with AFP and adjust the configuration of netrestore like described in this manual:
    http://www.shellharbourd.det.nsw.edu.au/pdf/misc/osxrestoringnet.pdf
    This manual was also how I figured out that I forgot to copy the image to the NetBootSP0 folder.

  • Call outside function with same name in a package

    I created a function as follows:
    create or replace function f1 return number
    is
    begin
    return 1;
    end;
    This f1 is to be called in a package created below.
    Then I create a package with a function in it, as follows:
    create or replace package pack1 as
    function f1 return number;
    end;
    Now I define the package body as follows:
    create or replace package body pack1 as
    function f1 return number as
    -- I am trying to call the first function f1 defined above here
    How do I resolve the name issues here?
    In other words, I want to call a function with the same signature outside a package.
    Thanks for your kind help.

    Hi,
    Welcome to the forum!
    Do you have a good reason for using the same name?
    Refer to the stand-alone function with the owner name, even though it's your current schema.
    That is, even if the package and the stand-alone function are owned by scott, in the package, say
    x := scott.f1;

Maybe you are looking for