Looks like it is java environment variable set up thing. I did "JAVA_HOME: 
c:\Program Files\Java\jdk1.7.0_06" "PATH: c:\Program 
Files\Java\jdk1.7.0_06/bin" It is still not working. Did I miss something?

On Monday, March 11, 2013 1:19:59 PM UTC-4, Dan Wilson - [email protected] 
wrote:

> Looks real good. No issues stick out for me.
>
> Just for fun, try reloading the application like this:
> http://127.0.0.1:8500/translator/?init=true
>
> If the error doesn't go away, zip up the entire translator directory and 
> email it to the list. I'll figure out what's going on..
>
>
> DW
>  
>   Lucy Miles <javascript:>
>  Monday, March 11, 2013 12:55 PM
> http://127.0.0.1:8500/translator/
>
> <beans>
>
> <!-- This is your Model-Glue configuration -->
> <bean id="modelglue.modelGlueConfiguration"
> class="ModelGlue.gesture.configuration.ModelGlueConfiguration">
>
> <!-- Be sure to change these to false when you go to production! -->
> <property name="reload"><value>true</value></property>
> <property name="debug"><value>true</value></property>
>
> <!-- Name of the URL variable that states which event-handler to run
> -->
> <property name="eventValue"><value>event</value></property>
> <!-- Default event-handler -->
> <property name="defaultEvent"><value>page.index</value></property>
> <!-- Execute this event when the requested event is missing. Won't
> work if generationEnabled=true and in development mode! -->
> <property name="missingEvent"><value>page.missing</value></property>
> <!-- Execute this event when an error occurs. -->
> <property name="defaultExceptionHandler"><value>page.error</value></
> property>
>
> <!-- Controls reloading -->
> <property name="reloadPassword"><value>true</value></property>
> <property name="reloadKey"><value>init</value></property>
>
> <!-- Where to find necessary files -->
> <property name="configurationPath"><value>config/ModelGlue.xml</
> value></property>
> <property name="applicationMapping"><value>/translator</value></
> property>
> <property name="viewMappings"><value>/translator/views</value></
> property>
> <property name="helperMappings"><value>/translator/helpers</value></
> property>
>
> <!-- Generate unknown events when in development mode?
> (reload=false) -->
> <property name="generationEnabled"><value>false</value></property>
>
> <!-- Set the default cache timeout in seconds -->
> <property name="defaultCacheTimeout"><value>60</value></property>
>
> <!-- Scaffolding config -->
> <!-- Turning this off will disable any scaffold generation. Turning
> this on requires the reload setting above to also be on.-->
> <property name="rescaffold"><value>true</value></property>
> <!-- Where do you want generated views to be saved to? -->
> <property name="generatedViewMapping"><value>views</value></property>
> <!--This directory structure should already exists. ModelGlue will
> create the Scaffolds.xml file and overwrite as needed.-->
> <property name="scaffoldPath"><value>config/scaffolds/Scaffolds.xml</
> value></property>
> <!-- What scaffold generation patterns should ModelGlue use if you do
> not specify in the <scaffold type=""> attribute? .-->
> <property
> name="defaultScaffolds"><value>list,edit,view,commit,delete</value></
> property>
>
> <!-- See documentation or ModelGlueConfiguration.cfc for additional
> options. -->
> </bean>
>
> <!--
> If you need your own configuration values (datasource names, etc),
> put them here.
>
> See modelgluesamples/simpleconfiguration/controller/Controller for an
> example of how to get to the values.
>
> Advanced users who are used to ColdSpring will probably delete this
> bean in favor of their own approach.
> -->
> <bean id="modelglue.applicationConfiguration"
> class="ModelGlue.Bean.CommonBeans.SimpleConfig">
> <property name="config">
> <map>
> <entry key="myDatasource"><value>myDatasource</value></entry>
> </map>
> </property>
> </bean>
>
> <!-- Put definitions for your own beans and services here -->
>
> <!-- ORM Framework Configuration -->
>
> <!--
> To connect Model-Glue to either the
> Transfer or Reactor ORM frameworks
> uncomment and configure the appropriate block below
> -->
>
> <!--
> Transfer:
>
> <alias alias="ormAdapter" name="ormAdapter.Transfer" />
> <alias alias="ormService" name="ormService.Transfer" />
> <bean id="transferConfiguration"
> class="transfer.com.config.Configuration">
> <constructor-arg name="datasourcePath"><value>/
> modelglueapplicationtemplate/config/transfer/Datasource.xml</value></
> constructor-arg>
> <constructor-arg name="configPath"><value>/
> modelglueapplicationtemplate/config/transfer/Transfer.xml</value></
> constructor-arg>
> <constructor-arg name="definitionPath"><value>/
> modelglueapplicationtemplate/model/data/transfer</value></constructor-
> arg>
> </bean>
>
> Reactor:
>
> <alias alias="ormAdapter" name="ormAdapter.Reactor" />
> <alias alias="ormService" name="ormService.Reactor" />
> <bean id="reactorConfiguration" class="reactor.config.config">
> <constructor-arg name="pathToConfigXml"><value>/
> modelglueapplicationtemplate/config/reactor/Reactor.xml</value></
> constructor-arg>
> <property name="project"><value>test</value></property>
> <property name="dsn"><value>test</value></property>
> <property name="type"><value>mysql</value></property>
> <property name="mapping"><value>/modelglueapplicationtemplate/model/
> data/reactor</value></property>
> <property name="mode"><value>development</value></property>
> </bean>
> -->
>
> </beans>
>
> On Mar 11, 12:51 pm, Dan Wilson <[email protected]> wrote:
>
>   Dan Wilson <javascript:>
>  Monday, March 11, 2013 12:51 PM
>  Ok. Are you still getting the error?
>
> If so, post your entire ColdSpring.xml along with the URL you are using to 
> access it.
>
>
> DW
>
>   Lucy Miles <javascript:>
>  Monday, March 11, 2013 12:50 PM
> I changed it in ColdSpring.xml. I followed instruction as
> https://github.com/modelglue/modelglue-framework/wiki/QuickStart
> exactly.
> <!-- Where to find necessary files -->
> <property name="configurationPath"><value>config/ModelGlue.xml</
> value></property>
> <property name="applicationMapping"><value>/translator</value></
> property>
> <property name="viewMappings"><value>/translator/views</value></
> property>
> <property name="helperMappings"><value>/translator/helpers</value></
> property>
>
>
>
>
>   Dan Wilson <javascript:>
>  Monday, March 11, 2013 12:44 PM
> That may be the case, but there are references in the coldspring.xml file, 
> which point to modelglueapplicationtemplate.
>
> The error you are getting is because ColdSpring was told to make an object 
> it can not find. So we need to figure out what object that is, and where it 
> thinks it's supposed to go. 
>
>
>
> <property name="applicationMapping"><value>/
> modelglueapplicationtemplate</value></property>
> <property name="viewMappings"><value>/modelglueapplicationtemplate/
> views</value></property>
> <property name="helperMappings"><value>/modelglueapplicationtemplate/
> helpers</value></property>
>
>
>
>
>
> Lucy Miles wrote:
>   Lucy Miles <javascript:>
>  Monday, March 11, 2013 12:34 PM
> Actually, I changed modelglueapplicationtemplate to translator. That
> is fine. If I don't change, I will get the same stack trace as the
> with "modelglueapplicationtemplate" instead of "translator"
>
>  

-- 
-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"model-glue" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to