Greetings People !

Your are my last hope.I have been writing for one week  to orion support,
but I haven't get any response.
My problems are the following:

1.)I generated an .ear file (banesco.ear), using the J2EE tool, but I'm not
sure that I did well, so could you explain me step by stepy how could I
generat the .ear successfully with Orion gui tool.

2.)Using the .ear file that I generated I got the following mistake:
java.lang.securityException:Invalid username/password for banesco()

My client code is:

        mProperties = System.getProperties();
       
mProperties.put("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
       
mProperties.put("java.naming.provider.url","ormi://netserver/banesco");
        mProperties.put("java.naming.security.principal","admin");
        mProperties.put("java.naming.security.credentials","123");
        System.setProperties(mProperties);

       Context ctx = new InitialContext();
       System.out.println("Creado intial Context");
       Object objref = ctx.lookup("DateCalendar");
       IDateCalendarHome datehome =
(IDateCalendarHome)PortableRemoteObject.narrow(objref,      
IDateCalendarHome.class);
       IDateCalendar iDate = datehome.create();
        idate.getDateValue();

I don't know what's the error.


Thank for your help

Michel

Bye











_______________________________________________________
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html


Reply via email to