cancel
Showing results for 
Search instead for 
Did you mean: 

Nuxeo doesn't resolve any Action Seam

roccapl_
Confirmed Champ
Confirmed Champ

I set up eclipse on a windows 7 machine with the 5.6 tomcat release of nuxeo. I created a fresh new workspace. I'm using java 1.6.0_37 to run the server. I installed the latest stable version of Nuxeo IDE. I've created a Nuxeo Plugin Project using the wizard and then an Action Seam called 'test' using the wizard without modyfing any code.

Nuxeo complains with:


ERROR [org.nuxeo.ecm.platform.actions.DefaultActionFilter] evaluation of condition SeamContext.get("test").accept() failed: returning false

and if i delete the filter condition from the xml then i get this error

ERROR [javax.enterprise.resource.webcontainer.jsf.application] javax.el.PropertyNotFoundException: Target Unreachable, identifier 'test' resolved to null

what could have happened?

1 ACCEPTED ANSWER

slacoin_Lacoin
Star Contributor
Star Contributor

The seam action bean is not loaded because the nuxeo runtime used is not a SDK. The SDK distribution includes is pre-bundled with all sources and also some development components that we don't want in a standard distribution. The seam hot-reloader is bundled in that way.

View answer in original post

23 REPLIES 23

roccapl_
Confirmed Champ
Confirmed Champ

No it seems there is no line like this related to my component

slacoin_Lacoin
Star Contributor
Star Contributor

Did you activated logs for the package 'org.jboss.seam' ?

roccapl_
Confirmed Champ
Confirmed Champ

I've enabled debug on org.jboss.seam and that's what I've got

slacoin_Lacoin
Star Contributor
Star Contributor

Okay, your bean is not deployed in seam. Can you give me the log output just after the hot-reload of your project please.

roccapl_
Confirmed Champ
Confirmed Champ

It's a bit long, I've posted in on pastebin

slacoin_Lacoin
Star Contributor
Star Contributor

Thanks, I think I've got it. The bean deployment is not taken in account because you're not in dev mode. Can you edit 'NUXEO_HOME/bin/nuxeo-sdk.conf' and uncomment the line 'org.nuxeo.dev=true' and restart the nuxeo instance. It should work then.

The key-point in the log was the message

2012-12-05 14:56:02,544 INFO  [org.nuxeo.ecm.platform.ui.web.reload.NuxeoJSFReloadHandler] Do not flush the JSF application: debug mode is not set

The next IDE hot fix release will fix this configuration problem NXIDE-234. Sorry for the time you've lost on this.

I still have the same problem, plus

Not related, just a warn about an init done in auto commit mode.

Let me state again each step I made

No I don't. Can we plan a meeting session and share your screen ?

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.