Hi Long,

Triggers are stored in a separate database. The default one is called 
'Triggers', and is often shared by multiple databases. Just create another 
database, go to the XQDebug database configuration, and change the triggers 
database setting into this new database. You might need to reinstall XQDebug 
after this.

Note: likewise, Schemas database and Security database are often shared as well 
by all databases.

Kind regards,
Geert

Van: [email protected] 
[mailto:[email protected]] Namens Ton Long Hiep
Verzonden: donderdag 5 mei 2011 9:34
Aan: General MarkLogic Developer Discussion
Onderwerp: Re: [MarkLogic Dev General] Error when installing xqdebug

Dear Keith,

I received this error when installing XQDebug.
The information of my Marklogic:
- Standard edition (Trial)
- Version 4.2-3.2
Thank to your hint, I have just found out the reason: because I have installed 
a trigger which triggers for root directory on Triggers DB. Now, XQDebug is 
running!
However, I have one thing which I don't understand is that I install a trigger 
on Triggers DB for another DB and HTTP App, why it affects this XQDebug DB 
which is new one?

Long Hiep.

On Wed, May 4, 2011 at 7:07 PM, Keith L. Breinholt 
<[email protected]<mailto:[email protected]>> wrote:
XQDebug doesn't use triggers so you might start by looking at other software 
which has set up triggers.

Was error received during the install?  Which version of MarkLogic are you 
using?  What other MarkLogic software do you have installed?

- Keith

From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Ton Long Hiep
Sent: Wednesday, May 04, 2011 9:14 AM
To: [email protected]<mailto:[email protected]>
Subject: [MarkLogic Dev General] Error when installing xqdebug

Dear All,

I have downloaded xqdebug-1.0.2.zip and installed it. However, I receive the 
following:

500 Internal Server Error

ALERT-TRIGGER (err:FOER0000): unknown trigger
in /MarkLogic/alert/trigger.xqy, on line 22,
in alert:do-trigger("/code/xqdebug/xqdebug.zip", <trgr:trigger 
xmlns:trgr="http://marklogic.com/xdmp/triggers";><trgr:trigger-id>10311344255506294147</trgr:trigger-id><trgr:tri...</trgr:trigger>)
 [1.0-ml]
$uri = "/code/xqdebug/xqdebug.zip"
$trigger = <trgr:trigger 
xmlns:trgr="http://marklogic.com/xdmp/triggers";><trgr:trigger-id>10311344255506294147</trgr:trigger-id><trgr:tri...</trgr:trigger>
$doc = fn:doc("/code/xqdebug/xqdebug.zip")
$alert-uris = ()
$when = text{"pre-commit"}
in /MarkLogic/alert/trigger.xqy, on line 39 [1.0-ml]

Could someone help me?

Long Hiep.


NOTICE: This email message is for the sole use of the intended recipient(s) and 
may contain confidential and privileged information. Any unauthorized review, 
use, disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply email and destroy all copies of 
the original message.


_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to