5 Replies Latest reply on Jul 23, 2009 7:26 PM by hemant_k

    ORM Code Generator not showing up

    supamark Level 1

      Hi, if I right click on a table in the RDS Dataview the "ORM Code Generator", "ModelGlue Assistant" and "Generate AS Class from DB Table" are not showing up. Does anyone has a clou why not ?

      I had a CF8 & CF9 installation on the machine yesterday and got some error messages while trying to use the ORM Code Generator. I thought the problem was running CF8 & CF9 on the same pc. I unistalled everything: CF8, CF9 and ColdFusion Builder to have a "Clean" Testing Enviroment. After installing just CF9 and Buider new the already named options are missing in the RDS Dataview.  Thanks for your help.

        • 1. Re: ORM Code Generator not showing up
          hemant_k Employee Moderator

          Can you go to Preferences --> Extensions and check if the extensions are installed? Can you also check which server are they associated with? Is it same as the one you are using via RDS dataview?

           

          In case you dont find an extension installed, you can easily install them from the zip file that is in the <install_root>/extensions folder. If the extensions are already installed, you can import them from your existing server.

          • 2. Re: ORM Code Generator not showing up
            supamark Level 1

            Thank you very much. The showing of the extensions works now. Create CFC works also. Trying to use the "Create ORM CFC" does not work. Right click on a Db table choosing "Create ORM CFC". The dialog shows up. But after entering the location for the CFC. "C:/ColdFusion9/wwwroot " a error message is shown:

             

            "Error occured while parsing response from handler "/handlers/ormCFCGernerator.cfm". Check logo for more details."

             

            Checking the error log file shows:

            "rg.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
            at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
            at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
            at com.adobe.ide.coldfusion.appcodegeneration.runtime.DOMResponseParser.parse(DOMResponsePar ser.java:63)
            at com.adobe.ide.coldfusion.appcodegeneration.runtime.CFMHandler.parseResponseBody(CFMHandle r.java:249)
            at com.adobe.ide.coldfusion.appcodegeneration.runtime.CFMHandler.callHandler(CFMHandler.java :220)
            at com.adobe.ide.coldfusion.appcodegeneration.runtime.CFMHandler.performExecute(CFMHandler.j ava:113)
            at com.adobe.ide.coldfusion.appcodegeneration.runtime.CFMenuHandler$1.run(CFMenuHandler.java :208)
            at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)"

             

            I installed the extention to C:/ColdFusion9/wwwroot  with my server CF9 set. Do you have any idea want I have done wrong ?

            • 3. Re: ORM Code Generator not showing up
              Sandeeppaliwal Level 2

              Hi,

              can you switch off show debug output setting in CF9 server admin and try again?

               

              thanks,

              Sandeep

              Adobe ColdFusion team

              • 4. Re: ORM Code Generator not showing up
                supamark Level 1

                Hi Sandeep, thank you now it works ! Mark