Issue with BatchDriver API

I am trying to upload a txt file into Hyperion workspace.
Followed below steps :
1.Created a control file batch_driver.cf with below content
data name=sqr^path=/BatchDriver^file=D:\UnxUtils\sqr\sqr.txt^desc=Text file uploaded with BatchDriver^browse=true^keyword=txt
and placed at D:\UnxUtils\sqr
2.Created a folder in Workpsace root directory named BatchDriver
3.In the server navigated to
C:\Oracle\Middleware\user_projects\epmsystem1\bin\ReportingAnalysis\SDK
and executed below command
execapi.bat BatchDriver admin Admin123 localhost 6800 D:\UnxUtils\sqr\batch_driver.cf D:\UnxUtils\sqr\batch_driver.log
But got the below error
Exception in thread "main" java.lang.NoClassDefFoundError: BatchDriver
Caused by: java.lang.ClassNotFoundException: BatchDriver
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Met
        at java.net.URLClassLoader.findClass(URLClassLoader.java:
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.ja
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: BatchDriver.  Program will exit.
I have also tried executing rmapi.jar which has BatchDriver.class file using below command
java -jar C:\Oracle\Middleware\EPMSystem11R1\common\raframeworkrt\11.1.2.0\lib\rmapi.jar
got below error
Failed to load Main-Class manifest attribute from
C:\Oracle\Middleware\EPMSystem11R1\common\raframeworkrt\11.1.2.0\lib\rmapi.jar
Highly appreciated your help in this regard
Thanks,
Aravind

Aravind
Compile BatchDriver.java using jc.bat file (or you can compile the regular way)and you should be good to go.
Regards
Celvin Kattookaran

Similar Messages

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

  • 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

  • Weblogic server proxy issues with twitter4j api

    I am using weblogic 10.3.4 using twitter4j Api running behind the proxy. I am not sure why I am getting this error. I do have the proxy name,port number, userid and password set in the twiiter4j api. The same code works fine for me in tomcat behind proxy. When I was trying to migrate from tomcat to weblogic i am getting following error. Any help is really appreciated. I am not sure its the issue with weblogic
    Thanks for the help
    Vinoj
    <Failed to communicate with proxy: tmsproxy.tms.toyota.com/80. Will try c
    onnection stream.twitter.com/443 now.
    weblogic.net.http.HttpUnauthorizedException: Proxy or Server Authentication Required
    at weblogic.net.http.HttpURLConnection.getAuthInfo(HttpURLConnection.java:297)
    at weblogic.net.http.HttpsClient.makeConnectionUsingProxy(HttpsClient.java:440)
    at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:351)
    at weblogic.net.http.HttpsClient.New(HttpsClient.java:527)
    at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:239)
    Truncated. see log file for complete stacktrace
    Dumping beanImpl -> ejbName map
    weblogic.management.j2ee.mejb.MejbBean: Mejb
    connect timed out
    Relevant discussions can be found on the Internet at:
    http://www.google.co.jp/search?q=944a924a or
    http://www.google.co.jp/search?q=24fd66dc
    TwitterException{exceptionCode=[944a924a-24fd66dc 944a924a-24fd66b2], statusCode=-1, message=null, code=-1, retryAfter=-1, rateLim
    itStatus=null, version=3.0.4-SNAPSHOT(build: f34757f6d8512eca8028601d9de303e0173d8d42)}
    at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:177)
    at twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:61)
    at twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:98)
    at twitter4j.TwitterStreamImpl.getFilterStream(TwitterStreamImpl.java:304)
    at twitter4j.TwitterStreamImpl$7.getStream(TwitterStreamImpl.java:292)
    at twitter4j.TwitterStreamImpl$TwitterStreamConsumer.run(TwitterStreamImpl.java:462)
    Caused by: java.net.SocketTimeoutException: connect timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:529)
    at weblogic.net.http.HttpsClient.openWrappedSSLSocket(HttpsClient.java:565)
    at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:287)
    at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:364)
    at weblogic.net.http.HttpsClient.New(HttpsClient.java:527)
    at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:239)
    at weblogic.net.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:255)
    at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java

    Hi,
    Has anybody got the solution like 64-bit libroxy or its source code to compile as 64-bit? I'm facing the same problem.

  • Issue with update_task API for updating Scheduled Dates for Task..

    Hi All,
    We have a requirement to update the project and task dates to a specified period from the current dates. I dont want to update all the tasks, and hence using the update_task API. The scheduled_finish_Date is the column from "pa_proj_elem_ver_schedule" which we want to update. As, this is the date which is shown on the Workplan tab for the tasks for (Scheduled Start and Scheduled Finish Date). I want to extend this scheduled_finish_Date to some days , say for eg. 60 days.
    To achieve, that update_task api is being used and the parameter for the scheduled_date is : p_scheduled_finish_date, this is passed as call to pa_project_pub.update_task API.
    We are also updating the completion data, which is happening fine and is updating the pa_tasks : completion_date column.
    Problem is with scheduled date, Please let me know how to go about this issue.
    Here is the sample code for calling the API :
    pa_project_pub.update_task
    (p_api_version_number => l_api_version_number_i,
    p_commit => l_commit,
    p_init_msg_list => l_init_msg_list,
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => lt_return_status,
    p_pm_product_code => l_pm_product_code,
    --p_structure_updates_flag      => g_no,
    p_pm_project_reference => l_proj_reference,
    p_pa_project_id => p_project_id_i,
    p_pm_task_reference => p_pm_task_reference_i,
    p_pa_task_id => p_task_id_i,
    p_task_name => p_task_name_i,
    p_task_number => p_task_number_i,
    p_pa_parent_task_id => p_parent_task_id_i,
    p_task_completion_date => p_tsk_actual_finish_date_i,
    --Transaction Date (shown on the screen)
    p_scheduled_finish_date => p_tsk_sched_end_date_i,
    -- Scheduled Date (shown on the screen)
    p_out_pa_task_id => l_pt_task_id,
    p_out_pm_task_reference => l_pt_task_ref
    I am really not sure if I am missing anything here, please suggest as to how to update the Schedule Start and Finish Dates using the API.
    Waiting in anticipation!
    Thank you
    Anand.

    Hello,
    Make sure the wf is active in QA (re-activate if possible), check the transport for errors, check authorizations for WF-BATCH perhaps delete and recreate via SWU3?), refresh the buffers (SWU_OBUF).
    Please let me know if any of this helps.
    regards
    Rick Bakker
    Hanabi Technology

  • Performance/Scalablity issues with NW APIs

    Hello,
    We have the following business scenario for one of our clients.
    1.  The Client has an SAP ECC system for order mangement
    2.  The Client has multiple Marketing assocaites who, want to place orders. These MAs are equiped with VB/.net application from where they want to reach ECC
    3.  The cummilative order volumes for a day can be upto 10000+ orders.
    4.  Each order would have around 40 line items.
    We trying to expose ECC order creation via a Rest Web Service and use SAP NW Gateway for the same.
    The question which we have is whether the Gateway APIS can support such volumes or would there be scalablity/Performance issues.
    Any pointers would be appreciated.  Is there a business case available which shows the usage of the NW APIS for such scenarios.
    Regards,
    Abhishek

    Hello Abhishek,
    What kind of order management scenario the customer is going to use? Is it Sales order?
    We have a sizing guide for Gateway 2.0 that located on SMP and can befound here:
    www.service.sap.com/sizing --> sizing guidelines --> solutions & platform u2013 new structure  SAP NetWeaver.
    This guide does not contain the information for all possible scenarios, but you should be able to find a scenarios/flows that can be compared to the required one.
    In general, Gateway provides scalable and stable platform that definitely can support the required load. But in order to provide this load, the Gateway server has to have sufficient Hardware (SAPS, memory, disk) that is descibed in the sizing guide.
    For any additional question please send me an email or just call me.
    Best Regards,
    David

  • ESB Reprocessing Issue with client API

    All,
    We are currently working on reprocessing the failed ESB instances using the client API. The instances are getting reprocessed but on a random basis are are getting the below exception. The reprocessing code is also provided.
    oracle.tip.esb.client.ClientException: 404 : Not Found
    08/07/10 08:26:51 at oracle.tip.esb.client.HttpClient.invoke(HttpClient.java:118)
    08/07/10 08:26:51 at oracle.tip.esb.client.impl.ConsoleClientImpl.perform(ConsoleClientImpl.java:148)
    08/07/10 08:26:51 at oracle.tip.esb.client.impl.ConsoleClientImpl.<init>(ConsoleClientImpl.java:71)
    08/07/10 08:26:51 at oracle.tip.esb.client.ConsoleClientFactory.getConsoleClient(ConsoleClientFactory.java:32)
    08/07/10 08:26:51 at com.cccis.cfcs.reprocess.RecoveryHelper.resubmitFailedInstance(RecoveryHelper.java:129)
    08/07/10 08:26:51 at com.cccis.cfcs.reprocess.RecoveryHelper.reprocessESBFailedInstances(RecoveryHelper.java:195)
    08/07/10 08:26:51 at com.cccis.cfcs.reprocess.ReprocessServlet.doGet(ReprocessServlet.java:107)
    08/07/10 08:26:51 at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    08/07/10 08:26:51 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    08/07/10 08:26:51 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    08/07/10 08:26:51 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    08/07/10 08:26:51 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    08/07/10 08:26:51 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    08/07/10 08:26:51 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    08/07/10 08:26:51 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    08/07/10 08:26:51 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    08/07/10 08:26:51 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    08/07/10 08:26:51 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    08/07/10 08:26:51 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    08/07/10 08:26:51 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    08/07/10 08:26:51 at java.lang.Thread.run(Thread.java:595)
    08/07/10 08:26:51 Caused by: java.io.IOException: 404 : Not Found
    08/07/10 08:26:51 at oracle.tip.esb.client.HttpClient.throwException(HttpClient.java:223)
    08/07/10 08:26:51 at oracle.tip.esb.client.HttpClient.postAndReceive(HttpClient.java:150)
    08/07/10 08:26:51 at oracle.tip.esb.client.HttpClient.invoke(HttpClient.java:114)
    public void resubmitFailedInstance(String flowID,SystemDetails sysdetail) {
    System.out.println("Within the resubmitFailedInstance method ************ ");
    String HOST = sysdetail.getHostName();
    System.out.println("Host at the beginning....................................."+HOST);
    int PORT = Integer.parseInt(sysdetail.getPort());
    System.out.println("Port at the beginning.............."+PORT);
    String USER_NAME = sysdetail.getUserName();
    System.out.println("User name at the beginning....................."+USER_NAME);
    String securityCredentials = sysdetail.getSecurityCredentials();
    System.out.println("Password at the beginning......................."+securityCredentials);
    String filter = FILTER;
    ConsoleClient client = null;
    String data = null;
    HashMap<String, String> requestProps = new HashMap<String, String>();
    try {
    requestProps.put("filter", URLEncoder.encode(filter, "UTF-8"));
    client =
    ConsoleClientFactory.getConsoleClient(HOST, PORT, USER_NAME,
    securityCredentials);
    data = client.perform("GetFailedInstances", requestProps);
    DOMParser parsedXML = new DOMParser();
    ByteArrayInputStream inArray = new ByteArrayInputStream(data.getBytes());
    parsedXML.parse(inArray);
    XMLDocument xmldoc = parsedXML.getDocument();
    NodeList nl = xmldoc.getElementsByTagName("failedInstance");
    for (int i = 0; i < nl.getLength(); i++) {
    Element el = (Element)nl.item(i);
    String flowId = el.getAttribute("flowId");
    String systemId = el.getAttribute("systemId");
    String retryable = el.getAttribute("retryable");
    String payload = el.getAttribute("inPayload");
    System.out.println("System ID :**********" + systemId);
    System.out.println("retryable :*********" + retryable);
    System.out.println("Payload :***************" + payload);
    if (flowId != null && flowId.equals(flowID)) {
    if (retryable.equals("true") && systemId != null) {
    System.out.println("Before calling the testResubmitInstanceById method ************");
    HashMap<String, String> requestProp = new HashMap<String, String>();
    requestProp.put("flowId", flowId);
    requestProp.put("systemId", systemId);
    System.out.println("Before reprocessing*************");
    String output = client.perform("ResubmitInstanceById", requestProp);
    System.out.println("Result>>>>>>>>>>>>>>>>>>>>"+output);
    System.out.println("After reprocessing**********");
    break;
    } catch (UnsupportedEncodingException e) {
    e.printStackTrace();
    } catch (ClientException e) {
    e.printStackTrace();
    } catch(Exception e) {
    e.printStackTrace();
    public void reprocessESBFailedInstances(String msgID,
    SystemDetails sysdetail) {
    System.out.println("Within the reprocess failed instances*****************");
    Connection con = null;
    Statement stmt = null;
    String flowID = null;
    String flowIDSql =
    "select flow_id from esb_activity a,esb_tracking_field_value t where a.id=t.activity_id and t.value='" +
    msgID + "'";
    try {
    String URL = RB_READER.getString("URL");
    String userName = RB_READER.getString("userName");
    String password = RB_READER.getString("password");
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = DriverManager.getConnection(URL, userName, password);
    stmt = con.createStatement();
    ResultSet res = stmt.executeQuery(flowIDSql);
    while (res.next()) {
    flowID = res.getString("FLOW_ID");
    System.out.println("Flow ID :***********" + flowID);
    resubmitFailedInstance(flowID,sysdetail);
    System.out.println(":::::::::::::::::::::::::::::::::::");
    System.out.println("End of the method*************");
    } catch (SQLException e) {
    e.printStackTrace();
    } catch (Exception e) {
    e.printStackTrace();
    Regards,
    M.Rajesh

    Hi Rajesh,
    I am trying to get the failed instances using the client API in your code what is the FILTER string that you have used since i have used below code to get the payload but not able to get the payload.If you are able to get the payload please do reply me back.
    String payload = el.getAttribute("inPayload"); // Not getting the payload
    Hoping for early reply from you.
    with regards
    NK

  • Issue with DI API : 1607 unable to install installshield Scripting Runtime

    Hello,
    I'm trying to reinstall my DI API but it fails due to this error message.
    Any idea ?
    Thanks
    Stéphane

    Steph,
    I solved that by downloading the latest MSI from window and re-installing my Microsoft Installer. I admit it was not linked to the DI installation at that time but...
    Check http://support.microsoft.com/kb/888019 maybe it can help as well?
    Cheers
    Frédéric

  • "Save as..." hang on long PDF with annots.api plugin enabled

    Hi,
    I am not a regular Acrobat user but I have been attempting to use it recently to process some fairly long PDF files with up to 20K pages which weigh in at 50MB.  I thought I'd share something interesting I have discovered with the community.
    What I found is that the larger the file (not sure whether it is the number of pages, number of bytes or something else) the longer it takes for the "Save as..." dialog box to appear.  Then, when the filename has been chosen (just saving as a normal PDF) the amount of time before the progress bar appears also seems to get longer for longer files.
    In fact while the save as box is getting ready and while the progress bar is not yet showing, Adobe Acrobat seems to hang and stop responding.  We found that disabling plugins entirely (by shift clicking to open the document) eliminated entirely even for large documents.  We then narrowed it down to a specific plugin called annots.api.
    My questions for the community are: 
    Is this a known issue with annots.api?
    What does annots.api actually do?
    This seems to be the same for Adobe Reader X (Windows 2012), Adobe Acrobat X (Windows XP), Adobe Reader 11 (Windows 7), Adobe Acrobat XI (Windows 8) and Adobe Acrobat (Windows XI).
    Thanks,
    James
    P.S. If somebody from Adobe want help to recreate the issue, I can provide some sample PDF files that clearly illustrate the issue and snow a possible polynomial performance curve.

    i do not have a .mac account. i checked my preferences on that point and confirmed there is no effort to sync with iDisk.
    i am only user (account) on this eMac. So i do not have a basis for compaing other users. i may set up a dummy account (other dummy?) to test this theory.
    i checked my energy saver prefs. i had computer and display set to Never sleep. i had the box checked to put disk to sleep when possible. i have now unchecked that box.
    i also have just downloaded update to 10.4.4. so, i will try that.
    any other ideas, most appreciated. i am especially interested to know if there is software to look for possible virus infection that might cause this. since it happens randomly, i suspect it might be some bug (not sure if that is logical analysis on my part)
    steve

  • Issues with extended chars in names

    Are there any known issues with this API when either the eDir name or GW
    name contains extended chars? I'm encountering numerous problems creating
    users and modifying settings (e.g. visibility) with the 8.0.1 client with
    both the 7.0.3 and 8.0.1 backends, after a customer reported issues when
    using the 8.02hp1 client.
    TIA, John

    I have a system with 2 cRIO's each with Ethercat extension chassis.  Each cRIO hosts ~100 NSV's and is running the scan engine at 40 Hz.
    Each cRIO is coupled to a HMI that has front panel control bindings to NSV's hosted on the cRIO as well as a windows hosted mirror library (used for citadel db logging) that is also bound to the cRIO NSV library.  The cRIO's have monay months of contiguous run time without reboot and I closely monitor cpu and memory usage and also rt performance metrics and will log faults if there are any such events.  I also use NSV's for messaging from the HMI to the cRIO for such things as setting zero offset values and deploying configuration parameters.  My overall findings are that the SV engine and the PSP are stable and efficient (especially NSV<->NSV and NSV<->HMI binding)

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

  • 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!!!

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

  • How to do good Issue with S/N from DI API

    Hai,
    I want to do good Issue with Serial Number using DI API but I got an error message <b>"\[IGE1.DocEntry]\[line:0],item serial is not found in Whse SR-5155 - 1 - R5155KGS ' (-5002)" </b>
    here is the code
    Set oGoodIssue = oCompanyDI.GetBusinessObject(oInventoryGenExit)
            oGoodIssue.DocDate = "12/14/2007"
                oGoodIssue.Lines.itemCode = "SR-5155"
                oGoodIssue.Lines.WarehouseCode = "R5155KGS"
                oGoodIssue.Lines.SerialNumbers.SystemSerialNumber = CStr(1)
                oGoodIssue.Lines.SerialNumbers.ManufacturerSerialNumber = "SR-0000001"
    oGoodIssue.Lines.SerialNumbers.InternalSerialNumber = "SR-0000001"
                oGoodIssue.Lines.SerialNumbers.SetCurrentLine 0
                oGoodIssue.Lines.SerialNumbers.Add
            retval = oGoodIssue.Add
            If retval <> 0 Then
                oCompanyDI.GetLastError errMsg, errMsg2
                sbo_application.messageBox errMsg & " (" & errMsg & ")"
            Else
                sbo_application.messageBox "Success"
            End If
    I check already from SAP BOne and the serial number is exist
    Can someone help me solve this problem
    Thanks and Regards,
    Arthur Siwan

    Hi Arthur,
    Try this code ( i had changed only one line of code in your original code)
    Set oGoodIssue = oCompanyDI.GetBusinessObject(oInventoryGenExit)
    oGoodIssue.DocDate = "12/14/2007"
    oGoodIssue.Lines.itemCode = "SR-5155"
    oGoodIssue.Lines.WarehouseCode = "R5155KGS"
    oGoodIssue.Lines.SerialNumbers.Add
    oGoodIssue.Lines.SerialNumbers.SystemSerialNumber = CStr(1)
    oGoodIssue.Lines.SerialNumbers.ManufacturerSerialNumber = "SR-0000001"
    oGoodIssue.Lines.SerialNumbers.InternalSerialNumber = "SR-0000001"
    oGoodIssue.Lines.SerialNumbers.SetCurrentLine 0
    retval = oGoodIssue.Add
    If retval 0 Then
    oCompanyDI.GetLastError errMsg, errMsg2
    sbo_application.messageBox errMsg & " (" & errMsg & ")"
    Else
    sbo_application.messageBox "Success"
    End If
    Hope it helps you
    Regards
    Vishnu

  • Bulk API issue with contact imports

    Is the bulk API having validation issues? I can update any existing or create any new imports.
    Simply posting the content below from the tutorial now results in a validation error:
    "name": "Docs Import Example",
    "fields": {
    "firstName": "{{Contact.Field(C_FirstName)}}",
    "lastName": "{{Contact.Field(C_LastName)}}",
    "emailAddress": "{{Contact.Field(C_EmailAddress)}}"
    "identifierFieldName": "emailAddress",
    "isSyncTriggeredOnImport" : "false"
    Here is the error:
    "failures":[{"field":"identifierFieldName","constraint":"Must be a string value, at least 1 character and at most 100 characters long."},{"field":"name","constraint":"Must be a string value, at least 1 character and at most 100 characters long."},{"field":"fields","constraint":"Is required."}]}

    Seems like an issue with UD_ADUSER_LOCKED field value. Change it to non null value and retry.

Maybe you are looking for