[JBossCache] - Re: 2PC question
by manik.surtani@jboss.com
The limitation implied in the statement is based on 2 things:
1) We don't acquire distributed locks as methods are invoked. So, node1 may broadcast a prepare on /a/b/c and node2 may do so as well at the same time. Both txs on both nodes will fail as both prepares will fail.
2) The other limitation is that even after broadcasting a successful prepare and then following up with a successful commit, if for some reason the commit does not reach a network node (e.g., partial network failure) but reaches other nodes, there is no way to recover consistently from this. If you use SyncCommitPhase = true in your configuration, at least the originating node will throw an exception if everyone in the cluster does not respond with an ack after successful commit. Depending on your app, you can handle recovery manually at this stage.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050161#4050161
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050161
17 years, 6 months
[EJB 3.0] - Re: javax.naming.NameNotFoundException: MyEjb3 not bound :(
by mailmustu
I have to say JBoss has worst console compared to any other application server.
I can nowhere find a list of "deployed applications", even tomcat has this basic but damn important feature in its admin console.
About the JNDI viewer, i guess you are referring to "service=JNDIView" ??
When I click on invoke of "Output JNDI info as text"
(Please correct me if I am wrong )
I can see:
| java:comp namespace of the MyEjb3.ear/MyEjb3.war application:
|
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- ORB (class: org.jacorb.orb.ORB)
| +- env (class: org.jnp.interfaces.NamingContext)
| | +- security (class: org.jnp.interfaces.NamingContext)
| | | +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef)
| | | +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef)
| | | +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef)
| | | +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef)
|
Thats it....nothing specific to my project in "java: Namespace" or "Global JNDI Namespace"
Nothing anywhere about HelloWorldbean or HelloWorldLocal .
is that normal ??
I have been struggling with this simple HelloWorld for more than 2 weeks now!...please help.
Thanks,
Mustafa
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050156#4050156
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050156
17 years, 6 months