Issue with  hz_cust_account_v2pub.update_cust_account API

Hello,
I am facing a strange problem. I am updating oracle customers via hz_cust_account_v2pub.update_cust_account API. This is on 11.5.10.2
The problem is, when I pass NULL values to customer class, customer type and warehouse_id fields, The API does not apply the same in database. For e.g. If warehouse_id is 91 and I need to update that warehouse ID to NULL using this API, it does not work.
Even after applying a NULL update through API, the value 91 still remains un-updated. Same is the story with Customer Class and Customer Type fields.
All other updates are just working fine. Even if I pass other values to these fields in question, they work just fine. Only when you are passing NULL this problem arises.
Any idea why? Please Advise.
Code begins below
declare
d_return_status varchar2(2000);
d_message varchar2(4000);
d_source varchar2(40);
p_cust_account_rec  PD_CUSTWB_CUSTOMER_UPDATE.CUST_INFO_REC_TYPE;
--p_customer_profile_rec    PD_CUSTWB_CUSTOMER_UPDATE.CUST_INFO_REC_TYPE;
--p_organization_rec PD_CUSTWB_CUSTOMER_UPDATE.CUST_INFO_REC_TYPE;
begin
mo_global.init;
fnd_global.apps_initialize (user_id           => 11006,
                               resp_id           => 50261,
                               resp_appl_id      => 222
mo_global.set_policy_context ('S', 204);
p_cust_account_rec.customer_class_code := NULL;  -- This is the problem. Not updating Null
p_cust_account_rec.customer_type := NULL;    -- This is the problem. Not updating Null
p_cust_account_rec.ship_sets_include_lines_flag := 'N';
p_cust_account_rec.warehouse_id := NULL;     -- This is the problem. Not updating Null
p_cust_account_rec.price_list_id :=1759259;
p_cust_account_rec.customer_id := 271795;
p_cust_account_rec.customer_name := 'ABCD Ltd';
p_cust_account_rec.freight_term := 'COLLECT';
--p_cust_account_rec.ship_via := 'DTL';
p_cust_account_rec.party_id := 1863371;
p_cust_account_rec.gsa_flag := 'Y';
p_cust_account_rec.category_code := 'HEALTH';
p_cust_account_rec.customer_profile_id := 1748060;
p_cust_account_rec.customer_id := 271795;
p_cust_account_rec.dunning_letter_set_id :=NULL;
p_cust_account_rec.standard_terms  := 1214;
p_cust_account_rec.profile_class_id :=  0;
hz_cust_account_v2pub.update_cust_account (
            p_init_msg_list              => fnd_api.g_true,
            p_cust_account_rec          => p_cust_account_rec,
            p_object_version_number   => p_object_version_number,
            x_return_status              => u_return_status,
            x_msg_count                   => u_msg_count,
            x_msg_data                      => u_msg_data);;
commit;
dbms_output.put_line('Error Status-'||d_return_status);
dbms_output.put_line('Error Message='|| d_message);
end;Edited by: 952951 on Sep 15, 2012 9:25 AM

Hello,
Oracle allows you to default many of the values for their API's. When you do this they will not delete the values but leave them unchanged. Since the API cannot tell if you set the value to be NULL explicitly, it is not clearing the value. When you want to actually clear a value you need to set it to a specific value. The FND_API package spec has these defined. I cannot connect my my EBS instance at the moment, so I cannot remember if it is the G_MISS or G_NULL variables that you want. You will need to double check that.
p_cust_account_rec.customer_class_code := FND_API.g_null_char;  -- This is the problem. Not updating Null
p_cust_account_rec.customer_type := FND_API.g_null_char;    -- This is the problem. Not updating Null
p_cust_account_rec.ship_sets_include_lines_flag := 'N';
p_cust_account_rec.warehouse_id := FND_API.g_null_num;     -- This is the problem. Not updating NullHTH,
--Johnnie                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Issues with Check In API

    I'm using Adobe Drive 3.0.1.104 on Windows 7.  When I drag and drop multiple assets into the Explorer Window, right-click those assets and choose "Check In..", none of the handlers associated with my custom checkin dialog (i.e., CanEnableCustomCheckInUIHandler, GetCustomCheckInUIContextInfoHandler and GetCustomCheckInUIHandler) are called.  Only the default check in comments dialog appears.  However, if I select a single asset for check in, then my handlers are correctly called.  Is this the expected behavior?  I want the user to be able to determine the type of object and some metadata in my CMS on import, but don't have this capability when multiple assets are selected.
    The second issue I have is that the CanEnableCustomCheckInUIHandler, GetCustomCheckInUIContextInfoHandler do not have any visibility into non-remote assets through the API (i.e., assets with a null Asset ID).  The getAssetIdentities() call only returns information about assets that already have an assetId.  In these two handlers, I would like to make decisions and set context based on the the entire list of files, not just those that already live in the remote CMS.
    The third issue I have is that I would like capture ContextInfo for each asset individually.  For example, if a user checks in an InDesign file and a linked Image at the same time, I would like capture separate context info for each asset that I can store in my CMS.  I might also want to capture global context that applies to all assets (i.e., the comments are a good example of this, but there could be others).
    Based on these three issues, I am limited to allowing only one asset to be checked in at a time.  However, with the current API, I can't even prevent a check in until my CheckInHandler is called, which is the first opportunity for me to throw an Exception to stop the checkin.  In my opinion, this is not a good user experience because the user will be prompted to enter the comments and then get an error, which means they will loose the information they typed in the comments.
    I'm mostly trying to provide feedback to improve the API, but if there is something I'm overlooking here, please let me know.
    Rich

    Hi,
    For the first issue and the second issue, yes, it's a design limitation, we will try to resolve it in the coming dot release, thanks for pointing out them
    For the third issue, I think you can manage the context info for each item by utilizing IGetCustomCheckInUIContextInfoHandler, you can establish a data structure for the requested items, this structure will be passed to the your custom UI module, the UI module understands it and returns the context info to ICheckInHandler in the custom parameters, in a word, you should establish a comunication protocol between IGetCustomCheckInUIContextInfoHandler, the custom Flex UI module and ICheckInHandler about how to pass and manager the context info.
    Regarding how to prevent a check-in, please provide your deep thoughts on it, we can discuss that in detail

  • Issue with JAVA Mail API

    Hi
    We have a requirement to create a custom e mail. For the same I am trying to use Java Mail API.I am facing an issue with the following code:
    session session1 = session.getInstance(properties, null);
    System gives an error Sourced file: inline evaluation of: ``Properties props = new Properties(); session session1 = session.getInstance(prop . . . '' : Typed variable declaration : Class: session not found in namespace
    Is there some specific API i need to import for session class. Kindly suggest.
    Regards
    Shobha

    Hi Shobha,
    I was also facing the same issue from last couple of weeks and just now i have achieved the working functionality.
    Please find below working code and replace values as per your serveru2019s configuration.
    import com.sap.odp.api.util.*;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import java.io.File;
    import java.net.*;
    // SUBSTITUTE YOUR EMAIL ADDRESSES HERE!!!
    String to =<email address>;
    String from =<email address>;
    // SUBSTITUTE YOUR ISP'S MAIL SERVER HERE!!!
    String host = <smtp host name>;
    String user = <smtp user name>;
    // Create properties, get Session
    // Properties props = new Properties();
    Properties props = System.getProperties();
    props.put("mail.transport.protocol", "smtp");
    props.put("mail.smtp.host", host);
    props.put("mail.debug", "false");
    props.put("mail.smtp.auth", "false");
    props.put("mail.user",user);
    props.put("mail.from",from);
    Session d_session = Session.getInstance(props,null);//Authenticator object need to be set
    Message msg = new MimeMessage(d_session);
    msg.setFrom(new InternetAddress(from));
    InternetAddress[] address = {new InternetAddress(to)};
    msg.setRecipients(Message.RecipientType.TO, address);
    msg.setSubject("Test E-Mail through Java");
    msg.setSentDate(new Date());
    msg.setText("This is a test of sending a " +
    "plain text e-mail through Java.\n" +
    "Here is line 2.");
    Transport.send(msg);
    Deepak!!!

  • Deployment Issue with MDM Java API exposed as Webservice using EJBS

    Hi Experts,
    I am implementing MDM Java APIS in Stateless session bean.Exposed that bean as Webservice and using that webservice in
    Webdynpro through Adaptive Webservice Model.
    I am facing following issue:
    Webservice works fine after deployment,after some number of execution webservice stops working and gives exception.After
    Redeployment of the Webservice, it starts working again works fine some number of execution.
    I am Using new MDMJava API.
    MDM Server Details: MDM 5.5 SP06
    I am using following code for connetion
    //////////////*************Getting Connection************///////
              ConnectionPool pool = null;
              String sessionId = null;
              try {
                   pool = ConnectionPoolFactory.getInstance("Server Ip");
              } catch (ConnectionException e1) {
                   System.out.println(e1.getMessage());
    //////////////*************Repository Session************///////
    CreateRepositorySessionCommand repSeession =
                   new CreateRepositorySessionCommand(p_pool);
              repSeession.setRepositoryIdentifier(p_repId);
              try {
                   repSeession.execute();
              } catch (CommandException e2) {
                   System.out.println(e2.getMessage().toString());
              String repIID = repSeession.getRepositorySession();
              //     Authenticate Repository
              AuthenticateRepositorySessionCommand autRepSeesion =
                   new AuthenticateRepositorySessionCommand(p_pool);
              try {
                   autRepSeesion.setSession(repSeession.getRepositorySession());
                   autRepSeesion.setUserName(p_user);
                   autRepSeesion.setUserPassword(p_Password);
                   autRepSeesion.execute();
              } catch (CommandException e3) {
                   System.out.println(
                        "RepSession Seesion" + e3.getMessage().toString());
              return autRepSeesion.getSession();
    //////////////*************user Session************///////
    GetRepositoryRegionListCommand regionListCommand =
                   new GetRepositoryRegionListCommand(p_pool);
              regionListCommand.setRepositoryIdentifier(p_repId);
              try {
                   regionListCommand.execute();
              } catch (CommandException e) {
                   System.out.println(e.getMessage().toString());
              RegionProperties[] regions = regionListCommand.getRegions();
              //                                 create a user session
              CreateUserSessionCommand UsersessionCommand =
                   new CreateUserSessionCommand(p_pool);
              UsersessionCommand.setRepositoryIdentifier(p_repId);
              UsersessionCommand.setDataRegion(regions[0]);
              // use the first region
              try {
                   UsersessionCommand.execute();
              } catch (CommandException e) {
                   System.out.println("UserSession" + e.getMessage().toString());
              String UsersessionId2 = UsersessionCommand.getUserSession();
    AuthenticateUserSessionCommand authUserCommand =
                   new AuthenticateUserSessionCommand(p_pool);
              authUserCommand.setSession(UsersessionCommand.getUserSession());
              authUserCommand.setUserName(p_userId);
              authUserCommand.setUserPassword(p_password);
              try {
                   authUserCommand.execute();
              } catch (CommandException e) {
                   System.out.println("User Seesion" + e.getMessage().toString());
              return authUserCommand.getSession();
    //////////////*************Destroy Session************///////
         DestroySessionCommand destroySessionCommand =
                   new DestroySessionCommand(p_pool);
              destroySessionCommand.setSession(p_repsession);
              try {
                   destroySessionCommand.execute();
              } catch (CommandException e) {
                   e.printStackTrace();
              destroySessionCommand.setSession(p_Uesrsession);
                   try {
                        destroySessionCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
    Do we need to relase the connection pool object also?
    Can anyone help me with the code how that can be achived?
    Please Reply if anyone has come accross similar issue or know what can be the solution.
    Thanks in Advance.
    Regards Shruti
    Edited by: Shruti Shah on Dec 18, 2008 12:52 PM

    Hi Nitin,
    Thanks for the prompt Response.
    Even I am guessing that its becose of Connection pool.
    I am destroying session as follows
                   DestroySessionCommand destroySessionCommand =
                   new DestroySessionCommand(p_pool);
              destroySessionCommand.setSession(p_repsession);
              try {
                   destroySessionCommand.execute();
              } catch (CommandException e) {
                   e.printStackTrace();
              destroySessionCommand.setSession(p_Uesrsession);
                   try {
                        destroySessionCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
    But I didnot find any method by which i can close realsse connection from connection pool.
    It would be great if you can help me how close or realese those connection.In MDM Console i am able to see those sessions even after destroying them.
    Regards Shruti.

  • Receiver determination issue with PI Directory API

    Hi Guys,
    I was trying to use the PI Directory webservice API to automatically build Integration Directory Objects. I found an issue when creating Receiver Determination Object. Here are the details:
    My scenario is one to many, one Interface with several receiver Parties/Business Components. so I created a Receiver Determination with one party as the receiver using regular Integration Builder Tool and  I was trying to add more receiver by Directory API for the remaining receivers to the one which I manually. But I did not a way or option to add more to the receivers list, when I tried that it was simply overwriting the existing one when I used the Change Operation but when I try to use create Operation it complains that the Object already exists..
    Do you have any idea what is the better way use the API to add more receivers to the list.
    Thanks,
    Laxman

    There is no delta changes allowed through Dir API. We had to read the RD and change with additional receivers.
    Thanks,
    Laxman

  • Critical issue with Berkeley Java API

    Hi
    While using Java API to access BDB, and when multiple requests are made at the same time, I am getting the following error:
    unable to allocate memory for mutex; resize mutex region
    Exception in thread "main" java.lang.OutOfMemoryError: Cannot allocate
    memory: unable to allocate memory for mutex; resize mutex region
    at com.sleepycat.db.internal.db_javaJNI.DbEnv_open(Native Method)
    at com.sleepycat.db.internal.DbEnv.open(DbEnv.java:317)
    at
    com.sleepycat.db.EnvironmentConfig.openEnvironment(EnvironmentConfig.java:3886)
    at com.sleepycat.db.Environment.<init>(Environment.java:93)
    at com.yht.util.BDBReader.createPrimaryDatabase(BDBReader.java:78)
    at com.yht.util.class5.cdr.CdrReader.<init>(CdrReader.java:78)
    at com.yht.util.class5.cdr.CdrReader.main(CdrReader.java:233)

    Hi,
    Is this issue critical enough not to [run a search on the forum|http://forums.oracle.com/forums/ann.jspa?annID=244] for the "unable to allocate memory for mutex; resize mutex region" error?
    Database in memory causing exception
    Re: Error message "Not Enough Space"
    Problem: unable to allocate memory for mutex; resize mutex region
    unable to allocate memory for mutex; resize mutex region
    The problem is caused by the incorrect configuration of the mutex region size. Increasing the number of mutexes by calling one of the two methods should fix it:
    http://www.oracle.com/technology/documentation/berkeley-db/db/java/com/sleepycat/db/EnvironmentConfig.html#setMutexIncrement%28int%29
    http://www.oracle.com/technology/documentation/berkeley-db/db/java/com/sleepycat/db/EnvironmentConfig.html#setMaxMutexes%28int%29
    Thanks,
    Bogdan Coman

  • Issue with ENEQuery java api and searching terms with accented characters

    Hi,
    we are using ENEQuery to query the mdex engine. When search terms contain accented characters (like á,í etc), even though the terms are decoded (using java.net.URLDecoder), the term gets send to dgraph is encoded. for e.g a search for "sofá", from the dgraph logs "sof%c3%a1" and fetch in 0 results
    ENEQuery query = new ENEQuery();
    final ERecSearchList searches = new ERecSearchList();
    final ERecSearch eRecSearch = new ERecSearch("search interface name", "term");
    searches.add(eRecSearch);
    query.setNavERecSearches(searches);
    Any suggestions?
    Thanks

    Hi,
    Does your indexed data (which you hope to match) contain "sofá" or "sofa" (no diacritic)? If the latter, and in-general, you may benefit from the dgidx flag --diacritic-folding* as described in documentation "Mapping accented characters to unaccented characters".  If you are running the latest version, this is all that should be required to generate a match.
    Best
    Brett

  • Performance issues with FDK in large XML documents

    In my current project with FrameMaker 8 I'm experiencing severe performance issues with some FDK API calls.
    The documents are about 3-8 MBytes in size. Fortmatted they cover 150-250 pages.
    When importing such an XML document I do some extensive "post-processing" using FDK. This processing happens in Sr_EventHandler() during the SR_EVT_END_READER event. I noticed that some FDK functions calls which modify the document's structure, like F_ApiSetAttribute() or F_ApiNewElementInHierarchy(), take several seconds, for the larger documents even minutes, to complete one single function call. I tried to move some of these calls to earlier events, mostly to SR_EVT_END_ELEM. There the calls work without a delay. Unfortunately I can't rewrite the FDK client to move all the calls that are lagging to earlier events.
    Does anybody have a clue why such delays happen, and possibly can make a suggestion, how to solve this issue? Thank you in advance.
    PS: I already thought of splitting such a document in smaller pieces by using the FrameMaker book function. But I don't think, the structure of the documents will permit such an automatic split, and it definitely isn't an option to change the document structure (the project is about migrating documents from Interleaf to XML with the constraint of keeping the document layout identical).

    FP_ApplyFormatRules sounds really good--I'll give it a try on Monday. Wonder how I could miss it, as I already tried FP_Reformatting and FP_Displaying at no avail?! By the way, what is actually meant with FP_Reformatting (when I used it I assumed it would do exactly what FP_ApplyFormatRules sounds to do), or is that one another of Lynne's well-kept secrets?
    Thank's for all the helpful suggestions, guys. On Friday I already had my first improvements in a test version of my client: I did some (not all necessary) structural changes using XSLT pre-processing, and processing went down from 8 hours(!) to 1 hour--Yeappie! I was also playing with the idea of writing a wrapper to F_ApiNewElementInHierarchy() which actually pastes an appropriate element created in a small flow on the reference pages at the intended insertion location. But now, with FP_ApplyFormatRules on the horizon, I'm quite confident to get even the complicated stuff under control, which cannot be handled by the XSLT pre-processing, as it is based on the actual formatting of the document at run-time and cannot be anticipated in pre-processing.
    --Franz

  • Issue with number of replies in collaboration Server

    Hello,
    We are using the collaboration server 4.02.
    We are experiencing issues with the collab API or directly with the native explorer.
    If we create a project, then a discussion, then a message in this discussion and then more than 15 replies a forumthreadlimit exception occurs.
    Why there's a limitation of 15? Can we increase this number in a specific config file?
    Thanks a lot for your help.
    Best regards.
    Sébastien D.

    What where the precise Kernel updates? What where you on and what did you upgrade too?
    Did you apply any BASIS Support Pack corrections during the Kernel upgrade?
    If you applied a new BASIS support pack - check the following WIKI:
    [How to check the publishing Date of an Internet Service|http://wiki.sdn.sap.com/wiki/x/OYG8BQ ]
    if you need to republish - use the following WIKI:
    [How to activate, publish and test ITS services in the integrated ITS?|http://wiki.sdn.sap.com/wiki/x/kmE ]
    Regards,
    Oisin

  • Peformance issue with iSetup for loading fnd_flex_value_norm_hierarchy recs

    Hi
    The customer site where I am working in currently has implemented isetup to load data from Hyperion DRM to Oracle GL. They are currently on 11i.AZ.F patch level.
    The customer has constantly had problems in two areas with iSetup -
    1. iSetup has a limitation that all existing children records plus new ones being added have to sent in the XML file provided as input to iSetup. For eg. one parent ENTXXX might have 15000 children records i.e records in FND_FLEX_VALUE_NORM_HIERARCHY. Now when 2 children are removed from this parent in Hyperion DRM and these two records sent to Oracle iSetup for getting deleted from the parent, the current implementation stipulates that iSetup requires in the XML input file the remaining 14998 records. Thats how it knows to remove the two nodes. This is a huge performance issue.
    They are looking at loading into iSetup only the two deleted nodes with an action code of DELETE and let iSetup handle this rather than having to provide the entire list of children less the removed nodes for iSetup.
    2. Can we load using the final xml file directly by calling any Java class/process directly rather than going through iSetup Loader Concurrent Request?
    3. Is there any documentation on how to use the isetup Java classes?
    Will upgrading to 11i.AZ.H patch level solve any of the above concerns/issues?
    Regards,
    Richard

    #1. I guess, you are referring to the problems that you are encountering while loading GL COA. You may log SR against GL to know more details on how API loads data to instance. DELETE is a specific requirement in your case and I would suggest you to work with GL team and they may provide some solution or workaround to overcome this performance issue.
    #2. No, concurrent program does good amount of pre-processing that you would not get if you directly call the java classes.
    #3. Not sure, what you are exactly looking at. Are you looking for user guide to write your own iSetup API classes?
    11i.AZ.H has got good amount of performances fixes overall and it is recommended release on top of 11.5.10.2CU. I would suggest you to upgrade to 11i.AZ.H.
    Specific to GL COA issue, I don't think 11i.AZ.H would really help you much. It is very much functional issue with respect to API and you have to work with GL team to get workaround/solution. This may involve customizing the API according to your requirement.
    Thanks
    Mugunthan.

  • AdobeReadingAPI.js - Issue with subscriptionService.availableSubscriptions

    Hey everyone,
    Has anyone experienced any issues with the JS API that Adobe provides for adding a digital blow-in to a folio? I have modified the base code obtained from Adobe's website and it had it working successfully, however it suddenly stopped displaying what I expected earlier and there have been no changes to the code or the folio since before it stopped working.
    The problem is with the call to: 'adobeDPS.subscriptionService.availableSubscriptions' - this returns an array of objects successfully - of which my required fields 'productId' and 'duration' are populated as expected; however the 'price' string is not being populated like it was earlier.
    Another issue is that when attempting to purchase a subscription by clicking on the relavent box, the app attempts to purchase the sub, but it never succeeds or fails, it just constantly keeps trying. I'm guessing that something on the Adobe side has been broken, but I can't see any issues listed on the status screen.
    I have to demo a working prototype of this project tomorrow, so I would appreciate it if either someone from Adobe could escalate this issue to the proper team - or someone point out where I'm being thick and correct me.
    thanks
    Rob

    Please contact Gold support about this issue. That's the best way to escalate the issue.
    For what it's worth, the digital blow-ins I created work properly in my app. The only issue I've heard is that digital blow-ins don't always work properly if the folio is only partially downloaded, such as in a retail folio with free article preview.

  • Issue with Apps adapter for Create_Cust_Account API

    Hi ,
    I need to invoke this package from apps adapter in BPEL(10.1.3.5).
    Create Customer: HZ_CUST_ACCOUNT_V2PUB. create_cust_account. This is a Over loaded procedure. Look for the Procedure with these Parameters.
    PROCEDURE create_cust_account (
    p_init_msg_list IN VARCHAR2:= FND_API.G_FALSE,
    p_cust_account_rec IN CUST_ACCOUNT_REC_TYPE,
    p_organization_rec IN HZ_PARTY_V2PUB.ORGANIZATION_REC_TY
    PE,
    p_customer_profile_rec IN HZ_CUSTOMER_PROFILE_V2PUB.CUSTOMER
    PROFILEREC_TYPE,
    p_create_profile_amt IN VARCHAR2:= FND_API.G_TRUE,
    x_cust_account_id OUT NUMBER,
    x_account_number OUT VARCHAR2,
    x_party_id OUT NUMBER,
    x_party_number OUT VARCHAR2,
    x_profile_id OUT NUMBER,
    x_return_status OUT VARCHAR2,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2
    But I’m getting the following error,
    An error occurred while running Jpublisher.missing method
    · I’ve tried with Database adapter. But in the runtime I’m not able to pass oracle apps initialization parameter in spite of using transaction and idempotent property in partnerlink.
    · Then I’ve tried to invoke fnd_global.apps_initialize first then call the package from database adapter, but it fails again, apparently its not able to execute both DBadapter in same database session although they are in same BPEL transaction.
    When I’m passing the initialization parameters in adapter created wrapper procedure then its working fine and customer got created.
    Please let me know where I’m going wrong or issue with apps adapter.
    It’s urgent …
    Thanks in Advance,
    Shreekanta

    Thanks for the reply.
    I'm able to execute the BPEL flows using DB adapter in same session and customer got created.
    But I'm wondering why I cant invoke the API using Apps adapter though its standard one.
    wsdl file is not getting generated as the adapter wizard not get completed.
    Do u have any idea why its giving ' error occurred while running Jpublisher.missing method' error?should I conclude that apps adapter does not support overloaded procedure.

  • Lion server file sharing issue with windows API read/write ini file (GetPrivateProfileString)

    Hello,
    I try to config lion server as file server for a windows application we use at work. All other computers are windows 7 or XP, lion server is the only mac. I choose lion server because it's size, quality and personal love of apple products.
    10.7.2 lion server's samba file sharing works almost perfectly with all my windows machines, I can copy, delete, modify any text files or office files without any issue, but the most important windows application for my business doesn't work with samba file sharing. After some digging, I found it is because windows program can't read or write INI file stored on lion share. Windows API GetPrivateProfileString always returns empty if the INI file is store on lion share.
    You can download a small application for read/write windows INI file from codeproject.com to test this problem:
    http://www.codeproject.com/KB/files/ini.aspx
    I can open/edit the in file using any text editor without any problem. The only problem is with those windows APIs. ACL is turned on for my lion share and assigned "delete" rights to samba users.
    I install samba3 on the same server; it works perfectly with windows API. My windows program also works. Looks like there is something wrong with lion server's sambax.
    I'd prefer to use built-in samba even I have samba3 working. Built-in samba is very immature right now, but considered how young it is, I will give apple some time to make it mature.
    Does anyone have same issue or knows how to fix it?
    Thanks,
    Michael.

    All the memory is fine. The server rarely if ever goes down when there are only around 10-12 users connected. When there are 20+ users connected and working heavily it goes down often. When I say working heavily, I mean they are transferring huge files to the SAN (100GB+), sometimes 5 at a time per user, and there are a bunch of others who are reading large video files at a minimum of 220MB/sec from the SAN.
    Though this worked on Snow Leopard without any issues, Lion just doesn't seem to be able to handle it. The odd thing is, on Snow Leopard there was only a single 1GB ethernet connection to a NAS system, whereas with Lion we have a much more powerful machine with a 6-port 10GB ethernet card and a 4 lane 8GB fiber card to a true SAN. You would think that the newer scenario with Lion would handle far more users with ease.
    So far, very disappointing with regards to Lion's file serving performance.

  • Issue with "firstRecord" Business Component method of JAVA Data bean API.

    Hi,
    Following is my use-case scenario:
    I have to add or associate child MVG business component (CUT_Address)
    with the parent business component (Account) using JAVA Data bean API.
    My requirement is: first to check whether child business component(i.e. CUT_address) exists. If it exists then associate it with parent business component (Account)
    otherwise create new CUT_address and associate it with account.
    Code (using JAVA Data bean APIs) Goes as follows:
    SiebelBusObject sBusObj = connBean.getBusObject("Account");
    parentBusComp = sBusObj.getBusComp("Account");
    SiebelBusComp parentBusComp;
    SiebelBusComp childBusComp;
    // retrieve required account.. Please assume Account1 exists
    parentBusComp.activateField("Name");
    parentBusComp.clearToQuery();
    parentBusComp.setSearchSpec("Name", "Account1");
    sBusComp.executeQuery2(true, true);
    sBusComp.firstRecord();
    Counter = 0;
    while (counter < Number_Of_Child_Records_To_Insert)
    childBusComp = parentBusComp.getMVGBusComp("City");
    associatedChildBusComp = childBusComp.getAssocBusComp();
    childBusComp.activateField("City");
    childBusComp.clearToQuery();
    childBusComp.setSearchSpec("City", Vector_of_city[counter]);
    sBusComp.executeQuery2(true, true);
    if( sBusComp.firstRecord() )
    // Child already exist and do processing accordingly
    else
    // Child does not exist and do processing accordingly
    childBusComp.release();
    childBusComp = null;
    associatedChildBusComp.release();
    associatedChildBusComp=null;
    Now the issue with this code is: For the first iteration, SbusComp.firstRecord returns 0 if records does not exist. However from the second iteration, SbusComp.firstRecord returns 1 even if there is no record matching the search specification.
    Any input towards the issue is highly appreciable.
    Thanks,
    Rohit.

    Setting the view mode to "AllView" helped.
    Thanks for the lead!
    In the end, I also had to invoke the business component method SetAdminMode with "true" as the argument so that I could also modify the records from my script.

  • Facing intermittent issue with findByAltKey api

    We are facing an intermittent issue with findByAltKey while invoking from service in out code and so we want to understand the expected behavior of this api
    the issue is we have an unposted row in the cache which we need to retrieve.So we are doing a findByAltKey and based on the alternate keys it should return the row,but it fails sometimes.
    We noticed while debugging that one of the alternate key attributes that we have defined on our EO is "Name" and the value of name in the EntityCache is sometimes becoming null.As a result of this the alternatekey attributes we pass doesnt match the EO.getAltKey(index) and it in turn doesnt fetch the row.
    This attribute "Name" is present both in the base table and the translation table and there is a view link from parent VO to the TL(translation) VO.
    What we want to understand here is when we do a findByAltKey based on name ,from where does it gets the name from the base vo or translation vo? And is it because of this sometimes this value in the cache is null?
    Can anyone please explain the above issue.

    Hi,
    Which SOA server you are using?
    A & B are synch or Asynch processes?
    Thanks
    Arik

Maybe you are looking for

  • TX: Tiny portion of screen not registering.

    I've only had my TX for a few months and have always had a screen protector on my TX's screen and have never dropped it.  Thinking that the screen protector was just worn out, I changed it this morning, hoping that would be the answer.  I cleaned the

  • Changing font in a text area?

    how do you change the font in a text area i thought it might have been navi.setFont(Font.Verdana); but no ...

  • PowerBook Increasingly Refusing to Start Up

    My PowerBook G4 has, in recent months, started going 'black' when I'm in the middle of things, and I can't find any relationship between what I'm doing and when this happens. About 20 percent of the time, it comes back with my doing nothing. Once abo

  • Copy history as the forecast result

    Hi Experts, Has anyone ever use the forecast model that copying the past 12 months history as the future period forecast result in PP forecast model? I know this function is availbale in APO DP, But I want to use this function in R3 not in APO. thank

  • Lookout 4.0 w/Fieldpoint

    Installed Fieldpoint 1.7 after Lookout 4.0 and restarted PC. Lookout no longer ran due to missing "lkhist.dll" file. Reinstalling Lookout solved problem. Anyone else seen this yet?