11-30-2012 10:42 AM
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?
12-07-2012 10:33 AM
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.
12-05-2012 06:22 AM
No it seems there is no line like this related to my component
12-05-2012 07:11 AM
Did you activated logs for the package 'org.jboss.seam' ?
12-05-2012 08:40 AM
I've enabled debug on org.jboss.seam and that's what I've got
12-05-2012 09:31 AM
Okay, your bean is not deployed in seam. Can you give me the log output just after the hot-reload of your project please.
12-05-2012 09:57 AM
It's a bit long, I've posted in on pastebin
12-05-2012 10:08 AM
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.
12-05-2012 11:36 AM
I still have the same problem, plus
12-05-2012 04:58 PM
Not related, just a warn about an init done in auto commit mode.
12-06-2012 07:44 AM
Let me state again each step I made
12-06-2012 02:30 PM
No I don't. Can we plan a meeting session and share your screen ?
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.