Hi,

Attempting to depoly Magnolia 5.2.1 on Glassfish 4 fails because of a lot of 
CDI related errors. 

Building empty-webapp with maven and then deploying will fails for me because 
the legacy admin interface TreeHandlerManager produces this error :

[code]org.glassfish.deployment.common.DeploymentException: CDI definition 
failure:WELD-000071 Managed bean class 
info.magnolia.module.admininterface.TreeHandlerManager must be @Dependent[/code]

It looks as if the class is not properly complying with the CDI model - 
[url=http://docs.jboss.org/cdi/spec/1.0/html/implementation.html]since any 
generic type must declare the scope @Dependent[/url].I don't need the legacy 
interface, so I excluded that module (hoping that the non-legacy 5.x code would 
be up date with the CDI spec) but I still can't deploy - now because of this :

[code]WARNING:   AS-CDI-005
WARNING:   AS-CDI-005
INFO:   WELD-000119 Not generating any bean definitions from 
com.mycila.inject.schedule.SchedulingModule$Init because of underlying class 
loading error: Type org.quartz.InterruptableJob not found.  If this is 
unexpected, enable DEBUG logging to see the full error.
SEVERE:   Exception during lifecycle processing
org.glassfish.deployment.common.DeploymentException: CDI deployment 
failure:Exception List with 2 exceptions:
Exception 0 :
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied 
dependencies for type [TypeMapping] with qualifiers [@Default] at injection 
point [[BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedConstructor] 
@Inject public 
info.magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl(TypeMapping, 
Node2BeanTransformer)]
[/code]

Has anyone successfully deployed Magnolia on GF4 ?

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=71e16516-6efc-4f48-92ab-f69b8e38c316


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

Reply via email to