An error occured while executing the chain : No operation was bound on ID

Hello,

I'm a newbie in Nuxeo IDE and try to export an operation with Eclipse.

  • The operation exported is visible in my “registry” on connect
  • and I can call it in an automation chain

Nevertheless, when I call the automation chain I got the message: An error occured while executing the chain / No operation was bound on ID

  • I try to add the exported jar in nxserver/plugins but it doesn't change anything.

Do you know why ?

thanks

0 votes

5 answers

2229 views

ANSWER



I solved the problem. You have to update pom file, to generate a jar with the right META-INF.MF. Use jar plugin with this config :

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-jar-plugin</artifactId>
    ...
    <configuration>
      <archive>
        <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
      </archive>
    </configuration>
    ...

Maybe nuxeo could add this to Nuxeo documentation.

0 votes



ok thank you very much :-)
03/17/2014


Hi,

The jar created by mvn install is not working, but the one created by IDE (Nuxeo > export jar) is working. Do you how to fix maven to produce the same jar ?

Thanks

0 votes



I have the same problem

My .jar is in nxserver/plugins, but i have the message : No operation was bound on ID ?

Any help thanks

0 votes



Thank you very much,

I don't really know why? (./nuxeoctl console ???)

thanks

0 votes



Hi,

Adding the jar in nxserver/plugins should do it. Make sure you have restarted your server. If you want to know what operations are available on your server, I suggest you go to http://localhost:8080/nuxeo/site/automation/doc/

It displays the list of deployed operations.

0 votes