Doug, "DefID" is the pk. Any other ideas?
- JS -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Hughes Sent: Monday, April 17, 2006 2:43 PM To: [email protected] Subject: RE: ** Re: [Reactor For CF] XML Error With Reactor - Any Ideas? Is there a PK value on the table? That might be it. I've heard people complain about this in the past. Doug -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Scott Sent: Monday, April 17, 2006 3:24 PM To: [email protected] Subject: RE: ** Re: [Reactor For CF] XML Error With Reactor - Any Ideas? All, The offending call seems to be: <cfset arguments.event.setValue("RoleDef", Reactor.createRecord("Role_Definition")) /> The Role_Definition table is as follows: defID int 4 roleID int 4 siteID int 4 sectionID int 4 cid int 4 rights int 4 I have no references of this table in the reactor.xml file. Let me know if this makes sense. - JS -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Scott Sent: Monday, April 17, 2006 2:11 PM To: [email protected] Subject: RE: ** Re: [Reactor For CF] XML Error With Reactor - Any Ideas? Sean, Finally as you requested here is my reactor.xml file and the error stack trace. Reactor.XML <reactor> <config> <project value="Symphony" /> <dsn value="Symphony" /> <type value="mssql" /> <mapping value="/SymphonyData" /> <mode value="development" /> </config> <object name="User"> <hasOne name="ContactInfo"> <relate from="userid" to="userid" /> </hasOne> </object> </reactor> Stack Trace: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: xsl:for-each is not allowed in this position in the stylesheet! A [Transformer] object cannot be created that satisfies the configuration requested. This could be due to a failure in compiling the [XSL] text. javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: xsl:for-each is not allowed in this position in the stylesheet! The error occurred in C:\Inetpub\wwwroot\frameworks\Reactor\reactor\core\objectTranslator.cfc: line 70 Called from C:\Inetpub\wwwroot\frameworks\Reactor\reactor\core\objectTranslator.cfc: line 45 Called from C:\Inetpub\wwwroot\frameworks\Reactor\reactor\core\objectFactory.cfc: line 102 Called from C:\Inetpub\wwwroot\frameworks\Reactor\reactor\reactorFactory.cfc: line 20 Called from C:\Inetpub\wwwroot\_CAM-SYMPHONY\trunk\controller\SecurityController.cfc: line 35 Called from C:\Inetpub\wwwroot\frameworks\ModelGlue-Live\ModelGlue.cfc: line 482 Called from C:\Inetpub\wwwroot\frameworks\ModelGlue-Live\ModelGlue.cfc: line 332 Called from C:\Inetpub\wwwroot\frameworks\ModelGlue-Live\ModelGlue.cfc: line 304 Called from C:\Inetpub\wwwroot\frameworks\ModelGlue-Live\ModelGlue.cfm: line 64 Called from C:\Inetpub\wwwroot\_CAM-SYMPHONY\trunk\index.cfm: line 27 68 : <cffile action="read" file="#arguments.xslPath#" variable="xsl" /> 69 : <!--- transform this structure into the base TO object ---> 70 : <cfset code = XMLTransform(arguments.objectXML, xsl) /> 71 : <!--- insure the outputPath directory exists ---> 72 : <cfset insurePathExists(arguments.outputPath)> Resources: * Check the ColdFusion documentation to verify that you are using the correct syntax. * Search the Knowledge Base to find a solution to your problem. Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2 Remote Address 127.0.0.1 Referrer Date/Time 17-Apr-06 02:09 PM Stack Trace at cfobjectTranslator2ecfc964525689$funcGENERATE.runFunction(C:\Inetpub\wwwroot \frameworks\Reactor\reactor\core\objectTranslator.cfc:70) at cfobjectTranslator2ecfc964525689$funcGENERATEOBJECT.runFunction(C:\Inetpub\w wwroot\frameworks\Reactor\reactor\core\objectTranslator.cfc:45) at cfobjectFactory2ecfc1650092081$funcCREATE.runFunction(C:\Inetpub\wwwroot\fra meworks\Reactor\reactor\core\objectFactory.cfc:102) at cfreactorFactory2ecfc333258187$funcCREATERECORD.runFunction(C:\Inetpub\wwwro ot\frameworks\Reactor\reactor\reactorFactory.cfc:20) at cfSecurityController2ecfc1907429097$funcONREQUESTSTART.runFunction(C:\Inetpu b\wwwroot\_CAM-SYMPHONY\trunk\controller\SecurityController.cfc:35) at cfModelGlue2ecfc1197677290$funcBROADCASTMESSAGE.runFunction(C:\Inetpub\wwwro ot\frameworks\ModelGlue-Live\ModelGlue.cfc:482) at cfModelGlue2ecfc1197677290$funcHANDLEEVENTREQUEST.runFunction(C:\Inetpub\www root\frameworks\ModelGlue-Live\ModelGlue.cfc:332) at cfModelGlue2ecfc1197677290$funcHANDLEEVENT.runFunction(C:\Inetpub\wwwroot\fr ameworks\ModelGlue-Live\ModelGlue.cfc:304) at cfModelGlue2ecfm1197677076.runPage(C:\Inetpub\wwwroot\frameworks\ModelGlue-L ive\ModelGlue.cfm:64) at cfindex2ecfm111773654.runPage(C:\Inetpub\wwwroot\_CAM-SYMPHONY\trunk\index.c fm:27) coldfusion.xml.XmlConfigurationException: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: xsl:for-each is not allowed in this position in the stylesheet! at coldfusion.xml.XmlProcessor.doTransform(XmlProcessor.java:361) at coldfusion.xml.XmlProcessor.access$100(XmlProcessor.java:53) at coldfusion.xml.XmlProcessor$3.run(XmlProcessor.java:325) at java.security.AccessController.doPrivileged(Native Method) at coldfusion.xml.XmlProcessor.transform(XmlProcessor.java:321) at coldfusion.xml.XmlProcessor.transform(XmlProcessor.java:311) at coldfusion.runtime.CFPage.XmlTransform(CFPage.java:259) at cfobjectTranslator2ecfc964525689$funcGENERATE.runFunction(C:\Inetpub\wwwroot \frameworks\Reactor\reactor\core\objectTranslator.cfc:70) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:348) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:294) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java: 258) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:211) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:173) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:1807) at cfobjectTranslator2ecfc964525689$funcGENERATEOBJECT.runFunction(C:\Inetpub\w wwroot\frameworks\Reactor\reactor\core\objectTranslator.cfc:45) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:348) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:294) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java: 258) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:211) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:173) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:192) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:145) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1634) at cfobjectFactory2ecfc1650092081$funcCREATE.runFunction(C:\Inetpub\wwwroot\fra meworks\Reactor\reactor\core\objectFactory.cfc:102) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:348) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:294) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java: 258) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:211) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:173) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:192) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:145) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1634) at cfreactorFactory2ecfc333258187$funcCREATERECORD.runFunction(C:\Inetpub\wwwro ot\frameworks\Reactor\reactor\reactorFactory.cfc:20) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:348) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:294) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java: 258) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:211) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:173) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:192) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:145) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1634) at cfSecurityController2ecfc1907429097$funcONREQUESTSTART.runFunction(C:\Inetpu b\wwwroot\_CAM-SYMPHONY\trunk\controller\SecurityController.cfc:35) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:348) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:294) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java: 258) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:211) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:370) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:196) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:156) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1594) at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:345) at cfModelGlue2ecfc1197677290$funcBROADCASTMESSAGE.runFunction(C:\Inetpub\wwwro ot\frameworks\ModelGlue-Live\ModelGlue.cfc:482) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:348) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:294) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java: 258) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:211) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:173) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:1807) at cfModelGlue2ecfc1197677290$funcHANDLEEVENTREQUEST.runFunction(C:\Inetpub\www root\frameworks\ModelGlue-Live\ModelGlue.cfc:332) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:348) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:294) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java: 258) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:211) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:173) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:1807) at cfModelGlue2ecfc1197677290$funcHANDLEEVENT.runFunction(C:\Inetpub\wwwroot\fr ameworks\ModelGlue-Live\ModelGlue.cfc:304) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:348) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:294) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java: 258) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:211) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:173) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:192) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:145) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1634) at cfModelGlue2ecfm1197677076.runPage(C:\Inetpub\wwwroot\frameworks\ModelGlue-L ive\ModelGlue.cfm:64) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915) at cfindex2ecfm111773654.runPage(C:\Inetpub\wwwroot\_CAM-SYMPHONY\trunk\index.c fm:27) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:210) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistence Filter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:11 5) at coldfusion.CfmServlet.service(CfmServlet.java:107) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java: 318) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426 ) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:26 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Thanks for the help. - Josh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean Corfield Sent: Friday, April 14, 2006 2:45 AM To: [email protected] Subject: ** Re: [Reactor For CF] XML Error With Reactor - Any Ideas? On 4/13/06, Joshua Scott <[EMAIL PROTECTED]> wrote: > Any ideas any one???? We need to see your reactor.xml file and the full stack trace. -- Sean A Corfield -- http://corfield.org/ Got frameworks? "If you're not annoying somebody, you're not really alive." -- Margaret Atwood -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/

