RE: [Re: AW: Stand-alone-client]
("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFac tory"); Should be: ("java.naming.factory.initial","com.evermind.server.ApplicationClientInitial ContextFactory"); /korre -Original Message- From: mohan krishna [mailto:[EMAIL PROTECTED]] Sent: den 19 januari 2001 10:11 To: Orion-Interest Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Re: AW: Stand-alone-client] Hi, Will u please give the code i have to embed in my satand-alone application..to access EJBs which r running under Orion... and what r the files i have to modify to run this application... this is the code i embed in my application to get the connection... Properties props = new Properties(); props.put("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialC ontextFactory"); props.setProperty("java.naming.provider.url","ormi://localhost/nbiz1"); props.setProperty("java.naming.security.principal","adminops"); props.setProperty("java.naming.security.credentials","thunderbird"); InitialContext ic = new InitialContext(props); Object objref = ic.lookup("niagabiz.member.temp.TempMemberEJB"); if u run this code i am getting look up error: java.net.ConnectException:connection refused:no further information this is the class path i set... set classpath=c:\jdk1.3\lib; C:\jdk1.3\jre\lib\ext\orion.jar;C:\jdk1.3\jre\lib\ext\ejb.jar;C:\jdk1.3\jre\ lib\ext\jndi.jar; set path=c:\jdk1.3\bin; any one can help me to sort out this problem... any help will be appreciated... Thankz MohanKrishna Get free email and a permanent address at http://www.netaddress.com/?N=1
Re: [Re: AW: Stand-alone-client]
Hi, Will u please give the code i have to embed in my satand-alone application..to access EJBs which r running under Orion... and what r the files i have to modify to run this application... this is the code i embed in my application to get the connection... Properties props = new Properties(); props.put("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory"); props.setProperty("java.naming.provider.url","ormi://localhost/nbiz1"); props.setProperty("java.naming.security.principal","adminops"); props.setProperty("java.naming.security.credentials","thunderbird"); InitialContext ic = new InitialContext(props); Object objref = ic.lookup("niagabiz.member.temp.TempMemberEJB"); if u run this code i am getting look up error: java.net.ConnectException:connection refused:no further information this is the class path i set... set classpath=c:\jdk1.3\lib; C:\jdk1.3\jre\lib\ext\orion.jar;C:\jdk1.3\jre\lib\ext\ejb.jar;C:\jdk1.3\jre\lib\ext\jndi.jar; set path=c:\jdk1.3\bin; any one can help me to sort out this problem... any help will be appreciated... Thankz MohanKrishna Get free email and a permanent address at http://www.netaddress.com/?N=1
Re: [Re: AW: Stand-alone-client]
Hi, Will u please give the code i have to embed in my satand-alone application..to access EJBs which r running under Orion... and what r the files i have to modify to run this application... this is the code i embed in my application to get the connection... Properties props = new Properties(); props.put("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory"); props.setProperty("java.naming.provider.url","ormi://localhost/nbiz1"); props.setProperty("java.naming.security.principal","adminops"); props.setProperty("java.naming.security.credentials","thunderbird"); InitialContext ic = new InitialContext(props); Object objref = ic.lookup("niagabiz.member.temp.TempMemberEJB"); if u run this code i am getting look up error: java.net.ConnectException:connection refused:no further information this is the class path i set... set classpath=c:\jdk1.3\lib; C:\jdk1.3\jre\lib\ext\orion.jar;C:\jdk1.3\jre\lib\ext\ejb.jar;C:\jdk1.3\jre\lib\ext\jndi.jar; set path=c:\jdk1.3\bin; any one can help me to sort out this problem... any help will be appreciated... Thankz MohanKrishna Get free email and a permanent address at http://www.netaddress.com/?N=1