FairDJ FAQ
Posted: 2006.02.28 09:35
Q: How do I get plugins to work?
A: For Fair DJ < 0.2.6 you need to specify the classpath when using plugins. The following batch script illustrates this, and should be helpful.
Also, if you wish to configure a plugin to start automatically, or configure it, you need to add an element with the plugin name in the configuration file. The following example illustrates this:
Q: How do I report bugs?
A: We have a bugzilla up and running now: http://hirt.se/bugzilla/
Q: FairDJ won't start listening for connections.
A: You probably have an old version of the settings file. Do:
to create a new settings file. Transfer the relevant settings from your old one.
A: For Fair DJ < 0.2.6 you need to specify the classpath when using plugins. The following batch script illustrates this, and should be helpful.
Code: Select all
@echo off
set PLUGINDIRS=C:\clients\opensource\fairdj\plugins\bin
set FAIRDJLIBS=fairdj.jar;lib/crypt.jar;lib/jl1.0.jar;lib/jorbis-0.0.13.jar
set FAIRDJLIBS=%FAIRDJLIBS%;lib/PluginLoader-20050423.jar
set FAIRDJLIBS=%FAIRDJLIBS%;lib/jogg-0.0.7.jar;lib/junit.jar
set FAIRDJLIBS=%FAIRDJLIBS%;lib/log4j-1.2.9.jar;lib/tritonus_share.jar
set FAIRDJLIBS=%FAIRDJLIBS%;lib/vorbisspi1.0.1.jar;lib/mp3spi1.9.2.jar
set JAVA_HOME=C:\jrockits\jrockit-R26.0.0-jdk1.5.0_04
@echo Starting fairDJ
%JAVA_HOME%\bin\java -cp %PLUGINDIRS%;%FAIRDJLIBS% net.sf.fairdj.FairDj -settings c:\fairdjsettings.xml
Code: Select all
<pluginmanager class="net.sf.fairdj.PluginManagerImpl">
<url>file:/C:\clients\opensource\fairdj\plugins\bin</url>
<http startonload="true">
<port>80</port>
<timeout>2000</timeout>
<toplength>10</toplength>
<tcpdelay>false</tcpdelay>
</http>
</pluginmanager>
A: We have a bugzilla up and running now: http://hirt.se/bugzilla/
Q: FairDJ won't start listening for connections.
A: You probably have an old version of the settings file. Do:
Code: Select all
java -jar fairdj.jar -install