Need assistance using coherence calls from an ejb, get exception

I've added some Coherence calls to a simple EJB, that can be called from a plain java client or a jsp. The bean code is attached as well as the call stack for the exceptions, first
for plain java client, second for jsp. Have also run Web installer, this file
is attached too.
Your help would be greatly appreciated.
Thank you,
Ken Rubin<br><br> <b> Attachment: </b><br>javaclientexception.txt <br> (*To use this attachment you will need to rename 209.bin to javaclientexception.txt after the download is complete.)<br><br> <b> Attachment: </b><br>jspexception.txt <br> (*To use this attachment you will need to rename 210.bin to jspexception.txt after the download is complete.)<br><br> <b> Attachment: </b><br>ConverterBean.java <br> (*To use this attachment you will need to rename 211.bin to ConverterBean.java after the download is complete.)<br><br> <b> Attachment: </b><br>coherence-web.xml <br> (*To use this attachment you will need to rename 212.bin to coherence-web.xml after the download is complete.)

Hi CP,
I had added C:/tangosol/lib/tangosol.jar;C:/tangosol/lib/coherence.jar
to my classpath originally and could not find the classes. After I copied both jars into
my Sun/AppServer/lib path, the jars were found, yet I
get another exception, which is attached.
My server is Sun Java Application Server 8 Q1.
Thank you,
Ken<br><br> <b> Attachment: </b><br>aftercopyinglibs.txt <br> (*To use this attachment you will need to rename 213.bin to aftercopyinglibs.txt after the download is complete.)

Similar Messages

  • Calling from an EJB into a JSF Backing Bean

    Hello all,
    I'm looking for some help in making calls from an EJB into a Backing Bean (the converse is fairly straightforward). My basic question is: what is regarded as the best way to do this?
    However, for anybody who's interested, I'll describe what I've been trying...
    Here's my situation (I'm working with OC4J 10.1.3.2). I have a simple application-scoped backing bean:
       public class BackingBean implements SimpleInterface, Serializable {
           private String greeting = "Hello, World";
           private SessionEJBRemote blBeanRemote = null;
           public BackingBean() {
               // get hold of EJB
               // [ ... code to obtain EJB's remote interface snipped ... ]
               // set the callback with the EJB       
               try {
                   blBeanRemote.setCallback(this);
               } catch (Exception ex) {
                   ex.printStackTrace();
           // methods to manipulate the greeting string
           public String getGreeting() {
               return greeting;
           public void setGreeting(String greeting) {
               this.greeting = greeting;
       }SimpleInterface, which my Backing Bean implements is, well, a simple interface:
       public interface SimpleInterface {
           public void setGreeting(String greeting);
       }And my EJB is also pretty straightforward:
       @Stateful(name="SessionEJB")
       public class SessionEJBBean implements SessionEJBRemote, SessionEJBLocal {
           private SimpleInterface callback = null;
           public void setCallback(SimpleInterface callback) {
               this.callback = callback;
               callback.setGreeting("Goodbye, World");
       }Now, by using SimpleInterface, my intention was to ensure a one-way dependency: i.e. the JSF-level code would depend on the EJB-level code, but not vice versa.
    However, my experimentation has shown that when I make the call to blBeanRemote.setCallback, the parameter appears to be passed by value rather than by reference. This means firstly that, at runtime, by EJB needs to have access to my backing bean class and secondly, that the call to callback.setGreeting has no effect.
    Can anybody suggest how to work around this? Is it possible to pass the backing bean by reference? Is there a better way to achieve this callback? I appreciate that these questions might be more general Java/AppServer queries rather than JSF-specific ones - but hopefully this is something that all you JSF experts have encountered before.
    (Incidentally, I realise that what I'm doing in this example is pointless - what I'm building towards is using the ICEFaces framework to have the EJBs prod a backing bean which will in turn cause a user's browser to rerender.)
    Many thanks - any help very much appreciated!
    Alistair.

    Hi Raymond - yes, you've pretty much got that spot on: an event occurs (say receipt of a JMS message - which is spontaneous, as far as the users are concerned). As a result of that event, the client's view (in their browser) needs to be re-rendered.
    ICEFaces uses the AJAX technique to allow server-pushes, and rather than refreshing the whole page it uses "Direct-to-DOM" rendering to maninpulate the page components. If you've not come across it, and you're interested, then there are some pretty interesting demos here: http://www.icefaces.org/main/demos/ - the "chat" feature of the Auction Monitor demo (if you open it up in two browsers) is the nearest to the effect I'm looking for.
    The Auction Monitor demo uses a number of session-scoped beans, each implementing the ICEFaces "Renderable" interface, and each of which registers itself with an application-scoped bean. The application-scoped bean can thus iterate through each of the session-scoped beans and cause the corresponding browser to refresh.
    Unfortunately, in the Auction Monitor demo, the entry point is always from a browser - albeit the result is then mirrored across all connected browsers. I haven't found any examples of this processing being driven by an external event, hence my experimentation in this area!

  • I need assistance with changing language from German to English

    I need assistance with changing language from German to English. Unable to uninstall product from control panel.

    What exactly means "unable"?
    Since you mention Control Panel, I assume that you are on Windows.  Try using http://labs.adobe.com/downloads/acrobatcleaner.html

  • I need assistance with uploading pictures from mobile connection to computer

    I need assistance with uploading pictures from my mobile to my computer

    I need assistance with uploading pictures from my mobile to my computer

  • I have an iPod and an Ipad and want to use FaceTime calling from the iPod to the Ipad but it does not work. I use the same iCloud acount.

    I have an iPod and an Ipad and want to use FaceTime calling from the iPod to the Ipad but it does not work. I use the same iCloud accountedge

    Did you set up different email addresses for each device?
    iOS: Using FaceTime
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems

  • How can I turn off the phone saying "Call from" #/name when getting incoming call.

    How can I turn off the phone saying "Call from" #/name when getting incoming call before the ring tone starts?  I have a LG accolade

    I recommend checking your  prompts and alerts to turn this feature off. This may be you "Call Connect" or "Readout" alerts. Listed below are steps to update this feature. 
    With the flip open, press the Voice Command Key (on the left side of the phone).The Voice Commands feature has several settings which allow you to customize how you want to use it. Access Voice Commands, then press the Right Soft Key[Settings]. Your choices are below:
    -Confirm Choices--- Automatic/Always Confirm/ Never Confirm
    -Sensitivity--- Control the sensitivity as More Sensitive/ Automatic/Less Sensitive
    -Adapt Voice ---If the phone often asks you to repeat voice command,train the phone to recognize your voice patterns.Train Words/ Train Digits
    Prompts ---Mode/ Audio Playback/Timeout
    * For Mode, set Prompts/ Readout+ Alerts/ Readout/ Tones Only.
    * For Audio Playback, set Speakerphone or Earpiece.
    * For Timeout, set 5 seconds or 10seconds.

  • I am going crazy changing passwords that do not get recognized by the different services when it is time to use them, until I am asked to change the password again, until the next time I need to use it and it does not get recognized again. Is there any fi

    I am going crazy changing passwords that do not get recognized by the different services when it is time to use them, until I am asked to change the password again, starting the vicious cycle again: i need to use the password, it does not get recognized three times, then the system asks me to change it again, and again, and I am stuck!! Is there any fix for this "glitch?

    The first thing I would suggest is for you to go to the folder containing your catalog, using your system browser. There will be a folder that has the extension .lrdata. Delete that folder, and then try to start Lightroom. If that doesn't work, replace your catalog with your most recent backup.

  • Need to block spam calls from 201-*

    I'm getting many spam calls from numbers like 201-340-1009, but the right-ward numbers keep changing.
    I'm told this is someone mis-using (or just using) PINGER.  I'd like to just block all
    calls from 201 area code (New Jersey, not waiting for Snookie call).  Can I do this?
    If not, any other recommendations?
    Much Thanks,
    Dave

    You can also list your cell number(s) on the U.S. government's Do Not Call registry by going to https://www.donotcall.gov/default.aspx. I believe this helps, as I haven't been getting spam calls or texts (though I never got very many) after giving my registration there 31 days to become effective. If they do persist in calling, this gives you a mechanism to report them. This way you only have to register your number, not all the numbers that might be trying to call you.
    And (of course) when we go to that site we learn that "Scammers have been making phone calls claiming to represent the National Do Not Call Registry. The calls claim to provide an opportunity to sign up for the Registry." D'oh!

  • Using Jco calls from the message mapping

    can any body tell me how can we use JCO call in a message mapping if posssible with an example
    thanks and regards
    sandeep

    Hi,
    Refer the below code and weblog:
    ?     RFC lookup using JCO (without communication channel)
          /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    Notes:
    ?     Ensure that the function module is RFC-enabled.
    ?     Ensure that the parameters are passed by value and not by reference (mandatory for RFC-enabled function modules).
    IN UDF:
    Import Parameters:
    com.sap.mw.jco.*
    Code:
    Public String UOMLookup(String resultFieldName, Container container)
    JCO.Repository mRepository;
    // Change the logon information to your own system/user
    JCO.Client mConnection = JCO.createClient(
        "800", // SAP client
        "xilookup", // userid
        "test", // password
        "EN", // language
        "tsphl850", // host name
        "00" ); // system number
    // connect to SAP
    mConnection.connect();
    // create repository
    mRepository = new JCO.Repository( "SAPLookup", mConnection );
    // Create function
    JCO.Function function = null;
    IFunctionTemplate ft = mRepository.getFunctionTemplate("Z_SFLIGHT_DETAILS");
    function = ft.getFunction();
    // Obtain parameter list for function
    JCO.ParameterList input = function.getImportParameterList();
    // Pass function parameters
    input.setValue(resultFieldName, "UOMCODE" );
    mConnection.execute( function );
    String ret = function.getExportParameterList().getString( "UOMTEXT" );
    mConnection.disconnect();
    return ret;

  • I downloaded the new os7 on my Ipad mini. Now in order to use the ipad I need to use a passcode. I cannot get pass the login screen and I never set up my ipad to use a passcode. What can I do?

    I downloaded the new os7 on my ipad mini. Now in order to use the Ipad, I need to enter a passcode. I cannot get pass this screen. I did
    not set it up to use a passcode. What can I do? I am not too computer savy.

    I have the same problem. I upgraded to iOS7, entered my usual passcode when prompted in setup, and when I tried to access my iPad after installation was finished it denied my passcode. I can't connect to any internet to erase it or anything because the new iOS hasn't yet been configured to a wifi network, so I can't backup from anything either.
    When I connect the iPad to iTunes, it tells me that Find My iPad must be disabled on my iPad before backup or restore can continue - and I can't access anything beyond the lock screen of my iPad at all because it refuses to accept my passcode, so I can't get to Find My iPad.

  • Environment.Exit hangs when called from an application domain exception handler

    I've implemented a handler for exceptions not thrown in the main GUI thread of my C# WinForms application, as follows:
        AppDomain.CurrentDomain.UnhandledException  += OnUnhandledExceptionThrown;
    This handler is called from a background thread. The last statement in this handler is a call to
    Environment.Exit with the application exit code. However, the application hangs in this call. From within Visual Studio, it hangs and I'm unable to break the application; I have to use Task Manager to terminate Visual Studio. Environment.Exit
    works fine when called from the unhandled exception handler for the GUI thread. Is there a better way to terminate the application in the context of an unhandled exception thrown by a background thread?

    Are you just trying to avoid a crash? Environment.Exit can cause deadlocking if exiting in the wrong kind of scenario; if you're just trying to avoid a crash, use
    GetCurrentProcess with
    TerminateProcess to terminate your own process.  It skips the notification phases that Environment.Exit uses which prevents the common deadlock scenarios.
    WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/

  • My IPAD2 has now a little box around everything I tap.  I have tried to reset it .It is not working the same thing occurs.  I have it plugged inTo my MAC OSX and trying to back up but i am told i need to use passcode. Well I cannot get into my IPAD now.

    My IPAD has a little box around everything I tap.  I have tried to reset the IPAD 2 but to no avail.  Now I am locked out and cannot put my passcode into the Ipad2 so I cannot back up the IPAD 2 when plugged in.  It is charged ..I was reading a Foot Smart email when this occured. Help

    Sounds like you have VoiceOver (one of the accessibility features) 'on'. Try triple-clicking the home button and see if that turns it off, and if it does you can then change what a triple-click does via Settings > General > Accessibility > Accessibility Shortcut (or Triple-Click Home depending upon the iOS version).
    If that doesn't turn it off then you can either turn it off directly on the iPad (you need to use a tap-to-select and then double-tap to activate/type process and 3 fingered scrolling) to go into Settings > General > Accessibility and turn VoiceOver 'off', or you can do it by connecting to your computer's iTunes (after typing in your passcode via the tap/double-tap process) : http://support.apple.com/kb/HT4064

  • Not able to call BPEL web service using RMI call from different machine

    Hi,
    1. I have created a smiple Helloworld asynchoronous BPEL process
    2. I am able to call that BPEL process using java program (RMI call) which I have written in JDeveloper 10.1.3.3 and the java program is running in the embeded OCJ4 instance of JDeveloper sucessfully.
    3. Now I am trying to run the same Java program in my unix machine where oracle application is installed.
    4. I have set all the CLASSPATH for required jars which I have used in JDeveloper and also kept the jar file in Unix machine.
    5. The java codes are complied successfully.
    6. But when I am trying to run it , getting the following exception:
    bash-3.00$ java HelloworldAsyn
    name is Debkanta
    property file data are: {java.naming.provider.url=opmn:ormi://172.18.19.169:6003:home/orabpel, java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory, orabpel.platform=ias_10g, java.naming.security.principal=oc4jadmin, java.naming.security.credentials=welcome1}
    hello3
    java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
    at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
    at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    at HelloworldAsyn.main(HelloworldAsyn.java:64)
    at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:293)
    at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    at HelloworldAsyn.main(HelloworldAsyn.java:64)
    bash-3.00$
    I need to solve it urgently. Can anyone please help me.
    Is it relaed to some user access issue in unix?
    Thanks & Regards
    Deb
    Message was edited by:
    user587916

    actually , I have laready given print stataement for the data in the context property file that you can see in the output. Today I am also able to call the bpel process using the same java program from my DOS command promt(cmd). Don't understand why the problem is occuring in unix.
    please help.

  • How do I get songs from my old Ipod onto my Iphone? I have a new apple ID for my phone... Do I need to use my old apple ID to get songs from my Ipod to my Iphone?

    I need help getting songs from my Ipod to my Iphone. I have a different Apple ID on my ipod... I am not sure of that Apple ID. How do I figure that out? How do I get my songs to all be on my Iphone.
    I do not want to repay for songs I have already.

    Are the songs on a computer? Right mouse click on a song and on the summary page it will tell you what AppleID was used to purchase it.
    If you are going to carry on using the same computer then just plug in the iPhone and sync the information there. So you will have a copy on your iPhone and maybe different stuff on your ipod.

  • How to know Skype number is it used to call from?

    Hello,
    When someone calls my mobile phone from Skype, a random mobile phone appears as the caller ID. When he calls my house phone from a Skype, a random local phone number appears as the caller ID.
    What is the logics of that? Is it possible to determine if some phone number belongs to Skype?
    Thanks in advanced,
    Jaime

    Hi, Juanvizoso, and welcome to the Community,
    Good point!   I just checked one of my contacts from whom I receive frequent calls, and who also has multiple numbers in their profile, and noted the same thing. 
    When someone calls your Skype Number, you would indeed not be able to determine if they are calling you via the Skype account, or via the Skype Number.  This is by design and is normal, because the Skype Number simply provides a fixed (or, "land") line number for people to reach you, and you answer on Skype.
    The only work-around would be to separate out all of the numbers. 
    Kind regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

Maybe you are looking for

  • Cs3 to cs? is it possible?

    I am trying to open a cs3 file in cs. can i do that? do I need a plugin?

  • Error connecting to sensor. error loading sensor.

    Hi all, I have brand new ASA 5525-X firewall and IPS Security Services Processor ( ASA5525-IPS). There is no any configuration in both devices. I try manage the both device using ASDM-IDM. I can able to access the firewall using default management IP

  • Photoshop Elements 13 Editor workspace won't launch

    Hi, I have recently downloaded Elements 13 for my windows 8 64 bit PC. I can launch the organiser ok but when I try to launch the Editor it asks me to sign in, this then comes up with the licensing window and when I accept, I get the message launchin

  • Traversing all directories and listing all file objects

    Hi I am wondering if someone can help me out. In IFS, I would like to traverse recursively down all directories starting from a particular directory to be set by me, and collect all objects that are file objects, say in an Array of PublicObjects. How

  • After downloading the latest update I get "an unknown error occurred (-42110)

    After downloading the latest update I get "an unknown error occurred (-42110) does anyone have a clue? I can get to the store just fine. Everything seems to be playing fine. The error comes up everytime I load iTunes.