powered by Jive Software

Red5 no jacob in java.library.path

Hi.

Thanks for a wonderful product and for red5 plugin.

I have a problem setting up this plugin. I’ve copied red5.war to plugins directory. When I start openfired.exe from command-line a get following error:

C:\Openfire\bin>openfired

Openfire 3.3.2

Admin console listening at:

http://pavelgolubeabb9:9090

https://pavelgolubeabb9:9091

28.08.2007 16:35:14 org.jivesoftware.openfire.plugin.red5.Red5Plugin initializeP

lugin

INFO: Initializing red5 Plugin

28.08.2007 16:35:14 org.jivesoftware.openfire.plugin.red5.Red5Plugin initializeP

lugin

INFO: Creating web service red5

0 pool-10-thread-1:( org.red5.server.MainServlet.contextInitialized ) RED

5 Server (http://www.osflash.org/red5)

10 pool-10-thread-1:( org.red5.server.MainServlet.contextInitialized ) Lo

ading red5 global context from: /WEB-INF/applicationContext.xml

10 pool-10-thread-1:( org.red5.server.MainServlet.contextInitialized ) Pa

th: C:\Openfire\plugins\red5\

10 pool-10-thread-1:( org.red5.server.MainServlet.contextInitialized ) N

ew classpath: C:\Openfire.install4j\i4jruntime.jar;C:\Openfire\bin…\lib\activ

ation.jar;C:\Openfire\bin…\lib\bouncycastle.jar;C:\Openfire\bin…\lib\commons

-el.jar;C:\Openfire\bin…\lib\hsqldb.jar;C:\Openfire\bin…\lib\jasper-compiler

.jar;C:\Openfire\bin…\lib\jasper-runtime.jar;C:\Openfire\bin…\lib\jdic.jar;C

:\Openfire\bin…\lib\jtds.jar;C:\Openfire\bin…\lib\mail.jar;C:\Openfire\bin.

.\lib\mysql.jar;C:\Openfire\bin…\lib\openfire.jar;C:\Openfire\bin…\lib\postg

res.jar;C:\Openfire\bin…\lib\servlet.jar;C:\Openfire\bin…\lib\startup.jar;;C

:/Openfire/plugins/red5/WEB-INF

20 pool-10-thread-1:( org.red5.server.MainServlet.contextInitialized ) Se

tting configuation root to C:/Openfire/plugins/red5/WEB-INF

20 pool-10-thread-1:( org.red5.server.MainServlet.contextInitialized ) Se

tting Red5 root to C:/Openfire/plugins/red5

50 pool-10-thread-1:( org.red5.server.MainServlet.contextInitialized ) Co

nfig location files: 4

2653 pool-10-thread-1:( org.red5.server.MainServlet.contextInitialized )

Startup done in: 2653 ms

28.08.2007 16:35:18 org.jivesoftware.openfire.plugin.red5.Red5Plugin startPlugin

INFO: Registering red5 as a component

28.08.2007 16:35:18 org.jivesoftware.openfire.plugin.red5.PacketHandler startPac

ketHandler

INFO: Starting PacketHandler

28.08.2007 16:35:18 org.jivesoftware.openfire.plugin.red5.PacketHandler startGat

eway

INFO: Starting red5Gateway

Error loading plugin: C:\Openfire\plugins\red5

java.lang.UnsatisfiedLinkError: no jacob in java.library.path

at java.lang.ClassLoader.loadLibrary(Unknown Source)

at java.lang.Runtime.loadLibrary0(Unknown Source)

at java.lang.System.loadLibrary(Unknown Source)

at com.jacob.com.LibraryLoader.loadJacobLibrary(LibraryLoader.java:57)

at com.jacob.com.JacobObject.(JacobObject.java:150)

at org.jivesoftware.openfire.plugin.red5.PacketHandler.startGateway(Pack

etHandler.java:71)

at org.jivesoftware.openfire.plugin.red5.PacketHandler.startPacketHandle

r(PacketHandler.java:61)

at org.jivesoftware.openfire.plugin.red5.Red5Plugin.initialize(Red5Plugi

n.java:362)

at org.jivesoftware.openfire.component.InternalComponentManager.addCompo

nent(InternalComponentManager.java:119)

at org.jivesoftware.openfire.plugin.red5.Red5Plugin.startPlugin(Red5Plug

in.java:305)

at org.jivesoftware.openfire.plugin.red5.Red5Plugin.initializePlugin(Red

5Plugin.java:254)

at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginMa

nager.java:404)

at org.jivesoftware.openfire.container.PluginManager.access$200(PluginMa

nager.java:46)

at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(P

luginManager.java:916)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)

at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.

access$101(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.

runPeriodic(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.

run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source

)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Needless to say, this error does not occur when i uninstall openfire, manually remove openfire directory and reinstall openfire and plugin. But it works not very long time ( seems to become broken after server restart ).

Could anyone provide me a solution, please?

A little addition.

I discovered, this plugin works fine, until I enable red5gateway.

As soon, as I enable it, red5 settings dissapear from openfire admin console.

from red5 plugin read me

Using the optional Red5Gateway, the plugin can convert red5 audio streams intp voip phone calls. To use the gateway, Openfire must be running on the Windows platform as it includes an embedded version of AsteriskWin32. You will also have to purchase a copy of VAC4 (Virtual Audio cable 4). Do not bother to download the demo as the protection stops the gateway from working.

Red5Gateway is a Windows ActiveX DLL. It is written in Visual basic and can be found here

It runs only on Windows and there is no documentation at the moment except the source code

-dele