Servlet jndi lookup to remote EJB, servlet and EJB not in the same application

Hi,
I think that the subject explain my problem.
I have Oracle IAS9i 9.0.2.0.0, and JDeveloper 9.0.2.829
I have deployed and EJB in IAS9i and i want to use from the developer machines, which have JDeveloper.
how can i to do remote calls from JDeveloper?.
I have modifed the orion-application.xml, and added remote=true.
I have modifed the rmi.xml and added the hosts where the Jdeveloper placed.
Any ideas?
Thanks and cheers
P.D The app server and jdeveloper are in the same net.
if it is posible replys me to [email protected] too.

Steps to access a remote EJB from within OC4J
++++++++++++++++++++++++++++++++++++++++++++++
1) Deploy EJB application (ApplicationRemote) to remote container (REMOTE)
"java -jar admin.jar -deploy ormi://REMOTE.hostname:REMOTE.port REMOTE.username REMOTE.password -deploy -file ApplicationRemote.ear
-deploymentName ApplicationRemote"
2) Ensure that local application (ApplicationLocal) has ejb-ref tags for remote EJBs accessed (in web.xml or ejb-jar.xml)
3) Deploy to local container (LOCAL) an empty application (ApplicationEmpty) with the same name as the remote application (ApplicationRemote)
"java -jar admin.jar -deploy ormi://LOCAL.hostname:LOCAL.port LOCAL.username LOCAL.password -deploy -file ApplicationEmpty.ear -deploymentName
ApplicationRemote"
5) Deploy local application (ApplicationLocal) to local container (LOCAL)
"java -jar admin.jar -deploy ormi://LOCAL.hostname:LOCAL.port LOCAL.username LOCAL.password -deploy -file ApplicationLocal.ear -deploymentName
ApplicationLocal"
4)Restart local container
ApplicationEmpty should consist of just an application.xml file - no modules. The same file can be deployed with different application names for all the remote
applications that must be accessed.
ApplicationLocal should access the remote EJB by using the following JNDI properties
java.naming.factory.initial = "com.evermind.server.rmi.RMIInitialContextFactory"
java.naming.provider.url = "ormi://REMOTE.hostname:REMOTE.port/ApplicationRemote"
java.naming.security.principal = "REMOTE.username"
java.naming.security.credentials = "REMOTE.password"
regards
Debu Panda

Similar Messages

  • I want to burn a blu ray disc from PP CC 2014 and do not have the Encore application. Is there a way to do that?

    I want to burn a blu ray disc from PP CC 2014 and do not have the Encore application. Is there a way to do that?

    Here's a free non-Adobe solution as well.  It's definitely got a steep learning curve compared to Encore, but from my understanding so far, it may also be more capable.  (And it's still being developed, unlike Encore which is dead software.)
    Easy BD Authoring, Blu-ray Authoring and Reauthoring | DVDLogic Software

  • [TroubleShooting]Continuity Wi-Fi issue. iPhone and mac not on the same wifi network

    Ive been following this and other forums since Yosemite came out few weeks back & i can see many other people are having this issue as well.
    The issue is that I'm not able to make/receive calls on my MBP using my iPhone via continuity.
    Ive tried all of the possible solutions made here and elsewhere on how to resolve this issue. [playing about with settings and iCloud]
    When I'm at home all of the handoff and continuity features work apart from making and receiving calls. Tells me my mac and iPhone are not on the same wifi network, even though they are.
    Now, the solution?
    Now this is where tourbleshooting comes in. Ive taken my mac and to my homegirls house & all of the features worked including phonecalls, without changing anything, except?? THE ISP and the router at her house.
    Personally i live in London, Uk. At home i have sky, and my girl has TalkTalk.
    So im 99.9% sure this has nothing to do with the OS X, but rather its the ISP or the router.
    Now I'm asking for help from anyone that understands the ISP's and routers, on what kind of issue there might be. Im no computer wiz kid, but I'm guessing it could be something that has to do with the NAT type. (Call of duty on ps3 haha) At my house its moderate and my homegirls - open? could that be the issue? if so are there any router settings i can play about to see if that solves the issue?
    Thanks.
    Please only post if you know what you're talking about because i don't want anyone giving me some next instructions for my router so i end up without internet what so ever haha And whoever is having the same problem, id appreciate if you'd post on this to keep the post alive

    Hey chrisfromdc,
    If you are having an issue with your Mac being unregistered with iMessage and FaceTime, I would suggest that you troubleshoot using the steps in this article - 
    If you have difficulty activating FaceTime or iMessage - Apple Support
    Thanks for using Apple Support Communities.
    Be well,
    Brett L 

  • AVReceive2 and AVTransmit2 not work the same...HELP

    I am using AVReceive2 and AVTranmit2 in a programs I am developing. I have run the two programs as the standalones they are and I get the video or audio I send across. But in my program when the program calls up the routines it launches and only does a hand full of what it should do. It is also like the SessionListener, ControllerListener, and ReceiveStreamListener are missing. The program listens for a RTP connection to come in but it never completes the action when I know that there is a connection being attemped. The same istrue for the AVTransmit2 it does not create the RTP session that I know is supposed to go out. It is like skipping a large piece of code. Even though they are all contained correctly. If someone can give me an answer to why these two programs work out side of what I am doing and why they are not in what I am building it would be highly appreciated. ASAP I need this working by tomorrow morning. Thanks
    public CommPt(String rcvr,String sender,String rcvr2) {
            initComponents();
        //    System.out.println("start to receive signal");
       //     if (pick.equals("Receive")){
       //     at = new AVTransmit(new MediaLocator("vfw://0"),"192.168.1.101","22222",null,new MediaLocator("javasound://8000"));
       //             at.start();
       //     String argsv[]={"192.168.1.102/22222","192.168.1.102/22224"};
            avReceive = new AVReceive(rcvr);
            avReceive.start();
       /*     while((avReceive.getConnection()).equals("false")){//carlos
                System.out.println("2");//carlos
                if (!(avReceive.getConnection()).equals("failed")){//carlos
                    System.out.println("3");//carlos
                    avReceive =new AVReceive(rcvr2);//carlos
                    avReceive.start();//carlos
                    break;//carlos
                }//carlos
            }//carlos*/
          /*  if (!avReceive.initialize()) {
             System.err.println("Failed to initialize the sessions.");
             System.exit(-1);
            // Check to see if AVReceive is done.
            try {
             while (!avReceive.isDone())
              Thread.sleep(1000);
         } catch (Exception e) {}
         System.err.println("Exiting AVReceive");*/
        //    if (pick.equals("Transmit")){
                    Object stand=new Object();
                 //   System.out.println("Start Time delay");
                    try{
                        Thread.sleep(5000);
                    catch(Exception ex){
                        System.err.println(ex);
                 // System.out.println("time delay ended");
                    String [] temp2;
                    temp2=sender.split("\\ ");
                    at = new AVTransmit(new MediaLocator(temp2[0]),temp2[1],temp2[2],null,new MediaLocator("javasound://8000"));
                    at.start();
        }Edited by: Laughincrow on Nov 29, 2009 5:02 PM

    Laughincrow wrote:
    ASAP I need this working by tomorrow morning. ThanksI guess since it's tomrorow morning I shouldn't bother to comment on this thread...
    P.S. If you don't want to take the time to remove your commented-out code that makes it nigh-on impossible to see what your code is actually doing, then why would anyone want to take the time to help you?

  • Why are Bounce in Arrange and Environment not 1 & the same?

    Just wondering why (like in 8) Bouncing in the Arrange window and in the Environment are different? I noticed this again in 9, when doing stems, bouncing in the Environment (so I can solo different tracks more quickly) I was wondering why on earth LP9 was adding tracks to the Audio Bin despite the box not being ticked. I clicked on Bounce in the Arrange, and sure enough, the Add to Audio Bin button was checked.
    Does anyone know why it seems these Bounce buttons are independent of each other? The other issue is if you have a solo output (if I'm bouncing Mono) - and click on bounce in the Arrange window - it makes the file stereo (The Interleaved/Split menu is selectable) where as doing the same thing in the Environment (albeit clicking bounce on the mono output channel) Greys out that field on Split (as it should be)
    B

    Ben Collier wrote:
    Hi Erik - sorry to take so long to reply - I didn't get an email reminder - odd...
    I think they reset something on the forums, because my subscription to the forum was gone a few days ago as well, I had to subscribe again (which is not really a chore, luckily... )
    The Bnce button at the bottom of the Out 1-2 in the Environment (I don't use the mixer)
    Mixer & env mixer are the same thing, really.
    and the Bounce button at the top of the Arrange window
    Now I have to start Logic, a bounce button at the top of the Arrange window...?
    Ah, now I get it, the toolbar! (I never use that and click it away in all my projects & templates.)( That is the same command as choosing bounce from the File menu, or hitting ctrl-B (my KC for Bounce
    are not going to the same bounce window (odd I know!). I've noticed that if the Arrange-Bounce window has "Add to Audio Bin" selected and the you bounce (or press Bnce) from the Environment window, and switch "Add to Audio Bin" off in the Environment's Bouonce window - it will still add them to the audio bin because that setting is on in the Arrange Bounce window - it's driven me bonkers on many occaisions! Try it - you'll see what I mean. It's been there in 8 and it's still there in 9.
    Actually, I do not see it behave like this. Here it appears that both bounce windows are in fact identical, and that wherever the last setting was made, that becomes the setting the next time you get a bounce window, either from the Env mixer or from the Bounce command in the File menu or indeed the bounce button in the toolbar or in the 'regular' mixer. They all pop up the same window, with the last set settings still set. whether it be *Add to Audio Bin* or *Add to iTunes Library* plus all combinations of both and neither.
    I've also noticed level differences on our main rig when importing them, despite both being bounced at 96 and in realtime.
    I find it quite difficult to say this, but I think those differences have nothing to do with the method of bouncing. And it being at 96 kHz does not mean it has audibly different levels, on the contrary, a bounce at 96 is probably not discernable from one at 48, in a blind listening test.
    I'm convinced that in whatever way you give the command to bounce, it is the same process. There must be another overlooked factor responsible for those level differences. I trust you have the Normalise function Off when you bounce? And you have not changed the pan law settings between bounces? And no plugins that use some Random settings?

  • Using Notes and Oracle Client in the same application on Linux crashes

    This thread is copied from a thread of the same name under Database - General, since I cannot get any replies there.
    Could someone from Oracle PLEASE comment on this.
    Our application on Linux loads the Notes client libraries and then the Oracle client libraries. The application will crashes when connectimg to an Oracle server. This is because the T_* symbols in libnnz11.so get fixed up into libnotes.so rather than locally into libnnz11.so where the functions are defined.
    #10 0xb4779ea6 in T_malloc () from /opt/ibm/lotus/notes/libnotes.so
    #11 0xae7ca050 in CMP_reallocNoCopy ()
    from /opt/oracle/product/10.2/db_1/lib/libnnz11.so
    #12 0xae7ccf7b in CMP_OctetStringToCMPInt ()
    from /opt/oracle/product/10.2/db_1/lib/libnnz11.so
    #13 0xae7c91fd in A_X931RandomInit ()
    from /opt/oracle/product/10.2/db_1/lib/libnnz11.so
    #14 0xaec09e0d in ztcriv ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #15 0xaec09cef in ztcrbp ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #16 0xaec09ca4 in ztcr2seed ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #17 0xaec09c54 in ztcrseed3 ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #18 0xaeb40683 in ztcsh ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #19 0xaea631c4 in kpusattr ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #20 0xaea7847e in OCIAttrSet ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #21 0xb081cb9f in COCIObject::Connect ()
    from /opt/criticalpath/common/bin/libor9i.so
    We have circumvented the problem for the time being by making sure that we load the Oracle libraries before Notes, but we cannot go with that as a long term solution.
    In my opinion the Oracle library is wrongly linked since all the T_* functions are defined in libnnz11.so. When we load Oracle first, the loader debug trace shows the correct fixups. When we load Notes first, the loader trace shows the incorrect fixups. We are using dlopen(libor9i.so, RTLD_LOCAL) for Oracle and dlopen(libnotes.so, RTLD_LOCAL) for Notes. libor9i.so has a dependency on libclntsh.so.10.1.
    An opinion would really be appreciated.
    Thanks,
    John Unsworth

    Thanks again.
    We don't have an Oracle support contract because we do not use Oracle ourselves. We supply an application that synchronises data between multiple data servers and server types, of which Oracle is one and Notes is another, as well as LDAP servers and many other types.
    Producing a full resolved binary is therefore not an option since the types of data server are configured when the apploication is installed, and then the client software for each server is loaded as required.
    The end user of the application supplies the client libraries and has a support contract for the servers, in particular Oracle and Notes in this case. So the other option is for the end user to raise a ticket using his support contract, but he is reluctant to do that since he considers that this is our problem as we supply the application that is having the problem. So we are in a dead water area. We do not want to take out a support contract just to get what is an Oracle product problem resolved. I imagine that this problem is something that has not been encountered before, because our use of the client library in conjunction with other client libraries is probably unusual.
    So that is why I am hoping, without any success so far, that someone from Oracle will pick this up.

  • Iphoto and Itunes not showing the same number of photos in albums

    why does the number of photos in an iphoto album is not the same when synching my iphone.  For example, in iphoto, my "family" album has 2700 photos, but in Itunes it only shows 2675.  I have included the videos also.  Thanks

    Go to your Pictures Folder and find the iPhoto Library there. Right (or Control-) Click on the icon and select 'Show Package Contents'. A finder window will open with the Library exposed.
    Look there for the iPod Photo Cache.
    Trash it. Start iPhoto and try sync again.
    Regards
    TD

  • Digital I/O why can't I have line outs and line ins in the same application?

    I have a problem with my digital lines. I have several "write to digital line" VIs, and I also need some "read from digital line" VIs. My problem is that when I supply 5V to the line in, it doesn't register high. I checked this on a separate program, and when I did not have a "write to digital line" , the "read from digital line" was at 5V (I checked it with a multimeter). As soon as I included a "write to digital line" in the program, the input was jumping around 1.3V. What is the problem here?

    Hello,
    I apologize for the delay in responding to your question. You are writing to digital channel 0. This is the same thing as digital port 0. A port is simply a collection of digital lines. Since you are reading and writing to lines 0-7 on channel 0, the Write to Digital Line and Read from Digital Line VIs are resetting the state of the port every time they are called. I notice you have wired a 0 to the iteration count of all the write VIs, but nothing to the read VIs. To fix this problem,
    Wire a 1 to the iteration input of all the write VIs except for one. This last VI you can either wire a 0, or leave it unwired as 0 is the default.
    Wire a 1 to the iteration input of all the read VIs.
    I have m
    odified your VI in this way and attached it below. Ideally, you would want to write to a line with 0 for the iteration count only once (outside the loop). The modified VI will do it at the beginning of every loop iteration. I have tested it here and it seems to work without problems. The reason for the modification is that both the high level read and write VIs reset the port when they are called unless you wire a nonzero number to the iteration input. This effectively tells the VI that the port has been initialized and it can skip it.
    Feel free to post again if you have further questions. Happy coding,
    Grant M.
    National Instruments
    Attachments:
    dio_problem.vi ‏75 KB

  • Mail Signatures, Folder Organization, Notification and Attachments not working the same since upgrade to Mavericks

    Hi All,
    Normally very quick to do so, I’ve been hesitant to upgrade to Mavericks based on so many issues being reported with Mail + Gmail. 
    Previously Apple released a fix for these issues and I still waited a while.  This weekend I upgraded to Mavericks and Mail is definitely not working as I’d expect it. 
    Some of the things I notice include:
    1) My saved mail folders, previously in alphabetical order, are now in reverse alphabetical order and dragging them to be in a different order has no effect
    2) Previously when I clicked on a message and pressed Message > Remove Attachments the message would reappear in my inbox within a second or two, without the attachment.  Now, the message simply disappears.
    3) The little red icon no longer appears in the dock when a new message arrives
    4) For my various accounts, signatures do not appear/disappear as I select a different From account (each of my accounts has different signatures).
    Does anyone have thoughts on any of these items?
    Thanks,

    Not an answer, but a repeat ...
    I too have problem (2) -- Remove Attachment now makes the email in question disappear (in fact moving it to Archive).
    Help would be appreciated.
    (Have just moved from Lion to Mavericks.)

  • How do you get Firefox to remember the response sent to remember password for a site and then not ask the same question over and over?

    How do you get Firefox to remember the response sent to remember password for a web site and not ask over and over? The desktop version has a dialog box that you can check that says "Don't ask me this again". The mobile version doesn't. A real pain!
    Thankx

    You can switch off or uncheck the remember password in your settings :-)

  • Using both WiFi and GPRS (not at the same time!)

    When at home I want my E71 to use the WiFi, probably also when available in hotels etc. but otherwise I want to use the GPRS data conenction. There doesn't seem to be any easy way to set things up so that the E71 uses the 'best' connection.
    Am I missing something or do I always have to select the connection method manually?

    Your not missing anything, its not there. If you want to change the connection an application uses you need to do it manually each time.
    The other option is to load an application such as this one.
    http://connect.psiloc.com/
    Message Edited by twopuds on 06-Sep-2008 07:04 PM

  • Error trying to deserialize EJB HomeHandle and EJB Handle classes

    I get the following exception when I try to deserialize both a javax.ejb.HomeHandle and a javax.ejb.Handle.  I serialize and immediately deserialize within the same application using the same classloader so there are not alot of external variables that may cause the problem.  Any ideas on why I can't deserialize an ejb handle?
    The reason I am doing this is to try and get around the need to reference another application just to call a remote method in that application.  I want to serialize the remote home interface handle or the remote component interface handle and deserialize it using my local application classloader.  Does anybody know if this would work?
    #1#java.lang.ClassNotFoundException: Loader /L_service:ejb could not load class turtle.registry.SBRegistryRemoteHome
         at com.sap.vmc.core.impl.sapjvm.sharing.NativeSharedClassLoaderImpl.loadClass(NativeSharedClassLoaderImpl.java:609)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:265)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:333)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at java.io.ObjectInputStream.resolveProxyClass(ObjectInputStream.java:656)
         at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1499)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1462)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1698)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
         at com.sap.engine.services.ejb3.runtime.impl.LocalHandleDelegate.readStub(LocalHandleDelegate.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.ServerHandleDelegate.readStub(ServerHandleDelegate.java:64)
         at com.sap.engine.services.ejb3.runtime.impl.LocalHandleDelegate.readEJBHome(LocalHandleDelegate.java:101)
         at com.sap.engine.services.ejb3.runtime.impl.StatelessHomeHandleImpl.readObject(StatelessHomeHandleImpl.java:73)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1818)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1718)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
         at turtle.common.util.SerializationHelper.convertObject(SerializationHelper.java:43)
         at turtle.common.server.connect.RemoteFactory.getRemoteSAPWAS(RemoteFactory.java:206)
         at turtle.common.server.connect.RemoteFactory.getRemote(RemoteFactory.java:46)
         at turtle.common.server.connect.RemoteProxyFactory.getRemote(RemoteProxyFactory.java:99)
         at turtle.common.server.connect.RemoteProxyFactory.create(RemoteProxyFactory.java:91)
         at turtle.common.server.connect.RemoteProxyFactory.createProxy(RemoteProxyFactory.java:52)
         at turtle.server.runtime.registry.RegistryFacade.connectToRegistry(RegistryFacade.java:932)
         at turtle.server.runtime.registry.RegistryFacade.getGenericRegistryBI(RegistryFacade.java:987)
         at turtle.server.runtime.registry.RegistryFacade.unbindObjectsInProject(RegistryFacade.java:857)
         at turtle.registry.ProjectRegistrar$1$1.run(ProjectRegistrar.java:130)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:337)
         at turtle.common.security.auth.AuthenticatorBase.doAs(AuthenticatorBase.java:387)
         at turtle.registry.ProjectRegistrar$1.run(ProjectRegistrar.java:172)
         at java.util.TimerThread.mainLoop(Timer.java:512)
         at java.util.TimerThread.run(Timer.java:462)

    Has anyone been able to get this to work?  Or can anyone confirm that this is a bug?
    As a simpler test, I modified the UserManagementBean of the Car Rental example application.  I added some code in the register method that serializes and deserializes the Handle object obtained from the SessionContext.getEJBObject().getHandle() method.  The serialization completes without issue.  However, I get the same error when trying to deserialize the Handle object:
    java.lang.ClassNotFoundException: Loader /L_service:ejb could not load class com.sap.engine.examples.epf.ejb.controller.customer.UserManagementHome
         at com.sap.vmc.core.impl.sapjvm.sharing.NativeSharedClassLoaderImpl.loadClass(NativeSharedClassLoaderImpl.java:609)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:265)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:333)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at java.io.ObjectInputStream.resolveProxyClass(ObjectInputStream.java:656)
         at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1499)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1462)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1698)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
         at com.sap.engine.services.ejb3.runtime.impl.LocalHandleDelegate.readStub(LocalHandleDelegate.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.ServerHandleDelegate.readStub(ServerHandleDelegate.java:64)
         at com.sap.engine.services.ejb3.runtime.impl.LocalHandleDelegate.readEJBHome(LocalHandleDelegate.java:101)
         at com.sap.engine.services.ejb3.runtime.impl.StatelessHomeHandleImpl.readObject(StatelessHomeHandleImpl.java:73)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1818)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1718)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1917)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1841)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1718)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
         at com.sap.engine.examples.epf.ejb.controller.customer.SerializationUtils.deSerialize(SerializationUtils.java:33)
         at com.sap.engine.examples.epf.ejb.controller.customer.SerializationUtils.deepClone(SerializationUtils.java:59)
         at com.sap.engine.examples.epf.ejb.controller.customer.UserManagementBean.register(UserManagementBean.java:75)

  • How will be the weblogic-ejb-jar and ejb-jar xml for EJB Local Interface?

    Hi,
    I have one ear application which is using Stateless Session Beans. I don't have any Bean to Bean communication . At present, the client is invoking remote methods thro Home/Remote interfaces. My doubt is , shall I implement EJBLocal home/ local interface to obtain this same functionality cos, in this app, both client and EJb bean have been deployed in same JVM. Can Local interfaces only be applicable to Bean - Bean relation ship?If LocalHome/Local interfaces can be implemented in my scenario, then may I know how will be the ejb-jar.xml and weblogic-ejb-jar.xml?
    thanks and regards,
    Venkat.

    Local interfaces are for communication between ejbs and their clients when both are in the same JVM. The clients can be normal clients, jsps, servlets, and other ejbs. If the client is not in the same JVM you cannot use local interfaces even though your client is another ejb.
    Advantage of using local interface is it reduces the network overhead.
    For more information you can download Mastering Enterprise Java Beans Third Edition by Ed Roman. You can go through 45
    You can download pdf version from.
    http://www.theserverside.com/books/wiley/masteringEJB/index.tss.
    Let me know the URL of the ejb doc that you referred.
    Thanks..

  • What is the difference between ejb reference and ejb handle?

    Hi:
    I am newbie for J2EE.
    I want to know what is the difference between ejb reference and ejb handle
    from the client view and from the container view?
    Very Thanks!
    Stive

    Hi John,,
    1) Ejb Object Handle are nothing but a long lived proxy for the
    ejb object, using this handle user can disconnect from the Ejb Server/Container
    at any time
    and after some time using the same handle he can able to resume the conversational
    state
    with the server / container where he was been disconnected From.
    And there are currently two Handles , HomeHandle and Handle for EjbHomeObject
    and EjbObject
    Respectively. Both these handles have Persistent reference to the EJB Object
    2) Ejb Reference is used to lookup a bean from other Enterprise Bean
    Ejb reference is a nickname for the JNDI Location that you want to lookup a bean.
    your code will looks up a Home object via using this nickname
    and the deployer will bind the
    nickname to the JNDI location of its choice
    EJb Reference are declared in the deployment descriptor
    Regards
    Karthikeyan Gangadharan
    SIP Technologies, Chennai
    E-mail-ID : [email protected]
    "John Stive" <[email protected]> wrote:
    >
    Hi:
    I am newbie for J2EE.
    I want to know what is the difference between ejb reference and ejb
    handle
    from the client view and from the container view?
    Very Thanks!
    Stive

  • I just lost my iphone5 in a foreign country. Was not able to register it with icloud and have not installed the findmy iphone app. How can i wipe out my data remotely without these setups? Please help!

    I just lost my iphone5 in a foreign country. Was not able to  previously register it with icloud and have not installed the findmy iphone app. How can i wipe out my data remotely without these setups? Is there any good app i can use to track it? Please help!

    No, nothing you can do to track it if you did not take any measures before the loss.

Maybe you are looking for

  • External table with dos ^M char

    I have created an external table in my Oracle 9i running on Solaris. The table is based on a flatfile that sources from NT. The very last column of each line has ^M character (I think its the Dos newline char ). So if I query the last column of my ex

  • Time Machine - Log with errors

    Hi, Does anyone know what these errors (in red) mean: 00:40:28 - Starting standard backup 00:40:29 - Backing up to: /Volumes/MyBook/Backups.backupdb 00:40:32 - Event store UUIDs don't match for volume: Macintosh HD 00:40:32 - Node requires deep trave

  • Problème arrêt programme acquisition USB6009

    Je me permets de vous contacter pour un problème de programme sur lequel je bute depuis une semaine. Vous trouverez en fichier le programme sous labView 2009. Pour résumé, ce programme fait l'acquisition de trois tensions analogiques et une entrée nu

  • Splitting a PRI t1

    I have a PRI T1 coming to my AS5400. The controller T1 1/0 has the normal setup "pri-group timeslots 1-24" That creates a Voice port 1/0:0. What I need are the commands to split those 23 channels in two to be able to have two Voice ports defined. Any

  • HTML5 YouTube video vs WSJ video, Flash 16,0,0,305

    The main problem - Totally maxed out dual processor & high heat to 180F easy if running typical web feed video such as WSJ Video using Flash 16,0,0,305. Example below http://www.wsj.com/video/htc-unveils-vive-virtual-reality-headset/420CDA91-8B8E- 4A