dolfdijkstra / gst-foundation

Sites Global Foundation Project
Apache License 2.0
13 stars 14 forks source link

Installation of 11.6.0 fails for Action framework configuration #14

Open marm01 opened 11 years ago

marm01 commented 11 years ago

Hi,

After following your installation&configuration documentation - http://gst-foundation.org/gsf-11.6.0/site/InstallGuide.html - when i configure the Action framework - http://gst-foundation.org/gsf-11.6.0/site/InstallGuide%20-%20Spring.html -, use the sample configuration file - gsfApplicationContext.xml - and restart the server, i get the following error:

1) Class "com.fatwire.gst.foundation.groovy.spring.GroovyActionLocator" doesn't exist. After looking at your jar file, i changed it to an existing one - "com.fatwire.gst.foundation.groovy.action.GroovyActionLocator" - and it works - ;

Proceeding to the next problem...

2) The following line throws an error, because the referenced class is an interface!

Looking at your jar file, i can see a single class in the aforementioned location - "com.fatwire.gst.foundation.groovy.spring.SpringDiskGroovyLoader". If i use it, i get the following exception:

Caused by: java.lang.NullPointerException at java.io.File.(File.java:222) at com.fatwire.gst.foundation.groovy.DiskGroovyLoader.bootEngine(DiskGroovyLoader.java:67) at com.fatwire.gst.foundation.groovy.spring.SpringDiskGroovyLoader.initServletContext(SpringDiskGroovyLoader.java:57) at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupport.java:73) at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73) at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:70) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:350) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1330) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)

I believe that i have to supply some configuration path, but what value should be supplied?

How can i install this version and configure the Action framework correctly, using your documentation?

Regards.

niravvarma commented 11 years ago

Yup.. facing same issue. Documents are not up-to-date. The examples which are supplied with the download kit are not updated properly. For eg: gsfApplicationContext.xml does not point to correct ActionLoader class.

tfield commented 11 years ago

Thanks all. We are looking into #2. We have updated #1 and the new site will be deployed with updated documentation shortly.

Sincerely,

[image: Function1] http://www.function1.com/Tony Field | Vice President Function1, Inc. main: 416.619.5418 http://www.function1.com/ New York | Washington | Toronto

[image: Call Me] [image: VCard]http://www.function1.com/emailsignature/vcard.php?phone=416.619.5418&fname=Tony&lname=Field&title=Vice%20President&email= [image: LinkedIn] http://www.linkedin.com/in/tonyfield [image: Blog]http://function1.com/blog/ [image: Facebook] http://www.facebook.com/function1corp [image: Twitter]http://twitter.com/function1corp/

On Thu, Jul 11, 2013 at 6:54 AM, niravvarma notifications@github.comwrote:

Yup.. facing same issue. Documents are not up-to-date. The examples which are supplied with the download kit are not updated properly. For eg: gsfApplicationContext.xml does not point to correct ActionLoader class.

— Reply to this email directly or view it on GitHubhttps://github.com/dolfdijkstra/gst-foundation/issues/14#issuecomment-20803594 .

niravvarma commented 11 years ago

Thanks!! That was quick :)

marm01 commented 11 years ago

Can you please provide some help on this issue? We're building a huge solution and we'd like to use this framework. Nevertheless, without support, we're currently thinking of abandoning its use. I kindly request your help in getting this framework to work in 11g.

dolfdijkstra commented 11 years ago

GitHub is community supported. You will have to dig into this yourselves. Something is wrong with the ObjectFactory, you may need to add some debug statements to understand why the wrong object is returned. I suspect the problem is in this class: https://github.com/dolfdijkstra/gst-foundation/blob/master/gsf-action/src/main/java/com/fatwire/gst/foundation/controller/action/support/BaseFactory.java

I have tested the latest version of navigator tag only with groovy Factories. https://github.com/dolfdijkstra/gst-foundation/blob/master/gsf-sample/src/main/groovy/gsf/ObjectFactory.groovy and http://dolfdijkstra.github.io/gst-foundation/samples.html in general.

Function1 can provide paid support on GSF.

On 07/19/2013 11:59 AM, marm01 wrote:

Can you please provide some help on this issue? We're building a huge solution and we'd like to use this framework. Nevertheless, without support, we're currently thinking of abandoning its use. I kindly request your help in getting this framework to work in 11g.

— Reply to this email directly or view it on GitHub https://github.com/dolfdijkstra/gst-foundation/issues/14#issuecomment-21241451.