You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by smg11 <sa...@gmail.com> on 2015/08/03 03:44:04 UTC

Unsatisfied bundle status for DocumentNodeStore

Hello,

Request your input regarding following issue I am facing.

I am deploying Jackrabbit oak core jar(oak-core-1.3.2 jar) with felix and
wildfly.But felix console shows DocumentNodestore as unsatisfied status.
Reason shows reference javax.sql.Datasource not bound. 

Note: DocumentNodestore using default mongo uri and oak db by default.

Please help me in solving this issue.

Thanks.
smg11



--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Unsatisfied-bundle-status-for-DocumentNodeStore-tp4662715.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Re: Unsatisfied bundle status for DocumentNodeStore

Posted by smg11 <sa...@gmail.com>.
Chetan,

Thanks for the reply.

Oak core bundle imports java.sql package as optional resolution. Do you
suggest me to export the javax.sql package again externally?

Thanks,
smg11



--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Unsatisfied-bundle-status-for-DocumentNodeStore-tp4662715p4662729.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Re: Unsatisfied bundle status for DocumentNodeStore

Posted by Chetan Mehrotra <ch...@gmail.com>.
On Mon, Aug 3, 2015 at 7:14 AM, smg11 <sa...@gmail.com> wrote:
> Reason shows reference javax.sql.Datasource not bound.

Looks like an issue with Pacage Imports for oak-core bundle where
DataSource package should be optional. Can you open an issue for that?

Given that DataSource package is part of JDK you can export that
package via system packages extra of Felix. That should let oak-core
bundle start.

Chetan Mehrotra

Re: Unsatisfied bundle status for DocumentNodeStore

Posted by smg11 <sa...@gmail.com>.
Thanks Clay Ferguson. Let me try the same.



--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Unsatisfied-bundle-status-for-DocumentNodeStore-tp4662715p4662732.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Re: Unsatisfied bundle status for DocumentNodeStore

Posted by Clay Ferguson <wc...@gmail.com>.
My app doesn't need Wildfly or Felix. It just uses maven to build an "uber
jar" that's a jar containing SpringBoot stuff plus maven dependencies for
JackrabbitOak. So there's no OSGi, and no need for a separate webserver
either. SpringBoot builds a JAR that has its own *embedded* Tomcat! So when
I deploy to a server, all I have to do is start MongoDb and then run my
JAR.

Best regards,
Clay Ferguson
wclayf@gmail.com


On Mon, Aug 3, 2015 at 11:35 PM, smg11 <sa...@gmail.com> wrote:

> Thanks for the reply Clay Ferguson.
>
> Let me try the link you have suggested. Please let me know is it compatible
> with Wildfly and felix. Because we are using wildfly as our application
> server.
>
>
>
>
>
> --
> View this message in context:
> http://jackrabbit.510166.n4.nabble.com/Unsatisfied-bundle-status-for-DocumentNodeStore-tp4662715p4662730.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>

Re: Unsatisfied bundle status for DocumentNodeStore

Posted by smg11 <sa...@gmail.com>.
Thanks for the reply Clay Ferguson.

Let me try the link you have suggested. Please let me know is it compatible
with Wildfly and felix. Because we are using wildfly as our application
server.





--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Unsatisfied-bundle-status-for-DocumentNodeStore-tp4662715p4662730.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Re: Unsatisfied bundle status for DocumentNodeStore

Posted by Clay Ferguson <wc...@gmail.com>.
Hi ​smg11,
I have an open source GitHub app that shows how to use Mongo+JCR and get
all the dependencies satisfied without dealing with the horrors of OSGi. ​
It's here: https://github.com/Clay-Ferguson/meta64

meta64.com uses maven to build, and SpringBoot for the rest of the
dependencies, and seems to run well with no problems.

Best regards,
Clay Ferguson
wclayf@gmail.com

On Sun, Aug 2, 2015 at 8:44 PM, smg11 <sa...@gmail.com> wrote:

> Hello,
>
> Request your input regarding following issue I am facing.
>
> I am deploying Jackrabbit oak core jar(oak-core-1.3.2 jar) with felix and
> wildfly.But felix console shows DocumentNodestore as unsatisfied status.
> Reason shows reference javax.sql.Datasource not bound.
>
> Note: DocumentNodestore using default mongo uri and oak db by default.
>
> Please help me in solving this issue.
>
> Thanks.
> smg11
>
>
>
> --
> View this message in context:
> http://jackrabbit.510166.n4.nabble.com/Unsatisfied-bundle-status-for-DocumentNodeStore-tp4662715.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>