Re: Artemis cannot find LIBAIO, although it is installed

2017-12-01 Thread Clebert Suconic
I forgot it ;). Thanks. On Fri, Dec 1, 2017 at 5:00 AM Art Licis wrote: > Since it could have been forgotten by now, I created a PR with this > specific documentation update. > > - Art > > > On Tue, Nov 21, 2017 at 2:32 AM, ipolevoy wrote: > > > Problem is finally resolved. There is an error in

Re: Artemis cannot find LIBAIO, although it is installed

2017-12-01 Thread Art Licis
Since it could have been forgotten by now, I created a PR with this specific documentation update. - Art On Tue, Nov 21, 2017 at 2:32 AM, ipolevoy wrote: > Problem is finally resolved. There is an error in the documentation: > > This page: https://activemq.apache.org/artemis/docs/2.3.0/libaio.

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-20 Thread ipolevoy
Problem is finally resolved. There is an error in the documentation: This page: https://activemq.apache.org/artemis/docs/2.3.0/libaio.html mentions a file libActiveMQAIO64.so, which is /incorrect./ The distribution is shipped with a file called libartemis-native-64.so, which is to be used. In

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-20 Thread ipolevoy
Clebert, I'm in the IRC chat room. My ID: ipolevoy, ping me when you have a chance. thanks -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-20 Thread ipolevoy
sorry, this is a poor Nabble UI playing jokes on me, I did not see my response, so sent it again. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-20 Thread Justin Bertram
"IRC" is "Internet Relay Chat." The link that Clebert provided in his previous message (i.e. http://activemq.apache.org/irc.html) has the server and the channel name you should use as well as a link to a Wikipedia article about IRC clients. You'll need to grab an IRC client for your platform and

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-20 Thread Clebert Suconic
Maybe we crossed each other message? as I already answered both questions? you need to add the folder where libartemis-native-64.so is located. As for the link on IRC: http://activemq.apache.org/irc.html On Mon, Nov 20, 2017 at 3:39 PM, ipolevoy wrote: > we just use a system property: > > > j

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-20 Thread ipolevoy
we just use a system property: java -Djava.library.path=/opt/lib/linux-x86_64/ ... Where is the link to IRC? -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-20 Thread Clebert Suconic
On Mon, Nov 20, 2017 at 2:41 PM, ipolevoy wrote: > We use -Djava.library.path=/opt/lib/linux-x86_64/, is this not OK? Nope... unless you copied libartemis-native-64.so there which wouldn't be so standard. When you compile the native library.. it will be under: artemis-source-dir/artemis-native

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-20 Thread ipolevoy
We use -Djava.library.path=/opt/lib/linux-x86_64/, is this not OK? Is there a link to IRC? Thanks -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-20 Thread Clebert Suconic
If you can compile it. All you need it LD_LIBRARY_PATH where the compilation out is set. If you look for me on IRC today or tomorrow I can help you out. On Mon, Nov 20, 2017 at 12:48 PM ipolevoy wrote: > We recompiled and reinstalled the library, but when the process starts, we > still see "

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-20 Thread ipolevoy
We recompiled and reinstalled the library, but when the process starts, we still see " libaio is not available, switching the configuration into NIO" in the log file. Is there a way to tell that the library is installed and functions properly? Thanks -- Sent from: http://activemq.2283324.n4

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-15 Thread Clebert Suconic
any progress? On Tue, Nov 14, 2017 at 11:15 AM, ipolevoy wrote: > Clebert, thank you for your help. Enjoy your vacation, we will be looking > closer, and if cannot resolve I will ping you in a few days. > > Thank you, > > > > > -- > Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-14 Thread ipolevoy
Clebert, thank you for your help. Enjoy your vacation, we will be looking closer, and if cannot resolve I will ping you in a few days. Thank you, -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-14 Thread Clebert Suconic
Running the testcases maybe. Something has to load the library. I would run the cmake. And copy it from where the .sos are located within the build. I am having a vacation day today. But you could maybe ping me tomorrow on the IRC? I will look at my email during the day also. On Tue, Nov 14

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-13 Thread ipolevoy
Hi, Clebert. This is exactly what I did. However, my admin has doubts in a way he compiled and installed the lib. Let us poke around a bit. Is there a sure way to determine that the system library is properly installed and functioning without running a broker? Thanks, -- Sent from: http://

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-13 Thread Clebert Suconic
I'm just trying to figure out if the problem is at your script... or on the compilation of the library. on the same box... create a broker.. and run it.. see if libaio loads. Depending on the result we will decide if it's a path or a recompilation issue. On Mon, Nov 13, 2017 at 3:53 PM, ipolevo

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-13 Thread ipolevoy
are you asking to install the distribution and start a broker on our production env? Is there any other method? Thanks, -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-13 Thread Clebert Suconic
Can you tell me if the distribution finds libaio in the same env? then I can help you out. On Mon, Nov 13, 2017 at 10:17 AM, ipolevoy wrote: > IN addition, I also tried to set the system property from inside Java using > Syste.setProperty(..), but did that did not work either. > > Can you tell m

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-13 Thread ipolevoy
IN addition, I also tried to set the system property from inside Java using Syste.setProperty(..), but did that did not work either. Can you tell me if I'm using the right SO file? The name of this file is different from your Artemis documentation -- Sent from: http://activemq.2283324.n4.na

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-13 Thread ipolevoy
This script is only used to test libaio integration. I cannot use the script from the distribution because we use Artemis embedded into our app. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-13 Thread Clebert Suconic
What is this script? Why you don’t use the one from the distribution ? On Mon, Nov 13, 2017 at 3:03 AM ipolevoy wrote: > Here is more info: Script I use: > #!/usr/bin/env bashexport CP=worker-classes/for file in `ls lib`;do > CP=$CP:lib/$file; donefor file in `ls worker-libs`;do > CP=$CP:wo

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-13 Thread ipolevoy
Here is more info: Script I use: #!/usr/bin/env bashexport CP=worker-classes/for file in `ls lib`;do CP=$CP:lib/$file; donefor file in `ls worker-libs`;do CP=$CP:worker-libs/$file; doneecho $CPgroovy -Djava.library.path=./artemis-lib -cp $CP $1 $2 $3 $4 $5 The content of my directory: ll artem

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-10 Thread Clebert Suconic
If you are using an older kernel you may need to recompile it for Libc compar. Just use cmake. Quite easy. If you have problems let me know. On Fri, Nov 10, 2017 at 2:16 AM Howard Gao wrote: > I'm using ubuntu 16.04 and I have no problem like that (although I build > artemis from master). > I c

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-09 Thread Howard Gao
I'm using ubuntu 16.04 and I have no problem like that (although I build artemis from master). I can only guess that your java.library.path didn't get passed to JVM correctly. On Fri, Nov 10, 2017 at 7:01 AM, ipolevoy wrote: > Hey, guys. > > We were unable to configure libaio and are still usin

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-09 Thread ipolevoy
Hey, guys. We were unable to configure libaio and are still using NIO. I did everything as recommended, but still no luck. My env: Linux Ubuntu 16 Libaio is installed. dpkg --search libaio libaio1:amd64: /usr/share/doc/libaio1 libaio1:amd64: /usr/share/doc/libaio1/TODO libaio1:amd64: /lib/

Re: Artemis cannot find LIBAIO, although it is installed

2016-02-02 Thread ipolevoy
Justin, and Clebert, thanks for suggestion, I found references to the lib in the script! Will do. -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-cannot-find-LIBAIO-although-it-is-installed-tp4706815p4706820.html Sent from the ActiveMQ - User mailing list archiv

Re: Artemis cannot find LIBAIO, although it is installed

2016-02-02 Thread Clebert Suconic
As u are using embedded. The .so must be on your library path. Look at the Artemis script for how we do it. > On Feb 2, 2016, at 4:23 PM, Justin Bertram wrote: > > Are you setting the library path as discussed on the documentation [1]? > > > Justin > > [1] http://activemq.apache.org/artem

Re: Artemis cannot find LIBAIO, although it is installed

2016-02-02 Thread Justin Bertram
Are you setting the library path as discussed on the documentation [1]? Justin [1] http://activemq.apache.org/artemis/docs/1.2.0/libaio.html - Original Message - From: "ipolevoy" To: users@activemq.apache.org Sent: Tuesday, February 2, 2016 2:44:29 PM Subject: Artemis cannot find LIBAI