jetztgradnet / grails-osgi-plugin Goto Github PK
View Code? Open in Web Editor NEWOSGi plugin for Grails: run Grails application within an OSGi container
Home Page: http://blog.jetztgrad.net/grails-on-osgi/
License: Other
OSGi plugin for Grails: run Grails application within an OSGi container
Home Page: http://blog.jetztgrad.net/grails-on-osgi/
License: Other
ApplicationContext
ServletContext
GrailsApplication
PluginManager?
e.g. Apache Karaf
Hi, i have been facing an issue with grails 1.3.7 (Linux environment). I just created a project, installed osgi plugin, ran "run-bundle" goal and i got next exception.
18:34:54,269 INFO WarLoaderListener:455 - test (test) is a WAR, scheduling war deployment on context path [/test-0.1](web.xml found at [bundleentry://98.fwk24537021/WEB-INF/web.xml])
18:34:55,424 INFO ContextLoader:187 - Root WebApplicationContext: initialization started
18:34:55,428 INFO OsgiBundleXmlWebApplicationContext:456 - Refreshing OsgiBundleXmlWebApplicationContext(bundle=test, config=/WEB-INF/applicationContext.xml): startup date [Tue Jul 05 18:34:55 ART 2011]; root of context hierarchy
18:34:55,428 INFO OsgiBundleXmlWebApplicationContext:383 - Application Context service already unpublished
18:34:55,430 INFO XmlBeanDefinitionReader:315 - Loading XML bean definitions from URL [bundleentry://98.fwk24537021/WEB-INF/applicationContext.xml]
18:34:55,496 INFO DefaultListableBeanFactory:549 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@64f150: defining beans [grailsApplication,pluginManager,grailsConfigurator,grailsResourceLoader,grailsResourceHolder,characterEncodingFilter]; root of factory hierarchy
18:34:55,529 INFO DefaultListableBeanFactory:422 - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@64f150: defining beans [grailsApplication,pluginManager,grailsConfigurator,grailsResourceLoader,grailsResourceHolder,characterEncodingFilter]; root of factory hierarchy
18:34:55,532 ERROR StackTrace:260 - Sanitizing stacktrace:
org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.codehaus.groovy.grails.commons.GrailsResourceLoaderFactoryBean' to required type 'org.codehaus.groovy.grails.compiler.support.GrailsResourceLoader' for property 'grailsResourceLoader'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.codehaus.groovy.grails.commons.GrailsResourceLoaderFactoryBean] to required type [org.codehaus.groovy.grails.compiler.support.GrailsResourceLoader] for property 'grailsResourceLoader': no matching editors or conversion strategy found
use syntax similar to Remoting, CXF, and other plugins:
static expose = 'osgi'
Is there additional set up to get the plugin to install?
(using grails 1.3.3)
end of error message:
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.springframework.osgi#spring-osgi-core;2.0.0.M1: not found
:: org.springframework.osgi#spring-osgi-io;2.0.0.M1: not found
::::::::::::::::::::::::::::::::::::::::::::::
re-using existing bundles from the SpringSource Enterprise Repository (http://www.springsource.com/repository)
See docs of Ant's manifest task at http://ant.apache.org/manual/CoreTasks/manifest.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.