-
1. Re: Clustering EJB3 JBoss 4.0.3
amenra Aug 2, 2005 6:20 AM (in response to amenra)Does nobody have a quick hint on this issue? Perhaps we should integrate the ejb3 beta into a packaged 4.0.3 JBoss?
-
2. Re: Clustering EJB3 JBoss 4.0.3
depl20982 Aug 12, 2005 6:43 PM (in response to amenra)Hi i´m having the same problem.
I installed the jboss-4.0.3RC1-installer.jar with the predefined option (all).
I compiled the example of clustering from the jboss-EJB-3.0_RC1 tutorial, and then I deployed it.
When I deploy the component, I got this error.--- MBeans waiting for other MBeans ---
ObjectName: jboss.j2ee:service=EJB3,name=org.jboss.tutorial.clustering.bean.SessionBean
State: FAILED
Reason: java.lang.RuntimeException: java.lang.TypeNotPresentException: Type org.jboss.ha.framework.interfaces.LoadBalancePolicy not present
ObjectName: jboss.j2ee:service=EJB3,name=org.jboss.tutorial.clustering.bean.StatefulBean
State: FAILED
Reason: java.lang.RuntimeException: java.lang.TypeNotPresentException: Type org.jboss.ha.framework.interfaces.LoadBalancePolicy not present
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.j2ee:service=EJB3,name=org.jboss.tutorial.clustering.bean.SessionBean
State: FAILED
Reason: java.lang.RuntimeException: java.lang.TypeNotPresentException: Type org.jboss.ha.framework.interfaces.LoadBalancePolicy not present
ObjectName: jboss.j2ee:service=EJB3,name=org.jboss.tutorial.clustering.bean.StatefulBean
State: FAILED
Reason: java.lang.RuntimeException: java.lang.TypeNotPresentException: Type org.jboss.ha.framework.interfaces.LoadBalancePolicy not present
I downloaded the last EJB3 release (from August 4) and patched my JBoss and still got the problem,
Does anyone know about this problem?
Do I need to activate any option or download any file?
Thanks in Advance -
3. Re: Clustering EJB3 JBoss 4.0.3
kabirkhan Aug 16, 2005 4:21 AM (in response to amenra)I've not tried the installer myself, but when starting jboss are you sure you start it with the all config?
$cd jboss-4.0.3RC1/bin
$run -c all
Also does the JBOSS/server/all/lib folder contain jboss-ha.jar? -
4. Re: Clustering EJB3 JBoss 4.0.3
depl20982 Aug 22, 2005 12:57 PM (in response to amenra)Thanks for your help
The problem is that the autoinstaller jar only includes the "default" configuration for Jboss, and clustering needs the "all" configuration.
I downloaded the Zip file, and patched it with the last EJB3 distribution.
After that, my EJBs deploy ok, but now I'm getting problems with the load-balancing and fail-over features, that I couldn't maka them work.
I started up two Jboss in the same partition, and I ran a single client (clustering example from ejb3 tutorial) and the calls are always handled by a single server, and if I stop it the client fails inmmediately without making fail-over to the other server.
This is my jndi.propertiesjava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=dev-diegop:1100,dev-franciscor:1100
Thank you in advance -
5. Re: Clustering EJB3 JBoss 4.0.3
sboddula Aug 23, 2005 3:22 AM (in response to amenra)I am not able find the Clustering example from EJB3 Tutorial . Please anybody give me the URL?