Search:

Type: Posts; User: sacara; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    3,887

    Hi! Ok, I disabled the transaction context and...

    Hi!

    Ok, I disabled the transaction context and I deleted the same entry (with "@") and exactly it was successful.
  2. Replies
    9
    Views
    3,887

    Hi! In fact I'm using transaction and it's...

    Hi!

    In fact I'm using transaction and it's necessary because if the other operation fails the rollback must apply so I must use transaction.

    It's important to point out that in the same...
  3. Replies
    9
    Views
    3,887

    I'm sorry, this is the full stack trace ...

    I'm sorry, this is the full stack trace


    Exception: [LDAP: error code 65 - Object Class Violation]; nested exception is javax.naming.directory.SchemaViolationException: [LDAP: error code 65 -...
  4. Replies
    9
    Views
    3,887

    Hi! This is the actual code snippet: ...

    Hi!

    This is the actual code snippet:


    public void delete(TProfileDto tProfileDto) {
    ldapTemplate.unbind(buildDn(tProfileDto.getTC()));
    }

    private Name buildDn(String tAccount) {
  5. Replies
    9
    Views
    3,887

    Problem with unbind

    Hi!

    I am trying to delete an entry in my LDAP Directory using ldaptemplate.unbind (name dn) method, the DN value of the entry contains the character "@" and I got the error "LDAP: error code 65 -...
  6. Replies
    0
    Views
    795

    ApplicationContext - AXIS

    Hi Everybody

    I need to expose a WebService, and in my TransactionManager class I'm using the follow:



    ApplicationContext context = new ClassPathXmlApplicationContext("JDBCContext.xml");

    ...
  7. Replies
    2
    Views
    1,257

    Ok, thanks rasky, I'll read about JTA transaction...

    Ok, thanks rasky, I'll read about JTA transaction manager, and I hope that it can help me.
  8. Replies
    2
    Views
    1,257

    Two JDBC conexions and one LDAP conexion

    Hi
    I need to have two JDBC and one LDAP connections (three connections) in a one transaction using ContextSourceAndDataSourceTransactionManager class. Is it possible?
    Thanks
  9. Replies
    31
    Views
    9,565

    Hi Ulsa, I'm going to describe what I'm doing. I...

    Hi Ulsa, I'm going to describe what I'm doing.
    I need to use transaction for LDAP now (after a time, I'm going to incorporate JDBC transactions, so in the future I'm going to have two transactions:...
  10. Replies
    31
    Views
    9,565

    Ok, I already modified my class, and now I have...

    Ok, I already modified my class, and now I have problems with my xml. I put a piece of code of my xml before. I hope somebody could give me a favor to tell me my mistakes, I'm new with LDAP...
  11. Replies
    31
    Views
    9,565

    Debugging I saw the exception...

    Debugging I saw the exception "java.lang.IllegalArgumentException: Key must not be null" for the LdapContextSource object
  12. Replies
    31
    Views
    9,565

    I forgot to said that I catch and Exception in...

    I forgot to said that I catch and Exception in the line "transactionTemplate.execute(new TransactionCallbackWithoutResult() {":

    Exception in thread "main" java.lang.NullPointerException
    at...
  13. Replies
    31
    Views
    9,565

    Hi Karldmoore, I'm going to try it. But I...

    Hi Karldmoore, I'm going to try it.
    But I changed to programatically manner using the ContextSourceTransactionManager class to perform a transaction LDAP, I saw the forum...
  14. Replies
    31
    Views
    9,565

    Thanks a lot for all of you, I modify my code,...

    Thanks a lot for all of you, I modify my code, and I had an org.springframework.beans.factory.BeanCreationException:



    Resource resource = new ClassPathResource("testContext.xml");...
  15. Replies
    31
    Views
    9,565

    I've been thinking about that the best manner of...

    I've been thinking about that the best manner of control my transactions is the programmatically manner, isn't it? well, I've been reading information about it and some examples aren't clear. I've...
  16. Replies
    31
    Views
    9,565

    Yes, here is my code: resource = new...

    Yes, here is my code:



    resource = new ClassPathResource("testContext.xml");
    factory = new XmlBeanFactory(resource);
    ldapContact = (ProfileDaoImpl)factory.getBean("myDataAccessObjectTarget");...
  17. Replies
    31
    Views
    9,565

    Hi! Here is my configuration:

    Hi! Here is my configuration:



    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

    <beans>
    ...
  18. Replies
    31
    Views
    9,565

    I did all necesary in my configuration file and...

    I did all necesary in my configuration file and didn't work, I don't know why, I forced my application to fail and the roll back didn't work. I will try to do the programmatic form, but I'm in the...
  19. Replies
    31
    Views
    9,565

    Ok Mattias, thank you for all, I like that it all...

    Ok Mattias, thank you for all, I like that it all works automagically :-D, and How can I do tests with the rollback action? Must I handle some Exception in my code?
  20. Replies
    31
    Views
    9,565

    In fact, I'm a little confused. I'm following the...

    In fact, I'm a little confused. I'm following the Spring LDAP Reference Documentation, the Transaction Support topic for LDAP transactions, and I made the changes in my xml file (declarative), but my...
  21. Replies
    31
    Views
    9,565

    Hi rasky Thanks for the url. I have already...

    Hi rasky

    Thanks for the url. I have already read previously the sites that you recommend.

    In the Reference Documentation I saw that the manner of update my configuration file, and my question...
  22. Replies
    31
    Views
    9,565

    LDAP Transactions

    Hi everybody.
    I'm new in LDAP, and I've been looking for information about LDAP Transactions but I have not been successful.
    I need to use transaction with Spring to LDAP, and just I have seen the...
Results 1 to 22 of 22