I'm interested in this as well, but so far I haven't found a way.
The JBoss J2EE deployment descriptor XSD which includes the POJO Service
deployement descriptor does not seem to allow for arbitrary management
properties, however.
I also tried the using a -service.xml file as describe in this
JBoss 4.0.3 SP1, Hibernate 3.1
In a single har I have two instances of the JBoss Hibernate MBean sharing the
same set of mapping files. I use the two SessionFactories to replicate data
between a remote DB and a local DB. I'd like to be able to turn off second
level caching for the remote DB Ses
I tried calling SessionContext.getBusinessObject() and also
SessionContext.getInvokedBusinessInterface() from a SLSB method. However, I get
an IllegalStateException - "Not Implemented".
(aside: any reason to not to call getInvokedBusinessInterface() vs
getBusinessObject()? It seems simpler to
Thanks for the discussion - it's been very helpful coming up to speed on this...
In the case of a same EJB call, is there any difference between doing
A)
@EJB SameEJB same;
vs:
B)
@Resource SessionContext ctx;
...
SameEJB same = ctx.getBusinessObject();
I'm guessing in B) you get a local i
I ran my test in the debugger. When the TxTestBean is deployed I see the
TxInterceptorFactory create a new instance of a TxInterceptor.RequiresNew for
the part3() method. However when the test is executed, a breakpoint set on
TxInterceptor.RequiresNew.invoke() never gets hit.
View the original
I have some test code that exercises REQUIRES_NEW, but looking at the
TransactionManager logs, I don't see a new tx being created when that method
executes. I'm using JBoss 4.0.4 GA and the EJB3 RC7 FD download.
The players are two SLSBs TxTestBean. I'm calling the toplevel() method from a
s
JBoss 4.0.3SP1, Java 1.5
We're using JMS for notifications to various local subsystems. However, we also
have slave servers that need to receive the same notifications.
Anyone know of a simple way to send a single notification that remote
subscribers can receive on UIL2, and local subscribers
Finally got around to doing some tracing - I turned on the TRACE logging for
the TraceInterceptor. I can see subscriptions and unsubsciptions being logged.
The problem is that the ID identifing any particular subscription are bogus -
always -2147483648 which is min int. Based on this informati
This is JBoss 3.2.6, Java 1.4.2
While debugging an issue, we did a thread dump on our application and noticed
approximately 240 UIL2 ReadTask/WriteTask thread pairs. 116 pairs are
associated w/ port 8093, which I would assume would represent our JMS queues
and topics. 118 pairs are associated w
A bit more info - I added some debug to the OracleValidConnectionChecker. It
appears that the Connection that is getting passed to the
isValidConnection(Connection c) method is not, in fact, an
oracle.jdbc.driver.OracleConnection but rather a JBoss proxy of some kind.
The top of the isValidCon
Using:
JBoss 3.2.6
Java 1.4.2_05-b04
Oracle: 9.2.0.1.0
Oracle driver: 9.0.2.0.0
I'm trying to use the OracleValidConnectionChecker, but get the exception below
when a connection is requested.
>From the error and taking a look a the OracleValidConnectionChecker, it looks
>like Connection being
Fair enough. Thanks.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874891#3874891
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874891
---
This SF.Net email is spo
Thanks for the quick replies.
In this case, the MBean that I'm looking up is not extending
ServiceMBeanSupport. Can I get at the state information via another mehtod
(MBeanServer.getAttribute()) ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874888#38748
Can someone confirm (or deny - though I prefer confirm) that if I lookup an
MBean through the MBeanServer it will only be available after the MBean has
completed its start() method?
Thanks.
-Dan
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874863#3874863
14 matches
Mail list logo