I'm bumping this as I would be very interested in the response from JBoss
themselves. The original questions raised by Ben are highly relevant to the
last two JBoss based projects I've worked on, and I'm now hitting it on a 3rd.
Would it be possible for JBoss to give a statement on what is the
FWIW, we've also had many problems with this same table, and we're using
oracle. Specifying the schema name appears to be redundant - it is ignored.
We found that we had to make sure the table name was unique across ALL schemas
in the database. That is, we had a schema per developer in the dev
+1
But until then, the MBean approach is a good approach.
If, however, your system is mostly asynchronous/event driven, then J2EE isn't
really the way to proceed; you may want to use the JBoss JSLEE container
instead, http://labs.jboss.com/mobicents
View the original post :
Just noticed SP2 released - I'll give it a whirl. In particular, the fix for
http://jira.jboss.com/jira/browse/JBMESSAGING-1184 look promising
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=476#476
Reply to the post :
Hi Tim,
First of all, I have a large portion of humble pie to eat - I hadn't clustered
the SLSB that publishes. However, I'm still seeing unreliable results, so I'll
elaborate on what I am doing...
I have a pojo that connects via JNDI to queue/testQueue on the
ClusteredConnectionFactory.
SP2 + the patched jboss remoting gives much better, complete results. I receive
duplicates, but I'm sure the clients can handle that if they're aware that it
can happen. (For anyone lese reading this, see the Clustering Notes at
I'm wondering why durable subscription failover is, in my experience, so flaky.
An obvious reason would be that I've got something wrong, although I don't
believe I have or otherwise I'd go and fix it (!). If I posted some zipped up
code, would anyone in the JBM team be able to give it a sanity
JBoss 4.2.2 GA with JBM 1.4.0.SP1 configured as per documentation, deployed
identically over a two node cluster (ServerPeers 0 and 1 respectively).
I send 1000 messages to a queue. An MDB is listening to the queue, and it
redispatches each message to one of 50 topics (randomly).
Each topic has
The docs advise you to not use HSQLDB for serious work - it isn't a production
database.
Use something else e.g. MySQL
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4110257#4110257
Reply to the post :
Whoops - forgot to mention that this is EJB3. Can't edit forum posts :(
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4104959#4104959
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104959
It's a proper shutdown - I do a run.sh -c all -b 0.0.0.0 to start the server in
the foreground, then do a Ctrl-C
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4105099#4105099
Reply to the post :
Hi there,
I'm testing two JBoss 4.2.2 GA nodes in a cluster using the 'all' config. The
nodes cluster together fine. I then run a multithreaded client to start up 200
or so SFSBs that cycle through a number of states. The client requests are are
load balanced in the cluster as expected.
I've almost achieved what I need by using TcpDelegatingCacheLoaders. The
configuration I have is:
Cluster 1 has two nodes A and B replicating using UDP.
Cluster 2 has two nodes C and D replicating using UDP.
A, B, C, D all use unshared cacheloaders
Clusters 1 and 2 cannot find each other
Node
Is it possible for one cache node to be in two clusters? I've read in a couple
of places around the JBoss website that it is possible, but haven't seen how to
configure the cache in that way.
What config sections do I duplicate?
The reason I want to do this as follows; I have a cluster in
Thanks Manik.
My caches are geographically separated (UK, Japan, east and west coast US), so
I don't think shared cache loaders I going to work for me unless I do async
cache loader updates, and I'm pretty sure I don't want to do that.
The configuration I'm trying out has N gegraphically
victor75 wrote : Thank you for the answer.
|
| I have one problematic scenario.
| There're two instances in my clustered environment: serverA and
serverB, at the beginning both of them are alive.
| step 1. shutdown the serverA
| step 2. make a change in serverB.
| step 3. shutdown
Believe I've found some broken parts of runShellDemo.sh in JBossCache 1.4.1 GA.
I was getting a
Exception in thread main java.lang.NoClassDefFoundError: bsh/Console
fix to line 4
CACHE_HOME=.
(not ./../)
fix to line 39
java -cp $CLASSPATH $ARGS $JAVA_OPTS -Djboss.aop.aoppath=$AOP_PATH
ALRubinger wrote :
| ...if you set stuff in a ThreadLocal, ensure that its removed if the Thread
has been obtained from a Thread pool. Otherwise, nightmares.
|
Thanks ALR, I'll watch out for that
ALRubinger wrote :
| Or in your case...if you don't want to put any JPA stuff in your DAO
My scenario is that I don't want to do my entity manager interaction in a
session bean - I want to use a layering approach that has Session beans -
Business Delegates - DAOs - JPA entities.
I'm getting frustrated that I cannot inject an entity manager into a DAO class
inside the ejb container
Done some more testing using the above ThreadLocal paradigm, because I was
worried about multiple serfver side threads and in particular if the JBoss
container ever uses 1 thread to service a session bean call.
But apparently it does not - I can happily kick off multiple (e.g. 100)
concurrent
Hi there,
I've pulled and built the 1_5_0 branch, but still get the same problem. I've
been having a look at the source and believe the casue of the problem is in
org.jboss.aop.advice.AbstractAdvice#resolveAdvice(Invocation)
The code I see states
| ...
| if (invocation instanceof
Thanks for replying stalep.
stalep wrote :
| @Aspect(scope=Scope.PER_INSTANCE)
| | public class MyAspect {
| | @Bind (pointcut=execution(public MyAspected-new()))
| | public Object construction(Invocation invocation) throws Throwable {
... }
| | }
|
Yup, I had tried
Thanks Kabir/Stalep!
Much appreciated.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3982635#3982635
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3982635
___
jboss-user mailing
AOP 1.5.2 libs being used
I'm having problems with construction pointcuts and PER_INSTANCE scope. All
other scopes work as expected, but it is PER_INSTANCE that I need.
@Aspect(scope=Scope.PER_INSTANCE)
public class MyAspect {
private static final Logger log =
24 matches
Mail list logo