A problem about GP Background CO call caf remote interface

Hi, Guys.
     My server is CE. 
     When I developed my background co for my gp process, I tried to call a local interface of a ejb which is from a caf project.
     After I finished it and tested it by CO Test, it worked fine.
     But when I tried to test it by starting a process, I got an error meassage.
     Below is error message:
javax.ejb.EJBException: ASJ.ejb.005042 (Failed in component: demo.sap.com/ca_flowear) Exception raised from   invocation of private java.lang.Object com.sap.caf.rt.interceptors.LogInterceptor.aroundInvoke(javax.interceptor.InvocationContext) throws java.lang.Exception method on bean instance com.sap.demo.ca_flow.modeled.as.flow.appsrv.as_currenprocessor.AS_CurrenProcessorBeanImpl@7973ae6f for bean demo.sap.com/ca_flowearannotation|demo.sap.comca_flowejbmodule.jarannotation|com.sap.demo.ca_flow.modeled.as.flow.appsrv.as_currenprocessor.AS_CurrenProcessor in application demo.sap.com/ca_flow~ear.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.frame.core.thread.ThreadContext.getContextObject(int) of an object loaded from local variable 'tc"
I have no idea how to solve it.
I promise that it works fine when I test it by CO Test.
Thanks a lot.

Hi, all.
My problem looks like that my background co can`t find com/sap/caf/eu/gp/co/api/IGPBackgroundCallableObject.
I have checked this class which exists in  caf/eu/gp/api and I have added it to my ear project with every kind of dependency including build time, design time, deploy time, and runtime.
Did I miss anything?
I really have no idea what I can do now.

Similar Messages

  • A problem about implementing Background CO in 7.1.1

    Hi,all.
       I tried to implement backgrond CO in 7.1.1.
       I implemented my background co in several ways.
       No matter which way i did it, I always got an error message
      "java.lang.NoClassDefFoundError:com/sap/caf/eu/gp/co/api/IGPBackgroundCallableObject ".
       I tried to following the tutorial and the note, but it`s still the same.
       Can anyone give me a hand? Thanks.
    BR.
    Louis Huang

    Hi, all.
    My problem looks like that my background co can`t find com/sap/caf/eu/gp/co/api/IGPBackgroundCallableObject.
    I have checked this class which exists in  caf/eu/gp/api and I have added it to my ear project with every kind of dependency including build time, design time, deploy time, and runtime.
    Did I miss anything?
    I really have no idea what I can do now.

  • The problem about execution time of calling labview_dll in cvi . Urgent . Thanks

    Hello
    I read data from FPGA in labview with three host-vi . Then package  three host-vi to generate dll . When calling dll in CVI to read data,I  find the call time will reach more than 70~200ms. How caused this time ,is there any way reduce this time ?  
    Thank you

    Maybe the time was spent on the entering of dlls,every time I want to get data from FPGA, I would have to first enter the dll, then excute the dll, read data from FPGA, then send them from dll to CVI, that's a time consuming work。
    How can I reduce the time?
    If I can enter the dll only one time at programme beginning , then only read data each time . The time will be a little . How can I  do this ?

  • Calling Remote interface from client

    Hi there!
    I am working on a BMP (using weblogic 6.1)
    My problem is - How do I contact remote interface from client. In my jndi tree I have mentioned only Home interface. Right now I am calling my remote interface like this:
    //contact home interface
    Object obj = ctx.lookup("APIHome");
    APIHome home = (APIHome) javax.rmi.PortableRemoteObject.narrow(obj, APIHome.class);
    //creating remote somehow - I got this clue from a website
    rem = home.findByPrimaryKey(new EntityPK("test1","test2"));
    //calling getter & setter methods
    rem.setWidth()
    rem.getId();
    This works...but doesn't make any sense to me. Why should we initialize remote interface as above. Or is there any other option. Can somebody please explain me more clearly about this concept.
    Thanks very much
    regards
    -Manasvi

    The HomeInterface contains two types of methods - create and find. The create methods create an instance of the entity bean(i.e., a record in the database) and the finder methods finds an existing record in the database, constructs an entity bean representing this row and returns the remote interface of this bean to the client for further manipulations.

  • A problem about calling Labview vi in VB

    Hi all:
    I meeting a problem about data transfer and parallel operation between VB and Labview.
    Actually, I want develop a VB program, in which, the Labview VI can be called and corresponding parameters can be transferred to Labview. and then, I also can operate my system by VB program at same time. something like parallel operation (VB and Labview program).
     But the question is :
    1.   If I use "Call" method of ActiveX in VB,  and the LabVIEW subvi is not stopped (for example, a loop structure), I can not do  parallel operation on VB program. The error message is "other application is busy" which is attached below. The sample codes is also attached.
    2.   I tried to use other methods like "OpenFrontPanel" and "Run", but I am not sure how to transfer the parameter??
    3.  Then I tried to use "SetControlValue" to set the parameters, but there is a error " := expected", which is very strange, because the statement  I wrote is followed with the help documents [ eg: VI.SetControlValue ("string", value)], why it is still need a "=" ??
    Does anybody know something about it? Thanks a lot
    Message Edited by hanwei on 11-07-2008 03:18 PM
    Attachments:
    vb_labview_error_message_1.JPG ‏14 KB
    VB_to_LV.zip ‏10 KB

    I sure hope OP has solved it by now.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Hello apple I have the problem with my iPhone and my friends have this problem too. My iPhone have the problem about calling and answer the call. When I use my iPhone to call I can't hear anything from my iPhone but the person that I call can answer it bu

    Hello apple
    I have the problem with my iPhone and my friends have this problem too.
    My iPhone have the problem about calling and answer the call. When I use my iPhone to call I can't hear anything from my iPhone but the person that I call can answer it but when answer both of us can't hear anything and when I put my iPhone to my face the screen is still on and when I quit the phone application and open it again it will automatic call my recent call. And when my friends call me my iPhone didn't show anything even the missed call I'm only know that I missed the call from messages from carrier. Please check these problem I restored my iPhone for 4 time now in this week. I lived in Hatyai, Songkhla,Thailand and many people in my city have this problem.
    Who have this problem??

    Apple isnt here. this is a user based forum for technical questions. The solution is to restart, reset, and restore as new which is in the manual after that get it replaced for hard ware failure. if your within your one year warranty its replaced if it is out of the warranty then it is 199$

  • Problems with answering and making calls

    I have owned a Droid 2 for almost a year now. I love it! But for the last few months I have had a problem with answering and making calls. Sometimes when I answer a phone call it connects like I have answered the call but I can't hear anything and the other person can't hear me. The call says I am connected and I can see the timer going but there is no communication. It does the same thing when I go to make calls sometimes. I can hit send and it connects the call but I can't hear anything. The timer is going and the other person answers but I can't hear anything. The only reason I know they answered is because they then call me back and leave a voicemail, sounding very confused. I have to restart my phone and then the problem is solved. But only for a little bit. I haven't been able to pick out a pattern or anything. It is random and very frustrating. I went into my local Verizon store about the issue and they arranged for me to receive a new, certified pre-owned phone because I pay insurance on my phone. I received the phone the next day and everything went great, for a few days. But this phone is also having the same problem. I am getting very frustrated with this because I need to be able to actually talk to people when they call me. Anyone else having the same problem? I want to go back to the store but I feel like they wouldn't do anything more than they did last time, which didn't solve the problem.

    I have this same issue on a bi-daily basis: I can place a call, but then I hear nothing.  I can answer a call, but I then hear nothing.  The calls connect as the people I am in contact with will tell me they answered my calls and heard me, though I could not hear them - and vice versa.  Also, this phone does not like to place a call using the "call" option if dialing from "recent calls".  I turn this phone on/ off daily, I've taken the battery out on about 50% of the occassions when this issue has happened.  This has been a problem for me for approximately 1yr.  My early renew date is just shy of 2 months from now and I cannot wait to get rid of this phone.  Aside from having great difficulty making/ receiving calls, the phone is overall slow to respond to basic functions like text messaging or using the camera.  Also, most times while taking a picture, the camera will "take a picture" but then there is no image in the file.  Highly annoying - the only way to temporarily fix this is to reboot - but like the call issue, the problem recurs.  I do have a bunch of apps on installed on the phone, but since I also have an APP killer on the phone, nothing aside from "Weather Bug" app is ever really running in the background that would slow this phone.  BUT, right now my main concern is may safety: God forbid I am ever in danger or in an emergency situation, this phone's constant malfunctioning could possibly be the physical harm or death of me.  I hope that my family can sue the company that provides the software for this phone, Verizon & Motorola in the event of my untimely death.

  • An old and difficult problem about "UnsatisfiedLinkError"

    Hi dear all,
    I have been struck with the problem about "UnsatisfiedLinkError". I have a c++ class HelloWorld with a method hello(), and I want to call it from within a java class. In fact, I have succeeded in calling it on the windows platform. But when I transfer it to linux, the error "UnsatisfiedLinkError" comes out. I have tried to take the measures as Forum has suggested, but it failed.
    The source code is very simple to demonstrate JNI.
    "HelloWorld.h"
    #ifndef INCLUDEDHELLOWORLD_H
    #define INCLUDEDHELLOWORLD_H
    class HelloWorld
    public:
    void hello();
    #endif
    "HelloWorld.cpp"
    #include <iostream>
    #include "HelloWorld.h"
    using namespace std;
    void HelloWorld::hello()
    cout << "Hello, World!" << endl;
    "JHelloWorld.java"
    public class JHelloWorld
    public native void hello();
    static
    System.loadLibrary("hellolib");
    public static void main(String[] argv)
    JHelloWorld hw = new JHelloWorld();
    hw.hello();
    "JHelloWorld.cpp"
    #include <iostream>
    #include <jni.h>
    #include "HelloWorld.h"
    #include "JHelloWorld.h"
    JNIEXPORT void JNICALL Java_JHelloWorld_hello (JNIEnv * env, jobject obj)
    HelloWorld hw;
    hw.hello();
    All the files are in the same directory and all the processes are under the dirctory:
    1. javac JHelloWorld.java
    2. javah -classpath . JHelloWorld
    3. g++ -c -I/usr/java/jdk1.3/include -I/usr/java/jdk1.3/include/linux JHelloWorld.cpp HelloWorld.cpp
    4. ld -shared -o hellolib.so *.o
    5. java -cp . -Djava.library.path=. JHelloWorld
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no hellolib in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1349)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at JHelloWorld.<clinit>(JHelloWorld.java:7)
    Tried another measure:
    i) export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
    ii)java -cp . JHelloWorld
    The same error came out as above.
    I really don't know what is wrong with it.
    Would you like to help me as soon as possible?
    Thanks.
    Regards,
    Johnson

    Hi Fabio,
    Thanks a lot for your help.
    It is very kind of you.
    Regards,
    Johnson

  • A switch on/off problem about the relay in a loop

    hi group:
    I am developing a project based the Ni-sci-1160. Now I meet a problem about switch on/off in a loop.
    for example:  I creat a loop, and continually check a boolean. if the boolean is true, then the realy is closed, otherwise the relay is open. The problem is when I make the boolean is true,  the corresponding relay is not always on,  but just on-off, on-off,on-off.  I don't know why? Is there any good idea to fix it?
    the easy example codes is attached here , thanks for you help.
    Attachments:
    relay_problem.vi ‏19 KB

    Try moving that first DAQmx function out of the while loop.  Since it is called switch set and Reset, I'm guessing it is resetting the status of the switch every iteration of the while loop which probably means setting it back to false.  It looks like an initialization type of function which means it should only be run once.

  • Labview 8.5.1's MathScript window failed running imread with an error "A problem occurred in a subVI call."

    Hi,
    I am trying to port a Matlab program into a MathScript script.  Following is the first few lines of the script:
    clear;
    image1=imread('C:\LV_VertAlign\DSC_0104.jpg','jpg');
    image_double1=im2double(image1);
    image_gray11=rgb2gray(image_double1);
    In the first line, imread is supposed to read in a photo taken from a DSLR camera, so I think it's a 32-bit image.  And this is the error I got when trying to run this script in the Labview 8.5.1's Mathscript windows:
    "Error in function imread at line 2.  A problem occurred in a subVI call."
    What is the problem here?  and why does it complain about a subVI call?
    Thanks for any help to point me in the right direction.
    -Anh

    Hello Anh,
    As you may know, LabVIEW MathScript is implemented on top of LabVIEW.  The error message you received indicates that a problem occurred in one of the LabVIEW subVIs that MathScript calls.  As Jim indicated, the problem is in the file type specifier you passed to the function.  MathScript requires the use of 'JPEG' and not 'jpg' or even 'jpeg.'  In this case, we could return a better error message.  I have filed a bug report (115804) for this issue.
    You will find that once you fix this, the im2double and rgb2gray functions are not supported.  In LabVIEW MathScript, you generally can execute scripts written in the MATLAB® language syntax.  However, the MathScript engine executes the scripts, and the MathScript engine does not support some functions that the MATLAB software supports.
    We will look into adding these functions in a future release of LabVIEW MathScript.  If you need this functionality now, these functions are very simple to write yourself.  If you are performing additional image analysis in your script, you may wish to purchase the IMAQ toolkit.  It doesn't add any functions to MathScript at this time, but you could continue your analysis outside of MathScript with LabVIEW VIs.
    MATLAB® is a registered trademark of The MathWorks, Inc.
    Grant M.
    Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments

  • Problem About Date Format in Dashboard

    Hi All:
    I still have problem about date format in dashboard and dashboard prompt. When I use cast(dealdate as date) in dashboard prompt(coloumn formula of deal_date) and filter view(In edit view of filter coloumn formula) Then It converts the date format from mm/dd/yyyy to yyyy-mm-dd But I want format in dd-mm-yyyy.
    ANd also one problem more that is when I use cast function in filter coloumn formula then how I give alias to it. Because it shows same like that cast(deal_date as date) on dashboard filter view.
    Pluzz help me to solve this problem
    Haroon

    Changing the ini files should change the date format. Have you amended the correct instances of the date format? In dbFeatures there is one for every ODBC connection.
    For example in my DBFeatures.INI
    [ DATA_SOURCE_FEATURE = ODBC_300 ]
    DATE_FORMAT = 'dd-mm-yyyy' ;
         TIME_FORMAT = 'hh:mi:ss' ;
         DATE_TIME_FORMAT = 'dd-mm-yyyy hh:mi:ss' ;
         IDENTIFIER_QUOTE_CHAR = '"';Also a file on the presentation side in OracleBI \web\Config called localedefinitions.xml.
    Inside that there appears to be defaults for localisations - maybe it is possible to amend your locale in the Administration settings of the dashboard.
    However, I haven't tried this sorry.

  • Problem about expanding folder

    I am currently installing business package according to portal best practice.
    Most of functionalities seems to be fine but I face a problem about expanding folders
    for some role such as MM Master. For the same role, those worksets w/o folder
    (directly call R/3 transaction) are working fine.
    When expanding folders, we always got result showing "Loading..." and nothing
    is shown for very long time.
    Kindly advise how to resolve or further investigate such issue.
    Note: Normal folder expanding of standard admin folder does not have such problem.

    Areeat,
    I think you're talking about the "Detailed Navigation". This is a known problem on NW04 SP18 & NW04s SP8/9. Check note 976331 for a hotfix.
    kr, achim

  • PI7.0: Problem about openning alert configuration in RMB

    Hi experts,
       I encounter a problem about alert configuration.
       I have defined the alert catogory in WAS ABAP and use the report RSALERTTEST to test it. It's OK. Then I logon RWB and click u201CAlert configurationu201D,system popup a login window. I input my user account and confirm it. But the logon window popup again and again.I don't kown how to resolve it. BTW, my user account has the roles SAP_ALM_ADMINISTRATOR and SAP_ALM_CUSTOMIZER.And I have resolved the problem "Alert configuration does not start" according to note 750287.
       Anyone has idea??Could you please give me some advice???
    Thanks a lot in advance.
    BR Villy.L

    Hello Villy
    Check these notes:
    1) #913858 XI Alerting: Troubleshooting
    2) #768456 Troubleshooting Runtime Workbench
    Restart the java engine after making any changes in the Exchange Profile.
    For further info check previous threads on this topic:
    The URL contains no complete domain specification
    Calling the BSP page terminated due to an error While accessing ALERT INBOX
    Regards
    Mark

  • CE 7.1 - How to call CAF services from Web Dynpro

    Hi,
    whats the suggested way to call caf services from web dynpro?
    Of course I can use the Web Service model. But can I call caf directly?
    I read something about caf web dynpro model, but I cannot find it in nwds 7.1. On some older tutorial it was in context menu of caf project, but it seems to be removed.
    best regards
    tom

    Hi ,
    The standard way is to use the web service model.
    You have to expose the the services as web service and then you can use the wsdl url in the Adaptive web service model option.
    The above option will be available when you click the Model in the webdynpro application and the click create new model.
    Hope it helps you.
    Regards,
    Srinivasan Subbiah

  • Problem about roaming when using IP Phone 792X

    Hi Guys,
    My Customer is wiht the following problem: When the user is using the IP Phone 792X near the Access Point the call worked Ok. When the User to do the roaming to another Access Point He hear audio only one side. If He turn off the IP Phone and turn on the call came back work. I don´t sure, but, I don´t believe that the problem is the IP Phone Configuration. My question is: Can be any problem about Wireless Controller configuration?
    Information about the equipament:
    IP Phone 792X Firmware -
    CP7921G-1.3.3.LOADS
    CP7925G-1.4.1.LOADS  
    Access Point
    Model:  1140
    Wireless Lan Controller
    Model: WS-SVC-WISM-1-K9
    Product Version.................................. 6.0.188.0
    Thank You,
    Wilson

    Hi Wilson,
    The first thing I would check is that you have proper cell overlap.
    See page 3-13 in the deployment guide:
    http://www.cisco.com/application/pdf/en/us/guest/netsol/ns279/c649/ccmigration_09186a00808d9330.pdf
    Without seeing more info, we can't conclude that this is a controller code issue, but I'd upgrade the controller to 6.0.202 to be sure.
    6.0.188 is deferred:
    http://www.cisco.com/web/software/Wireless/Deferral/Software_Advisory_6_0_196_0.html
    You may also want to run your controller's config through the config analyzer and enable 792x voice checks:
    https://supportforums.cisco.com/docs/DOC-1373
    hth
    jeff

Maybe you are looking for

  • HT1423 install memory in new imac

    Just bought a new 27" iMac - New Apple iMac MD096B/A. How do I access the memory slots to install extra RAM? Thanks!

  • Why does my iCloud Backup think my 70 photos (no videos) are a 1.7GB backup?

    I got a message saying my iCloud backup is not going to fit in my free 5GB.  I went into my iCloud backup settings and found the Camera Roll was showing up at 1.7GB.  That's fine, I had four videos and like 250 photos.  Most of those were already mov

  • Global variable not updating in main vi

    Hello Friends, I had already prepared a vi with global variables assigned in it previously... now I have updated 4 more global variables to this vi... The output at the read jet data sub vi is updating whereas the force and the rpm values are not upd

  • Why am I prompted for a serial number when trying to open an acrobat PDF?

    I am being prompted for a serial number when I try to open a pdf. I just downloaded creative cloud, started with After Effects. I haven't downloaded any other apps. I made a pdf from an InDesign doc. This wasn't happening yesterday. After making the

  • Adding login assistance to self service

    Hello, Is it possible to add features like user registration (which goes for approval) and login assistance (if I forget my password or username it can be emailed back to me). I was looking at the oracle page for the Global Fund for AIDS and I really