replication and org.exist.xquery.modules.jndi.JNDIModule

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

replication and org.exist.xquery.modules.jndi.JNDIModule

mountainbiker
We are setting up 3.1.1 on Linux.  Out of the box, it is loading org.exist.xquery.modules.jndi.JNDIModule in the conf.xml, we are getting the exist.log error

Configuration problem: class not found for module 'http://exist-db.org/xquery/jndi' (ClassNotFoundException); class:'org.exist.xquery.modules.jndi.JNDIModule'; message:'org.exist.xquery.modules.jndi.JNDIModule

and it is prevnting the JMS listener from joining the ActiveMQ.

If we comment out the module load, we don't get the error and the listener starts as expected.
Reply | Threaded
Open this post in threaded view
|

Re: replication and org.exist.xquery.modules.jndi.JNDIModule

Adam Retter
The JNDI module is disabled by default in extensions/build.properties,
however it seems to be enabled by default in conf.xml.

These two should really align, as such I have prepared a fix here -
https://github.com/eXist-db/exist/pull/1397/commits/345dab27ea0ecdf4812fef2b9dfb365aabd98b16

However, I doubt that is the problem which is stopping the JMS
listener. Perhaps Dannes could comment?

On 10 April 2017 at 08:32, mountainbiker <[hidden email]> wrote:

> We are setting up 3.1.1 on Linux.  Out of the box, it is loading
> org.exist.xquery.modules.jndi.JNDIModule in the conf.xml, we are getting the
> exist.log error
>
> Configuration problem: class not found for module
> 'http://exist-db.org/xquery/jndi' (ClassNotFoundException);
> class:'org.exist.xquery.modules.jndi.JNDIModule';
> message:'org.exist.xquery.modules.jndi.JNDIModule
>
> and it is prevnting the JMS listener from joining the ActiveMQ.
>
> If we comment out the module load, we don't get the error and the listener
> starts as expected.
>
>
>
> --
> View this message in context: http://exist.2174344.n4.nabble.com/replication-and-org-exist-xquery-modules-jndi-JNDIModule-tp4672050.html
> Sent from the exist-open mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Exist-open mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/exist-open



--
Adam Retter

eXist Developer
{ United Kingdom }
[hidden email]
irc://irc.freenode.net/existdb

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: replication and org.exist.xquery.modules.jndi.JNDIModule

Dannes Wessels-2
On 10 Apr 2017, at 18:33 , Adam Retter <[hidden email]> wrote:

However, I doubt that is the problem which is stopping the JMS
listener. Perhaps Dannes could comment?

I will check this myself, but also I have my doubts; I checked the code, and nothing in the code would stop initialisation of the startup of the JMS listener.

My question: how is the JMS listener started? via an xquery startup script or via an entry in conf.xml?

cheers

Dannes



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: replication and org.exist.xquery.modules.jndi.JNDIModule

mountainbiker
@Dannes - We are using the older conf.xml method as highlighted under the "Consumer (slave)" section of https://github.com/eXist-db/messaging-replication/wiki/Document-replication.
Reply | Threaded
Open this post in threaded view
|

Re: replication and org.exist.xquery.modules.jndi.JNDIModule

lin_xd

can we using the btrfs do backup or replication?



--
此致

   林晓东

莫愁前路无知己,天下谁人不识君。


At 2017-04-11 14:39:41, "mountainbiker" <[hidden email]> wrote: >@Dannes - We are using the older conf.xml method as highlighted under the >"Consumer (slave)" section of >https://github.com/eXist-db/messaging-replication/wiki/Document-replication. > > > >-- >View this message in context: http://exist.2174344.n4.nabble.com/replication-and-org-exist-xquery-modules-jndi-JNDIModule-tp4672050p4672060.html >Sent from the exist-open mailing list archive at Nabble.com. > >------------------------------------------------------------------------------ >Check out the vibrant tech community on one of the world's most >engaging tech sites, Slashdot.org! http://sdm.link/slashdot >_______________________________________________ >Exist-open mailing list >[hidden email] >https://lists.sourceforge.net/lists/listinfo/exist-open


 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: replication and org.exist.xquery.modules.jndi.JNDIModule

Dannes Wessels-3
Hi,

On Wed, Apr 12, 2017 at 1:40 AM, 林晓东 <[hidden email]> wrote:

can we using the btrfs do backup or replication?

for replication: no - I'd not see how that should work
for backup: in the end eXist writes data to files, so whatever a xFS provides as functionality, you can use; but only if the file system guarantees consistency over *all* (dbx) files. Note that eXist-db uses memory caches, so you'll loose that data.

D.


--
eXist-db Native XML Database - http://exist-db.org
Join us on linked-in: http://www.linkedin.com/groups?gid=35624

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open