Bundle Exceptions in BeforeCommit

Can I bundle Exceptions inside the beforeCommit() method?
registerRowException(new JboException("Exception1")...);
registerRowException(new JboException("Exception2")...);
registerRowException(new JboException("Exception3")...);
registerRowException(new JboException("Exception4")...);
super.beforeCommit(transEvent);In the JSF page, it is supposed to be display Exception1, Exception2, Exception3, Exception4 at the same time, when I press a button that commits a transaction. But as it is it does not behave as I expected. However If I changed it to lines to "throw new JboException("Exception1")...etc, Only Exception1 is printed on the message area of the page.
I just want to know if its possible to bundle the exception inside beforeCommit(), a way to get around it maybe.
regards
Anton

Hi
use RAISE EXCEPTION...
RAISE KEY WORD IT WILL DEFENETELY RAISE THE EXCEPTION..
REWARD IF IT USE FUL

Similar Messages

  • How to throw bundled exceptions thrown by checkErrors()

    Hi,
    I call pl/sql to do update, and call checkErrors() , the code looks like following, but it doesn't display read friendly message on the screen. What is the right way to throw bundled exception from checkErrors() method?
    try{
    xxg2cGoalPk.startWf (conn,
    new BigDecimal(srpGoalHeaderId),
    new BigDecimal(userId),
    returnStatus,
    msgCount,
    msgData);
    int msgCount1 = 0;
    if(msgCount[0] != null){
    msgCount1 = Integer.parseInt(msgCount[0].toString());
    String returnStatus1 = returnStatus[0];
    String msgData1 = msgData[0];
    OAExceptionUtils.checkErrors(tx,msgCount1, returnStatus1, msgData1);
    catch(OAException e) {
    e.printStackTrace();
    throw new OAException(e.getDetailMessage(),OAException.ERROR);
    thanks
    Lei

    What Shiv said is only an alternative, but what you are using is correct.I haven't tested but as per javadoc of
    OAExceptionUtils.checkErrors(tx,msgCount1, returnStatus1, msgData1);
    will itself raise bundled exceptions. You need to write this line outside try/catch block.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Bundled Exceptions in EntityImpl.BeforeCommit()

    Hi Im trying to issue a registerAttributeException call inside a beforeCommit() method of an Entity object class.
    The problem is, I don't see any exceptions thrown at all. Is this expected behavior? Is this because the framework is finished executing the validate() method and therefore don't really bundle the execption anymore?
    Please confirm.

    I have the same problem. I solved this (its only workaround) by forcing setAttribute call for each input field. This is done in focusLost event.
    Example:
    private void passwordTextField_focusLost(FocusEvent e) {
    JUIteratorBinding viewIterator = panelBinding.findIterBinding(masterIterName);
    viewIterator.getCurrentRow().setAttribute("Upwd", passwordTextField.getPassword());
    A better solution would be appreciated.
    Regards,
    Prokop

  • ER: How can I show a list of exceptions form validateEntity?

    I'm working with JDeveloper, ADF BC, Struts and JSP.
    I,ve tried to follow the instructions in [Business Rules in ADF BC|http://www.oracle.com/technology/products/jdev/collateral/papers/10131/businessrulesinadfbctechnicalwp.pdf] form page 63 to the end, but the transaction still stops at the first error, and not when te validateEntity row is completed.
    I'd like to show a list of exceptions, but one only exception is showed for each time.
    Could anyone help me, please?

    Overriding validateEntity() is not best practice since when you do it you take on the responsibility of correctly catching and rebundling any exceptions that are thrown in order to keep the "bundled exception mode" behavior intact.
    Instead, as recommended in the ADF Developer's Guide for Forms/4GL Developers in [9.3 Using Method Validators | http://download.oracle.com/docs/html/B25947_01/bcrules003.htm#sm0234 ] you should use method validators for each separate programmatic validation rule that you want to implement. In so doing, the framework automatically maintains the bundled exception handling for you and you will see all failed exceptions in your page.

  • After deploy I get An exception occurred while registering the MBean null

    Hi,
    I use Jdeveloper 11.1.1.0.0 and WebLogicServer 10gR3.
    When I run the ADF-Application from JDev via internal WLS, the application runs properly (even the database connection with oracle thin driver).
    I have successfully generated the data source (test with select 1 from dual also ok) on an external WLS.
    But when I deploy from JDev directly to the external WLS the following message is generated on the Server:
    <16.10.2008 10:30 Uhr CEST> <Error> <JMX> <BEA-149500> <An exception occurred while registering the MBean null.
    java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : com.bea:ServerRuntime=AdminServer,Name=tls-bob,Type=ApplicationRuntime new:weblogic.j2ee.J2EEApplicationRuntimeMBeanImpl@1ab7497 existing weblogic.j2ee.J2EEApplicationRuntimeMBeanImpl@1fdff07
    at weblogic.management.jmx.ObjectNameManagerBase.registerObject(ObjectNameManagerBase.java:168)
    at weblogic.management.mbeanservers.internal.WLSObjectNameManager.lookupObjectName(WLSObjectNameManager.java:131)
    at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:87)
    at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
    at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
    Truncated. see log file for complete stacktrace
    with two further similar messages.
    When I run the application the login-mask for database appears correctly in the browser, but when I start the login the following messages are generated on the server:
    16.10.2008 10:11:02 oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl setLifecycleContextBuilder
    WARNUNG: ADFc: Implementierung der ADF-Seitengnltigkeitsdauer wird durch "oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder" ersetzt.
    16.10.2008 10:11:03 oracle.adfinternal.controller.util.model.AdfmInterface initialize
    INFO: ADFc: BindingContext ist vorhanden, ADFm-APIs werden fnr DataControlFrames verwendet.
    16.10.2008 10:11:03 oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider <init>
    INFO: ADFc: Caching von MDS-Metadatenressourcen durch Controller AKTIVIERT.
    16.10.2008 10:11:03 oracle.adf.controller.internal.metadata.MetadataService$Bootstrap add
    INFO: ADFc: Bootstrap-Metadaten werden aus '/WEB-INF/adfc-config.xml' geladen.
    16.10.2008 10:11:19 oracle.adf.share.security.providers.jps.CSFCredentialStore fetchCredential
    WARNUNG: Unable to locate the credential for key tls-bob in D:\oracle\bea\user_projects\domains\TEST\config\oracle.
    16.10.2008 10:11:19 oracle.adf.share.jndi.ReferenceStoreHelper throwPartialResultException
    WARNUNG: Incomplete connection information
    16.10.2008 10:11:24 com.sun.faces.application.ActionListenerImpl processAction
    SCHWERWIEGEND: java.lang.NullPointerException
    javax.faces.el.EvaluationException: java.lang.NullPointerException
    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:70)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:274)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:74)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:70)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:274)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:74)
    Same problem happends, when deploying the ear-file manually from jdev.
    Thanks in advance!
    Oliver
    Edited by: user470087 on Oct 16, 2008 11:24 AM

    Hi,
    I never had this exact exception but to my knowledge your find more info in the full stack trace. The full stack trace has the bundled exceptions too which are the cause of the trouble in all cases I saw.
    Sometimes it helps to turn jbo.debugoutput on.
    Timo

  • Binding Resource Bundle to Portlet

    When i place resource bundle in my webroot resources folder,and i added the tag resource-bundle for my portlet.
    Its throwing exception can't find resources bundle exception.Anyone knows how to bundle resources to portlet.
    Please help me.

    For 903 codeline, you'd have to implement db lookups for resources in each message bundle. The message bundle has to be a subclass of JBoResourceBundle, but you can re-implement getContents() to go to DB to buildup the messsages.
    For a future release, we're working on a more 'global' override for all message lookups. There's a class called StringManager which is used for all framework String lookups and that is being made overridable to allow for 'one-point-of-override' for all message bundles within the framework.

  • Different international versions? Retail vs. "bundled"?

    Are there different Mac OS X versions in different regions, or is it all the same base OS with just different default language settings (or not even that)?
    Is there a difference between the retail version and the one that comes with computers (Mac mini)?
    Do all new computers come with 10.5?

    Are there any practical differences between bundled and retail?
    Bundled includes iLife. Retail has not included iLife except iTunes, with exceptions for the past retail listed in this user tip:
    http://discussions.apple.com/click.jspa?searchID=-1&messageID=6493795
    Also Powerbooks have in the past included a bundled http://www.lemkesoft.com/ GraphicConverter, and iMacs and iBooks and Mac Minis in the past have included games, Appleworks, Quicken and World Book. Look at the model's spec pages to determine what prebundled software has been included. The restore directions in my user tip will restore those bundled software packages whatever they may be, and so will http://www.charlessoft.com/ 's Pacifist. International bundles have included different software packages depending on the third party's marketing. Appleworks is no longer bundled. iWorks is not bundled except in some cases with a 30 day demo, and some cases Microsoft Office is bundled with a 30 day demo, or a printing limited demo. If you need Office applications, there is more than just Microsoft Office for the Mac*:
    http://www.macmaps.com/crossplatform.html
    BTW, I see you're not using the latest 10.5.4. Are there reasons to stick with older versions?
    If you click on my username, you'll see my answer to that in my profile. As I say here, you upgrade upon need, and compatibility. If you don't know a title is compatible with an operating system, but find your software is currently functional, best to stick with what works. As we say in the U.S.: "If it ain't broke, don't fix it." My upgrade FAQ* also covers other reasons to upgrade and not:
    http://www.macmaps.com/upgradefaq.html
    I've yet to find a convincing enough reason for me to upgrade. Not that it probably won't work, it probably will, but I don't have time to test every software on the planet.
    - * Links to my pages may give me compensation.

  • Need help in to raise an exception in BundleException

    Hi All,
    I have one Create Page and one EO. In create page, I am displaying 10 blank rows at time for create new records. I am validating Code for uniqueness in method "validateEntity()" of "xxxxEOImpl.java". Here, what is happening, I am getting only one row validated at a time. Even, I tried to bundle all these errors and show at one shot by using "OAException.raiseBundledOAException(exceptions);".
    For example:
    If user enter 10 records for creation and out of 5 records are failed due to unique validation. Here, I want to bundle all these 5 validation errors and show at a time.
    Please advice me if anybody knows or has done this kind of validation and raising errors.
    Help is higlhly appreciated.
    Thanks,
    Arvin

    Some more examples which is similar to your requirement i believe.
    Example 2
    The following code caches exceptions thrown during validateEntity(), and then throws the cached exceptions
    as one bundled exception.
    protected void validateEntity()
    super.validateEntity();
    ArrayList exceptions = new ArrayList();
    //check for duplicate Filter Name
    if (getEntityState() == STATUS_NEW)
    String value = getFilterName();
    OADBTransaction tx = getOADBTransaction();
    OAApplicationModule vam = getMyValidationAM();
    FiltersVOImpl vo = vam.findViewObject("filtersViewUsage");
    if (vo == null)
    vo = vam.createViewObject("filtersViewUsage","oracle.apps.qrm.filter.server.FiltersVO");
    vo.setMaxFetchSize(-1);
    vo.initQuery(value,"C");
    Row r = vo.first();
    if (r != null)
    exceptions.add(
    new OAAttrValException (
    OAException.TYP_ENTITY_OBJECT, // Entity attribute exception.
    getEntityDef().getFullName(), //Entity full def name
    getPrimaryKey(), //Row primary key
    "FilterName", //Attribute Name
    value, //Bad Value
    "QRM", //Message Application Short Code
    "QRM_UNIQUE_FILTERS_ERR")); //Message Code
    //check for empty filters(no conditions)
    EntityDefImpl def = EntityDefImpl.findDefObject("oracle.apps.qrm.filter.server.QrmFilterConditionsEO");
    Iterator iterator = def.getAllEntityInstancesIterator(getDBTransaction());
    String flag = "no";
    while (iterator.hasNext())
    QrmFilterConditionsEOImpl fcEO = (QrmFilterConditionsEOImpl)iterator.next();
    // only check rows in valid state
    if ( fcEO.getEntityState() != STATUS_DELETED && fcEO.getEntityState() != STATUS_DEAD )
    flag = "OK";
    if (flag.equals("no"))
    exceptions.add(
    new OARowValException (
    getEntityDef().getFullName(),
    getPrimaryKey(), //Row primary key
    "QRM", //Message Application Short Code
    "QRM_NO_CONDITIONS_ERR")); //Message Code
    OAException.raiseBundledOAException(exceptions);
    Example 3
    The following code example caches exceptions thrown in a view object method, and then throws the cached
    exceptions as one bundled exception.
    public void checkUsed()
    String ifSelected = null;
    String name;
    ArrayList exceptions = new ArrayList();
    FiltersVORowImpl row = (FiltersVORowImpl)first();
    while (row != null)
    ifSelected = (String)row.getAttribute("SelectFlag");
    if ("Y".equals(ifSelected))
    name = (String)row.getAttribute("FilterName");
    OAViewObjectImpl vo =
    (OAViewObjectImpl)getApplicationModule().findViewObject("IsFilterUsedVO");
    vo.setWhereClause(null);
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(0,name);
    vo.executeQuery();
    Row r = vo.first();
    //if there are analyses, then use them
    if (r != null)
    String msg= (String)r.getAttribute("AnalysisName");
    String flag ="f";
    while (r != null)
    //change flag if it was the first row,if not append analysis name
    if (flag.equals("f"))
    flag = "N";
    else
    msg = msg +", "+ (String)r.getAttribute("AnalysisName");
    r = vo.next();
    MessageToken[] tokens = {new MessageToken("FILTER_NAME",name),
    new MessageToken("ANALYSIS",msg)};
    exceptions.add(
    new OARowValException(
    ((ComponentObject)getViewObject()).getName(),
    row.getKey(),
    "QRM",
    "QRM_FILTER_REMOVE_ERR",
    tokens));
    row =(FiltersVORowImpl)next();
    OAException.raiseBundledOAException(exceptions);
    Example 4
    The following code example registers a validation exception in set<Attribute>() so BC4J can throw this
    exception later during the entity validation.
    public void setAmount(oracle.jbo.Number amnt)
    // Clears any old exceptions for a fresh start.
    clearAttributeException("Amount");
    if(amnt < 0)
    OAAttrValException attrEx = new OAAttrValException(
    OAAttrValException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(),
    getPrimaryKey(),
    "Amount",
    amnt,
    "QRM",
    "QRM_AMOUNT_IS_NEGATIVE");
    registerAttributeException(getEntityDef().getAttributeDefImpl("Amount"),amnt, attrEx);
    Example 5
    This code example registers exceptions thrown during validateEntity()so BC4J can throw these exceptions
    when validation completes.
    protected void validateEntity()
    super.validateEntity();
    // Clears all Row and Attribute exceptions registered in validateEntity() for a fresh start.
    clearAttributeException("FilterNAme");
    clearRowExceptions();
    //check for duplicate Filter Name
    if (getEntityState()==STATUS_NEW)
    String value = getFilterName();
    OADBTransaction tx = getOADBTransaction();
    OAApplicationModule vam = getMyValidationAM();
    FiltersVOImpl vo = vam.findViewObject("filtersViewUsage");
    if(vo == null)
    vo = vam.createViewObject("filtersViewUsage", "oracle.apps.qrm.filter.server.FiltersVO");
    vo.setMaxFetchSize(-1);
    vo.initQuery(value,"C");
    Row r = vo.first();
    if (r != null)
    OAAttrValException attrEx = new OAAttrValException (
    OAException.TYP_ENTITY_OBJECT, // Entity attribute exception.
    getEntityDef().getFullName(), //Entity full def name
    getPrimaryKey(), //Row primary key
    "FilterName", //Attribute Name
    value, //Bad Value
    "QRM", //Message Application Short Code
    "QRM_UNIQUE_FILTERS_ERR")); //Message Code
    registerAttributeException(getEntityDef().getAttributeDefImpl("FilterName"), value, attrEx);
    //check for empty filters(no conditions)
    EntityDefImpl def =
    EntityDefImpl.findDefObject("oracle.apps.qrm.filter.server.QrmFilterConditionsEO");
    Iterator iterator = def.getAllEntityInstancesIterator(getDBTransaction());
    String flag = "no";
    while (iterator.hasNext())
    QrmFilterConditionsEOImpl fcEO = (QrmFilterConditionsEOImpl)iterator.next();
    // only check rows in valid state
    if ( fcEO.getEntityState() != STATUS_DELETED && fcEO.getEntityState() != STATUS_DEAD )
    flag = "OK";
    if (flag.equals("no"))
    registerRowException(
    new OARowValException (
    getEntityDef().getFullName(),
    getPrimaryKey(), //Row primary key
    "QRM", //Message Application Short Code
    "QRM_NO_CONDITIONS_ERR")); //Message Code
    }

  • Transaction rolledback exception while importing repository

    Hi,
    We often get a transaction rolled back exception when we try to import repository
    of xsl and xsd. Further down the stack trace it gives a resource bundle exception.
    On occasions we restart the WLI server and the import works. But sometimes it doesn't
    go through even after multiple restarts.
    We typically delete a repository before importing it.
    Tushar.

    Here is the stack trace for this exception:
    The server was unable to complete your request.
    Unknown error: TransactionRolledbackException: EJB Exception: : java.lang.ExceptionInInitializerError:
    java.util.MissingResourceException: Can't find bundle for base name com.bea.eci.repository.helper.RepositoryExceptionMessages,
    locale en
         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:712)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:683)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:546)
         at com.bea.eci.repository.helper.RepositoryException.<clinit>(RepositoryException.java:13)...
    javax.transaction.TransactionRolledbackException: EJB Exception: : java.lang.ExceptionInInitializerError:
    java.util.MissingResourceException: Can't find bundle for base name com.bea.eci.repository.helper.RepositoryExceptionMessages,
    locale en
         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:712)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:683)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:546)
         at com.bea.eci.repository.helper.RepositoryException.<clinit>(RepositoryException.java:13)
         at com.bea.eci.repository.helper.RepositoryActions.getObjectFolderTree(RepositoryActions.java:1308)
         at com.bea.eci.repository.ejb.XMLRepositoryBean_u3eysh_EOImpl.getObjectFolderTree(XMLRepositoryBean_u3eysh_EOImpl.java:562)
         at com.bea.wlpi.server.admin.ImportManager$RepositoryReader.<init>(ImportManager.java:1192)
         at com.bea.wlpi.server.admin.ImportManager.importTemplateDefinition(ImportManager.java:637)
         at com.bea.wlpi.server.admin.ImportManager.importPackage(ImportManager.java:293)
         at com.bea.wlpi.server.admin.AdminBean.importPackage(AdminBean.java:1164)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl.importPackage(AdminBean_11ksof_EOImpl.java:301)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    ; nested exception is:
         java.lang.ExceptionInInitializerError:
    Start server side stack trace:
    java.lang.ExceptionInInitializerError: java.util.MissingResourceException: Can't
    find bundle for base name com.bea.eci.repository.helper.RepositoryExceptionMessages,
    locale en
         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:712)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:683)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:546)
         at com.bea.eci.repository.helper.RepositoryException.<clinit>(RepositoryException.java:13)
         at com.bea.eci.repository.helper.RepositoryActions.getObjectFolderTree(RepositoryActions.java:1308)
         at com.bea.eci.repository.ejb.XMLRepositoryBean_u3eysh_EOImpl.getObjectFolderTree(XMLRepositoryBean_u3eysh_EOImpl.java:562)
         at com.bea.wlpi.server.admin.ImportManager$RepositoryReader.<init>(ImportManager.java:1192)
         at com.bea.wlpi.server.admin.ImportManager.importTemplateDefinition(ImportManager.java:637)
         at com.bea.wlpi.server.admin.ImportManager.importPackage(ImportManager.java:293)
         at com.bea.wlpi.server.admin.AdminBean.importPackage(AdminBean.java:1164)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl.importPackage(AdminBean_11ksof_EOImpl.java:301)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    End server side stack trace
    java.lang.ExceptionInInitializerError: java.util.MissingResourceException: Can't
    find bundle for base name com.bea.eci.repository.helper.RepositoryExceptionMessages,
    locale en
    Start server side stack trace:
    java.util.MissingResourceException: Can't find bundle for base name com.bea.eci.repository.helper.RepositoryExceptionMessages,
    locale en
         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:712)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:683)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:546)
         at com.bea.eci.repository.helper.RepositoryException.<clinit>(RepositoryException.java:13)
         at com.bea.eci.repository.helper.RepositoryActions.getObjectFolderTree(RepositoryActions.java:1308)
         at com.bea.eci.repository.ejb.XMLRepositoryBean_u3eysh_EOImpl.getObjectFolderTree(XMLRepositoryBean_u3eysh_EOImpl.java:562)
         at com.bea.wlpi.server.admin.ImportManager$RepositoryReader.<init>(ImportManager.java:1192)
         at com.bea.wlpi.server.admin.ImportManager.importTemplateDefinition(ImportManager.java:637)
         at com.bea.wlpi.server.admin.ImportManager.importPackage(ImportManager.java:293)
         at com.bea.wlpi.server.admin.AdminBean.importPackage(AdminBean.java:1164)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl.importPackage(AdminBean_11ksof_EOImpl.java:301)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    End server side stack trace
         <<no stack trace available>>
    "Tushar Puranik" <[email protected]> wrote:
    >
    Hi,
    We often get a transaction rolled back exception when we try to import repository
    of xsl and xsd. Further down the stack trace it gives a resource bundle
    exception.
    On occasions we restart the WLI server and the import works. But sometimes
    it doesn't
    go through even after multiple restarts.
    We typically delete a repository before importing it.
    Tushar.

  • BCM - Swiftnet ES Bundle without going through Swiftnet?

    Hi Experts,
    We are implementing BCM and will sending payment requests to our bank and receiving payment status messages back from them, without using Swiftnet as an intermediary.
    In this case, can we still use the Swiftnet ES Bundle except that our connection goes to our bank directly instead of to Swiftnet?
    Thanks,
    Jim

    Hi Jim,
    There's an additional license cost to install the SAP Integration Package for SWIFT (SIPS) for PI.
    So I would recommend that it's not worth paying this unless you are planning on using SWIFTnet for your bank connectivity.
    A possible high level approach you could take:
    Outbound:
    Payment runs --> Approve batches in BCM --> DME/PMW files saved to application server directory --> files picked by PI --> PI Sends to Bank using SFTP
    Inbound:
    Bank creates Payment Status Report (PSR) files and bank statements --> Places on SFTP server --> PI picks these files --> PI transfers to application server directory --> Upload files into ECC (e.g. program FEB_FILE_HANDLING for bank statements).
    I think this would be the simplest and most cost effective method for a single SAP-to-bank interface.
    If you use multiple banks, then it would be worth looking into the SWIFTnet option.
    Hope this helps,
    Jack

  • A page does not behave the same in every case

    Hi,
    I am using adfbc and jsf/adf pages.
    I have an entity called Parish (CountryId, CityId, AreaId, ParishName), and created a simple validation method (if the parish name is equal to "test" then to show an error by returning false).
    I created a custom validation method in my AppModule that i just simply get the record id, find the entity and set the values with the method parameters
    I then created a view based on the entity and dragged my view object on my jsf page. I created a button and i binded my custom edit method to the command button, setting the appropriate parameters to bindings on the form. I then double clicked by button and created a binding for the method in a bean.
    When i edit a record and change for example the CountryId, CityId, AreaId and set the ParishName to test (so to force my validation method fire), i am shown the error but the data that i last inputed are lost, and the original are show.
    In another case where i am doing the same thing, the data are kept.
    For example, i have a record with CountryId:UK, CityId:London, AreaId:Finchley, ParishName: North Finchley and when i edit the record and define CountryId:USA, CityId:New York, AreaId:Manhattan, ParishName: test, i get the error message but the data are the original (CountryId:UK, CityId:London, AreaId:Finchley, ParishName: North Finchley). I want to keep the last entered data. In some forms this is done automatically, but in this form i didn't do anything, just dragged and defined, and is not working.
    Anyone please help?
    Antonis

    I apologize for insisting on this, but in my humble opinion it's not useful to try and figure out why your hand-written example is not working if already the declarative way is not working as we expect. We need to figure out why the declarative way is not working first.
    One of my primary jobs is helping customers use ADF correctly and understand how it works internally.
    The code in your updateParish() method is redundantly applying updates to entity attributes that ADF will already have applied to the entity for you. To see this for yourself, you can set a breakpoint in one of the setter methods of your entity object and you'll see that your code is applying the updates a second time.
    I see one reason why your error reporting won't be working as expected, which is that you are directly using the entityImpl object to apply the values. The ADF bundled exception mode only works when you use the view object row to apply the updates to the entities indirectly. Howing using the view object row to apply the values is what ADF will have already done automatically for you, so it's not necessary to do that.
    It's also not a best practice to pass a literal integer value for the first argument of setAttribute(). If for any reason the constant values change, then your code will break. You should call setAttribute("TheAttributeName",thevalue) instead for more robust code.
    Finally, your programmatically setting the user principal name and current date time can also be handled for you automatically by ADF by setting those attributes to be of the correct "History Attribute" type. See section "6.6.3.10 History Attributes" in the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html
    Set a breakpoint in your validation method and debug the completely declarative edit form with the simple (Commit) button. We need to understand if the:
    (a) validation is executing, failing, but the validation error is not being reported correctly, or
    (b) validation is never being enaged at all.

  • Problem releasing the application module after upgrade to 11.1.1.2

    We have recently upgraded from JDeveloper 11.1.1.1 to 11.1.1.2.
    In the "tearDown()" method in our Unit Tests, the Application Module is realeased using:
    private ApplicationModule am;
    Configuration.releaseRootApplicationModule(am, true);
    Alter the upgrade, this produces the following error:
    oracle.jbo.JboException: JBO-33025: Failed to release application module MapServiceGlobal. Cookie handle not found.
    Please Help.
    FYI - this is the code that is used to create the application module:
    Hashtable env = new Hashtable(2);
    env.put(JboContext.INITIAL_CONTEXT_FACTORY,JboContext.JBO_CONTEXT_FACTORY);
    env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
    try
    InitialContext ic = new InitialContext(env);
    ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(rootAM);
    am = home.create();
    catch (NamingException nex)
    /* Handle the error here if you don't find it */
    throw new NamingException("Application Module naming exception " + rootAM + " : " + nex.getMessage());
    /* Connect the AM to a database connection */
    am.getTransaction().connect(jdbcConnectionURL);
    * Set the bundled exception mode so that exceptions are thrown in the
    * same way as when we're running in the web application.
    am.getTransaction().setBundledExceptionMode(true);
    Thanks,
    -Spiro

    Hi,
    I used OCEP 10.3.0.0 and upgraded the wlevs30 domain to PS6(11.1.1.7.0). and it worked without such error.
    My experience is:
    1) in OCEP 10.3.0.0 it needs not to add the security groups in atnstore.txt
    2) you need to add <scratch-directory/> for Jetty in server's config.xml otherwise you will see the visualizer takes a long time to get up on Windows
    Thanks
    Junger

  • How to show warning message in two Lines.

    Hi,
    Can some one please let me know how to show a warning message in two lines. I have created a Message in EBS in two lines but it still displays on the page in a single line.

    use bundled exception.
    ArryList peerExceptions = new ArrayList();
    peerExceptions.add(new OAException(....));
    peerExceptions.add(new OAException(....));
    OAException.raiseBundledOAException(exceptions);
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Are the ProRes codec and .MOV file no longer supported?

    I posted the following over at Creative Cow with no luck... hopefully I can get answers here ...
    I am on a MAC - I joined the Adobe bandwagon during the great FCP migration of 2011 ... So far it's been great but...
    Both Premiere CC AND After Effects CC are not recognizing Pro Res ...heck it doesn't seem like they are recognizing QUICKTIME in general (both progams are rejecting a .MOV I have with the animation codec) ...
    When I try and open up a CS6 sequence in CC I get a message saying "The preset used by one or more of the sequences in this project requires third party components that could not be located." When you click ok just to get the project open, the media is offline.
    When I try and IMPORT a .MOV into Premiere CC I get "The importer reported a generic error."
    When I try and IMPORT a .MOV into AE cc I get "Cannot be imported- this 'MooV' file is damaged or unsupported.
    When I try a test render out of AE cc the default Format is Quicktime, but when you go to the Video Output Format Options the Video Codec has the number "0" instead of a list of codecs .... and when you click on the "0" it changes to "-1". Seriously there are NO codecs listed in the Options - No ProRes, No Animation, just the number zero.
    Media Encoder obviously is essentially the same story.
    This seems to be a Quicktime thing ... not JUST a ProRes thing.
    CS6 has no problems working with my Mac and QT/ProRes ... so I know it's not my machine...
    I really don't feel like calling India today to process a refund, but if I can't get this working on my Mac I dont need to pay for Adobe CC.

    Did you know that there has been a major overhaul to prores and where\how it's installed?  I've had the same issue, but I ran the following test:
    I've installed the compressor, I used the cs6 prores and... ...FAILURE.  I was on CS6, and it didn't work... ...Why?  Tell ya in a moment...  Next step:
    I undid the last action by dumping the prores presets.  Then I installed the cs7\cc version.  Bingo.
    I went and researched the problem.
    Apple now includes most of the prores specification in the quicktime bundle (except their new 444).  It's all in the same bundle.  I looked into some workarounds people have used to get it working without pro-apps... ...they all focus on using the older prores which is installed as separate packages... ...and separate bundles.  What does this mean?
    If you are above 10.7 for your mac os, and you have compressor (latest), you have the prores built into the quicktime bundle.  If you are 10.7 or below, and you have the version of compressor for that period (same codec, different file arrangement), you have the prores codecs all in separate bundles.  They are inactive but still included in the quicktime bundle for 10.8 and above, so you couldn't use them without the right presets, along with compressor which changes the files to an actual bundle instead of a simple file inside the quicktime packaging.
    If you are on later mac os and you have CS5 or above, use the CC version of the presets.  If you have the older prores or an older compressor and wish to try and hack it in, you can do it, and then use the CS6 version of the presets supplied by adobe.  They point to different bundles in the system.  I use both, on different machines.  IF you have cs5, you may want to use the "hack" way, and install the prores from older compressor, even if you have the newer one... ...They work faster in cs5 if you use the CS6 presets.  Why?  I do not know for certain, but I believe it has to do with the 32bit crosstalk.  Cs6 starts with 64 and has to "dumb down" to 32 for a connection to quicktime directly, and then, if it finds 64bit architecture, smart-*** up to 64 again.  In Cs5 you're stuck in 32 most of the way on the back end.  Only a guess.
    And when importing into premiere... ...HMM... >>>I had the same problems you had...  It wanted to only import audio.  If you have the time...  Try:
    Copy the presets from adobe that are for AME into the proper sequence preset folder of your Premiere app (the previews folder).  You should also try and find a way to set up your main sequence edit.  Try to remember that an AE import must be:
    Fully Rendered into a file, and not linked from AE but from the file itself OR
    The composition must be set to the same uncompressed codec (which means you need the preset in the AE app folder as well, finding this will be difficult, best of luck).
    Remember to match your preset to your codec.  IF you have separate prores bundles, use cs6 versions of the preset, and if you have the latest bundle, use the cC\cs7\2014 versions.  This will let AE provide an uncompressed composition, but very slow in previewing, and if you render out, remember to render to a whole file (you can try to render-farm, but you still have to re-render in AME or Compressor afterward, as farm will only render out the frames and an audio file, not the proper file wrapper, even if you specify that wrapper;  You have to build the file wrapper from the images and audio after you've rendered any effects).

  • Trouble exporting any mov files into H264 after adding K-Lite codec pack into Windows XP SP3.

    I have QuickTime 7.7 (1680.34) installed. I have used it extensively and exported the video separate from the audio and extracted and used filters and it has all worked great with all of the other codecs I have had installed. It even worked great after I recently installed this K-Lite codec pack that actually saved files in a *.hdmov file type and I was able to view them with the Media Player Classic .... (I have Windows XP update 3)  and see what I could do over there and then go back to saving them as *.mov file types and work in QuickTime Pro. And still export them relatively fast to their latest H264 format.
    I gave more file types to the Media Player Classic. I think along the line of the just the *.3g2 and *.mp4 and took them away from QuickTime but still keeping the *.mov, *.qt and *.mqv  file types .... and that is when I think everything must have changed.  all of a sudden I can not save any *.hdmov files and the export process in QuickTime takes longer than forever.
    I thought that I had reconfigured Media Player Classic back to its default ....
    and it should all go back to being how it was.
    Is there some Direct Show filter or codec that upsets QuickTime Pro ... that I might have not reset back to what it was?
    Any codec help would be much appreciated.
    This is what the K-Lite site says in one instance about H264:
    If the video that you are playing contains H.264 video, then you could try using another decoder. The codec pack by default uses ffdshow for decoding H.264 video. This is a free and open-source decoder. Other decoders exist that have better performance as ffdshow. They should give you smoother playback, specially if you have a dual-core or quad-core processor.
    Alternative H.264 decoders are:
    CoreAVC. This decoder is unfortunately not available for free.
    DivX H.264 decoder. This decoder is available for free as part of the DivX Bundle. Tip: disable everything in the bundle except the H.264 decoder.
    ffmpeg-mt. This is an experimental multi-threaded version of the libavcodec decoding library, which is used by ffdshow. You can select ffmpeg-mt as decoder in ffdshow video decoder configuration.
    MPC DXVA H.264 decoder. This is an internal decoder of Media Player Classic Homecinema. It uses your graphics card to perform most of the decoding process, resulting is a very low CPU usage. You can enable this decoder though: MPC Options -> Internal Filters. Note: this decoder has some specific requirements.
    I downloaded the DivX bundle and will pull out that codec. I bought the CoreAVC for $13 but Norton said it was a risky file when I downloaded it ... (I have a question into the site about that) and I will try the ffmpeg-mt codec as well as see what they say about the last one. I will also try to undo everything I did that happened I guess before QuickTime started to export so slow that it is not even worth it to try and convert a mov file into H264.
    Sorry so long ... I just was trying to lay out the things I have attempted, will attempt to try and improve the situation.
    Thanks again very much if anyone makes it thru this ... geez .. sorry.

    Hello Tim,
    I decided to do a clean install, a fresh new installation of windows and all its updates, I didn't get the option of
    install SP1 yet.
    After that I only installed Catalyst drivers: 11.5 and Realtek HD audio drivers, all downloaded on May 24 2011.
    Then latest FFDShow and MPC-HC to test, both x64 versions Nothing else installed.
    Only a fresh copy of windows with its updates and those mentioned drivers.
    To my surprise, it happened a gain.
    It still crashes after a while when playing MKV videos.
    It's weird, because it doesn't happen with avi's or mp4's.
    So, there must be something wrong with one of windows updates that creates this windows FREEZE.
    Also there is no possibility to find out what error it is in "Event Viewer" as nothing gets recorded there. Anyone could
    advise?
    Thanks

Maybe you are looking for

  • Second hand Core Duo or new Core Duo 2?

    Ok, I am really in doubt at this moment. I can buy a second hand Macbook 1.83 Core Duo with 2 Gb mem. for EUR 950 which seems like a good deal to me, but... should it be a better choice to go for the second generation Core Duo processors of the curre

  • No SOAP Envelope

    Hi, First time post. New to PI. Am in the process of developing my first PI scenario. Almost works but not quite. Looking at SXI_Monitor I can see the data hitting PI and being passed from the Outbound Interface to the Inbound Interface. The last ste

  • OWB 9.2. OMBPlus: How to filter in a OMBLIST

    I wish to retrieve information on PLSQL Mappings in a given Oracle module and write in a file. I issue the following command: set fname [ open "c:/temp/analyzemaps.txt" w ] puts $fname " --------------------------------------------------\r" set mapLi

  • Advantages of  Upgrading  Weblogic 8.1 sp5 to 10.3

    Hi I am very much novice to the weblogic.We are planning to upgrade the weblogic 8.1sp5 version to 10.3.We need to convince the clients regarding certain issues with respect ti the upgrade.Say performance, what are the performance advantages of upgra

  • LaunchCast (Yahoo) on the Mac

    Someone must know a way to make this work? LaunchCast is great, but if I cant access it on my mac, what's the point? I know that they say only PCs and Mac OS9 work, but some smart mac addict must have figured out a way around this. Anyone . . . . Bue