Hello.
   Preface: We are developing an application, consisting of number of services, a web interface, and a couple of servlets.
 
   Q1: We wish to use a number of Orion servers. However we need to cluster them, to empower the processor boost. As far as I know clustering is made for the web apps only. That does not count. We may use non-clusterable Web App. However we need to cluster the EJBs. Some of them are deployable on multiple machines, others are server-type ejbs, that HAVE to run in one place only. I was unable to start RMI clustering either way. Exceptions, hang-ups... Tough problem. THE QUESTION: How do I cluster RMI interfaces of a number of Orion servers. Is that enough to receive different ejb home interface, when I look-up an EJB? If not, how do I do that? I mean: Lets say we have 10 Orion servers:
   1. Web App server. For the servlets, jsps and so on. HTTP documents are put on an Apache web server. That's one.
   2..9. EJB servers. They have some 10 EJBs, to perform different tasks. they do not have to be on all machines.
   10. sEJB server. These are some EJBs that perform server-type services. Access to different data-sources(not a java Data Source, but rather application specific non database data). They are deployed on one place only.
 
   I wish to be able to contact any ejb from any other on the cluster.
   How Do I Do That?
 
   Q2: <TECHNICAL> Is there a way to reset the InitialContextFactory?
   Problem: Some time ago I was lit a light about the RMIInitialContextFactory. It worked fine, until I came upon a situation, where I had to connect to services (EJBs) on a different machine, with a different provider URL, username, password. Well. In 3 words: It doesn't work! It still continues to use the prime connection. The same URL, user and password. And that's NOT good at all... I need to switch! the app continues on and on.
   Also: I have an EJB deployed on one Orion. I tried to connect to a different EJB on a different machine. OK. Then again not :(. I deployed the second EJB on the first Orion. Later when I try to connect to the other machine I connection to the local deployment. Why is that?
 
   Sorry, if these seem too dumb, or somehow unneeded, but I need to do this :(
 
   Please help. I like Orion much. I really wish to be able to run everything smoothly. Until now ISA worked fine, but it's slower, has some problems with the EJB-2-EJB connection and is EXPENSIVE! I really would like to run on Orion.
 
   Looking forward to hearing from you all.
 
   Lachezar Dobrev.
   May the shade of the tree strengthen you.

Reply via email to