I suspect that both messages are related to properties that are referenced in the config XML but not defined.
The first message looks like an empty appserver name. Check the config XML for http-server and xdbc-server elements. They should have an http-server-name or xdbc-server-name that won't be empty. If it's a variable reference, you may need to add it to your local.properties file. It could also be a reference to an appserver name: in that case you'd probably have to debug it from that long stack trace in the ErrorLog.txt file. The second message looks like a blank password. Check the config XML for a 'user' element in the security namespace, and make sure it has a password element that will be filled in. If it's a variable reference, you may need to add it to your local.properties file. Hope that helps. If not, you might consider opening an issue at https://github.com/marklogic/roxy/issues -- Mike > On 24 Feb 2015, at 09:29 , cyanline llc <[email protected]> wrote: > > Hello All, > I'm having issues getting the 'ml local bootstrap' command to run > successfully. My goal is to use roxy's ml command to collect the settings > from an existing db and server, and then deploy it. > > The collections seemingly goes well. Then I copy/merge the relevant > contents from the produced .xml into the default ml-config.xml file that is > generated with the command 'ml new'. > > Initially I was having authentication troubles running 'ml local bootstrap' > - creating a local.properties file fixed that. Next, I am running into the > following error: > > Bootstrapping your project into MarkLogic 7 on localhost... > ERROR: XDMP-AS: (err:XPTY0004) $appserver-name as xs:string -- Invalid > coercion: () as xs:string > See MarkLogic Server error log for more details. > ERROR: ... Bootstrap FAILED > > Being unable to fix that, I tried just replacing ml-config.xml with the > entire, unmodified ml-config-dev.xml (file produced from collection command). > Bootstrapping this file produces the following error: > > Bootstrapping your project into MarkLogic 7 on localhost... > ERROR: XDMP-LEXVAL: sec:password("") -- Invalid lexical value "" > See MarkLogic Server error log for more details. > ERROR: ... Bootstrap FAILED > > Unfortunately, I am unable to make much from the error logs. All it seems > to do is list all of the variables in my xml config file as error:variable, > error:value, etc. Is it telling me I have an error on every variable it > lists? > > Any resources or pointers would be greatly appreciated. > > Thus far I have been using the following 2 resources the most: > > 1. > http://grtjn.blogspot.nl/2014/10/capturing-marklogic-applications-with.html > 2. > http://blog.davidcassel.net/2013/08/capturing-an-app-building-application-with-roxy/ > > Thank you, > Cory > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
