In fact, the problem is not related to axis.
It's just a java.lang.NoClassDefFoundError.
To reproduce the problem with nuxeo-5.1.2-GA and the sample project, just add
the following in BookManagerBean.java :
import javax.xml.namespace.QName;
...
public String changeData() throws ClientException {
if (getFirstName().equals(getLastName())) {
facesMessages.add(FacesMessage.SEVERITY_ERROR,
"First name and last name must be different");
return null;
}
DocumentModel document = navigationContext.getChangeableDocument();
String title = getFirstName() + " " + getLastName();
document.setProperty("dublincore", "title", title);
document.setProperty("book", "rating", Long.valueOf(rating));
documentManager.saveDocument(document);
documentManager.save();
// use of QName
QName qname = new QName("test","test");
// end
return null;
}
Calling this method will throw Exception.
It's seems to be a ClassLoading error due to OSGi / NuxeoRuntime / JBoss
ClassLoader.
Consequently i investigate, and i try to add the property at startup:
-Dorg.osgi.framework.bootdelegation=*
But it solves nothing.
Any Ideas ?
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm