Is there a way we can notify the load balancing algorithm(RoundRobin) to choose
the target(JBoss server for invocation) which is fully started with all the
services deployed(meaning that the server is fully started with the attribute
change notification org.jboss.system.server.started).
No,
We use JAAS Authentication policy.
To explain the problem clearly,
We have a rich client developed on eclipse rcp, login to the application will
be done using this rich client. And we use client side interceptor as a load
balancer and RoundRobin as a load balancing policy.
RoundRobin load
Thanks bstansberry,
My problem is not the order the services are deployed.
Calls are hitting the jboss server from client, before my service gets
deployed. Because the interceptor does not have any knowledge whether the
service is deployed or not. (How can i tell my interceptor to forward the
What you want can't be done with any existing code. And based on what I
understand about your problem, I don't think it's the right approach anyway.
An EJB proxy and its interceptors will not know about a particular server (and
thus won't invoke on it) if the EJB isn't deployed on that server.
We use EJB, and clientside interceptor proxy for load balancing..
Can I ad a interceptor to check whether the server is full ystarted or not? and
proceed only if the server is started, other wise route to other server?.
Can this help?
View the original post :
tosaravananm wrote : We use EJB, and clientside interceptor proxy for load
balancing..
|
| Can I add a interceptor to check whether the server is fully started or
not? and proceed only if the server is started, other wise pass to other
server?.
|
| Will it work?
View the original
So you have some other service that provides security services to the EJBs?
The EJBs should express a dependency on that service (i.e. a depends element
in jboss.xml) such that they don't deploy until the security service is ready.
That will take care of your problem.
View the original post
anonymous wrote : Login to our application(where we authenticate the user from
our application), and not to the webapp(app server).
I'm sorry, I don't understand. What kind of application? Servlet-based? EJB?
What?
View the original post :
They try to log into what? A webapp?
What JBoss version are you talking about?
Generally the way to deal with this sort of thing is to have the service they
want to log into depend on your security service. If you're talking about a
webapp, in recent versions the web server connectors don't
Login to our application(where we authenticate the user from our application),
and not to the webapp(app server).
We use the JBoss-4.2.2.GA.
How do i configure the loadbalancer or from JBoss server to forward the calls
only when the server is fully started?.
View the original post :
10 matches
Mail list logo