Alfresco Archive
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Problem creating a new user

Hi,I'm trying to create a new user using Web Services.I've seen the example AdministrationServiceSystemTest.java included in the svn repository (at projects/web-service-client/source/java/org/alfresco/webservice/test/resources).My problem appears whe...

doblek by Champ in-the-making
  • 86 Views
  • 3 replies
  • 0 kudos

How to avoid embedded server running with SDK samples?

Hi,    I want to avoid the embedded server which always coming to picture when ever i try to run sdk examples like FirstJCRClient.Even i am able to point to alfresco-jboss server alf_data not a problem but the embedded server causing lot of nonsense....

kishore by Champ in-the-making
  • 58 Views
  • 1 replies
  • 0 kudos

How to create User via JCR API ?

Hi to all!This is my first post!  To create a Folder I use://Session Login    Session session = repository.login(new SimpleCredentials(userId, password.toCharArray()));//Retrieve parametersString id, foldername;//Retrieve rootNode parentNode = sessio...

edo_v by Champ in-the-making
  • 76 Views
  • 1 replies
  • 0 kudos

Session leak in JCR RepositoryImpl

Hello,I got the following leak of JCR Session in org.alfresco.jcr.repository.RepositoryImpl.login().‍Scenario:A runtime exception or error occurs during the:authenticationService.authenticate(username, password);(in my case it was a NoSuchMethodError...

opepin by Champ in-the-making
  • 73 Views
  • 2 replies
  • 0 kudos

missing nodes when trying ther sample SimpleExample.java

Hi,I've tried the org.alfresco.sample.jcr.SimpleExample code, and strangely got 3 nodes guest_home, users and dictionary.  Can anybody tell me why the other folders I've created at same hierachical level are not displayed  by the small example applic...

bparis by Champ in-the-making
  • 184 Views
  • 4 replies
  • 0 kudos

how to change object's type?

I would like an JCR alternative to this foundation api:NodeService.setType()If it is possible. I'm importing files through CIFS and I set up a rule to call my action which will fill some properties and change the cm:custom type to one of my own.thank...

smola by Champ in-the-making
  • 104 Views
  • 2 replies
  • 0 kudos

Searching for PATH children

I'm wanting to get all the children of a specific node, which after reading the docs seemed like it should be achievable by doing something like the following Node node = new Node(someNodeRef);String query = "PATH:\""+node.getPath()+"/*\"";[code]Howe...

marcus by Champ in-the-making
  • 161 Views
  • 5 replies
  • 0 kudos

webclient action repository credentials

Hi,I'm tying to write a web client action using JCR. I managed to get the repository bean in my ActionExecuterAbstractBase derived class by adding a JCR.Repository bean reference in my model-context file and adding a setter method for the bean.The pr...

smola by Champ in-the-making
  • 69 Views
  • 2 replies
  • 0 kudos

CIFS and NTLM configuration

Hi,My Alfresco (under linux debian) is configured for using ntlm. Webclient authentication works well.The CIFS server is defined and worked well before ntlm configuration (using local alfresco user database) : <host name="${localname}_A" domain="MYDO...

lgr by Champ in-the-making
  • 817 Views
  • 43 replies
  • 0 kudos