Hi All,
I am trying to integrate OrientDB with a simple AEM application. after the build, I am getting the error in osgi console as:
Imported Packages | com.sun.jdi -- Cannot be resolved and overwritten by Boot Delegation com.sun.jdi.connect -- Cannot be resolved and overwritten by Boot Delegation com.sun.jdi.event -- Cannot be resolved and overwritten by Boot Delegation com.sun.jdi.request -- Cannot be resolved and overwritten by Boot Delegation |
In sling.properties file, as we used to add the below line
sling.bootdelegation.sun=sun.*,com.sun.*
I am using AEM 6.2, so this particular line is already present in sling.properties file. I am not able to get the pointer as what needs to be done to fix the issue.
Thanks in advance!
Solved! Go to Solution.
Thanks a lot, everyone!!!
I have fixed the issue. I had referred the below URLs for resolving corresponding bundle issues:
https://github.com/mszu/nashorn-scripting-api-fragment
http://www.java2s.com/Code/Jar/j/Downloadjavaxpersistence203jar.htm
Views
Replies
Total Likes
Hi
Have you tried adding the below dependency in your pom file.
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.5.0</version>
<scope>system</scope>
</dependency>
Thanks.
Thanks for the reply. I tried the above, but the JAR is not OSGI compliant. I tried to convert the downloaded jar to OSGI using bnd tool, but still the issue is not resolved.
Views
Replies
Total Likes
It would be great if you can create a github project with what you have. Someone can pick it up from there. It will save a lot of time..
Views
Replies
Total Likes
Hi Vivek,
Please get the code from ritendras / testOrientJava — Bitbucket and do a maven install on AEM.
You will notice that the bundle is in installed state.
I need to fix this bundle issue.
Please let me know if you get any solution.
Views
Replies
Total Likes
I am trying to use JAVA APIs of OrientDB in an AEM project.
Views
Replies
Total Likes
Have you tried wrapping the JAR using an Eclipse plug-in project. Then deploy the bundle to AEM. See how we wrap the SImple JSON JAR in this article --
Adobe Experience Manager Help | Submitting Adobe Experience Manager form data to Java Sling Servlets
I made some changes to bundle POM.. It is active now but I do not have any code to check if that works...
vivek-sachdeva / orientdb-test / commit / 83b61ecfdd04 — Bitbucket
Take a look..
Thanks a lot, everyone!!!
I have fixed the issue. I had referred the below URLs for resolving corresponding bundle issues:
https://github.com/mszu/nashorn-scripting-api-fragment
http://www.java2s.com/Code/Jar/j/Downloadjavaxpersistence203jar.htm
Views
Replies
Total Likes
the last link appears broken..
Could you add some more detail around how you fixed it.. Would be helpful for others.
Views
Replies
Total Likes
Hi,
I have installed the jar file for orient-db-object and orient-db-core manually via OSGI console.
After installation, I faced the issues mentioned in my answer. To resolve the bundles, I followed the links provided in my post:
The Central Repository Search Engine
Hope, this helps!
Hi,
Currently we are facing an issue with com.sun.medialib.mlib cannot be resolved and overwritten by boot delegation.
I had downloaded the jar and updated it as osgi bundle by adding certain properties in the Manifest file. I had installed the bundle and it is active.
Whenever I was installing my project bundle it is showing as Installed State. I am getting an error called com.sun.medialib.mlib cannot be resolved and overwritten by boot delegation.
Need help.
Thanks,
Pradeep Kumar.
Views
Replies
Total Likes
Views
Likes
Replies