Dynamic Plugin using Adobe Sign SDK

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Dynamic Plugin using Adobe Sign SDK

sapmp 1155
I am trying to implement a new dynamic plugin that uses Adobe Sign Java SDK.

[05/09/17 18:02:12:198 UTC] ERROR AJAX.OSGIAJAX: null
javax.servlet.ServletException: Unresolved constraint in bundle dynamic-plugins.com.mycompany.myproject [13]: Unable to resolve 13.0: missing requirement [13.0] osgi.wiring.package; (&(osgi.wiring.package=com.dotcms.repackage.javax.ws.rs.core)(version>=0.0.0)) Unable to start bundle


Since I got the error above, I've added the line "javax.ws.rs.core" to Exported Packages. Then, I received the following error.


[05/09/17 18:12:14:619 UTC] ERROR business.HostAPIImpl: User dotcms.org.default does not have permission to host:abc.mycompany.com

I cannot even open Admin Site::System::Dynamic Plugins. dotCMS takes me back to Login Page.

I understand that
javax.ws.rs.core is included in com.dotcms.repackage. But Adobe Sign Java SDK uses javax.ws.rs.core.MultivaluedMap so that I cannot replace it with com.dotcms.repackage.javax.ws.rs.core.MultivaluedMap.

What should I do?

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/858cdfb2-2594-47dc-a518-6953f904868a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic Plugin using Adobe Sign SDK

Jason Tesser
well not sure what is throwing [05/09/17 18:12:14:619 UTC] ERROR business.HostAPIImpl: User dotcms.org.default does not have permission to host:abc.mycompany.com

BUT that seems like something in your code that is calling the HostAPI or a call to something that then calls the HostAPI. Maybe try to ensure you are using the system user or that the user you are using has permission to pull all objects your plugin is trying to pullĀ 



On Tue, Sep 5, 2017 at 2:27 PM sapmp 1155 <[hidden email]> wrote:
I am trying to implement a new dynamic plugin that uses Adobe Sign Java SDK.

[05/09/17 18:02:12:198 UTC] ERROR AJAX.OSGIAJAX: null
javax.servlet.ServletException: Unresolved constraint in bundle dynamic-plugins.com.mycompany.myproject [13]: Unable to resolve 13.0: missing requirement [13.0] osgi.wiring.package; (&(osgi.wiring.package=com.dotcms.repackage.javax.ws.rs.core)(version>=0.0.0)) Unable to start bundle


Since I got the error above, I've added the line "javax.ws.rs.core" to Exported Packages. Then, I received the following error.


[05/09/17 18:12:14:619 UTC] ERROR business.HostAPIImpl: User dotcms.org.default does not have permission to host:abc.mycompany.com

I cannot even open Admin Site::System::Dynamic Plugins. dotCMS takes me back to Login Page.

I understand that
javax.ws.rs.core is included in com.dotcms.repackage. But Adobe Sign Java SDK uses javax.ws.rs.core.MultivaluedMap so that I cannot replace it with com.dotcms.repackage.javax.ws.rs.core.MultivaluedMap.

What should I do?

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/858cdfb2-2594-47dc-a518-6953f904868a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAKKUxWcax0FODK9phAwuL4u72OkS4X_3WKcSEhzo61UVB-1FQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic Plugin using Adobe Sign SDK

sapmp 1155
I figured it out. I added the following line in build.gradle.


instruction 'Import-Package',
'!com.dotcms.repackage.javax.ws.rs.core.MultivaluedMap'

Then, it worked.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/06886359-fca8-4a8c-a037-f3fb3fbee256%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic Plugin using Adobe Sign SDK

sapmp 1155
In reply to this post by Jason Tesser
I figured it out. I added the following line in build.gradle.


instruction 'Import-Package',
'!com.dotcms.repackage.javax.ws.rs.core.MultivaluedMap'

Then, it worked. Thanks!

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/269b0858-6ea4-455b-ade4-fda9b3a8c7ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.