Plz look around this problem

hi i am very newbie to this rmi tech.
i was running a simple rmi program for demonstration and these result
C:\banking_rmi_example>java BankUser
Not Bound: java.rmi.NotBoundException: BankSystem
Exception in thread "main" java.lang.NullPointerException
at BankUser.<init>(BankUser.java:28)
at BankUser.main(BankUser.java:57)
C:\banking_rmi_example>
and when i run server it gives error like
C:\banking_rmi_example>java BankSystemServer
Failure during Name registration: java.rmi.ServerException: RemoteException occu
rred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
tion is:
java.lang.ClassNotFoundException: BankManagerImpl_Stub
Server started.
Enter <CR> to end.
plz guide me what is the cause of error

Are you sure you have the stub classes generated by rmic in the same directory as all your other classes? Also, you may want to double check your classpath & make sure the registry is in the same directory (or start the registry from within java, that way you don't need to bother running rmiregistry.exe externally)
The notbound exception is occurring on the client side because the server couldn't start up (and you're probably trying to do something with the object returned from the registry, hence the nullptr)

Similar Messages

  • I transferred my iTunes library from Window PC to MacBook pro and now I cant play songs that I purchased with an earlier ID and Password.  How can I get around this problem?'t

    I transferred my iTunes library from Window PC to MacBook pro and now I cant play songs that I purchased with an earlier ID and Password.  How can I get around this problem?

    Authorize the computer.
    iTunes Store: About authorization and deauthorization - http://support.apple.com/kb/HT1420 - and another helpful post: https://discussions.apple.com/message/17828050

  • My daughter has spitefully changed my password and has refused to tell me. I have so much medical information that I can not lose. Is there anyway to get around this problem. Please I need Help fast.

    My daughter has spitefully changed my password and has refused to tell me. I have so much medical information that I can not lose. Is there anyway to get around this problem. Please I need Help fast.

    Connect the iPod to your syncing computer and restore it via iTunes.  However, if iTunes asks for the unknown passcode you need to place the iPod in recovery mode and then restore the iPod from backup.  For recovey mode see:
    iPhone and iPod touch: Unable to update or restore
    "If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone and iPod touch software."
    Above is from:
    http://support.apple.com/kb/ht1212

  • When registering my iphone on itunes the message - the sim card insertedin this iphone does not appear to be supported - can anyone shed some light on this and tell me a way around this problem?

    when registering my iphone on itunes the message - the sim card insertedin this iphone does not appear to be supported - can anyone shed some light on this and tell me a way around this problem? the phone itself is an english phone and tried to register with a spanish sim and that message appeard, so i tried with my iphone sim which is english and the same message appeared!
    thanks

    Is the English sim from the original carrier as that is usually the message you get with a carrier locked phone.

  • HT1212 My device is disabled and I can't open/unlock it to trust the computer so I need to know how do I get around this problem please.

    My device is disabled and I can't open/unlock it to trust the computer so I need to know how do I get around this problem please. I don't mind restoring it updating anything that will work

    Follow the instructions in the support document that you linked to the forum with. See the section about not syncing. You will probably need to erase it in iCloud to be able to restore it as new. Remove the device from your iCloud account which will disable Find My iPhone.

  • Have downloaded 5s iPhone. Instructions for activating iCloud gives wrong email address to verify account. How can I get around this problem and get my phone set up with iCloud

    Have downloaded 5s iPhone. Instructions for activating iCloud gives wrong email address to verify account. How can I get around this problem and get my phone set up with iCloud

    elhoseny wrote:
    ... Instructions for activating iCloud gives wrong email address to verify account..
    The Apple ID and Password that was Originally used to Activate the iDevice is required
    If you do not have that information you will not be able to use the Device.
    Activation Lock in iOS 7  >  http://support.apple.com/kb/HT5818

  • HT1329 i have re-installed I-tunes and have a new operating system (Win 7 Pro). I now cannot sync as I-tunes says my I-Pod is already connected to a library and wants to erase my music on the I-Pod. What do i do to get around this problem?

    I have re-installed I-tunes and have a new operating system (Win 7 Pro).
    I now cannot sync as I-tunes says my I-Pod is already connected to a library and wants to erase my music on the I-Pod. What do I do to get around this problem?

    An iPod is designed to be synced with only one computer/iTunes library at a time. If you try to sync the iPod with a new/different iTunes library, iTunes on the new/different computer will replace the contents currently on the iPod with whatever is currently stored in its own library.
    If the music and content on your iPod is not in iTunes or in a backup somewhere you can use the information in this user tip from another forum member turingtest2 to help you copy this content from the Nano back to the PC and into iTunes.
    https://discussions.apple.com/docs/DOC-3991
    B-rock

  • HT5312 i forget my rescue account and my security questions how do i get around this problem?

    i forget my rescue account and my security questions how do i get around this problem?

    The Three Best Alternatives for Security Questions and Rescue Mail
        1. Use Apple's Express Lane.
              Go to https://expresslane.apple.com ; click 'See all products and services' at the
              bottom of the page. In the next page click 'More Products and Services, then
              'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
              ID security questions' and click 'Continue'. Please be patient waiting for the return
              phone call. It will come in time depending on how heavily the servers are being hit.
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.
         3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • Trying to upgrade to Maverick but my disk has Time Machine backup so it cant and will not intall. How do I get around this problem?

    I have a 13-inch MacBook Mid-2009 running on IOS X Lion and am trying to upgrade to Mavericks but after the download and starting installation the point where you choose which disk to use it says my hard drive is being used for Time Machine backups so it can not be used. I have turned off the Time Machine but do not know how to remove the backups from the hard drive. What do I do to get rid of the Time Machine backups I no longer actually need and install Mavericks? I have moved all my files to a separate terabyte hard drive but that drive does not have the GUID partition scheme to be used for installation. So I am stuck with one internal hard drive I cant use due to Time Machine and an external hard drive I cant use due to this GUID partition problem. How can I work around this and finally upgrade to Mavericks?

    Click here and follow the instructions.
    (116122)

  • TS3694 i get a error code of 3194 and can't restore my ipad because of this.what is code 3194 and how can i get around this problem. thanks.

    i am trying to restore my ipad, on itunes i get a error code 3194, consequently the ipad won't restore. How can I get around this ?.
    Thanks.

    glasstiger wrote:
    i am trying to restore my ipad, on itunes i get a error code 3194,
    3194  = http://support.apple.com/kb/ts4451
    If that Article does not resolve it... then you have a problem.
    Perhaps a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is required..
    Be sure to make an appointment first...
    Note:
    That error message may be indicative of the Device being Hacked / jailbroken.... If this is the case then you are on your own.
    Unauthorized modification of iOS... http://support.apple.com/kb/HT3743

  • Please look at this problem and give me solution

    hi all,
    iam getting this problem when i run th server
    javax.servlet.UnavailableException: Missing configuration resource for path /WEB-INF/struts-config.xml
    so, i am unable to run jsp, servlets using struts in tomcat.
    pls solve this problem
    --> i have a servlet file namd Form.java
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public class Form extends Action {
    public ActionForward execute(ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws IOException, ServletException {
    ServletOutputStream sos=response.getOutputStream();
    String fname=request.getParameter("firstname");
    String lname=request.getParameter("lastname");
    String dob=request.getParameter("dob");
    String uid=request.getParameter("uid");
    String pwd=request.getParameter("pwd");
    sos.println("First Name = " + fname +" "+lname+"<br>");
    sos.println("DOB = " + dob);
    sos.println("Username = " + uid);
    sos.println("password = " + pwd);
    String target = new String("success");
    return (mapping.findForward(target));
    -->jsp file named form.jsp
    <html>
    <body>
    exe on httpservlet
    <form action="http://localhost:8080/satish/Form">
    enter firstname <input type= "text" name="firstname"><br>
    enter lastname <input type="text" name="lastname"><br>
    enter DateofBirth <input type="text" name="dob"><br>
    enter userid <input type="text" name="uid"><br>
    enter password <input type="text" name="pwd"><br>
    <input type="submit" value="register">
    </form>
    </body>
    </html>
    and i have web.xml in F:\projects\tomcat\webapps\satish\WEB-INF
    with below contents
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>struts example</display-name>
    <description>
    Mycode
    </description>
    <!--GENERATED_JSPS-->
    <!-- JSPC servlet mappings start -->
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class> org.apache.struts.action.ActionServlet </servlet-class>
    <init-parameter>
    <name>application</name>
    <value>ApplicationResources</value>
    </init-parameter>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>action </servlet-name>
    <url-pattern>/satish/Form</url-pattern>
    </servlet-mapping>
    <!-- JSPC servlet mappings end -->
    </web-app>
    and struts-config.xml file in F:\projects\tomcat\webapps\satish
    with below contents
    <!DOCTYPE struts-config PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
    "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd" >
    <struts-config>
    <action-mappings>
    <action path="/form" type="Form" input="/form.jsp" >
    </action>
    </action-mappings>
    </struts-config>
    and run the tomcat server
    typed http://localhost/satish/form.jsp
    given the input and clicked submit button and i got
    this
    HTTP Status 404 - /satish/Form
    type Status report
    message /satish/Form
    description The requested resource (/satish/Form) is not available.
    Apache Tomcat/5.0.5

    double post:
    http://forum.java.sun.com/thread.jspa?threadID=684573&tstart=0

  • When I try to buy ibooks from my ipad, the virtual keyboard is not the same as my computer, and so as my password consists of numbers, letters and symbols my ipad keeps showing that my password is incorrect! Is there any way around this problem please?

    When I try to buy ibooks from my ipad, the virtual keyboard is not the same as my computer keyboard, and since my password consists of letters, numbers and symbols, the ipad keeps displaying "incorrect password". Is there any way around this please anybody?

    katykittenoid wrote:
    the virtual keyboard is not the same as my computer keyboard
    Are you using the virtual keyboard to input your password and you cannot see/find the characters you need on that keyboard?
    Or are you trying to use a bluetooth keyboard and pressing the printed key does not produce the right character?

  • I travel for work and use iCloud - I can not use back to my mac because i use a Verizon MiFi wireless that does not have NAT-PMP or UPnP. Does anyone know of a way to get around this problem

    I travel for work and use iCloud - I can not use back to my mac because i use a Verizon MiFi wireless that does not have NAT-PMP or UPnP. Does anyone know of a way to get around this problem

    All ISP-provided equipment is junk. You could get a decent router and connect it to the Verizon router in bridge mode. It should cost about $ 30.

  • Plz have a look at this problem

    hello
    I am getting an exception,
    Cant figure out why this is happening........any help will be appreciated
    thanks
    Exception in thread "main" java.lang.StackOverflowError
        at java.util.HashMap.get(HashMap.java:300)
        at javax.swing.UIDefaults.getResourceCache(UIDefaults.java:279)
        at javax.swing.UIDefaults.getFromResourceBundle(UIDefaults.java:271)
        at javax.swing.UIDefaults.get(UIDefaults.java:145)
        at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44)
        at javax.swing.UIDefaults.getUI(UIDefaults.java:734)
        at javax.swing.UIManager.getUI(UIManager.java:1012)
        at javax.swing.JLabel.updateUI(JLabel.java:256)
        at javax.swing.JLabel.<init>(JLabel.java:145)
        at javax.swing.JLabel.<init>(JLabel.java:216)
        at javax.swing.DefaultListCellRenderer.<init>(DefaultListCellRenderer.java:73)
        at javax.swing.DefaultListCellRenderer$UIResource.<init>(DefaultListCellRenderer.java:303)
        at javax.swing.plaf.basic.BasicLookAndFeel$2.createValue(BasicLookAndFeel.java:590)
        at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:214)
        at javax.swing.UIDefaults.get(UIDefaults.java:144)
        at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44)
        at javax.swing.UIManager.get(UIManager.java:952)
        at javax.swing.plaf.basic.BasicListUI.installDefaults(BasicListUI.java:769)
        at javax.swing.plaf.basic.BasicListUI.installUI(BasicListUI.java:862)
        at javax.swing.JComponent.setUI(JComponent.java:673)
        at javax.swing.JList.setUI(JList.java:493)
        at javax.swing.JList.updateUI(JList.java:508)
        at javax.swing.JList.<init>(JList.java:403)
        at myProject.<init>(myProject.java:11)
        at check.<init>(check.java:4)
        at myProject.<init>(myProject.java:12)
        at check.<init>(check.java:4)
        at myProject.<init>(myProject.java:12)
        at check.<init>(check.java:4)
        at myProject.<init>(myProject.java:12)
        at check.<init>(check.java:4)
        at myProject.<init>(myProject.java:12)
        at check.<init>(check.java:4)
        at myProject.<init>(myProject.java:12)
        at check.<init>(check.java:4)
        at myProject.<init>(myProject.java:12)
        at check.<init>(check.java:4)
        at myProject.<init>(myProject.java:12)
        at check.<init>(check.java:4)
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    public class myProject extends JFrame implements ActionListener{ 
            JButton search=new JButton("Search");
            DefaultListModel df=new DefaultListModel();
            public JList list1=new JList(df);
             check c=new check();
         public myProject(){       
              search.addActionListener(this);
             //test.addActionListener(this);             
         public void design(){
            //list1.setSize(442,310);
            JPanel jp1=new JPanel();
            jp1.add(search);
            //jp1.add(test);
             getContentPane().setLayout(new BorderLayout());
             getContentPane().add(list1,BorderLayout.CENTER);
             setVisible(true);
             getContentPane().add(jp1,BorderLayout.SOUTH);            
             setSize(450,180);
              //pack();    
         public static void main(String []args){
           myProject j=new myProject();         
              j.design();    
       public void actionPerformed(ActionEvent event) {
            myProject j=new myProject();
            if(event.getSource()==search){
                list1.removeAll();
              Object p[]={"hi","hello"
                df.addElement(p[0]);
                df.addElement(p[1]);
                c.testing();
    public class check {
      myProject mp=new myProject();
        public check() {
        public void testing(){
             mp.df.addElement("how");
    }

    you have the same line as an attribute of your "check" class
    the problem comes from here, you have to delete it;
    your problem is that you try to access the same instance of "myProject" in different parts of your program, but you don't know how to do it
    to "share" a unique instance, you can either use the singleton pattern, or pass the myProject instance as a parameter in the constructor of your "check" class ; this way, "mp" will always refer to the same object, whereas in your code, each time you create a new instance, you refer to a new object

  • Could a Mod take a look at this problem please - f...

    Hi,
    We've had infinity for just over a month, had several problems (see other posts) but eventually last week the broadband connection settled down nicely to a downstream of 18.5 and a line snr of 7 or so which seemed to make it stable.  Over the last two or three days the connection has gone mad again - the router keeps disconnected every few hours (sometimes less than an hour) and the maximum data range has gone between 23 and 35 downstream and now this morning to 20 downstream.  The SNR keeps fluctuating between 6.2 and 5.5 and its getting beyond a joke.  Also please see the results from the BT checker below - the first one is the usual result and the second is this mornings result - what on earth is going on.  When the infinity cabinet first went in and we were connected there were problems and three engineers said the DSLAM card had got to be replaced - bt claim no knowledge of this so has the work been done or not?  I have the phone numbers of the engineers who came (I wouldn't ring them but at least I have some proof that I'm not an out and out liar like the help desk seemed to suggest!)

    This may seem a strange question but how do I report it - last time I tried they sent a boost engineer, he knew nothing about the line card issue, wasn't interested in finding out and just said that the speed we had was what we could get (the speed wasn't an issue, its the frequent drops along with the fluctuating snr and the oddly changing max data rate none of which he was interested in answering.
    I was threatened with charges last time so how do you suggest I word the problem - its difficult explaining a complex problem to people who are very pleasant but don't really understand what you are saying.
    These are the router stats over the last 24 hours - you can see how the max data rate changes.  When the router is stable the snr is around 7 and the max data rate around 24 with the actual download of about 18 (which is fine - I'm not after super speeds just to keep that chugging along would be fine!)
    1. Product name:
    BT Home Hub
    2. Serial number:
    +068343+NQ43007883
    3. Firmware version:
    Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown
    4. Board version:
    BT Hub 5A
    5. VDSL uptime:
    0 days, 00:49:08
    6. Data rate:
    2383 / 18537
    7. Maximum data rate:
    2743 / 31705
    8. Noise margin:
    5.3 / 5.8
    9. Line attenuation:
    0.0 / 30.9
    10. Signal attenuation:
    0.0 / 25.4
    1. Product name:
    BT Home Hub
    2. Serial number:
    +068343+NQ43007883
    3. Firmware version:
    Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown
    4. Board version:
    BT Hub 5A
    5. VDSL uptime:
    0 days, 00:45:29
    6. Data rate:
    2383 / 18537
    7. Maximum data rate:
    2743 / 31813
    8. Noise margin:
    5.3 / 5.9
    9. Line attenuation:
    0.0 / 30.9
    10. Signal attenuation:
    0.0 / 25.4
    11. Data sent/received:
    4.3 GB / 84.1 MB
    12. Broadband username:
    [email protected]
    1. Product name:
    BT Home Hub
    2. Serial number:
    +068343+NQ43007883
    3. Firmware version:
    Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown
    4. Board version:
    BT Hub 5A
    5. VDSL uptime:
    0 days, 06:32:03
    6. Data rate:
    2383 / 18537
    7. Maximum data rate:
    2673 / 30689
    8. Noise margin:
    5.1 / 6.0
    9. Line attenuation:
    0.0 / 30.9
    10. Signal attenuation:
    0.0 / 25.4
    Product name: BT Home Hub
    2. Serial number: +068343+NQ43007883
    3. Firmware version: Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown
    4. Board version: BT Hub 5A
    VDSL uptime: 0 days, 07:34:30
    Data rate: 2383 / 18537
    Maximum data rate: 2717 / 33725
    Noise margin: 5.2 / 5.9
    9. Line attenuation: 0.0 / 30.9
    10. Signal attenuation: 0.0 / 25.4
    Product name: BT Home Hub
    2. Serial number: +068343+NQ43007883
    3. Firmware version: Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown 4. Board version: BT Hub 5A
    VDSL uptime: 0 days, 00:03:22
    Data rate: 2349 / 16721
    Maximum data rate: 2783 / 21126
    Noise margin: 5.6 / 6.2
    9. Line attenuation: 0.0 / 30.9
    10. Signal attenuation: 0.0 / 25.4
    . Product name:
    BT Home Hub
    2. Serial number:
    +068343+NQ43007883
    3. Firmware version:
    Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown
    4. Board version:
    BT Hub 5A
    VDSL uptime:
    0 days, 00:23:14
    Data rate:
    2383 / 18537
    Maximum data rate:
    2735 / 31506
    Noise margin:
    3 / 5.7
    9. Line attenuation:
    0.0 / 30.9
    10. Signal attenuation:
    0.0 / 25.4
    1. Product name:
    BT Home Hub
    2. Serial number:
    +068343+NQ43007883
    3. Firmware version:
    Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown
    4. Board version:
    BT Hub 5A
    VDSL uptime:
    0 days, 00:17:01
    Data rate:
    2306 / 16583
    Maximum data rate:
    2756 / 20731
    Noise margin:
    6 / 6.1
    9. Line attenuation:
    0.0 / 31.0
    10. Signal attenuation:
    0.0 / 25.5

Maybe you are looking for

  • HT2513 how do get to view the year in ical?

    I have ical on my MacOsX version 10.6.8.  New at using ical, however I'm wanting to view the year and it will only let me view, day,week,month!  help???

  • Browser slow-down with Linux Flash Player 9.0.21.78

    With more than one Flash animation/app playing, Firefox and all Gecko-based browsers (like Galeon) will grind to a halt. CPU load doesn't rise, however. The rest of the system is unaffected, only the browser seems to be running on a 16MHz 286... If I

  • Full hard drive resulting in lost photos

    Hello, Could someone please help me with this: I just imported a large batch of photos from my iphone into iphoto, iphotos said the photos were imported successfully as usual, and so I deleted the photos from my iphone. Then only after the photos wer

  • Problem to output a form through transaction f110+sp01

    hi , when i perform in se38 the program : rffoavis_fpaym with : program run date - 19.08.2009 andwith : identifiction feature - dpay3 i can see+print the form (sapscript) . but when i run transaction f110 with the same example and then go to spool by

  • Warehouse Management System suite

    Looking for information, White Paper and help on WMS suite. Any help would be greatly appreciated. Thanks Sobi Borg