Le 3 juil. 2015 04:38, "jmutawa" <[email protected]> a écrit :
>
> Hello Mr. Romain,
>
> Thank you for your reply. I have added the suggested property in
> WEB-INF/application.properties, this is the error I now get:
> /
> SEVERE: CDI Beans module deployment failed
> org.apache.webbeans.exception.inject.DeploymentException:
> org.apache.webbeans.exception.WebBeansConfigurationException: Passivation
> capable beans must satisfy passivation capable dependencies. Bean :
> DashboardHandler, Name:null, WebBeans Type:MANAGED, API
>
Types:[java.lang.Object,org.jboss.dashboard.ui.components.DashboardHandler,java.io.Serializable],
> Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]
> does not satisfy. Details about the Injection-point: Field Injection
Point,
> field name : log, Bean Owner : [DashboardHandler, Name:null, WebBeans
> Type:MANAGED, API
>
Types:[java.lang.Object,org.jboss.dashboard.ui.components.DashboardHandler,java.io.Serializable],
> Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]]/
>
Means an interceptor or decorator is not serializable on this bean.
>
> This seems to be the code it was originally complaining about:
> /
> package org.jboss.dashboard.ui.config.treeNodes;
>
> import javax.annotation.PostConstruct;
> import javax.inject.Inject;
>
> import org.jboss.dashboard.ui.config.AbstractNode;
> import org.jboss.dashboard.ui.config.TreeNode;
>
> public final class RootNode extends AbstractNode {
>
> @Inject
> private WorkspacesNode workspacesNode;
>
> @Inject
> private ResourcesNode resourcesNode;
>
> @Inject
> private GlobalPermissionsNode globalPermissionsNode;
>
> @PostConstruct
> protected void init() {
> super.setSubnodes(new TreeNode[] {workspacesNode, resourcesNode,
> globalPermissionsNode});
> }
>
> public String getId() {
> return "root";
> }
> }
> /
>
Yes, remiving final before class would be the fix.
>
>
> --
> View this message in context:
http://tomee-openejb.979440.n4.nabble.com/Running-JBoss-Dashbuilder-on-TomEE-tp4675437p4675441.html
> Sent from the TomEE Users mailing list archive at Nabble.com.