Installing Transfer in ModelGlue:Unity

Today we will install the Transfer ORM inside our Contact-O-Matic application. To complete this tutorial, you should have the Contact-O-Matic installed and running. If you have not completed this step, please create the database described at the bottom of Series 6 and install the files at Series 10 download link. Test the application by manually adding several ContactTypes to the ContactType table in your database (I chose Co-Worker, Enemy, Friend). Then use the Contact Form in the ContactOMatic application to enter a few contacts.

[More]

There are no comments for this entry.

Add Comment Subscribe to Comments

4/16/09 4:40 AM # Posted By Joe

Hello,

I just downloaded the most recent version of the Transfer ORM and am having all sorts of difficulty with your transfer.xml

   Not using an ORM adapter. You will not be able to do automatic database functions. I did a copy and paste. I see no other problems reported so I might assume the xsd changed since the time of this post?

Cause: Transfer failed to load: coldspring.beanCreationException : Bean creation exception during init() of transfer.TransferFactory : The XML Provided in 'C:\Inetpub\wwwroot\ContactManagerMG\config\transfer\Transfer.xml' is not valid against its XML Schema:[Error] :32:19: cvc-complex-type.2.4.a: Invalid content was found starting with element 'objectDefintions'. One of '{"":nullValues, "":objectDefinitions}' is expected.


4/16/09 4:45 AM # Posted By Joe

Can I retract my post?

The problem was simply that the <objectDefinitions> tag was missing one of the "i"s


7/1/09 11:46 AM # Posted By James

Thanks to Joe for picking out the missing "i" in the <objectDefinitions>. Fixed my problem.


9/22/09 10:51 AM # Posted By Philip Bedi

Hi Dan,

I am getting following error and when I check the xml there isn't any ModelGlue bean:

There is no bean registered with the factory with the id ModelGlue

The error occurred in C:\inetpub\wwwroot\coldspring\beans\AbstractBeanFactory.cfc: line 146
Called from C:\inetpub\wwwroot\coldspring\beans\AbstractBeanFactory.cfc: line 215
Called from C:\inetpub\wwwroot\coldspring\beans\BeanDefinition.cfc: line 534


9/22/09 10:56 AM # Posted By Philip Bedi

Actally I am using - MG:3 Gesture, and I need to comment the definition, and now it worked.

cheers

philip


Add Comment Subscribe to Comments