Problem with refresh resource bundle...

Hi Iam refreshing the resource bundle. Iam using the following code:
hsModelServiceProvider.getInstance().setFallbackBindingContainerEL("");
JhsModelService jhsService = JhsModelServiceProvider.getInstance().getJhsModelService();
System.out.print("UserId is :"+userId);
jhsService.getTransaction().executeCommand("begin APP_USER_CTXT_mgr.set_user('"+userId+"');end;");
System.out.print("after execute command");;
// refresh resource bundle
MethodBinding refreshBundles = FacesContext.getCurrentInstance().getApplication().createMethodBinding("#{nls.refreshBundles}",new Class[] { ActionEvent.class});
refreshBundles.invoke(FacesContext.getCurrentInstance(),new Object[] {null});
Iam gettin the following error Upon executing
ERROR (MessageFactory) -Failed to refresh bundle oracle.jheadstart.exception.JhsUserMessages due to null
Please help me..
Thanx in Advance!

Hi Steven,
I want to personalise the ADF Application depending the userpreference. I got a tutorial which uses JHeadstart(through refreshing the resource bundle) for the same, but I did not understand that clearly as I said Iam new to this. Can you please give me any sources which speak about the personalisation functionality in detail?
Thanq

Similar Messages

  • Problem with property resource bundles

    I use struts message resource to localize my jsp pages.
    struts message resources itself uses property resource bundles to
    accompolish its task.the problem arises when I try to
    print a message from resource bundle using:
    <bean:message bundle="messages_ir" key="label.username" />
    statement and my resource bundle file has a line like:
    label.username=\u0644\u0646 ,
    but it doesnot show the specified unicode characters. as i have understood it
    only uses the low order bytes in specifed unicdes (e.g \u0644=\u0044).
    plz help me!

    first did you try putting this at the top of the jsp page?
    <%
    page
    language="java"
    pageEncoding="utf-8"
    contentType="text/html;charset=utf-8"
    %>
    then, when using struts, you should also specify the locale:
    <html:html locale="true">
    </html:html>
    hope this helps

  • Problem refreshing resource bundle from DB table for BC (JDev 11.1.2.1.0)

    In our ADF 11.1.2.1.0 application we are loading bundles form the database, which is not working as expected.
    The problem is that when we want to refresh the bundle, it doesn't work for values on Model (BC) components. Bundles values stay the same.
    Bundle refresh was implemented by this example
    http://technology.amis.nl/2012/08/14/refresh-resource-bundle-from-within-the-adf-application-to-absorb-changes-in-database-backed-bundles/
    We then found that if we put f:loadBundle element on the page, the refresh does execute.
    But only for the ViewController, Model bundles do not refresh.
    On top of every page we have <f:loadBundle basename="si.bron.susa.view.util.ArsoVinBundle" var="res"/>
    On every page we also have a button. Click on it should refresh the bundle by calling the following code:
    public void forceBundleRefresh() {
    try {
    //ResourceBundle.clearCache();
    ResourceBundle.clearCache(Thread.currentThread().getContextClassLoader());
    sLog.info("Resourcebundle.clearCache executed succesfully.");
    } catch (Exception e) {
    sLog.info("Resourcebundle.clearCache cannot be used because jdk version is not 1.6 or higher, try old approach");
    System.out.println("Catch bundlov");
    // try old approach
    for (String resourcebundle : bundleNames) {
    for (String contextDimensionValue : contextDimensionValues) {
    String bundleName = resourcebundle + contextDimensionValue;
    System.out.println("Bundle123: "+ bundleName);
    refreshBundle(bundleName);
    } //for
    Executing this code the bundles of ViewController is always refreshed from DB, but bundles of BusinessComponents are refreshed ONLY FIRST TIME after application is deployed on WebLogic. Next attempts after the first one, don't perform refresh.
    I think it should behave same for BC and VC bundles, isn't it?
    If I am wrong please direct me to some example.
    Regards,
    Sašo Celarc

    In our ADF 11.1.2.1.0 application we are loading bundles form the database, which is not working as expected.
    The problem is that when we want to refresh the bundle, it doesn't work for values on Model (BC) components. Bundles values stay the same.
    Bundle refresh was implemented by this example
    http://technology.amis.nl/2012/08/14/refresh-resource-bundle-from-within-the-adf-application-to-absorb-changes-in-database-backed-bundles/
    We then found that if we put f:loadBundle element on the page, the refresh does execute.
    But only for the ViewController, Model bundles do not refresh.
    On top of every page we have <f:loadBundle basename="si.bron.susa.view.util.ArsoVinBundle" var="res"/>
    On every page we also have a button. Click on it should refresh the bundle by calling the following code:
    public void forceBundleRefresh() {
    try {
    //ResourceBundle.clearCache();
    ResourceBundle.clearCache(Thread.currentThread().getContextClassLoader());
    sLog.info("Resourcebundle.clearCache executed succesfully.");
    } catch (Exception e) {
    sLog.info("Resourcebundle.clearCache cannot be used because jdk version is not 1.6 or higher, try old approach");
    System.out.println("Catch bundlov");
    // try old approach
    for (String resourcebundle : bundleNames) {
    for (String contextDimensionValue : contextDimensionValues) {
    String bundleName = resourcebundle + contextDimensionValue;
    System.out.println("Bundle123: "+ bundleName);
    refreshBundle(bundleName);
    } //for
    Executing this code the bundles of ViewController is always refreshed from DB, but bundles of BusinessComponents are refreshed ONLY FIRST TIME after application is deployed on WebLogic. Next attempts after the first one, don't perform refresh.
    I think it should behave same for BC and VC bundles, isn't it?
    If I am wrong please direct me to some example.
    Regards,
    Sašo Celarc

  • SCOM - -500 Internal Server Error - There is a problem with the resource you are looking for, and it cannot be displayed

    Hi There,
    Need your assistance on the issue that we are facing in prod environment.
    We are able to open web console from remote machine and able to view monitoring pane as well as my workplace folders from console . Able to view and access alerts and other folder in the monitoring pane. We are able to view and access My Workplace folder
    and able to view the reports in Favorite Reports folder. But when I click on run Report we  are getting the below error  "500 Internal Server Error - There is a problem with the resource you are looking for, and it cannot be displayed."
    In our environment we have 3 servers one is SQL server and two are SCOM servers. Please advise how to fix this issue. Do we have to do any thing from SQL End?
    Errors: Event ID 21029: Performance data from the OpsMgr connector could not be collected since opening the shared data failed with error "5L".
     Event ID 6002 : Performance data from the Health Service could not be collected since opening the shared data failed with error 5L (Access is denied.).
    Regards,
    Sanjeev Kumar

    Duplicate thread:
    http://social.technet.microsoft.com/Forums/en-US/7675113e-49f0-4b3a-932b-4aceb3cfa981/scom-500-internal-server-error-there-is-a-problem-with-the-resource-you-are-looking-for-and-it?forum=operationsmanagerreporting
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Problem with refresh of snapshot

    I am facing one problem with refresh of a snapshot. In the front end (developed in D2K) there is a PL/SQL code written which loops through user_snapshots and refreshes each snapshots one by one.
    With one particular snapshot its giving the error. I traced the session and found the problematic snapshot. I tried to refresh the same snapshot with some other user with DBA role granted to it and its working fine.
    Now I logged in to SQL Plus with the user Z0000 ( This is the user with which the application user logs in to the application) and tried to rerfresh the snapshot. Its giving me ORA-03113 end-of-file on communication channel. Then I granted DBA role to user Z000 and then tried to refresh its again giving the same error.
    I tried with many different users and its working fine.
    Any ideas where could be the problem.
    Thanks
    Sidhu
    Database is 10gR2 on AIX 5.3
    Message was edited by:
    Sidhu

    Hi,
    did you try to do it locally?
    Maybe a possible problem on the network.
    This issue remembers me a bug on older versions.
    It is strange on a 10.2
    Acr

  • Problems with the resources boundles in java studio creator 2

    I try to migrate a proyect from sun java studio creator 2 early access to sun java studio creator 2 but I have a problem, the resource bundle work in creator 2 early access but doesn� work in creator 2, somebody have the same problem?
    and, the most important somebody could fix the problem?
    Note. sorry I�m learning english

    If I choose for SJSC2 to create JSF applications then
    one, or better THE, reason is the (drag and drop)
    Design editor functionality.
    Using resource bundles is a MUST. So if this means I
    cannot use the Design Editor in combination with
    resource bundles, then I will use something else...
    I think there should be a statement issued by the
    SJSC2 team about this bug and what the timescale for
    a decent solution wll be.
    Regards,
    Marcel
    BTW: overall SJSC2 seems to be a good alternative to
    develop an open source JSF application in a competing
    timeframe.I agree. This bug is even more exacerbated by the fact that the error message is entered in the design form and generally clutters more room than was originally intented for the text. Not having i18n is a show stopper right now. Creator2 will have to fully support i18n before we can start using it.

  • Problem with UIViewController initWithNibName: bundle:

    I have a subclass UIViewController which I designed in Interface Builder. I then load it in awakeFromNIB from inside an instance of a different subclass of UIViewController:
    - (void)awakeFromNib
    [super awakeFromNib];
    self.myViewController =[[MyViewController alloc] initWithNibName:@"MyView" bundle:nil];
    Later on I use (self is a child of a UINavigationController):
    [self.navigationController presentModalViewController:self.myViewController animated:YES];
    The problem is that the first time this is called the contents of the view that appears empty. The second time it is called the view appears as I would expect it too. So obviously I am being a twit somewhere. If I add the line:
    - (void)awakeFromNib
    [super awakeFromNib];
    self.myViewController =[[MyViewController alloc] initWithNibName:@"MyView" bundle:nil];
    self.myViewController.loadView; // <--- ADDDED
    ...then it works fine but looking at the documentation this should not be invoked directly. So what am I doing wrong?
    Thanks in advance.

    Hi Steven,
    I want to personalise the ADF Application depending the userpreference. I got a tutorial which uses JHeadstart(through refreshing the resource bundle) for the same, but I did not understand that clearly as I said Iam new to this. Can you please give me any sources which speak about the personalisation functionality in detail?
    Thanq

  • Problem with User Assigned Bundles on Win7 x64, ZCM 10.3.4

    Greetings,
    We are experiencing an issue with user assigned bundles in our environment. Specifically we are seeing the following problem on some, but not all, workstations running Windows 7 Pro x64 with ZCM 10.3.4. Some users do not get new, user assigned bundles until they log out of ZENworks Adaptive Agent, via the system tray "Z" icon, and then log back in to the agent. A simple refresh does not grab the new user assigned bundles. One has to perform this logout/login routine to get all user assigned bundles. The problem seems to be machine specific. The server shows that the missing bundles are, in fact, properly associated with the user. If the affected user logs onto a different machine, their user assigned bundles populate as expected. Any ideas?
    In addition to rebooting our ZCM servers, we performed the following on the affected workstations:
    zac unr
    zac unr -f
    zac cc
    zac reg -g
    Uninstalled/reinstalled ZENworks Adaptive Agent 10.3.4
    Deleted affected user's local machine profile
    Repaired CASA installation

    Originally Posted by spond
    Sirhw1,
    what do you see in the zmd-messages.log (set to debug level) when you
    do that initial refresh?
    Shaun Pond
    Shaun,
    The following is an excerpt from our zmd-messages.log after doing a refresh-only on an affected machine. This data was generated approximately 2 minutes after performing the refresh. Thanks for your assistance.
    [DEBUG] [04/04/2012 11:29:58.579] [3428] [ZenLinuxDaemon] [4523] [] [Sqlite] [] [objInfo.db SqliteCommand.ExecuteReader.prepare returned error: ERROR] [] []
    [DEBUG] [04/04/2012 11:29:58.579] [3428] [ZenLinuxDaemon] [4523] [] [Sqlite] [] [(objInfo.db) Throwing sqlite exception from ExecuteReader(sql, want_results, err, errMsg): (select e.id as entryId, e.localPath, d.id as descriptorId, d.name, d.value, d.owner from Entry e, EntryDescriptor d where e.id = d.entryId and e.key='registration:primaryUserInfo' and e.owner='0d6a500efee6a219c74358cb244dc2f1', True, ERROR, )] [] []
    [DEBUG] [04/04/2012 11:29:58.580] [3428] [ZenLinuxDaemon] [4523] [] [ZenCache] [] [Sqlite Exception getting object record for key registration:primaryUserInfo on attempt 1
    Type: Novell.Zenworks.Cache.Sqlite.SqliteException
    Message: Sqlite Error: 1
    Stack Trace:
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute Reader (CommandBehavior behavior, Boolean want_results, System.Int32& rows_affected) (0x00000)
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute Reader (CommandBehavior behavior) (0x00000)
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute Reader () (0x00000)
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.System. Data.IDbCommand.ExecuteReader () (0x00000)
    at Novell.Zenworks.Cache.SqliteEntryInfoProvider.GetC acheEntry (IDbConnection dbConn, System.String key, Novell.Zenworks.Cache.UserContext owner, System.Type type) (0x00000)
    at Novell.Zenworks.Cache.SqliteEntryInfoProvider.GetO bjectEntry (System.String key, Novell.Zenworks.Cache.UserContext owner) (0x00000)
    [DEBUG] [04/04/2012 11:29:58.580] [3428] [ZenLinuxDaemon] [4523] [] [ZenCache] [] [Validating dbSchema...] [] []
    [DEBUG] [04/04/2012 11:29:58.582] [3428] [ZenLinuxDaemon] [4523] [] [Sqlite] [] [objInfo.db SqliteCommand.ExecuteReader.prepare::ExecuteNonQue ry returned error: ERROR] [] []
    [DEBUG] [04/04/2012 11:29:58.582] [3428] [ZenLinuxDaemon] [4523] [] [Sqlite] [] [(objInfo.db) SqliteCommand.ExecuteReader.sqlite3_exec(no_want_r esults) returned error: ERROR] [] []
    [DEBUG] [04/04/2012 11:29:58.582] [3428] [ZenLinuxDaemon] [4523] [] [Sqlite] [] [(objInfo.db) Throwing sqlite exception from ExecuteReader(sql, want_results, err, errMsg): (create table Entry (
    id integer primary key autoincrement,
    key text not null collate nocase,
    owner text not null collate nocase,
    localPath text not null collate nocase,
    unique (key, owner));
    create table EntryDescriptor (
    id integer primary key autoincrement,
    entryId integer not null references FileEntry,
    name text not null collate nocase,
    value text not null collate nocase,
    owner text not null collate nocase,
    unique (entryId, name, owner));
    , False, ERROR, )] [] []
    [DEBUG] [04/04/2012 11:29:58.583] [3428] [ZenLinuxDaemon] [4523] [] [ZenCache] [] [Failed to create cache database file /var/opt/novell/zenworks/zmd/cache/ZenCache/metaData/objInfo.db
    Type: Novell.Zenworks.Cache.Sqlite.SqliteException
    Message: Sqlite Error: 1
    Stack Trace:
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute Reader (CommandBehavior behavior, Boolean want_results, System.Int32& rows_affected) (0x00000)
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute NonQuery () (0x00000)
    at Novell.Zenworks.Cache.SqliteEntryInfoProvider.Crea teDatabaseSchema (System.String dbPath, System.String schema) (0x00000)
    [DEBUG] [04/04/2012 11:29:58.585] [3428] [ZenLinuxDaemon] [4523] [] [ZenCache] [] [ValidateSchema() returned: True] [] []
    [DEBUG] [04/04/2012 11:29:58.585] [3428] [ZenLinuxDaemon] [4523] [] [Sqlite] [] [objInfo.db SqliteCommand.ExecuteReader.prepare returned error: ERROR] [] []
    [DEBUG] [04/04/2012 11:29:58.585] [3428] [ZenLinuxDaemon] [4523] [] [Sqlite] [] [(objInfo.db) Throwing sqlite exception from ExecuteReader(sql, want_results, err, errMsg): (select e.id as entryId, e.localPath, d.id as descriptorId, d.name, d.value, d.owner from Entry e, EntryDescriptor d where e.id = d.entryId and e.key='registration:primaryUserInfo' and e.owner='0d6a500efee6a219c74358cb244dc2f1', True, ERROR, )] [] []
    [DEBUG] [04/04/2012 11:29:58.586] [3428] [ZenLinuxDaemon] [4523] [] [ZenCache] [] [Sqlite Exception getting object record for key registration:primaryUserInfo on attempt 2
    Type: Novell.Zenworks.Cache.Sqlite.SqliteException
    Message: Sqlite Error: 1
    Stack Trace:
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute Reader (CommandBehavior behavior, Boolean want_results, System.Int32& rows_affected) (0x00000)
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute Reader (CommandBehavior behavior) (0x00000)
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute Reader () (0x00000)
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.System. Data.IDbCommand.ExecuteReader () (0x00000)
    at Novell.Zenworks.Cache.SqliteEntryInfoProvider.GetC acheEntry (IDbConnection dbConn, System.String key, Novell.Zenworks.Cache.UserContext owner, System.Type type) (0x00000)
    at Novell.Zenworks.Cache.SqliteEntryInfoProvider.GetO bjectEntry (System.String key, Novell.Zenworks.Cache.UserContext owner) (0x00000)
    [DEBUG] [04/04/2012 11:29:58.587] [3428] [ZenLinuxDaemon] [4523] [] [Sqlite] [] [objInfo.db SqliteCommand.ExecuteReader.prepare returned error: ERROR] [] []
    [DEBUG] [04/04/2012 11:29:58.587] [3428] [ZenLinuxDaemon] [4523] [] [Sqlite] [] [(objInfo.db) Throwing sqlite exception from ExecuteReader(sql, want_results, err, errMsg): (select id from Entry where key='registration:primaryUserInfo' and owner='0d6a500efee6a219c74358cb244dc2f1', True, ERROR, )] [] []
    [DEBUG] [04/04/2012 11:29:58.587] [3428] [ZenLinuxDaemon] [4523] [] [ZenCache] [] [Exception getting sqlite entry id for registration:primaryUserInfo
    Type: Novell.Zenworks.Cache.Sqlite.SqliteException
    Message: Sqlite Error: 1
    Stack Trace:
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute Reader (CommandBehavior behavior, Boolean want_results, System.Int32& rows_affected) (0x00000)
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute Reader (CommandBehavior behavior) (0x00000)
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute Reader () (0x00000)
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute Scalar () (0x00000)
    at Novell.Zenworks.Cache.SqliteEntryInfoProvider.Look upEntryId (IDbConnection dbConn, System.String key, Novell.Zenworks.Cache.UserContext owner) (0x00000)
    [DEBUG] [04/04/2012 11:29:58.588] [3428] [ZenLinuxDaemon] [4523] [] [Sqlite] [] [objInfo.db SqliteCommand.ExecuteReader.prepare::ExecuteNonQue ry returned error: ERROR] [] []
    [DEBUG] [04/04/2012 11:29:58.588] [3428] [ZenLinuxDaemon] [4523] [] [Sqlite] [] [(objInfo.db) SqliteCommand.ExecuteReader.sqlite3_exec(no_want_r esults) returned error: ERROR] [] []
    [DEBUG] [04/04/2012 11:29:58.588] [3428] [ZenLinuxDaemon] [4523] [] [Sqlite] [] [(objInfo.db) Throwing sqlite exception from ExecuteReader(sql, want_results, err, errMsg): (insert into Entry (key, owner, localPath) values ('registration:primaryUserInfo', '0d6a500efee6a219c74358cb244dc2f1', '/var/opt/novell/zenworks/zmd/cache/ZenCache/11796bbf-b14c-4f6d-9c39-a2f5a487e4b9'), False, ERROR, )] [] []
    [DEBUG] [04/04/2012 11:29:58.588] [3428] [ZenLinuxDaemon] [4523] [] [ZenCache] [] [Sqlite Exception putting file record for key registration:primaryUserInfo on attempt 1
    Type: Novell.Zenworks.Cache.Sqlite.SqliteException
    Message: Sqlite Error: 1
    Stack Trace:
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute Reader (CommandBehavior behavior, Boolean want_results, System.Int32& rows_affected) (0x00000)
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute NonQuery () (0x00000)
    at Novell.Zenworks.Cache.SqliteEntryInfoProvider.PutC acheEntry (IDbConnection dbConn, IDbTransaction dbTransaction, Novell.Zenworks.Cache.CacheEntry entry) (0x00000)
    at Novell.Zenworks.Cache.SqliteEntryInfoProvider.PutO bjectEntry (Novell.Zenworks.Cache.ObjectCacheEntry& objectEntry) (0x00000)
    [DEBUG] [04/04/2012 11:29:58.589] [3428] [ZenLinuxDaemon] [4523] [] [ZenCache] [] [Validating dbSchema...] [] []
    [DEBUG] [04/04/2012 11:29:58.590] [3428] [ZenLinuxDaemon] [4523] [] [Sqlite] [] [objInfo.db SqliteCommand.ExecuteReader.prepare::ExecuteNonQue ry returned error: ERROR] [] []
    [DEBUG] [04/04/2012 11:29:58.590] [3428] [ZenLinuxDaemon] [4523] [] [Sqlite] [] [(objInfo.db) SqliteCommand.ExecuteReader.sqlite3_exec(no_want_r esults) returned error: ERROR] [] []
    [DEBUG] [04/04/2012 11:29:58.590] [3428] [ZenLinuxDaemon] [4523] [] [Sqlite] [] [(objInfo.db) Throwing sqlite exception from ExecuteReader(sql, want_results, err, errMsg): (create table Entry (
    id integer primary key autoincrement,
    key text not null collate nocase,
    owner text not null collate nocase,
    localPath text not null collate nocase,
    unique (key, owner));
    create table EntryDescriptor (
    id integer primary key autoincrement,
    entryId integer not null references FileEntry,
    name text not null collate nocase,
    value text not null collate nocase,
    owner text not null collate nocase,
    unique (entryId, name, owner));
    , False, ERROR, )] [] []
    [DEBUG] [04/04/2012 11:29:58.591] [3428] [ZenLinuxDaemon] [4523] [] [ZenCache] [] [Failed to create cache database file /var/opt/novell/zenworks/zmd/cache/ZenCache/metaData/objInfo.db
    Type: Novell.Zenworks.Cache.Sqlite.SqliteException
    Message: Sqlite Error: 1
    Stack Trace:
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute Reader (CommandBehavior behavior, Boolean want_results, System.Int32& rows_affected) (0x00000)
    at Novell.Zenworks.Cache.Sqlite.SqliteCommand.Execute NonQuery () (0x00000)
    at Novell.Zenworks.Cache.SqliteEntryInfoProvider.Crea teDatabaseSchema (System.String dbPath, System.String schema) (0x00000)
    [DEBUG] [04/04/2012 11:29:58.593] [3428] [ZenLinuxDaemon] [4523] [] [ZenCache] [] [ValidateSchema() returned: True] [] []

  • Problems with mapping after bundling messages into one XML-file

    Hi all,
    Case 1: one DebMas IDoc ==> XI ==> one XML-file : no problems with mapping.
    Case 2: several DebMas IDoc's ==> XI ==> one XML-file : problems with mapping.
    Explanation:
    Incoming DebMas IDoc's:
    Businesspartner 1 : no Customer Master Partner Functions (E1KNVPM).
    Businesspartner 2 : Customer Master Partner Functions (E1KNVPM).
    Businesspartner 3 : Customer Master Partner Functions (E1KNVPM).
    Businesspartner 4 : Customer Master Partner Functions (E1KNVPM).
    After bundling into one XML-file:
    Businesspartner 1 : no Customer Master Partner Functions (E1KNVPM).
    Businesspartner 2 : no Customer Master Partner Functions (E1KNVPM) !!!!
    Businesspartner 3 : Customer Master Partner Functions of Bp 2 (E1KNVPM) !!!!.
    Businesspartner 4 : Customer Master Partner Functions of Bp 3 (E1KNVPM) !!!!.
    All the payloads of the IDoc's are correct.
    In the message mapping we use a Container for the Partner Functions (shown as below)
    Is this a serious bug in the mapping of SAP XI ?
    Does anyone knows how to solve this serious problem.
    E1KNVVM -
    > Partner_Container
    E1KNVPM -
    > Partner
       PARVW -
    > ParnerRole
       KUNN2   -
    > PartnerNumber
    Regards,
    Theo Pijlman

    Hi,
    Example:
    Input idoc has field F1 with occurence 0..unbnd
    My input values for field F1 is
    1
    none
    2
    3
    Say, I have a mapping, F1---->TargetF1
    In the target only 3 TargetF1s will be created for the values 1,2,3 and nothing will be created for the field F1 with no value.
    To overcome this, use collapse contexts.
    F1->collapsecontexts>TargetF1
    This way, the TargetF1 fields created will have the following values:
    1
    blank
    2
    3
    Collapse contexts makes sure that a target is created, even if there is a context change specified at the source.
    Hope this is clear.
    Regards,
    Smitha.

  • Problem with standalone resource-adapter

    Hello,
    I have problem with excluding standalone resource adapters from enterprise applications on OAS 10.1.3.4. Because collection of standalone resource adapters can change dynamically (release of new versions, creation of new environment), I cannot enumerate names of resource adapters into orion-application.xml.
    In documentation of application server I have found:
    Deploying Multiple Versions of a Standalone Resource Adapter
    To configure an application to use only adapterA, you would add the following elements to the application's orion-application.xml file:
    <imported-shared-libraries>
    <remove-inherited name="adapterB"/>
    </imported-shared-libraries>
    Because both standalone resource adapters are imported by default, it is not necessary to explicitly import adapterA.
    An alternative configuration follows:
    <imported-shared-libraries>
    <import-shared-library name="adapterA">
    <remove-inherited name="*"/>
    </imported-shared-libraries>
    I tried to add following orion-application.xml into my enterprise application, but standalone resource adapters are still visible in class loader of enterprise application.
    <?xml version="1.0" encoding="UTF-8"?>
    <orion-application>
    <imported-shared-libraries>
    <import-shared-library name="global.libraries" />
    <import-shared-library name="global.tag.libraries" />
    <import-shared-library name="oracle.cache" />
    <import-shared-library name="oracle.dms" />
    <import-shared-library name="oracle.gdk" />
    <import-shared-library name="oracle.http.client" />
    <import-shared-library name="oracle.jdbc" />
    <import-shared-library name="oracle.jwsdl" />
    <import-shared-library name="oracle.persistence" />
    <import-shared-library name="oracle.toplink" />
    <import-shared-library name="oracle.ws.client" />
    <import-shared-library name="oracle.ws.jaxrpc" />
    <import-shared-library name="oracle.xml" />
    <remove-inherited name="*" />
    </imported-shared-libraries>
    </orion-application>
    How should I disable including all standalone resource adapters without explicit enumerating of resource adapter names in orion-application.xml.
    Thanks a lot

    Hi
    Thank u all,  Problem is solved, i changed write mode to Over write existing file. It is working fine.
    VS

  • Problem with refresh issue in Table Overflow Area for LOV in edit mode

    Hi Friends,
    I am facing a problem with LOV if i keep this in Table Overflow area,
    When i select a Employee name from the List of Value clicking on select button it will not refresh the lov to display the currently selected Employee Name, but if i click on show and hide link of Table overflow the selected employee name will be displayed.
    But the if move the same lov item from Table Overflow area to Table layout it works fine.
    I tried my best to look into this but i could not, can any one suggest me what i need to do for this refresh issue.
    Regards,
    Rahul

    Hello Rahul,
    Strange, it's working for me.
    I assume you added Employees as reference entity to your updatable entity in your ViewObject.
    Did you uncheck "Key attribute" in EmployeeId of your reference entity?
    Anything in the log?
    Groeten,
    HJH

  • Problem in using resource bundle in labels and error message

    Hi All,
    Anyone please help me to fix the problem.
    Actually i am using resource bundle for displaying labels in the jspx, since i developing the page for multilingual that's why i am using bundle in the label attribute.
    When i throw the validation error its displaying like this
    com.sun.faces.el.ValueBindingImpl@106cf24 - Value required.
    How can i fix the code in order display like this
    PO Number - Value required.
    Kindly provide the syntax and changes to be done or sample code.
    Thanks & Regards
    Vimalan Balan

    Hi,
    how do you throw the validation error? Are you adding the message explicitly or what doyou do ? Note that if you reference a binding in your validation then the binding needs to be referenced either by bindings.attr.label or bindings.attr.inputValue.
    Frank

  • Problem with sparse & sparse bundle disk images

    Lion (OS 10.7) is driving me carzy.
    Setting up sparse and sparse bundle disk images goes fine. But sometimes when attempting to open the image later, particularily after adding content (JPGs) I get the spinning beachball and then I must restart the computer. I have restarted this computer more than all my others put together, going back to OSA 7.
    Other times everything seems to work fine
    I have a G-5 running OS10.5, and there is no problem. The system is very stable re disk images.
    I've tried all kinds of work-arounds with limited success. These include changing the names of the disk images or the files in them. Usually, I'm back to restarting the computer. If I copy an image that doesn't work on the Mac Pro to the G-5, it'll work. Sometimes the number for the size of the image in list view is grayed out and I don't know what that means.
    It's interesting that when I first got the Pac Pro with Lion installed, sparse and sparse bundle images wouldn't work at all. After several updates to 10.7.2 or 3, the disk images work, but are not stable.
    I would be very grateful if anyone out there has any info or hopefully an answer for this situation.
    Thank you - kajz

    More from kajz
    Sorry about the typos in my first message. I was tired after fighting the sparse image problem with Lion.
    Today I have tried read/write disk images (dmg) and so far they seem to work fine. I would prefer sparse or sparse bundle disk images since they only take as much room as their contents, but I'll have to be practical about this.
    The frustrating thing is that sometimes the sparse or sparse bundle images seem to work, but just when I relax, I'll open one and see all the blank square icons for each of the jpg files, and then I know I'll have to restart the computer.
    I'm still hoping that someone else has had this problem and that maybe there's an answer. Maybe it'll take a future update by Apple to fix this.
    Thanks in advance  -  kajz

  • Help With Dynamic Resource Bundles

    Hi Guys,
    I have a task on hand for which i need help from experts like you.
    I need to create a Dynamic Resource Bundle and i know no head or tail about this.I have a very fair idea about the Dynamic Resource Bundles
    See I request you experts to give me a short brief on the same
    and also a sample application/Link/notes containing the same
    Your help on this is very much appreciated
    Thanks and Regards
    Mani

    Do you mean something like... ?
    public class MyDynamicResourceBundle extends ListResourceBundle {
        static Object[][] contents;
        static {
            contents = loadFromDatabase();
        private static Object[][] loadFromDatabase() {
             // ...load the table into an Object[][]...
        protected Object[][] getContents() {
            return contents;
    }..or you could really go to town by also making it a listener of the controller that updates the values in the database...
    public class MyDynamicResourceBundle extends ListResourceBundle implements MyDatabaseResourceListener {
        static Object[][] contents;
        static {
            contents = loadFromDatabase();
        private static Object[][] loadFromDatabase() {
             // ...load the table into an Object[][]...
        protected Object[][] getContents() {
            return contents;
       // implement the notional listener interface
       public onResourceChangeInDatabase() {
           contents = loadFromDatabase();
    }...erm, judiciously synchronized, of course...
    /k1

  • JDev 11.1.1.2.0: Problem with refresh in form view after delete

    Hi All,
    I'm trying to delete the current row in a form view with the delete binding operation and obviously I do NOT want to fire any validations so I use the immediate = true but that causes the ADF lifecycle to skip the update models phase and thus my fields are not refreshed with the new current row after the old row has been deleted.
    How can I fix this ?
    Thanks in advance,
    Mark

    First the standard disclaimer: SQL code should be in a servlet/bean. It has no place on a JSP.
    I would recommend you write a bean method that returns a list of objects, and then iterate over that list of objects on the JSP.
    What exception does is getting thrown?
    At a guess, your problem is that you are not releasing all resources. Connections, statements, resultsets...
    That is probably hidden inside your DBBean. You are maybe releasing your result set with the statement Rset.close() - but if an exception happens even that wouldn't be executed.
    Any sql code should be in a try/catch block, with resources being freed in the finally.
    Cheers,
    evnafets

Maybe you are looking for