dcsimg
cant call remote ejb on sun appserver inside a domain
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   serhat_t
Posted On:   Monday, May 21, 2007 05:29 AM

hi; when i deploy application client module on sun appserver installed on a machine outside domain it can be download and started with web start. but when i deployed on sun on the machine inside a domain it can be download but cant be run. application client fails when lookup ejb. i use java 1.5 when i call ejb i use code block InitialContext ic = new InitialContext(); ic.lookup("ejb/myejbref"); MyEjbRemoteHome myEjbRemoteHome = (MyEjbRemoteHome ) getRemoteHome(jndiName, MyEjbRemoteHome.class); myEjbBusiness = (MyEjbBusiness) myEjbRemoteHome.create(); is there any specific    More>>

hi;

when i deploy application client module on sun appserver
installed on a machine outside domain it can be
download and started with web start. but when i
deployed on sun on the machine inside a domain it can
be download but cant be run. application client fails
when lookup ejb.


i use
java 1.5

when i call ejb i use code block

			
InitialContext ic = new InitialContext();

ic.lookup("ejb/myejbref");


MyEjbRemoteHome myEjbRemoteHome = (MyEjbRemoteHome ) getRemoteHome(jndiName, MyEjbRemoteHome.class);

myEjbBusiness = (MyEjbBusiness) myEjbRemoteHome.create();



is there any specific code to cover this problem or any configuration to the appserver?


thnks for any help...    <<Less
About | Sitemap | Contact