Newbies Alaru Posted March 5, 2013 Newbies Posted March 5, 2013 Hi, I use Scriptmaster with Filemaker Server 12 on Mac OS Mountain Lion. I have 2 different server side script, both using external functions as GetURLasText and XPathParse. When the 2 scripts are executed in the same time, the FMSE process crashes and scripts are stoppped. I noticed in the data that sometimes, the result of XPathParse in script A was not what it was supposed to be, but actually it was the result of XPathParse command executed in script B. Any idea ? Julien
Newbies Alaru Posted March 5, 2013 Author Newbies Posted March 5, 2013 It looks like another post : http://fmforums.com/forum/topic/78783-filemaker-server-crashing/
Tim Anderson Posted March 6, 2013 Posted March 6, 2013 I saw something like this on Windows Server 2008R2. I found the problem to be in one of the scripts, the results I was getting back from the query that I was using the XpathParse on was not what it should have been and the error trapping I was doing missed the result I was getting. I think this caused the 'cross fertilisation' of results of the scripts and eventually an FMSE crash. Since I found the undocumented response from the query and trap for it it has not happened again - that was about 4 months ago. It's tedious, but I found the 'bad' response by writing the response to a field each time it was returned - slowed the process down (which actually delayed the error!), but I did get a record of the returned xml Hope that helps Tim
Newbies Alaru Posted March 8, 2013 Author Newbies Posted March 8, 2013 I reproduce the problem with 2 scripts running on 2 different databases. I think the problem occurs only on Filemaker Server, not in Filemaker Pro. If I open 2 windows in FM Pro, each one running a script every second (a script including XpathParse command), then no crash happens (and results are not inverted). I really think of stop using Server side script with ScriptMAster commands, but having one FM Pro always opened, running batch scripts.
David Wikström Posted March 8, 2013 Posted March 8, 2013 It would be really great to hear from someone at 360Works on this one...
Newbies Alaru Posted March 8, 2013 Author Newbies Posted March 8, 2013 I understood here that ScriptMaster plugin was not supported in Custom Web Publishing on 64 bits OS. Maybe it is the same with server side scripts on FM Server 64 bits ?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now