Alpha

4 views
Skip to first unread message

Brian

unread,
May 14, 2008, 2:26:44 PM5/14/08
to model-glue
I just grabbed the latest release.

In IIS setup site and point to C:\Internet\ATS\trunk\

In CF I have 2 mappings

/ModelGlue c:\internet\ats\trunk\ModelGlue
/coldspring c:\internet\coldspring

When I run

http://localhost/modelgluesamples/helloworld/

I get the error below .. I suspect I overlooked something simple but
can't get this going. any thoughts? Thanks!

Bean creation exception during init() of
ModelGlue.gesture.modules.internal.generation.service.XMLEventGenerationService
Object Instantiation Exception.:Class not found:
org.jdom.output.Format

The error occurred in C:\Internet\coldspring\beans
\DefaultXmlBeanFactory.cfc: line 539
Called from C:\Internet\coldspring\beans\DefaultXmlBeanFactory.cfc:
line 332
Called from C:\Internet\ATS\trunk\ModelGlue\gesture\externaladapters
\beaninjection\ColdSpringBeanInjector.cfc: line 40
Called from C:\Internet\ATS\trunk\ModelGlue\gesture\externaladapters
\beaninjection\ColdSpringBeanInjector.cfc: line 31
Called from C:\Internet\ATS\trunk\ModelGlue\gesture\module
\XMLModuleLoader.cfc: line 193
Called from C:\Internet\ATS\trunk\ModelGlue\gesture\module
\XMLModuleLoader.cfc: line 72
Called from C:\Internet\ATS\trunk\ModelGlue\gesture\eventrequest\phase
\ModuleLoadingRequestPhase.cfc: line 20
Called from C:\Internet\ATS\trunk\ModelGlue\gesture\eventrequest\phase
\Population.cfc: line 16
Called from C:\Internet\ATS\trunk\ModelGlue\gesture\eventrequest
\EventContext.cfc: line 155
Called from C:\Internet\ATS\trunk\ModelGlue\gesture\ModelGlue.cfc:
line 198
Called from C:\Internet\ATS\trunk\ModelGlue\gesture\ModelGlue.cfm:
line 55
Called from C:\Internet\ATS\trunk\modelgluesamples\helloworld
\index.cfm: line 50

537 : <cfthrow type="coldspring.beanCreationException"
538 : message="Bean creation exception during init() of
#beanDef.getBeanClass()#"
539 : detail="#cfcatch.message#:#cfcatch.detail#">
540 : </cfcatch>
541 : </cftry>

Dan Wilson

unread,
May 14, 2008, 2:30:37 PM5/14/08
to model...@googlegroups.com
Brian,
You are probably running on CF7.  TMG3 relies on a specific version of JDOM included in cf8. The version in cf7 doesn't work.

I've already reported this as an issue in the bug tracker. If you want to use MG3, replace your /ModelGlue/Util/CGCodeGenerator.cfc with the attached copy. It will work, though the generated XML won't be pretty.


Report back any issues you have.

DW
--
"Come to the edge, he said. They said: We are afraid. Come to the edge, he said. They came. He pushed them and they flew."

Guillaume Apollinaire quotes
CGCodeGenerator.cfc

Adam Tuttle

unread,
May 27, 2008, 12:23:44 PM5/27/08
to model-glue
Hi all,

I just wanted to say that I found this post very helpful -- thanks for
the modified file, Dan! I'm using it to get MG3 working on Open Blue
Dragon. I also ran into a couple of other small compatability issues,
which I've documented here:

http://tuttletree.com/nerdblog/?p=87

Adam
>  CGCodeGenerator.cfc
> 3KDownload
Reply all
Reply to author
Forward
0 new messages