jiveforums | 29 Aug 01:00

Differnce between Workspaces and Folder when blockin inherited rights?

Hi,

I am trying to block the inherited rights of a few document types upon creation. I created Eventlisteners
for this purpose that set up the rights.

One document type extends folder, one extends workspace.

The following method should block the inherited rights:

private void setupRights(DocumentModel doc, CoreSession documentManager) {
		
		ACP myACP = doc.getACP();
		
		ACL[] myACLs = myACP.getACLs();
		
		for( ACL myACL : myACLs ) {
			myACL.clear();
			myACP.removeACL(myACL.getName());
		}

		// Automatically creates a local ACL
		ACL newACL = new ACLImpl();
		
		newACL.add(new ACE("administrators","Everything", true));
		newACL.add(new ACE("Administrator","Everything", true));
	
		newACL.add(new ACE(SecurityConstants.EVERYONE, SecurityConstants.EVERYTHING, false));	
		
		
		myACP.addACL(newACL);
(Continue reading)

damien.metzler | 28 Aug 08:34

WebEngine App Action Isolation

Hello,

Using Nuxeo Web Engine, we developp serveral apps that coexist together. In one app (the default one for instance), the Workspace object has several actions like create_page, delete, print. In another app we want that the behavior of the Workspace is handled differently. 

Let's say we have a "Layout" app that handles layout objects that are stored in default-domain/workspaces/layout/
The container of all our layouts is a Workspace but we don't  want the delete action to be activated, so in the webapp config we deactivate the delete action.  

Our problem is that the delete action is disabled in the default application two. One solution to that would be of course to contribute a LayoutRoot document type but is this the right solution or is there a way to isolate webengine apps actions ?

Here is our webapp config :


<extension target="org.nuxeo.ecm.webengine.WebEngineComponent"
    point="application-mapping">
    <mapping path="/layout/" webapp="layout" document="/default-domain/workspaces/layout/">
    </mapping>
</extension>

  


<extension target="org.nuxeo.ecm.webengine.WebEngineComponent" point="binding">
    <binding type="Layout" objectId="Layout"/>    
    <binding type="Workspace" objectId="LayWorkspace"/>    
  </extension>

  


    

  

  <extension target="org.nuxeo.ecm.webengine.WebEngineComponent" point="webObject">
    <object id="LayWorkspace" extends="WebObject">
     <actions>
      <action id="print" enabled="true">
          <permission expression="Read" />
          <category>ADMIN_TB_ACTIONS</category>
        </action>
        <action id="delete" enabled="false" />
        <action id="create_page" enabled="false" / >        
        <action id="addlayout" enabled="true">        
        <permission expression="Write AND facet=Folderish" />
          <category>ADMIN_TB_ACTIONS</category>
        </action>

  

      </actions>
    </object>

    

    

    
  </extension>


--
Damien METZLER
SIF - Leroy Merlin France 



Ce message et toutes les pieces jointes sont etablis a l'attention exclusive de leurs destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. L'internet ne permettant pas d'assurer l'integrite de ce message, le contenu de ce message ne represente en aucun cas un engagement de la part de Leroy Merlin.

 

_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
jiveforums | 27 Aug 22:37

Build nuxeo shell ...

While trying to using mvn to build the shell, 
If I type: mvn install

I get the following error:

 mvn install
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/nuxeo/ecm/platform/nuxeo-shell-parent/5.2.0.m1/nuxeo-shell-parent-5.2.0.m1.pom
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.nuxeo.ecm.platform
ArtifactId: nuxeo-shell-parent
Version: 5.2.0.m1

Reason: Unable to download the artifact from any repository

Has the repository moved? Or what??  This worked before.
Vincent | 27 Aug 10:49

Nuxeo & LDAP

Hi,

 

I use Nuxeo 5 with an LDAP server and I can see members and groups through Nuxeo Web Interface.

I have no problem with the members but I can see no members in the groups. I've found the problem : the users were registered

like this(by open : first_name.name, instead of uid=first_name.name,ou=Users,ou=OxObjects,dc=mydomain,dc=fr.

I've created some users of the second way(uid=first_name.name,ou=Users,ou=OxObjects,dc=mydomain,dc=fr)

and Nuxeo displays these users.

 

How can I fix that? Do I have to modify the LDAPReference class?(What do I have to modify the LDAPReference class?)

 

 

I also have another question. In the right access tab of the default domain(I'm logged as Admin in the nuxeo web interface),

I can add new rules for users but not for groups because the search engine only find users and no groups(whereas in the Users Management page

the search engine finds all groups and users).

 

Do you know why it can’t find any groups?

 

Thanks in advance for your answer.

 

Sincerely,

 

Vincent

_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
Chris Pioli | 26 Aug 02:19

Making a plug-in for a new repository?

Hey guys,

Can I create a new repository or change the default repository's settings via a
plug-in? It would be nice to get a new build of Nuxeo running without having to
reconfigure the default repository, so I thought I could make a plug-in to get
the repository set up when I want to.

I tried making a plug-in for a new repository by running the code in Chapter
37.2.5 (Setting up a new repository configuration) into some contrib.xml files
for a plug-in (also adding them to the META-INF.MF file in the proper lines as
well) but after building the jar file and running Nuxeo, it ran into some errors:

Component Loading Status: Pending: 3 / Total: 186

* service: myRepository.com.lmco.wdl.myProject.themes requires
           [service:org.nuxeo.ecm.platform.api.DefaultPlatform]
* service:org.nuxeo.ecm.platform.ui.web.auth.service.Pluggable/
          AuthenticationService.audit requires
          [service:org.nuxeo.ecm.platform.audit.service.NXAuditEventsService]
* service:org.nuxeo.ecm.platform.workflow.audit.events requires
          [service:org.nuxeo.ecm.platform.audit.service.NXAuditEventsService]

Is it possible to come up with a plug-in to automatically handle custom
repository settings?

Thanks,

Chris
jiveforums | 25 Aug 20:03

Scability / performance

Hi,

We're working on an application in which documents arriving on ftserver, special communication
lines,backend user document ....and are placed in a content repository.
We need basic functionality add, load, remove, search, with user interface or in batch mode.

Actually, in the old content repository, we've 2millions documents, we plan to change the application to a
newer one, perhaps nuxeo should be choosen.

For the moment, we've some performance issues (file import task time >10s).

Has anyone used nuxeo for an application simular ?

We plan to use a cluster of servers for loadbalancing, failover,..
Does nuxeo support clustering ? any experience about this ?
Does the repository can be customized in cluster environment ? any experience ?
What're best practices, recommendation for configuration and deployment ? is there a document or
experience about this ?

Thx,
Pascal
jiveforums | 25 Aug 16:38

nuxeo 5.1.5GA/jackrabbit datasource available ?

Hi,

Can i speciy datasource configuration with nuxeo 5.1.5GA/jackrabbit for PersistenceManager  ?

Can i specify min/max pool attributes for PersistenceManager  ? and how ?

Thx,
Pascal
jiveforums | 25 Aug 16:30

Performance and scability

Hi,

I've imported 40000 documents in repository with REST api.

For one text file, the import task time is min 10s.
Files length is 3ko max.

My configuration is : 
   nuxeo 5.1.5GA
   Mysql 5.0.27 for storage
   Linux 64bits 
   32gb memory ...

Is there some requirements for repository storage ?
Is there some articles about performance capabilities ?

Thx
Regards,
Pascal
jiveforums | 25 Aug 12:57

Nuxeo Live CD / USB

Hi All,<br />
<br />
I post a message here to present my project:<br />
<br />
Cooperation-iws is an intranet nomad web server project that provides web services of open source
applications like Nuxeo.<br />
<br />
Cooperation-iws relies on Live CD / USB persistent technology. That
means that you can take your Nuxeo portal with you on a usb key or
usb hard drive. It is usefull if your core activity is to use Nuxeo
on several places. You just need your CIWS usb key, a standard 32 bits
PC and clients with web browser connected to lan.<br />
<br />
Nuxeo module has been upgraded to 5.1.5GA for the 0.5.0 release.<br />
<br />
More Info here: <a
href="http://cooperation-iws.gensys-net.eu/blog/">http://cooperation-iws.gensys-net.eu/blog/</a><br />
<br />
See you,<br />
<br />
@+<br />
<br />
Oliv<br />
<br />
Changes log:<br />
------------------<br />
0.5.0 release<br />
<br />
-Change Lampp architecture, migrate from Xampp to Ubuntu embeded lampp servers<br />
-Change Persistence architecture, migrate from home-rw (persistence of
the home directory) to ciws-rw (persistence of the var directory).
Cooperation-iws Live CD should now boot with 1 GB Ram or more.<br />
-Migrate Live Script from Frafa (http://frafa.free.fr/dotclear) Live
USB scripts to Reconstructor Live Scripts
(http://reconstructor.aperantis.com). Live scripts have now a Python
GTK interface.<br />
-Upgrade Joomla from 1.0 to 1.5.6<br />
-Upgrade Zenphoto from 1.1.5 to 1.2<br />
-Upgrade Gallery2 from 2.2.4 to 2.3RC1<br />
-Upgrade PhpBB 3.0.0 to 3.0.2<br />
-Upgrade KnowledgeTree from 3.0.3 to 3.5.2c<br />
-Added Trac Subversion module<br />
-Added FreeNX module<br />
-Added Proftpd as a module<br />
-Added Spip 1.9.2d module<br />
-Added Drupal 6.4 module<br />
-Added Ezpublish 4.0.1 module<br />
-Added Dotclear 2.0.1 module<br />
-Added Lifetype 1.2 module<br />
-Added Dokuwiki 2008-05-05 module<br />
-Added Wikini 0.5 module
<br />
<br />
Fabrice HOARAU | 25 Aug 09:10

Live Edit Plugin

Hi,

I want to use Nuxeo Live Edit with Open Office but I didn't find any plugin for this on Nuxeo Website.
I've downloaded the following plugin http://svn2.yerbabuena.es/pub/products/j2ee/liveEdit-openoffice-installer/
and added the three jars in nuxeo.ear/plugins as it's written in the Read-me file but it doesn't work.

Where can I download a Live edit plugin for Open Office (Firefox & Internet Explorer) ?

Regards,

Fab

Tous vos amis discutent sur Messenger, et vous ? Téléchargez Messenger, c'est gratuit !
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
jiveforums | 22 Aug 20:01

API samples Usage ? NoClassDefFoundError

Hi,

I've java.lang.ClassNotFoundException: org.nuxeo.runtime.api.Framework

- check out the the nuxeo-client-build from
https://svn.nuxeo.org/nuxeo/tools/build/nuxeo-client-build/trunk is done

- mvn install is done on this project

- check out the nuxeo-api-sample from http://svn.nuxeo.org/nuxeo/sandbox/nuxeo-api-sample
- mvn install is done on this project
  the maven task generate nuxeo-api-sample-1.0.0-SNAPSHOT.jar (There's a compilation error, i modify
the src file, and after reexecute this maven task)

- go to the directory to nuxeo-client-build/target/nuxeo-client
- launch : java Launcher launcher.properties

- and i've this error : 
java.lang.reflect.InvocationTargetException
        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.startMain(Launcher.java:63)
        at Launcher.main(Launcher.java:143)
Caused by: java.lang.NoClassDefFoundError: org/nuxeo/runtime/api/Framework
        at org.nuxeo.ecm.sample.Launcher.main(Launcher.java:35)
        ... 6 more
Caused by: java.lang.ClassNotFoundException: org.nuxeo.runtime.api.Framework
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 7 more

I've put the runtime library in lib subdirectory an other error appears about
org/jboss/remoting/InvokerLocator  etc.....
I copy necessary jboss libraries from app/lib to lib and ...

and i've allways the error : 

d: service:org.nuxeo.runtime.LoginComponent
17:59:18,542 [main] WARN  ComponentManagerImpl : Component was already registe
d: service:org.nuxeo.runtime.api.ServiceManagement
17:59:18,542 [main] WARN  ComponentManagerImpl : Component was already registe
d: service:org.nuxeo.runtime.api.DefaultJBossBindings
java.lang.reflect.InvocationTargetException
        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.startMain(Launcher.java:63)
        at Launcher.main(Launcher.java:143)
Caused by: java.lang.NoClassDefFoundError: org/nuxeo/runtime/api/Framework
        at org.nuxeo.ecm.sample.Launcher.main(Launcher.java:35)
        ... 6 more
Caused by: java.lang.ClassNotFoundException: org.nuxeo.runtime.api.Framework
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 7 more

Is there a mistake in configuration files, or in dependancy files or ... ?
Any suggestions ?
How can i run api samples ?

Thx
Pascal

Gmane