Native Library bluecove not available

304 views
Skip to first unread message

Mrinal Wadhwa

unread,
May 22, 2008, 6:01:54 AM5/22/08
to The Roomware Project
Hi Everyone,

Very interesting project .. I just got the all in one server and put
it on my mac, when i try to run it I get this ..

:lib/Communicator_Console-1.0.1.jar:lib/
Communicator_Http-1.0.2.jar:lib/Communicator_Post-0.0.1.jar:lib/
Communicator_RoomWare-0.0.1.jar:lib/Module_Bluetooth-1.0.1.jar:lib/
Module_Fake-1.0.0.jar:lib/Module_RoomWare-0.0.1.jar:lib/
RoomWare_Server-1.0.2.jar:lib/RoomWare_Server_Impl-1.0.1.jar:lib/
bluecove-2.0.2.jar
Native Library bluecove not available
May 22, 2008 3:30:25 PM org.roomwareproject.module.bluetooth.Module
init
SEVERE: BlueCove not available
May 22, 2008 3:30:25 PM
org.roomwareproject.server.impl.RoomWareServerImpl
loadModulesFromRoomWareServerProperties
WARNING: Plugin bluetooth has thrown exception while construction new
instance: org.roomwareproject.server.RoomWareException: Could not init
bluetooth!
May 22, 2008 3:30:25 PM
org.roomwareproject.server.impl.RoomWareServerImpl stop
INFO: RoomWare server has been stopped.
May 22, 2008 3:30:25 PM
org.roomwareproject.server.impl.RoomWareServerImpl stopWithError
SEVERE: RoomWare server stopped by error!

Could you please help me get started.

Thank you

Mrinal Wadhwa

unread,
May 22, 2008, 6:05:36 AM5/22/08
to The Roomware Project
Just so you know the bluecove-2.0.2.jar is present in the lib directory

Mrinal

Tom Burger

unread,
May 22, 2008, 6:39:07 AM5/22/08
to room...@googlegroups.com
Hi Mrinal,

Do you have a PowerPC mac? That one is not included in the bluecove
library. It can be built from the source code see:
http://code.google.com/p/bluecove.

Contact me if you need more help.


Regards, Tom

Mrinal Wadhwa

unread,
May 22, 2008, 7:03:31 AM5/22/08
to room...@googlegroups.com
Hi Tom,

Thank you for the reply, 
Nope its an Intel MacBook pro

Mrinal

Tom Burger

unread,
May 22, 2008, 7:13:25 AM5/22/08
to room...@googlegroups.com
What is your OS and version?

- Tom

Mrinal Wadhwa

unread,
May 22, 2008, 7:19:32 AM5/22/08
to room...@googlegroups.com
Mac OSX Leopard 10.5.2

Tom Burger

unread,
May 28, 2008, 5:05:44 PM5/28/08
to room...@googlegroups.com
Hi Mrinal,

Just spoke with Robert. He has the same configuration (intel + OSX
10.5.2). He doesn't have problems.I don't have a clear reason why it
won't run. Here is what you can do:

1. LOCATING THE JNILIB
check that the native library is in the jar: "jar -tf
bluecove-2.0.2.jar". It should list something like libbluecove.jnilib.
This is the actual file it tries to load. If it is not there the
message is correct.

2. ANOTHER WAY OF LOADING JNILIB
if it's there it should be found by default by the bluecove library.
If not, you can try to extract this file. Add the directory it's in,
to your java library path.
extract: "jar -xf bluecove-2.0.2.jar libbluecove.jnilib"
add to path: "export JAVA_LIBRARY_PATH=$JAVA_LIBRARY_PATH:<dir where
the libbluecove.jnilib lives>"
if you extracted in the "lib" directory of the roomware dir then you should say:
"export JAVA_LIBRARY_PATH=$JAVA_LIBRARY_PATH:lib"
note: some java virtual machine versions inconsistantly (as I
understand...) the JAVA_LIBRARY_PATH variable. In this case you should
edit the run file and add to the java line:
"java -cp $CLASSPATH -Djava.library.path=<dir where the
libbluecove.jnilib lives> -DRoomWareConfig="conf/roomware.conf"
org.roomwareproject.server.impl.RoomWareServerImpl"

3. NO GOOD
if this doesn't work, there is a problem with bluecove I don't
understand. You can get help at code.google.com/p/bluecove .

Please tell me what happened. Regards, Tom

Reply all
Reply to author
Forward
0 new messages