Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2014 12:32:04 +0000
From:      james <james@mansionfamily.plus.com>
To:        users@xwiki.org, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Trouble starting on FreeBSD 9.2
Message-ID:  <5309EA44.30409@mansionfamily.plus.com>

next in thread | raw e-mail | index | archive | help
I'm having trouble getting xwiki to start.

I have:

root@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@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC 
amd64

root@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 
/usr/local/jetty/start.jar

root@nas:/usr/local/etc/rc.d # grep jetty /etc/rc.conf
jetty_enable="YES"
jetty_java_version="1.7"

root@nas:/usr/local/etc/rc.d # pkg search jetty
jetty-8.1.11

(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 sun.security.util.SecurityConstants
	at java.lang.Class.getProtectionDomain(Class.java:2181)
	at ch.qos.logback.classic.spi.PackagingDataCalculator.getCodeLocation(PackagingDataCalculator.java:165)
	at ch.qos.logback.classic.spi.PackagingDataCalculator.calculateByExactType(PackagingDataCalculator.java:123)
	at ch.qos.logback.classic.spi.PackagingDataCalculator.populateFrames(PackagingDataCalculator.java:95)
	at ch.qos.logback.classic.spi.PackagingDataCalculator.calculate(PackagingDataCalculator.java:55)
	at ch.qos.logback.classic.spi.ThrowableProxy.calculatePackagingData(ThrowableProxy.java:147)
	at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:129)
	at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:439)
	at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:395)
	at ch.qos.logback.classic.Logger.error(Logger.java:558)
	at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:206)
	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
	at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
...


Any idea what I need to fix?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5309EA44.30409>