1 Reply Latest reply on Oct 30, 2001 12:05 PM by fred

    javax.naming.NameNotFoundException plzzzz Help Me

    javaadict

      Hi !
      I am in a problem ?
      when i deploy the session bean the jboss doesnt recognize it properly
      I have made the jar as follows
      jar -cvf myjar.jar F:/j2eebook/Chapter19/Stateless/finCalc/stateless/*.class F:/j2eebook/Chapter19/Stateless/META-INF/*.xml F:/j2eebook/Chapter19/Stateless/finCalc/stateless/*.java

      When i run the client by setting all classpath
      it will through this exception

      Exception
      javax.naming.NameNotFoundException: StatelessFinancialNeedCalculator not bound at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)

      What should i do please help me.
      When i deploy the jar downloaded from the wrox site it works well and session bean's method is invoked but when i make a jar the problem occurs