Deploying custom Java code in v5.6: Missing Operation Action?

I have a running v5.6 instance. I have updated my studio customizations and I have created a .jar file, in Eclipse, of my custom Java actions etc. I placed the custom .jar file in the $Nuxeo_Home/nxserver/plugins directory. I checked inside the .jar for the BESStartTraveler java class, it is in there. Started nuxeo and noted a xxxxxx.jar.tmp file containing the expansion of the .jar file created in Eclipse.

Getting the error:

2012-11-07 10:26:03,982 ERROR [org.nuxeo.ecm.automation.jsf.OperationActionBean] org.nuxeo.ecm.automation.OperationNotFoundException: No operation was bound on ID: BESStartTraveler org.nuxeo.ecm.automation.OperationNotFoundException: No operation was bound on ID: BESStartTraveler

This procedure worked/works with v5.5.

Any suggestions why the binding is not happening?

0 votes

1 answers

2597 views

ANSWER



I selected my project and used File -> Export -> Jar (which caused the error above) instead of RightClick->Nuxeo->Export JAR.

Select Project ->RightClick->Nuxeo->Export JAR works.

0 votes



Thanks for the feedback.
11/09/2012