-
1. Re: Clustered EJBs keep looking for DefaultPartition
slaboure Nov 13, 2002 11:08 AM (in response to amayingenta)Are you sure your partition isn't bound under (HAPartition/LinuxPartition) or something like this? Can you check with the JNDI viewer?
Cheers,
sacha -
2. Re: Clustered EJBs keep looking for DefaultPartition
amayingenta Nov 13, 2002 12:11 PM (in response to amayingenta)In JNDIView I can see:
+- HAPartition (class: org.jnp.interfaces.NamingContext)
| +- LinuxPartition (class: org.jboss.ha.framework.server.HAPartitionImpl)
which is what I would expect.
The problem is that something is trying to lookup HAPartition/DefaultPartition when I deploy my EJBs, despite them all specifying that they are clusted in the LinuxPartition.
When I up the logging level I see this:
2002-11-13 16:14:07,459 DEBUG [org.jboss.ejb.plugins.local.BaseLocalContainerInvoker] acs/core/Acs cannot be Bound, doesn't have local and local home interfaces2002-11-13 16:14:07,460 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:jndiName=acs/core/Acs,service=EJB
javax.naming.NameNotFoundException: DefaultPartition not bound
My Acs bean is the only one in the Jar with remote interfaces instead of Local interfaces - it provides the interface to the entities, but I'm not sure whether the DEBUG message is significant (after all it's not a warning).
Here's the snippet from jboss.xml:
<ejb-name>acs/core/Acs</ejb-name>
<jndi-name>acs/core/Acs</jndi-name>
true
<cluster-config>
<partion-name>LinuxPartition</partion-name>
</cluster-config>
I'm tempted to resort to the DefaultPartition to see if I can get these beans deployed. -
3. Re: Clustered EJBs keep looking for DefaultPartition
bongosdude Feb 5, 2003 4:37 PM (in response to amayingenta)I got this problem too. In my cluster-service.xml I tried to setup the HASessionStateService as below:
jboss:service=LMPartition
/HAPartition/LMService
ListManagerPartition
But when I started jboss, jboss complains that:
2003-02-05 16:37:31,491 INFO [org.jboss.ha.hasessionstate.server.HASessionStateService] Creating
2003-02-05 16:37:31,512 ERROR [org.jboss.ha.hasessionstate.server.HASessionStateService] Initialization failed
javax.naming.NameNotFoundException: DefaultPartition not bound
What's wrong? Can someone help us?
Thanks, -
4. Re: Clustered EJBs keep looking for DefaultPartition
auswalk Feb 5, 2003 5:56 PM (in response to amayingenta)I also had this problem on a self compiled jboss32b2.
-
5. Re: Clustered EJBs keep looking for DefaultPartition
slaboure Feb 6, 2003 12:25 PM (in response to amayingenta)Please provide the full stacktrace.
Cheers,
mahna mahna