Bogdan Stefanescu wrote:
Hi all,

NXRuntime packaging was changed to be able to use an isolated class loader in nuxeo.ear Thus nxruntime.jar, NXJBossAdapter.sar and nuxeo-osgi.jar were moved inside nuxeo.ear
and some classes were refactored.

If you update from svn you should revert to a clean JBoss. For this remove your old nuxeo jars:
deploy/nuxeo.ear
deploy/osgi-service.xml
deploy/NXRuntime.jar
deploy/NXJBossAdapter.sar
lib/nuxeo-common.jar
lib/nuxeo-extensions.jar
lib/nuxeo-osgi.jar

And redeploy all.

Also the deployment.order is no more used I will remove it soon from the build


Regards,
Bogdan

Hi,

I'm trying to deploy nxruntime + nxthemes demo

it seems that NXRuntime.jar requires:

commons-io-1.2.jar
commons-lang-2.1.jar
commons-fileupload-1.1.1.jar

they are referenced in org.nuxeo.ecm.webapp/ lib-fragments.xml

otherwise I get:

11:02:48,449 WARN [ServiceController] Problem creating service nx:type=service,name=RuntimeAdapter
java.lang.NullPointerException
at org.nuxeo.runtime.jboss.adapter.RuntimeAdapter.createService(RuntimeAdapter.java:108) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

also note that deployment currently works because these libraries are referenced in 'lib-fragments.xml' which comes first before 'nx...' thanks to alphabetic order

if you rename 'lib-fragments.xml' as 'zz-lib-fragments.xml' it won't work. So I guess that a dependency on 'commons-..' must be added in NXRuntime.jar/sar ...

/JM

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to