Hello,
I have deployed an application onto my Orion server. In my application I 
attempt to lookup an EJB with the following code:
_______________________________________
try
{
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.ApplicationClientInitialContextFactory");
          p.put(Context.PROVIDER_URL,"ormi://localhost:8080/investor");
          Context initial = new InitialContext(p);

           //Context initial = new InitialContext();
           Object objref = initial.lookup("bnInvestor");

           InvestorEJBHome home =
               (InvestorEJBHome)PortableRemoteObject.narrow(objref,
                                            InvestorEJBHome.class);

           InvestorEJBRemote duke = home.create();
           System.out.println( "Success" );
       }catch( Exception ex )
       {
        System.out.println( "Error" );
        System.out.println( ex.getMessage() );
       }

_______________________________________
The application deploys however when this code gets executed, I receive the 
following error:

META-INF/application-client.xml resource not found

I am attaching my EAR if you would like to review. Can anyone please advise.

Thanks in advance
-Dan


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


Reply via email to