Hi Daniel,

Have you set the module class in your module descriptor?

In the sample src/main/resources/META-INF/magnolia/blossomSample.xml reads:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module SYSTEM "module.dtd">
<module>
  <name>blossomSample</name>
  <displayName>Magnolia Blossom Sample Module</displayName>
  <class>info.magnolia.blossom.sample.BlossomSampleModule</class>
  
<versionHandler>info.magnolia.blossom.sample.BlossomSampleVersionHandler</versionHandler>
  <version>1.0.0-SNAPSHOT</version>
  <dependencies>

// Tobias

On Feb 23, 2011, at 10:44 AM, Daniel Schlegel wrote:

> Hello 
> I want de integrate Blossom in our Magnolia Projekt and followed the 
> instructions here: 
> http://documentation.magnolia-cms.com/modules/blossom.html#Installing
> 
> My Magnolia Project has one global pom and 3 other modules. i want to have 
> blossom integration in one of these modules. The Blossom module "works" but 
> my paragraphs, templates, ... are not autodetected like in the sample 
> application.
> 
> I added the Blossom listener before the magnolia listener. in the demo 
> project i see, that i get in the start method but this does not work in my 
> configuration.
> 
> public class BlossomSampleModule extends BlossomModuleSupport implements 
> ModuleLifecycle {
> 
>    public void start(ModuleLifecycleContext moduleLifecycleContext) {
>        initRootWebApplicationContext("classpath:/applicationContext.xml"); // 
> Breakpoint here works here in sample application but not in mine
>        initBlossomDispatcherServlet("blossom", 
> "classpath:/blossom-servlet.xml");
>    }
> 
>    public void stop(ModuleLifecycleContext moduleLifecycleContext) {
>        destroyDispatcherServlets();
>        closeRootWebApplicationContext();
>    }
> }
> 
> 
> it seams, that spring hasn't been started. im not a spring pro and need help. 
> how can i debug or verify if blossom/spring really works in magnolia?
> 
> thanks for your help
> 
> dani
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to