Thanks again for replying Mike

There aren't any circular dependencies here. Whilst IMO Pomegranate is not a
great configuration management tool (What are others using ??) the
deployment script is suitable for the task that it is currently performing.
I shall create a test case to demonstrate my issue.

Cheers

Si

On 27 September 2011 17:56, Michael Blakeley <[email protected]> wrote:

> Just a guess, but it might be that the other imports aren't really used by
> the query, so they don't interfere with deleting the forest.
>
> I am not familiar with Pomegranate but it seems risky to have a deployment
> or cleanup script that depends on the resources it is deploying or cleaning
> up. So I would try to keep an independent copy of those resources, or break
> up the functionality to remove the circular dependencies.
>
> -- Mike
>
> On 27 Sep 2011, at 06:13 , Simon Hutchinson wrote:
>
> > Hi Mike,
> >
> > Thanks very much for the quick reply.
> > I have updated to 4.2-6.1 but without success.
> >
> > I have however managed to narrow the problem down somewhat since my first
> post.
> >
> > I am using xdmp:xslt-invoke from one of my XQueries. The function
> performs my transform exactly as expected however an unwanted side effect is
> that after making a single request I am unable to delete the forest as
> mentioned in my original post.
> > I have actually narrowed things down to a specific xsl:import within my
> .xsl.
> >
> > My .xsl imports the docbook xhtml xsl. (Note all of the .xsl files are
> stored in the modules db which is attached to the forest that will not
> delete.)
> >
> > <xsl:import href="../docbook5-xsl-1.72.0/xhtml/docbook.xsl" />
> >
> > There are a number of other imports but by commenting the docbook import
> out. I am able to delete the forrest.
> >
> > Can you think of why importing the docbook.xsl might cause this
> behaviour.? MarkLogic is not complaining about anything in the logs and the
> transform works perfectly.
> >
> > Kind regards
> >
> > Si
> >
> > On 26 September 2011 16:36, Michael Blakeley <[email protected]> wrote:
> > Does the app server from which you are running the query use
> ipp-dev-Dflt-Modules? If so, that may be the problem: there's a running
> query using the forest, so it can't close.
> >
> > It's also worth trying an upgrade. 4.2-1 is over a year old, and I'm
> fairly confident that engineering has fixed a bug or two since then. 4.2-6.1
> is available at http://developer.marklogic.com/download/
> >
> > -- Mike
> >
> > On 26 Sep 2011, at 08:11 , Simon Hutchinson wrote:
> >
> > > Hi all,
> > >
> > > I am using MarkLogic 4.2-1 running on Linux
> > >
> > > I have been using Pomegranate to help me with Continuous Integration of
> a MarkLogic project.
> > >
> > > Essentially this boils down to:
> > >
> > > 1. Delete existing stuff - DBs, Forests, App servers etc.....
> > > 2. Deploy latest stuff
> > > 3. Run xquery-unit tests
> > >
> > > However, I am running into an occasional issue with step 1. Having
> deleted detached forest X from database Y I then try to delete forest X.
> > >
> > > I am seeing the following in my log ErrorLog
> > >
> > > 2011-09-26 14:54:27.780 Info: Deleting forest ipp-dev-Dflt-Modules
> > > 2011-09-26 14:55:28.057 Alert: XDMP-FORESTERR: Error in shutdown of
> forest ipp-dev-Dflt-Modules: XDMP-FORESTTIM: Forest ipp-dev-Dflt-Modules
> close operation timed out
> > >
> > > I have been able to re-create the same behaviour when I execute the
> same admin: functions using CQ.
> > > I have tried both deleting and not deleting data when removing the
> forest but without success.
> > >
> > > I would really appreciate any light that you might have to shed on
> this.
> > >
> > > Cheers
> > >
> > > Si
> > > _______________________________________________
> > > General mailing list
> > > [email protected]
> > > http://developer.marklogic.com/mailman/listinfo/general
> >
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://developer.marklogic.com/mailman/listinfo/general
> >
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://developer.marklogic.com/mailman/listinfo/general
>
> _______________________________________________
> General mailing list
> [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