-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to load DPU because of exception:org.osgi.framework.BundleException #536
Comments
Hi, this seems to be a problem with shared libraries, which should be available in {module.path}/lib folder. After building the UnifiedViews-Core project, they are available at What is the content of folder |
Hi Tomas, |
So the missing "lib" subfolder is the cause of your issues. The Either please set I will update the installation guide to make it more clear. |
my config.properties on
and restarted both backend and webapp, Now I am getting the following errors *Failed to create DPUs directory: '0}' |
Can you please send the whole frontend.log/backend.log (from the moment you restart the application)? Under which user do you run frontend/backend? If it is not root or sotos, please doublecheck the permissions of What is the content of |
If you have system which may install Deb packages, this is the preferred way how UnifiedViews should be installed and which should avoid these kinds of issues |
I have managed to overcome the Core plugins installation by changing permissions to
which i undesrtand as been built for another java version. so now i am trying to build them locally. As for the debian packages, I set up a local VM with ubuntu 14.04 just for unified views, and trying to install unified views by debian packages, following the official instructions, but i get error from start. This is the error:
so i got it by and continued to next step as : and kept getting errors: |
OK, so it was mainly an issue of insufficient documentation for installing UnifiedViews out of the source? Can we close the issue once @tomas-knap improves the documentation? |
@skarampatakis Now, the Debian packages is for Debian Wheezy 7. |
@Jan-Marcek So, do i need to set up a Debian Wheezy 7 distro in order to succesfully install it? Currently my built from source local instance is up and working but i cannot install all of the plugins required for my work. Many of them are ok but some of them not. Also, gihub repo gives older versions than the one used in an example @jindrichmynarz sent to me, maybe need update? Also i have exported the DPUs as zip file from the example @jindrichmynarz sent to me, but trying to install them gives me errors, version errors probably of java 8 bulit components. So my question is if I update my java version to java 8 could I run these DPUs correctly? and the other that are currently working will be still working? |
Some of the DPUs in the example I shared with you are from the develop branch. Additionally, there are few non-core DPUs from this repository. I believe most of these DPUs were compiled with Java 7, so Java version mismatch should not be the cause of your problem. |
@skarampatakis, Regarding the issues of type:
This is due to the fact that the DPU was built under Java8. So either you have to rebuild the DPU under Java 7 or you may rebuild whole UnifiedViews with Java8 profile (see the installation guide). I suggest you to start with the first approach - recompiling the DPUs you need. In general, all Plugins within https://github.com/UnifiedViews/Plugins should be available as artifacts in http://maven.eea.sk/artifactory/public/eu/unifiedviews/plugins/, where they should be bundled using Java 7. If not, it is an error. Regarding these types of issues:
This is caused by using DPUs, which were build for UnifiedViews 1.X version. To ensure they also work in UnifiedViews 2.x environment, please read: https://grips.semantic-web.at/pages/viewpage.action?pageId=59113485 If you will further have issues with DPUs, please let me known. If you encounter some bugs with certain DPU from UnifiedViews/Plugins, please report it at |
@skarampatakis, regarding the versions of DPUs, using those from master branch from https://github.com/UnifiedViews/Plugins should work and should have up to date version. If not, this is a bug. |
@skarampatakis Regarding Java8 plugins, if you want to use those, you have to "mvn clean install" the UV Core with Java8 profile - see: https://grips.semantic-web.at/display/UDDOC/Installation+Guide |
Regarding the Deb packages, yes, please use Debian Wheezy 7, this was the environment we tested on. |
Sorry for late response but since today morning I am trying to fix the installation with what you have suggested. So long:
So I cant't import the pipeline. Currently I started set up a Debian wheezy 7.9 VM as suggested to see if this finally works without any problems. I will inform on any update and hope everything will be ok. |
ad 2) In general it works in a way that you cannot and should not try to import plugin which points to newer major/minor version of API then your Core is using. So for example, you cannot import DPU which requires 2.2.X UV API to UV Core with API 2.1.X Before using such plugin, Core should be updated. ad 3) When using DPUs from other repos (not from the repository with Core plugins), such situations may happen. For which purpose do you need l-ckanOdcz? ad 3) The situation with t-xslt is a bit suspicious, if you can write it down as an issue to https://github.com/UnifiedViews/Plugins/issues, that would be great. |
NEW 4) I set up Debian Wheezy 7.9 and followed the instructions provided to install directly from debian packages but i had problem with the instalation
|
I'll try to fill in some missing points.
|
Regarding l-ckanOdcz, the problem is that it requires certain outdated dependency - module-test in version 1.6 - see: https://github.com/mff-uk/DPUs/blob/master/dpu/l-ckanOdcz/pom.xml#L64-L69 So to fix this, please remove this dependency and skip tests of the DPU by calling "mvn clean install -DskipTests" |
@skarampatakis, Regarding your issue with installation from Deb packages, it seems that it was not possible to start Mysql. Is there already a different Mysql process up and running? @Jan-Marcek may have further comments to the problems installing from Deb packages |
I am currently trying to install everything from start on Debian Wheezy 7.9 VM using Java 8, cloning develop branches and hope everything is ok. I will inform with progress. |
@skarampatakis
We are using |
Maybe the outdated dependency in l-ckanOdcz can be removed directly by the DPU's maintainer @jakubklimek. |
Hi all, I am sorry for the delay but had a lot of work to do So, I am currently working with unified views version 2.2.0 as was build from source on my 15.04 Lubuntu installation using java 7. Have not time for now to try the postgre installation. Many of the plugins are working, some of them need special treatme nt such as creating the folder in Core/target/dpu and move the appropriate jar. |
Ok, great. Manual creation of folders in Core/target/dpu is very strange, it works in a way that new DPUs should be imported via administration interface of UV and they are automatically placed to Core/target/dpu. Are the permissions for that folder correctly set - has frontend (tomcat) write access to that folder to create new DPUs? |
@skarampatakis Should I close this thread? Or do you still have any related issue? |
Hi all,
I have installed version 2.2.0 of Unified Views via github as described here . I can actually access Unified Views from my local Tomcat7 Server, and have installed some plugins by uploading a zip file containing all the jars, but some of them fail to load as seen below. Any idea about how to tackle these problems would be helpful.
plugin load errors:
Failed to load DPU because of exception:org.osgi.framework.BundleException: The bundle "eu.unifiedviews.plugins.uv-e-sparqlEndpoint_1.1.0 [1]" could not be resolved. Reason: Missing Constraint: Import-Package: com.fasterxml.jackson.core; version="[2.4.0,3.0.0)"
unifiedviews/WEB-INF/lib
activation-1.1.jar
aopalliance-1.0.jar
asm-4.0.jar
asm-tree-4.0.jar
asm-util-4.0.jar
aspectjrt-1.7.3.jar
aspectjweaver-1.7.3.jar
atmosphere-runtime-2.1.2.vaadin6.jar
bcprov-jdk15-1.45.jar
cas-client-core-3.3.3.jar
cglib-3.0.jar
commonj.sdo-2.1.1.jar
commons-app-2.2.0.jar
commons-beanutils-1.8.3.jar
commons-cli-1.2.jar
commons-codec-1.10.jar
commons-collections-3.1.jar
commons-dbcp-1.4.jar
commons-dbcp2-2.0.1.jar
commons-digester-1.8.jar
commons-digester3-3.2.jar
commons-httpclient-3.1.jar
commons-io-2.4.jar
commons-lang-2.1.jar
commons-lang3-3.4.jar
commons-logging-1.1.1.jar
commons-pool-1.5.4.jar
commons-pool2-2.2.jar
commons-validator-1.4.0.jar
com.openlinksw.virtuoso.virtjdbc4_1-3.76-7-develop-20150303.232217-33.jar
com.openlinksw.virtuoso.virt_sesame2-1.21-7-develop-20150502.002807-20.jar
confirmdialog-2.1.3.jar
dataunit-2.2.0.jar
dataunit-file-2.2.0.jar
dataunit-file-impl-2.2.0.jar
dataunit-rdf-2.2.0.jar
dataunit-rdf-impl-2.2.0.jar
dataunit-relational-impl-2.2.0.jar
eclipselink-2.5.1.jar
esapi-2.0GA.jar
filteringtable-0.9.11.v7.jar
flute-1.3.0.gg2.jar
guava-16.0.1.vaadin1.jar
h2-1.4.182.jar
httpclient-4.4.jar
httpclient-cache-4.2.5.jar
httpcore-4.4.jar
jackson-annotations-2.3.0.jar
jackson-core-2.4.4.jar
jackson-databind-2.3.3.jar
jakarta-regexp-1.4.jar
jasypt-1.9.2.jar
javax.persistence-2.1.0.jar
jcip-annotations-1.0.jar
jcl-over-slf4j-1.7.7.jar
joda-time-1.6.2.jar
json-0.0.20080701.jar
jsonld-java-0.5.1.jar
jsoup-1.6.3.jar
jul-to-slf4j-1.6.1.jar
log4j-over-slf4j-1.6.1.jar
logback-classic-1.1.2.jar
logback-core-1.1.2.jar
lucene-core-3.5.0.jar
lucene-highlighter-3.5.0.jar
lucene-memory-3.5.0.jar
lucene-queries-3.5.0.jar
mail-1.4.jar
maven-artifact-3.3.3.jar
mysql-connector-java-5.1.6.jar
not-yet-commons-ssl-0.3.9.jar
opencsv-3.2.jar
opensaml-2.5.1-1.jar
openws-1.4.2-1.jar
org.eclipse.osgi-3.9.0.v20130305-2200.jar
plexus-utils-3.0.20.jar
popupbutton-2.4.1.jar
postgresql-9.3-1102-jdbc41.jar
refresher-1.2.1.7.jar
sac-1.3.jar
serializer-2.7.1.jar
sesame-config-2.8.1.jar
sesame-console-2.8.1.jar
sesame-http-client-2.8.1.jar
sesame-http-protocol-2.8.1.jar
sesame-model-2.8.1.jar
sesame-query-2.8.1.jar
sesame-queryalgebra-evaluation-2.8.1.jar
sesame-queryalgebra-model-2.8.1.jar
sesame-queryparser-api-2.8.1.jar
sesame-queryparser-serql-2.8.1.jar
sesame-queryparser-sparql-2.8.1.jar
sesame-queryresultio-api-2.8.1.jar
sesame-queryresultio-binary-2.8.1.jar
sesame-queryresultio-sparqljson-2.8.1.jar
sesame-queryresultio-sparqlxml-2.8.1.jar
sesame-queryresultio-text-2.8.1.jar
sesame-repository-api-2.8.1.jar
sesame-repository-contextaware-2.8.1.jar
sesame-repository-dataset-2.8.1.jar
sesame-repository-event-2.8.1.jar
sesame-repository-http-2.8.1.jar
sesame-repository-manager-2.8.1.jar
sesame-repository-sail-2.8.1.jar
sesame-repository-sparql-2.8.1.jar
sesame-rio-api-2.8.1.jar
sesame-rio-binary-2.8.1.jar
sesame-rio-datatypes-2.8.1.jar
sesame-rio-jsonld-2.8.1.jar
sesame-rio-languages-2.8.1.jar
sesame-rio-n3-2.8.1.jar
sesame-rio-nquads-2.8.1.jar
sesame-rio-ntriples-2.8.1.jar
sesame-rio-rdfjson-2.8.1.jar
sesame-rio-rdfxml-2.8.1.jar
sesame-rio-trig-2.8.1.jar
sesame-rio-trix-2.8.1.jar
sesame-rio-turtle-2.8.1.jar
sesame-runtime-2.8.1.jar
sesame-sail-api-2.8.1.jar
sesame-sail-federation-2.8.1.jar
sesame-sail-inferencer-2.8.1.jar
sesame-sail-lucenesail-2.8.1.jar
sesame-sail-memory-2.8.1.jar
sesame-sail-nativerdf-2.8.1.jar
sesame-sail-rdbms-2.8.1.jar
sesame-util-2.8.1.jar
slf4j-api-1.7.7.jar
spring-aop-3.1.2.RELEASE.jar
spring-asm-3.1.4.RELEASE.jar
spring-aspects-3.1.4.RELEASE.jar
spring-beans-3.1.4.RELEASE.jar
spring-context-3.1.4.RELEASE.jar
spring-context-support-3.1.4.RELEASE.jar
spring-core-3.1.4.RELEASE.jar
spring-expression-3.1.4.RELEASE.jar
spring-jdbc-3.1.2.RELEASE.jar
spring-orm-3.1.4.RELEASE.jar
spring-security-cas-3.1.4.RELEASE.jar
spring-security-config-3.1.4.RELEASE.jar
spring-security-core-3.1.4.RELEASE.jar
spring-security-web-3.1.4.RELEASE.jar
spring-tx-3.1.4.RELEASE.jar
spring-vaadin-integration-2.0.1.jar
spring-web-3.0.7.RELEASE.jar
streamhtmlparser-jsilver-0.0.10.vaadin1.jar
uv-dataunit-files-2.1.4.jar
uv-dataunit-helpers-2.1.4.jar
uv-dataunit-rdf-2.1.4.jar
uv-dataunit-relational-2.1.4.jar
uv-dpu-api-2.1.4.jar
uv-dpu-config-vaadin-2.1.4.jar
uv-dpu-helpers-2.1.4.jar
vaadin-client-compiled-7.3.7.jar
vaadin-lazyquerycontainer-2.0.9.jar
vaadin-push-7.3.7.jar
vaadin-sass-compiler-0.9.10.jar
vaadin-server-7.3.7.jar
vaadin-shared-7.3.7.jar
vaadin-slf4j-jdk14-1.6.1.jar
vaadin-themes-7.3.7.jar
velocity-1.5.jar
xalan-2.7.1.jar
xercesImpl-2.10.0.jar
xml-apis-1.4.01.jar
xmlpull-1.1.3.1.jar
xml-resolver-1.2.jar
xmlsec-1.4.4.jar
xmltooling-1.3.2-1.jar
xpp3_min-1.1.4c.jar
xstream-1.4.7.jar
module.path/dpu/
uv-e-distributionMetadata
uv-e-executeShellScript
uv-e-silkLinker
uv-l-filesToVirtuoso
uv-l-relationalToSql
uv-t-filesFilter
uv-t-filesMerger
uv-t-filesRenamer
uv-t-filesToRdf
uv-t-filterValidXml
uv-t-rdfGraphMerger
uv-t-rdfMerger
uv-t-rdfToFiles
uv-t-relational
uv-t-relationalToRdf
uv-t-sparqlConstruct
uv-t-sparqlUpdate
uv-t-unzipper
uv-t-xslt
uv-t-zipper
The text was updated successfully, but these errors were encountered: