Trouble starting on FreeBSD 9.2

james james at
Sun Feb 23 12:35:18 UTC 2014

I'm having trouble getting xwiki to start.

I have:

root at nas:/usr/local/etc/rc.d # uname -a
FreeBSD nas 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 
22:50:31 UTC 2013 root at 

root at nas:/usr/local/etc/rc.d # ps auxwww | grep jetty | grep -v grep
www       1918   0.1 19.4 3714508 1545664  0  S    11:33AM  2:05.47 
/usr/local/openjdk7/bin/java -Djetty.home=/usr/local/jetty -jar 

root at nas:/usr/local/etc/rc.d # grep jetty /etc/rc.conf

root at nas:/usr/local/etc/rc.d # pkg search jetty

(The above configured from pkg, with the version override to give me 1.7)

I have configured for postgresql, and created the user and database.

However, trying to browse to xwiki/ gives:

    HTTP ERROR 500

Problem accessing /xwiki/bin/view/Main/. Reason:

     Server Error

      Caused by:

java.lang.NoClassDefFoundError: Could not initialize class
	at java.lang.Class.getProtectionDomain(
	at ch.qos.logback.classic.spi.PackagingDataCalculator.getCodeLocation(
	at ch.qos.logback.classic.spi.PackagingDataCalculator.calculateByExactType(
	at ch.qos.logback.classic.spi.PackagingDataCalculator.populateFrames(
	at ch.qos.logback.classic.spi.PackagingDataCalculator.calculate(
	at ch.qos.logback.classic.spi.ThrowableProxy.calculatePackagingData(
	at ch.qos.logback.classic.spi.LoggingEvent.<init>(
	at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(
	at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(
	at ch.qos.logback.classic.Logger.error(
	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(
	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(
	at org.hibernate.cfg.SettingsFactory.createConnectionProvider(

Any idea what I need to fix?

More information about the freebsd-questions mailing list