HelloWorld Client on one machine calling EJB on another

Hello,
I got a very simple HelloWorld example working on my own machine using JBoss 3.0. The usual first example. I now want to be able to execute a client on my machine that connects to EJBs on a Linux machine that also runs JBoss 3.0.
I have my two jar files HelloClient.jar with my client classes and interfaces. My HelloJAR.jar with my DD and jboss.xml etc.
This is my client class with the ip of the linux machine that has my HelloJAR.jar file in the /server/default/deploy directory.
Hashtable prop = new Hashtable();
          prop.put ("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
          prop.put ("java.naming.provider.url","jnp://172.16.220.160:1099");
          prop.put ("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
          try
               Context ctx = new InitialContext(prop);
               Object obj = ctx.lookup("java:comp/env/ejb/helloworld/HelloWorld");
               HelloWorldHome home = (HelloWorldHome)javax.rmi.PortableRemoteObject.narrow(obj, HelloWorldHome.class);
               HelloWorld helloWorld = home.create();
               String str = helloWorld.sayHelloEJB("JOYCE is COOL");
               System.out.println(str);
               helloWorld.remove();
          catch(Exception e)
               e.printStackTrace();
I have placed all jars on the classpath on the linux machine. I have the HelloJAR.jar in the deploy directory on the linxu machine also. When I execute my client on my windows machine I get a NullPointerException on line 25 which is the line
               HelloWorld helloWorld = home.create();
Can someone put me ont he right track?
Thanks
Joyce

hi buddy,
i knew that u r able to execute ur ejb progrem using jboss3
i m new for ejb and i m trying to excecute simple client program
bt when i attempt to run the client class it gives the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Priorityat org.jnp.interfaces.NamingContext.<clinit>(NamingContext.java:92)at
org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingConte
xtFactory.java:42)at javax.naming.spi.NamingManager.getInitialContext
(Unknown Source)at javax.naming.InitialContext.getDefaultInitCtx
(Unknown Source)at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at finCalc.stateless.TestClient.main(TestClient.java:45)
i think i miss to include some .jar file on client classpath
i will very greatfull to u if u shares ur experience with me
thanks in advance
sachin

Similar Messages

  • How to run client from other machine in ejb

    Please help me this problem .
    When i run on local . Every thing is ok .
    But when i run from different machine , it not work .
    Although , i hava changed jnp://localhost:1099 to jnp:/xxx.xxx.xxx:1099 , xxx... this is my ipaddress .
    I am using : net bean 6.9 , j2ee 1.4 , jboss application server 4.2.3GA
    Thanks all

    Thanks jverd and gimbal2 helped me .
    I hava just write the small programme "Hello word "
    This is my code .
    I create EJB module : invokes : hello.java , helloRemote.java , helloRemoteHome.java .
    hello.java*
    package demo;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    +public class hello implements SessionBean {+
    private SessionContext context;
    +public void setSessionContext(SessionContext aContext) {+
    context = aContext;
    +}+
    +public void ejbActivate() {+
    +}+
    +public void ejbPassivate() {+
    +}+
    +public void ejbRemove() {+
    +}+
    +public void ejbCreate() {+
    +}+
    +public String getMessage() {+
    return "hello word";
    +}+
    +}+
    helloRemote.java*
    package demo;
    import java.rmi.RemoteException;
    import javax.ejb.EJBObject;
    +public interface helloRemote extends EJBObject {+
    String getMessage() throws RemoteException;
    +}+
    helloRemoteHome.java*
    package demo;
    import java.rmi.RemoteException;
    import javax.ejb.CreateException;
    import javax.ejb.EJBHome;
    +public interface helloRemoteHome extends EJBHome {+
    demo.helloRemote create()  throws CreateException, RemoteException;
    +}+
    ejb-jar.xml*
    +<?xml version="1.0" encoding="UTF-8"?>+
    +<ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">+
    +<display-name>helloword</display-name>+
    +<enterprise-beans>+
    +<session>+
    +<display-name>helloSB</display-name>+
    +<ejb-name>hello</ejb-name>+
    +<home>demo.helloRemoteHome</home>+
    +<remote>demo.helloRemote</remote>+
    +<ejb-class>demo.hello</ejb-class>+
    +<session-type>Stateless</session-type>+
    +<transaction-type>Container</transaction-type>+
    +</session>+
    +</enterprise-beans>+
    +<assembly-descriptor>+
    +<container-transaction>+
    +<method>+
    +<ejb-name>hello</ejb-name>+
    +<method-name>*</method-name>+
    +</method>+
    +<trans-attribute>Required</trans-attribute>+
    +</container-transaction>+
    +</assembly-descriptor>+
    +</ejb-jar>+
    And now , from diffrent machine . I created the web application . I have added "hello.jar" into web application .
    After , i create one servlet to call getMessage method .
    This is the code :
    test.java*
    package demo;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    +public class test extends HttpServlet {+
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    +throws ServletException, IOException {+
    response.setContentType("text/html;charset=UTF-8");
    PrintWriter out = response.getWriter();
    +try {+
    System.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
    System.setProperty(Context.PROVIDER_URL,"localhost:1099");//i hava changed localhost to my ipaddress . xxx.xxx.xxx:1099
    InitialContext cxt=new InitialContext();
    Object obj=cxt.lookup("hello");
    helloRemoteHome home=(helloRemoteHome)obj;
    helloRemote helloObj=home.create();
    out.println("<html>");
    out.println("<head>");
    out.println("<title>Servlet test</title>");
    out.println("</head>");
    out.println("<body>");
    out.println("Servlet test at " helloObj.getMessage());+
    out.println("</body>");
    out.println("</html>");
    +}+
    catch(Exception ex)
    +{+
    +}+
    +finally  {+
    out.close();
    +}+
    +}+
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
    +throws ServletException, IOException {+
    processRequest(request, response);
    +}+
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    +throws ServletException, IOException {+
    processRequest(request, response);
    +}+
    +public String getServletInfo() {+
    return "Short description";
    +}// </editor-fold>+
    +}+
    The result when i run on local : hello word
    But when i run the client from different machine , the result is : nothing appear .

  • "Links" on one machine "Favorites Bar" on another

    I have two Win8.1 x64 IE11 machines. (Not the same kind of machine, but the presently installed system software environments are very similar.) They are syncing my IE favorites via Microsoft Account. One calls the users\me\favorites folder where it stores
    Favorites Bar shortcuts "Favorites Bar". The other machine calls the exact same functional thing "Links". I've even tried deleting both folders with IE not running on either machine. Restart IE on one or the other, enable Favorite Bar toolbar
    and the disparately named folders come right back on both machines.
    Any idea why this would be and how I get them to agree what to call it? I'm suspecting some reg key somewhere.
    (I first notice this because I made the grave mistake of trying iCloud Sync. This *really* sent iCloud Sync into a ditch. What a hash that made of virtually everything it touched in IE, Outlook, Chrome, the stuff on my Mac, you name it. Turned that
    off and cleaned up the mess and am now leaving it off. The folks at Apple who wrote that obviously only ever had one PC and only ever ran one browser on it and didn't teach the Mac about their Google accounts or run Chrome.)
    <rant>It's stuff like this, and the frequent runaway scripts/crashed windows/"problem with web page"/problems rendering and interacting with way too many sites that have me just about to change my default browser to Chrome.
    It just works. IE used to. Not any more. It's become a satire of itself almost as though it finally had to live all the way down to the formerly unwarranted bad rap a lot of people have been giving it. And I've been loyal to IE since v. 1. Little wonder
    they are scrapping it and looking for new branding besides. Scary that this is easier than just fixing the code. What a furball that code must be at this point.</rant>

    When both the special folders are deleted on two machines syncing, one gets recreated called "C:\Users\myuser\Favorites\Links" and the other one on the other machine gets recreated called "C:\Users\myuser\Favorites\Favorites Bar" Both
    have the object name "C:\Users\myuser\Favorites\Links". Despite one of them showing up as ...\Favorites Bar. Why wouldn't they get created with the same file system name?
    In the test I *just* did, I renamed the "Links" version to "Favorites Bar". It promptly created a "Links" folder again. On the other machine, it now also has both an empty "...\Links" folder and a "...\Favorites
    Bar" folder with the synced shortcuts. But the IE on both now shows an empty Favorites Bar toolbar. Sigh.
    So what I tried, and what seemed to work, is turning Sync off for the One Drive|Other Settings|Web Browser on both machines, then deleting all the Favorites Bar and Links folders on both with no IE instances running. Start IE on both machines. Each creates
    a "...\Favorites Bar" folder, not hidden, not System, but Object Name "...\Links". Turn back on syncing and all appears to work and now they agree on the file system name.
    Conclusions/data points:
    1) If IE creates the Links special folder it names it "...\Favorites Bar" even though it's a Links special folder, if Sync creates the Links special folder it names it "...\Links".
    2) IE can use either file system name for the same purpose, presumably because under the covers they are both the Links special objects.
    3) Don't count on this folder being set System or hidden. Maybe it's supposed to be, but that's not how IE created them just now.
    4) While syncing, setting one to hidden and all its object to hidden not only results in an empty Favorites Bar, it results in the other machine having an empty Links special folder file system named ..\Links. I haven't tried setting one to System. Too much
    fun for one night.

  • Calling EJB from another EJB

    I need to make a several calls to the methods inside EJB1 from EJB2. I was getting
    the remote reference of the EJB2 inside the ejbCreate() of the EJB1, is it a good
    practice ?? If not, do I need to get remote reference of the EJB2 every time I
    need to call EJB2 method??
    Thanks in advance.

    To refer a Ejb from another Ejb include <ejb-ref> in ejb-jar.xml
    <session>
    <ejb-name>Ejb1</ejb-name>
    <ejb-ref>
    <ejb-ref-name>Ejb2</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <home>com.ejb.Ejb2Home</home>
    <remote>com.ejb.Ejb2</remote>
    </ejb-ref>
    <session>
    Include a <reference-discriptor> in weblogic-ejb-jar.xml
    <weblogic-enterprise-bean>
    <ejb-name>EjbSession</ejb-name>
    <reference-descriptor>
    <ejb-reference-description>
    <ejb-ref-name>Ejb2</ejb-ref-name>
    <jndi-name>com.ejb.Ejb2Home</jndi-name>
    </ejb-reference-description>
    </reference-descriptor>
    </weblogic-enterprise-bean>
    In Ejb1 bean class refer to Ejb2 method with a remote reference to Ejb2.
    InitialContext initialContext = new InitialContext();
    Ejb2Home ejb2Home = (Ejb2Home)initialContext.lookup("com.ejb.Ejb2Home");
    Ejb2 ejb2 = ejb2Home.findByPrimaryKey();
    Alex Pratt wrote:
    I need to make a several calls to the methods inside EJB1 from EJB2. I was getting
    the remote reference of the EJB2 inside the ejbCreate() of the EJB1, is it a good
    practice ?? If not, do I need to get remote reference of the EJB2 every time I
    need to call EJB2 method??
    Thanks in advance.

  • Multiple servers and multiple clients on one machine

    Hi,
    I was hoping someone could give me some direction as to how to go about creating multiple servers and muliple clients on the one computer using RMI and threads. I intend to have say 4 servents (able to perform both client and server methods) running on the one computer, with the clients being able to connect to each of the servers. (I'm doing this to emulate using 4 computers, which I don't have!). I know I have to use different ports to do this. How do I go about the following using RMI - start up a server (port number as argument from command line?), which starts a thread listening for connections from the other clients.. when a new connection is established between server and client, then start a new thread which 'handles' that connection.
    The examples I've seen of RMI only deal with single server and single client... I'd appreciate any suggestions as to how to go about this problem!!

    Hi,
    I suggest not to use the rmiregistry program at all
    but to start the registry in a program of your own.
    Then you can specify all you need (url, port, even
    client and server socket) as command line argument.
    You need something like this:
    Registry registry = null;
    Remote server = null;
    try
    { // this succeeds if the registry already runs
      registry = LocateRegistry.getRegistry(yourRegistry);
      server = registry.rebind( yourServer );     
    }catch( RemoteException )
    { // no registry reachable, create one
      registry = LocateRegistry.createRegistry(yourRegistry);                 
      server = registry.rebind( yourServer );     
    }Have fun,
    wiedkla

  • Error installing ODB+OBIEE in one machine and OWB in another one

    Hello,
    I have two machines with Oracle Linux 5:
    Machine 1 --> Oracle Linux 5 (64 bits) + Oracle DB 11g R2 + OBI 11g R1
    Machine 2 --> Oracle Linux 5 (32 bits) + I would like to have here OWB 11g
    To install OWB in the machine 2 to have access to ODB in the other machine I have followed:
    http://download.oracle.com/docs/cd/E11882_01/owb.112/e17130.pdf --> Chapter 4: Configuring Oracle Warehouse Builder for Linux (I have done these steps over Machine 1):
    @/u01/app/oracle/product/11.2.0/dbhome_1/owb/UnifiedRepos/cat_owb.sql USERS
    @/u01/app/oracle/product/11.2.0/dbhome_1/owb/UnifiedRepos/reset_owbcc_home.sql/u01/app/oracle/product/11.2.0/dbhome_1/owb
    alter user owbsys identified by owbsys account unlock;
    alter user owbsys_audit identified by owbsys_audit account unlock;
    @/u01/app/oracle/product/11.2.0/dbhome_1/owb/UnifiedRepos/remote_owb_install.sql /u01/OWB_RemoteOver Machine 2 I have tried to create the repository:
    /reposinst.shBut in the section "Creating first workspace in the Repository on Linux" in the "OWBSYS Information" screen I have the following error:
    "*El software OWB con la versión compatible se debe instalar localmente en la máquina servidor de base de datos. Si ya está instalado, obtenga las credenciales de usuario de DBA y ejecute el script SQL owb/UnifiedRepos/remote_owb_install.sql. en la máquina servidor de bases de datos. Esto creará un directorio de bases de datos denorminado 'OWB_REMOTE_ADMIN' al que accederá la instalación remota para leer el directorio de servidores de datos OWBHOME/owb/bin/admin. Vuelva a iniciar el Asistente de Respositorios o ejecute el comando de script OMBSEED de OWB para iniciar el repositorio*"
    (OWB with Software-compatible version should be installed locally on the server machine database. If already installed, obtain the user credentials and run the script DBA SQL OWB / UnifiedRepos / remote_owb_install.sql. on the server machine database. This will create a database directory denorminado 'OWB_REMOTE_ADMIN' that will access the remote installation to read the data directory server OWBHOME / OWB / bin / admin. Start the Wizard repositories or run the script command to start OMBSEED of OWB repository)
    Is necessary to install OWB before to run reposinst.sh? Because I can't:
    Error al llamar al destino 'ntcontab.o' del archivo make '/home/oracle/product/11.1.0/OWB/network/lib/inst_net_client.mk'.
    (Failed to call destination 'ntcontab.o' of makefile '/ home/oracle/product/11.1.0/OWB/network/lib/inst_net_client.mk'.)
    I am not about the procedure to follow to install OWB in a different machine over a DB that isn't in local machine.
    I aprreciate any idea to solve it.
    Thank you in advance.
    Regards,
    Mónica.

    Hello,
    I have two machines with Oracle Linux 5:
    Machine 1 --> Oracle Linux 5 (64 bits) + Oracle DB 11g R2 + OBI 11g R1
    Machine 2 --> Oracle Linux 5 (32 bits) + I would like to have here OWB 11g
    To install OWB in the machine 2 to have access to ODB in the other machine I have followed:
    http://download.oracle.com/docs/cd/E11882_01/owb.112/e17130.pdf --> Chapter 4: Configuring Oracle Warehouse Builder for Linux (I have done these steps over Machine 1):
    @/u01/app/oracle/product/11.2.0/dbhome_1/owb/UnifiedRepos/cat_owb.sql USERS
    @/u01/app/oracle/product/11.2.0/dbhome_1/owb/UnifiedRepos/reset_owbcc_home.sql/u01/app/oracle/product/11.2.0/dbhome_1/owb
    alter user owbsys identified by owbsys account unlock;
    alter user owbsys_audit identified by owbsys_audit account unlock;
    @/u01/app/oracle/product/11.2.0/dbhome_1/owb/UnifiedRepos/remote_owb_install.sql /u01/OWB_RemoteOver Machine 2 I have tried to create the repository:
    /reposinst.shBut in the section "Creating first workspace in the Repository on Linux" in the "OWBSYS Information" screen I have the following error:
    "*El software OWB con la versión compatible se debe instalar localmente en la máquina servidor de base de datos. Si ya está instalado, obtenga las credenciales de usuario de DBA y ejecute el script SQL owb/UnifiedRepos/remote_owb_install.sql. en la máquina servidor de bases de datos. Esto creará un directorio de bases de datos denorminado 'OWB_REMOTE_ADMIN' al que accederá la instalación remota para leer el directorio de servidores de datos OWBHOME/owb/bin/admin. Vuelva a iniciar el Asistente de Respositorios o ejecute el comando de script OMBSEED de OWB para iniciar el repositorio*"
    (OWB with Software-compatible version should be installed locally on the server machine database. If already installed, obtain the user credentials and run the script DBA SQL OWB / UnifiedRepos / remote_owb_install.sql. on the server machine database. This will create a database directory denorminado 'OWB_REMOTE_ADMIN' that will access the remote installation to read the data directory server OWBHOME / OWB / bin / admin. Start the Wizard repositories or run the script command to start OMBSEED of OWB repository)
    Is necessary to install OWB before to run reposinst.sh? Because I can't:
    Error al llamar al destino 'ntcontab.o' del archivo make '/home/oracle/product/11.1.0/OWB/network/lib/inst_net_client.mk'.
    (Failed to call destination 'ntcontab.o' of makefile '/ home/oracle/product/11.1.0/OWB/network/lib/inst_net_client.mk'.)
    I am not about the procedure to follow to install OWB in a different machine over a DB that isn't in local machine.
    I aprreciate any idea to solve it.
    Thank you in advance.
    Regards,
    Mónica.

  • DVD-R plays on one machine but not on another

    I have an HDD-DVD recorder, which can burn DVD-R disks. The disks will then play in my 12" PB, but won't play in my iMac - although they did at one time. Putting the disk in results in a repetitive clicking and whirring but the disk does not appear on the Desktop of the iMac, and Disk Utility will not recognise it. Commercial DVDs are recognised OK.
    Both machines are running the same version of OS.
    Thanks!

    Not sure, maybe if you can share the form, I can have a look at it.

  • Create text on one machine and import to another

    I have a question re: workflow using more than 1 machine with FCP 5.0.
    Can I create text files on one FCP machine and then import to another?
    Can anyone please advise to what the workflow might be? For eample, where and what media files would need to move to have the text appear properly in the project on Machine #2.
    I hope this is clear. Thanks in advance for the advice.
    G5   Mac OS X (10.4.1)  

    Since the grump is on a self imposed holiday ....
    While waiting for someone to tell you how to do this, you could simply do it.
    create a text file. Pay attention to FCPs scratch and default file locations, go there and look for a file that might be useful, copy it to your second computer in the same relative location and see if it works. If so, you have something to tell us. If not, try again.
    Here's your chance to be a pioneer, a leader. Carpe Diem!
    cheers,
    x
    Do your part in supporting your fellow users. If a response has been Helpful to you or Solved your question, please mark it as such as an aid to other lost souls on the forum.
    Also, don't forget to mark the thread Answered when you get enough information to close the thread.

  • "no photo" on one machine, all there on another

    I have iphoto 7.1.5 on two machines. My main machine suddenly launches an empty iphoto window that says"no photos" at the bottom. This is very scary since it should show 15,000+. But if I copy this now "empty" iphoto library to another machine also running 7.1.5, it launches and displays perfectly.
    My daughter unplugged the main mac while it was doing a software update and that's when this all started. So I made sure the iphoto was up to date on the main machine but it still won't display any photos there. Thank God I have them backed up on an external HD but I can't get them to work on the main machine. What should i do?

    try launching iPhoto while depressing the option (alt) key and repointing iPhoto to the iPhoto library - it may have created a new library that is empty and you may be looking at that
    Note that double clicking on an iPhoto library does not launch that library - it launches iPhoto which uses the library it last opened - which may or may not be the one you double clicked on
    LN

  • Can a movie digital copy download on one machine be downloaded onto another with the same iTunes account at no cost?

    just went through my entire blu-ray library and more than half of them had a digital copy. Is it possible that since you need to sign in with your itunes account in order to redeem the code to download be considered a purchase? Being that iTunes in the cloud is available, i should be able to log in with the same account on my macbook pro and download the movie so that it is on my backup machine. In this case i have them all backed up to my iMac which streams to my apple tv.

    A computer can sync a dozen iPods and/or iPhones (just saying).
    However, You can't use more than one computer for that iPhone.

  • Call ejb from another class?

    there are some codes form someone I dont understand, can anyone help me out ?
    the class Call will run on the same VM as the CMP entity bean Subscriber. what I am not sure is the call in method f2() , i.e. s.setName() will really wirte data to databank, since the lookup was done in getScriber(), and not visible in f2()!
    Am I right ?
    public class Call {
    pubic void f1(){
    Context jndiContext = new InitialContext();
    public void f2 (){
    Subscriber s = getSubscriber(); // 1
    s.setName(); // 2
    private Subscriber getSubscriber(){
    SubscriberHome sHome = (Subscriber)jndiLookup("SubscriberEJB"); // 3
    Subscriber sb = sHome.fineByPrimaryKey(1);
    }

    call in method f2() , i.e. s.setName() will really
    wirte data to databank, since the lookup was done in
    getScriber(), and not visible in f2()!Can't say this for sure, unless I have a look into the setName() method. It doesn't seem to be taking any argument, and that's certainly not the same as setName(String name). It might be actually doing something meaningful. Better take a closer look.
    public class Call {
    pubic void f1(){
    Context jndiContext = new InitialContext();
    public void f2 (){
    Subscriber s = getSubscriber(); // 1
    s.setName(); // 2
    private Subscriber getSubscriber(){
    SubscriberHome sHome =
    (Subscriber)jndiLookup("SubscriberEJB"); // 3
    Subscriber sb = sHome.fineByPrimaryKey(1);
    }Rich.

  • Setting up IPad on one machine for use on another

    Next week my wife and I celebrate our Ruby aniversary and I am surprising her with an IPad2 on to which I hope to put a video-card that my Daughter in Law has compiled and edited.  That last bit is relatively easy, the hard bit is getting the Ipad synched with my wife's three other apple devices without her knowing.  For the record she has a MacPro, a Macbookpro and an IPhone (3GS) all of which are in use at some time during the day.  The 'normal' way is to attach the Ipad to the user's machine and to set it up for them, but if I do that then I know that she will see a confirmation mail from Apple - she rarely leaves her machines outside of
    How do I do this so that she won't know until she opens the IPad box?
    I too have three Apple devices - Ipad2, Macbookpro and IPhone (4). 
    So, for example, can I synch and upgrade the IOS on my macbookpro then change the identity just before I give it to her or is there some other way.  BTW we both have me.com accounts too - quite an orchard what!  I would like to get it set up and to test that the video runs ASAP, so your help and guidance would be cratefully received.
    Uncle H

    Yes. Let the user configure on the user's machine and not on a different computer.

  • Checkbox event in one mxml calling function in another mxml

    If you have multiple mxml files to break out the components,
    how can you have an event on the main application (like a checkbox)
    activate a function in the scripting on another?
    thanks

    Set up a listener on the component. See addEventListener() in
    the docs.
    Tracy

  • How to connect to an Oracle database on one machine from another client machine?

    I installed oracle database 11g (server and client) on one machine. It works perfectly. Then I installed oracle client (ODTwithODAC1120320) in another machine. Now I want to connect to the database of the previous machine. I tried to connect but It failed. I think .ORA files should be configured. What should I do to fulfill this.
    thanks...

    thank you for the quick response..
    this link Installing Oracle Database Client for oracle client installation. But the content refers all oracle database installation. could you please get know me that oracle client means only the OdtWithODAC or some thing else? This link Installing Oracle Database Client explain but not the OdtWithODAC. Please let me know clearly.
    Please let me know the exact name of the software that I should download from the oracle website that refers the oracle database client.
    thanks
    Priyashantha hp

  • The version of OLE on the client and server machines does not match. (Exception from HRESULT: 0x80010110)

    Hi,
    I have installed FIM CM Client on one machine and FIM CM update service on another machine. Both are windows server 2008 r2 machines.
    When i try to enroll a permanent smart card for a user, its shows me the following error:-
    The version of OLE on the client and server machines does not match. (Exception from HRESULT: 0x80010110)
    Also there is no logging done for the particular event.
    I am able to change my smart card pin and view my smart card info. through the FIM CM client. 
    Is there a compatibility issue of FIM CM 2010 with Windows server 2008 r2?
    Thanks

    Hi,
    Sorry for the delay in reply.
    Please try the following steps first:
    Open Powershell as Administrator
    Go to Start--> Run and type wbemtest.exe.
    •Click Connect. 
    •In the namespace text box type "root" (without quotes).
    •Click Connect.
    •Click Enum Instances…
    •In the Class Info dialog box enter Superclass Name as "__ProviderHostQuotaConfiguration" (without quotes) and press OK. Note: the Superclass name includes a double underscore at the front.
    •In the Query Result window, double-click "__ProviderHostQuotaConfiguration=@"
    •In the Object Editor window, double-click HandlesPerHost.
    •In the Value dialog, type in 8192
    •Click Save Property.
    •Click Save Object.
    Under properties find the property "MemoryPerHost" or any other ones you need to modify  and double click it
    Change the value from 512 MB which is 536870912 to 1GB which is 1073741824
    Click Save Property
    Click Save Object.
    •Close Wbemtest.
    •Restart the computer.
    And if all nodes are Windows server 2012, install the following update rollup as well:
    Windows RT, Windows 8, and Windows Server 2012 update rollup: August 2013
    http://support.microsoft.com/KB/2862768
    If you have any feedback on our support, please send to [email protected]

Maybe you are looking for

  • Problems with Halo Combat Evolved on mac mini server with HD3000 graphics

    There is frequent flickering of certain elements in the game (ie. background) and certain elements such as weapons are not rendered at all. This happens sporatically and not in a predictable manner. Does any body have any idea what is going on? I rea

  • Javascript to print slide AND hide playbar

    Hi all, I know I can use the simple javascript window.print() to print a slide, but when I do that it also prints the print button and playbar. Is there a way - I'm sure there is, I just don't know how.... to hide the playbar, hide the print button,

  • Dualscreen Samsung Syncmaster 204b

    Hello Forum. I've just got my mac mini which should be used for music. This means I would like to have dual monitor. I have 2 Syncmaster 204B which have worked perfectly with my PC. Now I bought a Mac Mini -  I'm trying to connect abd setup dualscree

  • What can i do for this scenario

    Oracle Forms 6i Hai All I am generating an daily attendance forms for a company.My table consist of fields are Name var, Empcode number , Intime date , Outtime date , Working_Hrs number ,Extra_Hrs number , Late_time number and Etc. So i have created

  • FF 13 on Win7 -- history does not show

    No history showing for FF13/Win7 ... all settings under options are to allow History. But history totally blank. Bookmarks are fine.