jsp communication with ejb from different servers
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Akash_gill
Posted On:   Friday, September 7, 2001 05:28 AM

I've got ejb's running in one application server and jsp's in tomcat web server.After ejb successfull deployment I copy client jar file in tomcat server where my jsp file is residing.Now when I call jsp it is not able to find Home interface and Remote interface. How can I make my JSPs on tomcat server communicate with ejbs on other application server.

Re: jsp communication with ejb from different servers

Posted By:   shivaram_madala  
Posted On:   Sunday, September 9, 2001 11:57 PM



Hi Akash,

In most common cases, we use javax.naming.initial.context
and assign the class file name corresponding to the data source.
Besides this, we have to initialise javax.naming.provider.url to the
name of the host and port number where ever the naming service
is running like t3://localhost:7001 or something like that.

try working with this.
all the best.
ShivaRam.

Re: jsp communication with ejb from different servers

Posted By:   Anonymous  
Posted On:   Sunday, September 9, 2001 10:38 PM

hai
what i feel copy the client jar int tomcat/lib directory and keep the name in tomcat classpath also and check it.
and it should work.
About | Sitemap | Contact