[Design of Messaging on JBoss (Messaging/JBoss)] - Re: Build broken with new AIO tests
by clebert.suconic@jboss.com
I have added the .SO under /native/bin. At the moment you have the 64bit version there.
If you have a 32bits OS, you have to run ./bootstrap under native and copy the library there (The Makefile will place it under project/native/src/.libs). The README under native should tell what are the install requirements. (libaio-dev, automake, autoconf, libtool, GCC, G++, lib6-dev).
If you are running those tests inside Eclipse, you could either define java.library.path through the IDE:
* you need to define -Djava.library.path=${project-root}/native/src/.libs when calling the JVM
| * If you are running this test in eclipse you should do:
| * I - Run->Open Run Dialog
| * II - Find the class on the list (you will find it if you already tried running this testcase before)
| * III - Add -Djava.library.path=<your project place>/native/src/.libs
|
Or on the script that starts your IDE you should:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/pathToYourProject/native/bin.
The only automation that could be made is to place the libraries under the SVN. We could try adding a 32bit version and 64bit for a recent kernel, but If that doesn't work the library has to be compiled again.. unfortunately. (Unfortunately Linux binary redistribution sucks... but I will see what could be improved).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148817#4148817
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148817
16 years
[Design of JCA on JBoss] - JBAS-3632
by Jeff Zhang
I am looking this JIRA.
(In CachedConnectionManager)
If CloseConnectionSynchronization had been registered into TransactionSynchronizer, TM timout and afterCompletion method should be callback and close the current connections.
This is JIRA case, am I right?
But in runtime debug time, breakpoint in CloseConnectionSynchronization:afterCompletion() can not execute.
Only in closeAll(), CloseConnectionSynchronization have change to register itself.
Iit is hard to reproduce for this testcase, could someone give me some suggestion? Thanks
| CloseConnectionSynchronization cas = (CloseConnectionSynchronization) TransactionSynchronizer.getCCMSynchronization(tx);
| if (cas == null && createIfNotFound && TxUtils.isActive(tx))
| {
| cas = new CloseConnectionSynchronization();
| TransactionSynchronizer.registerCCMSynchronization(tx, cas);
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148734#4148734
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148734
16 years
[Design of JBoss Profiler] - jboss-profiler-1.0.CR4 - Help needed
by JKV
I am using Windows XP and JBoss 4.2.2 : How will I set the parameters so that I can see only my application methods in my Browser. I can see methods from org.apache.*, org.jboss.*,org.eclipse.*, etc. I am getting confused by their occurrences. But I need to see only my application methods. I want help setting my 'include' and 'ignore' parameters, so only my application methods are shown in my browser.
When I run my profiler I get errors like
10:46:48,867 ERROR [STDERR] WARNING on JBPCall: Cannot synchronize correctly methods calls
10:46:48,867 INFO [STDOUT] WARNING on JBPCall: Cannot synchronize correctly methods calls
10:46:48,976 ERROR [STDERR] WARNING on JBPCall: Cannot synchronize correctly methods calls
10:46:48,976 INFO [STDOUT] WARNING on JBPCall: Cannot synchronize correctly methods calls
10:46:49,398 ERROR [STDERR] WARNING on JBPCall: Cannot synchronize correctly methods calls
10:46:49,398 INFO [STDOUT] WARNING on JBPCall: Cannot synchronize correctly methods calls...
Why does these come and how to avoid them??
Any help is greatly appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148729#4148729
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148729
16 years