The jars that are contained by the application bundles like the xsom
library that is contained by nuxeo-core-schema
are extracted and copied in that directory and then added on the
application classpath.
This is done before osgi bundles are loaded at application startup.
So after starting the application you should have something in that dir.
Please, send me a zip with your client application. I will tell you what
is wrong.
Bogdan
V D wrote:
I don't have any files in app/data/nested-bundles, what do you think is broken
in my deployment ?
----- Message d'origine ----
De : Bogdan Stefanescu <[EMAIL PROTECTED]>
À : Vincent Dutat <[EMAIL PROTECTED]>
Cc : [email protected]
Envoyé le : Lundi, 15 Octobre 2007, 21h50mn 28s
Objet : Re: [Ecm] Re: [Dev] Nuxeo command line client
It seems a library is missing from your app. Check the JAR
app/bundles/nuxeo-core-schema-1.4-SNAPSHOT.jar
and make sure it contains the lib/xsom-20060306.jar.
After starting the app. look into app/data/nested-bundles and make sure
you have a jar
nuxeo-core-schema-1.4-SNAPSHOT.jar-lib_xsom-20060306.jar
If you don;t have these jars something is broken in your client
deployment
Bogdan
Vincent Dutat wrote:
Hi,
I followed your instruction to compile nuxeoshell but I get an
exception when I run nuxeoshell :
run.sh interactive
Failed to load components for bundle - org.nuxeo.ecm.core.schema
java.lang.NoClassDefFoundError: com/sun/xml/xsom/XSType
at
org.nuxeo.ecm.core.schema.TypeService.activate(TypeService.java:75)
at
org.nuxeo.runtime.model.impl.ComponentInstanceImpl.activate(ComponentInstanceImpl.java:107)
at
org.nuxeo.runtime.model.impl.RegistrationInfoImpl.activate(RegistrationInfoImpl.java:229)
at
org.nuxeo.runtime.model.impl.RegistrationInfoImpl.resolve(RegistrationInfoImpl.java:295)
at
org.nuxeo.runtime.model.impl.ComponentManagerImpl._register(ComponentManagerImpl.java:168)
at
org.nuxeo.runtime.model.impl.ComponentManagerImpl.register(ComponentManagerImpl.java:134)
at
org.nuxeo.runtime.model.impl.DefaultRuntimeContext.deploy(DefaultRuntimeContext.java:87)
at
org.nuxeo.runtime.osgi.OSGiRuntimeService.loadComponents(OSGiRuntimeService.java:128)
at
org.nuxeo.runtime.osgi.OSGiRuntimeService.createContext(OSGiRuntimeService.java:89)
at
org.nuxeo.runtime.osgi.OSGiComponentLoader.install(OSGiComponentLoader.java:54)
at
org.nuxeo.runtime.osgi.OSGiComponentLoader.<init>(OSGiComponentLoader.java:39)
at
org.nuxeo.runtime.osgi.OSGiRuntimeActivator.start(OSGiRuntimeActivator.java:50)
at org.nuxeo.osgi.BundleImpl.start(BundleImpl.java:175)
at
org.nuxeo.osgi.BundleRegistry.doRegister(BundleRegistry.java:159)
at
org.nuxeo.osgi.BundleRegistry.register(BundleRegistry.java:114)
at
org.nuxeo.osgi.BundleRegistry.install(BundleRegistry.java:75)
at org.nuxeo.osgi.OSGiAdapter.install(OSGiAdapter.java:124)
at
org.nuxeo.runtime.launcher.StandaloneBundleLoader.installBundle(StandaloneBundleLoader.java:66)
at
org.nuxeo.runtime.launcher.ApplicationLoader.installAll(ApplicationLoader.java:125)
at
org.nuxeo.runtime.launcher.RuntimeLoader.loadRuntime(RuntimeLoader.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at Launcher.main(Launcher.java:128)
|>
Stefane Fermigier wrote:
The command line client depends on nuxeo-runtime-scripting which has
been added only today to the default build configuration (on the
trunk), and so hasn't been deployed to our maven repository (this
happens every night).
So to build the client, you need:
- run 'mvn install' in org.nuxeo.runtime/nuxeo-runtime-scripting
- run 'mvn install' in org.nuxeo.ecm.client
-> you get a nuxeo-client.zip in nuxeo-client-build/target/ which
contains everything that's needed. Or just run 'run.sh' in
nuxeo-client-build/target/.
S.
On Oct 3, 2007, at 7:42 PM, John Goerzen wrote:
On 2007-10-02, Bogdan Stefanescu <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi all,
I wrote an extensible command line client for Nuxeo EP. I am
working now
on the documentation.
For those who wants to have a look, they can found the sources
here:
https://svn.nuxeo.org/nuxeo/org.nuxeo.ecm.client
This sounds like something perfect for us. I was about to start
work on
a SOAP version.
I checked out the sources but couldn't figure out how to get them
to
build. There was no build.xml or Makefile anywhere. The very
basic
mvn
commands in the reference book didn't help, either. Can you post a
quick recipe?
-- John
_______________________________________________
ECM mailing list
[email protected] <mailto:[email protected]>
http://lists.nuxeo.com/mailman/listinfo/ecm
--
Stefane Fermigier, CEO, Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Nuxeo 5 EP is out! - Now Java EE based, standards compliant
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
------------------------------------------------------------------------
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm