Hi Tobias I found and fixed the problem - I had installed the latest release of Felix. Reverting to V3.2.2 fixes the problem which appears to be related to this
com.springsource.org.openid4java: org.w3c.dom.html,version=0 -- Cannot be resolved Thanks for all the help - now I can experiment with matterhorn. Steve -----Original Message----- Message: 5 Date: Thu, 4 Oct 2012 16:37:50 +0200 From: Tobias Wunden <[email protected]> To: Matterhorn Users <[email protected]> Subject: Re: [Matterhorn-users] V1.3.1 Installation problems Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii Hi Steve, taking a look at ${matterhorn_dir}/etc/system.properties will show a number of dependencies that are loaded at startup. They are referenced in a way (file:lib/xyz.jar) that require you to start Matterhorn from the ${matterhorn_dir}, meaning that you need to cd into ${matterhorn_dir}, then execute bin/start_matterhorn.sh. This way, Felix can resolve the relative paths in system.properties correctly. If you are looking to start Matterhorn as a service, you either need to specify the working directory as stated above, or adjust your system.properties to contain absolute paths or variables such as in file:${matterhorn.home}/lib/..., where you need to set MATTERHORN_HOME in your start script or environment, then pass it in as -Dmatterhorn.home=$MATTERHORN_HOME. Tobias On 04.10.2012, at 10:54, Steve Brignall <[email protected]> wrote: > Hi Jon > > Ubuntu 12.04.1 > > On startup, the following exceptions occur > > Auto-properties install: # (org.osgi.framework.BundleException: Unable > to cache bundle: # - java.net.MalformedURLException: no protocol: #) > org.osgi.framework.BundleException: Unable to cache bundle: # > at > org.apache.felix.framework.Felix.installBundle(Felix.java:2703) > > Auto-properties start: # (org.osgi.framework.BundleException: Unable to > cache bundle: # - java.net.MalformedURLException: no protocol: #) > Auto-properties start: # (org.osgi.framework.BundleException: Unable to > cache bundle: # - java.net.MalformedURLException: no protocol: #) > org.osgi.framework.BundleException: Unresolved constraint in bundle > com.springsource.org.openid4java [59]: Unable to resolve 59.0: missing > requirement [59.0] osgi.wiring.package; > (&(osgi.wiring.package=org.apache.html.dom)(version>=2.8.1)(!(version>=3 > .0.0))) [caused by: Unable to resolve 56.0: missing requirement [56.0] > osgi.wiring.package; (osgi.wiring.package=org.w3c.dom.html)] > > org.osgi.framework.BundleException: Unresolved constraint in bundle > org.springframework.security.openid [61]: Unable to resolve 61.0: > missing requirement [61.0] osgi.wiring.package; > (&(osgi.wiring.package=org.openid4java.association)(version>=0.9.5)(!(ve > rsion>=1.0.0))) [caused by: Unable to resolve 59.0: missing requirement > [59.0] osgi.wiring.package; > (&(osgi.wiring.package=org.apache.html.dom)(version>=2.8.1)(!(version>=3 > .0.0))) [caused by: Unable to resolve 56.0: missing requirement [56.0] > osgi.wiring.package; (osgi.wiring.package=org.w3c.dom.html)]] > > org.osgi.framework.BundleException: Uses constraint violation. Unable to > resolve bundle revision org.eclipse.persistence.jpa [27.0] because it is > exposed to package 'javax.transaction.xa' from bundle revisions > org.apache.geronimo.specs.geronimo-jta_1.1_spec [65.0] and > org.apache.felix.framework [0] via two dependency chains. > > I also get these > > ERROR: Bundle com.springsource.org.openid4java [59] Error starting > file:lib/com$ > ERROR: Bundle org.springframework.security.openid [61] Error starting > file:lib/$ > ERROR: Bundle org.eclipse.persistence.jpa [27] Error starting > file:lib/org.ecli$ > > Otherwise all of the bundles are installed/registered without error. > > I have commented out the security for now in config.properties: > > felix.auto.start.5= \ > # file:lib/com.springsource.org.openid4java-0.9.5.jar \ > # file:lib/org.springframework.security.openid-3.0.2.RELEASE.jar > # file:lib/spring-security-cas-client-3.0.2.RELEASE.jar \ > # file:lib/com.springsource.org.jasig.cas.client-3.1.8.jar \ > # file:lib/com.springsource.org.opensaml-1.1.0.jar > > Thanks > Steve > > > --------------------------------- > > Date: Wed, 03 Oct 2012 11:26:25 -0700 > From: Jonathan Felder <[email protected]> > To: Matterhorn Users <[email protected]> > Subject: Re: [Matterhorn-users] V1.3.1 Installation problems > Message-ID: <[email protected]> > Content-Type: text/plain; charset=windows-1252; format=flowed > > What version of ubuntu did you use? > > Also check out matterhorn/felix/logs/opencast.log to see if there are > any hints in there. > > -- > Jon > > On 10/3/12 10:15 AM, Steve Brignall wrote: >> Hi >> >> I?m trying to install V1.3.1 on and Ubuntu virtual server and I?m > having >> problems. I?ve installed and built everything successfully. I?ve >> configured MySQL as the database. Felix is up and running and I can > get >> to the ?matterhorn? prompt on the terminal. However, when I browse to >> ?http://myhost:8080? I get ?Error 404 Not Found?. >> >> After a bit of trial and error I (identified on the developer wiki >> pages) tried http://myhost:8080/system/console? and I can see the > system >> console in all its glory and all of the installed bundles. >> >> I?ve tried other URLs e.g. ??/admin/ui? but I get nothing. There is > no >> use guide that I can see anywhere on the Opencast sites, so I have no >> idea if the URLs I?m trying are correct. >> >> Any ideas what to try next? >> >> Steve >> > > > > SCISYS UK Limited. Registered in England and Wales No. 4373530. > Registered Office: Methuen Park, Chippenham, Wiltshire SN14 0GB, UK. > > Before printing, please think about the environment. > > _______________________________________________ > Matterhorn-users mailing list > [email protected] > http://lists.opencastproject.org/mailman/listinfo/matterhorn-users ------------------------------ _______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users End of Matterhorn-users Digest, Vol 27, Issue 5 *********************************************** _______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
