Hi,
I am using the jee-jndi tag foe failover between servers as following:
<jee:jndi-lookup id="sampleBean"
jndi-name="ejb/sampleBean/remote"
cache="true"
...
Type: Posts; User: sonali.majumdar; Keyword(s):
Hi,
I am using the jee-jndi tag foe failover between servers as following:
<jee:jndi-lookup id="sampleBean"
jndi-name="ejb/sampleBean/remote"
cache="true"
...
Hi,
Please use jee-jndi tag for failover. Also ensure that the EJB's are clustered in jboss.
Hi ,
Your Spring bean(assuming stateless) has to extend from AbstractStatelessSessionBean with a @Stateless(name="<name>") annotation . it can be looked up using JNDIObjectFactoryBean or...
Hi,
I had a set of EJB's on the server side and used Spring to look up the EJB's from the client side. The problem was if the stub was being downloaded from one m/c, automatic failover to...
can you post your hbm mapping file and EventManager class ?
Thanks,
use ht.get instead of ht.load to fetch the object.
you can use SingletonBeanFactoryLocator instead for loading several ApplicationContexts .
Do you have 2 xml files that load the same spring beans ?
1. referred by beanRefFactory.xml
2. referred by WEB-INF/abc-servlet.xml
Hey Andreas, managed to solve the problem using <jee-jndi lookup> tag instead. Upgraded to Spring 2.5.5 as well. Thanks ! :)
Hey, Thanks a ton ! I solved the problem finally . Upgraded to Spring 2.5.5 and used jee-jndi lookup .
Hi Andreas, I faced the same problem with Spring2.5.5 ! I used the latest Spring 2.5.5 nightly build. I have EJB3.0 hosted in JBoss4.2.2GA. What can be the issue?
EJB instance...
Yeah, Thanks again ! I am trying failover logic in Spring .but I am in Spring 2.0.6 and using EJB3 . I read in the post
that SimpleRemoteStatelessSessionProxyFactoryBean support for EJB3 is...
Hi! Thanks again ! I tried out the following code , a very crude way of doing it . Is there a better solution ?
public class FailoverTest {
public static void main(String args[]){...
Thanks for the reply ! Is there any link where I can find examples for these configurations ?? I tried setting
<bean id="oneBean" class="org.springframework.jndi.JndiObjectFactoryBean">...
Hi ,
Thanks for your reply, I have written a sample program, for testing if it is a problem with Spring configuration or with JBoss configuration.
public class FailoverTest {
public static...
Hi all,
My program uses Spring to connect to EJB's hosted on JBoss. The EJB's on JBoss are clustered. In the Spring's configuration file, I have provided the list of JBoss IP addresses...