Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. This isn't a spring jms issue or resolution......

    This isn't a spring jms issue or resolution... but since I asked the question... I might as well respond to it... since I found a solution.

    i opened a PMR with IBM and this was their solution......
  2. XAException - An illegal attempt to commit a one phase capable resource with existing

    I've created a Message Driven Pojo and I've been able to send a message using the JMSTemplate and standard Sun JMS API.

    I've now been attempting to create a WebSphere Scheduler task and the...
  3. Replies
    2
    Views
    2,399

    JNDI connection factory config

    Reading through some forums and such.... I have come up with the following config for my jms connection factory...



    <bean id="internalJmsQueueConnectionFactory"...
  4. Replies
    0
    Views
    1,178

    send message to message driven pojo

    WebSphere 6.1.x
    ActiveMQ
    Spring JMS

    I am attempting to send a message to an application with the following code...

    Context ctx = new InitialContext();
    ConnectionFactory cf1 =...
  5. Replies
    1
    Views
    1,873

    JNDI integration

    I suppose the problem is that WebSphere scheduler needs a valid JNDI to set in the destinationJNDIName.

    So I guess I have to set up the jndi template in my configs.

    I've taken a look at the...
  6. Replies
    1
    Views
    1,873

    Websphere Scheduler + ActiveMQ + Spring JMS

    New to JMS and websphere scheduling.....

    I've set up my Spring JMS much like how Mark did in this tutorial.
    http://www.springframework.org/node/527


    <bean id="jmsConnectionFactory"...
  7. Replies
    7
    Views
    1,779

    Thanks for the reply ulsa. I've added log4j to...

    Thanks for the reply ulsa.

    I've added log4j to my project (properties and jar file). I've also added PropertyConfigurator.configure(properties) to a servlet init method.

    But I'm still not...
  8. Replies
    7
    Views
    1,779

    thanks for the response: I haven't actually set...

    thanks for the response:
    I haven't actually set any system properties for the jvm ldap pooling.

    and perhaps I'm being dense, but how do i go about turning up logging to DEBUG for that package? ...
  9. Replies
    7
    Views
    1,779

    Well, I've had reports that the application...

    Well, I've had reports that the application failed and the only exceptions in the log during the time frame are these Validation exceptions. I suppose it could be something else, but at this point,...
  10. Replies
    7
    Views
    1,779

    Fail validation - DefaultDirContextValidator

    Here's the scenario:
    Under my current configuration everything seems to work fine.... then the following validation exception occurs. It keeps on throwing it for a bit.... then after awhile (few...
  11. Replies
    3
    Views
    1,131

    thanks for the reply guys... rasky, you're...

    thanks for the reply guys...

    rasky, you're right, I would prefer to do a password comparison but from reading various forums, ...
  12. Replies
    3
    Views
    1,131

    Spring LDAP pooling + Spring Security?

    With the recent addition of the pooling support in spring ldap, I was wondering if there are any plans to incorporate it with Spring Security.

    Or can it already be done?

    Specifically I'd like...
  13. Thanks for your reply..... before I read your...

    Thanks for your reply.....
    before I read your response, I turned on testOnBorrow and it looks as though it fixed our problem.

    I haven't made the other configuration changes (ie...
  14. so would that mean I'd turn on the testOnBorrow...

    so would that mean I'd turn on the testOnBorrow validation config?

    Thanks
  15. Here are my ldap configs

    Here are my ldap configs



    <bean id="contextSource" class="org.springframework.ldap.pool.factory.PoolingContextSource">
    <property name="contextSource" ref="contextSourceTarget"/>...
  16. Similar but not quite

    Hi,
    I'm getting a similar exception



    Caused by: org.springframework.ldap.CommunicationException: connection closed; nested exception is javax.naming.CommunicationException: connection closed...
  17. Replies
    1
    Views
    1,579

    PoolingContextSource usage

    I've made the configuration changes according to the documentation.

    But is there something else I have to do in the code to release the connections?

    Or do I just let the PoolContextSource and...
  18. Thread: robust search?

    by hasdy
    Replies
    1
    Views
    1,069

    robust search?

    I have a requirement to search by phone number.
    The format of the number in ldap is 123-123-9876.

    the format of the search parameter is 2 to 10 digits (ie 12 and 1231239876).

    I currently have...
  19. Replies
    11
    Views
    3,107

    Oddly enough, I wasn't using a transaction...

    Oddly enough, I wasn't using a transaction manager for my LDAP transactions. I've stepped through the transaction and it appears that you were correct in that it is probably the underlying Java LDAP...
  20. Replies
    11
    Views
    3,107

    I notice there is a...

    I notice there is a ModifyAttributesOperationExecutor that calls a rollback.... does this play into the equation at some point?
  21. Replies
    11
    Views
    3,107

    Strange problem indeed.... Same JVM and the only...

    Strange problem indeed....
    Same JVM and the only access permission is based on the application user... which is the same for both my local and dev environment.

    So I have another question ......
  22. Replies
    0
    Views
    1,610

    Spring ldap tracing/logging

    Hi,

    Is there is a built in tracing mechanism is spring ldap? If so, how do I enable it?

    Thanks
  23. Replies
    11
    Views
    3,107

    thanks for your reply...to clarify.... I am...

    thanks for your reply...to clarify....

    I am doing an update on a user....with the code mentioned previously.
    And this user has a number of attributes..... phone, fax, title, manager.....etc.
    ...
  24. Replies
    11
    Views
    3,107

    Further findings: So I threw a packet sniffer...

    Further findings:

    So I threw a packet sniffer on the server.....
    And it seems as though it does a modifyRequest with the new value of an attribute....
    then it throws another modifyRequest with...
  25. Replies
    11
    Views
    3,107

    I've also tried using DirContextOperations...

    I've also tried using


    DirContextOperations ctx = (DirContextOperations) ldapTemplate.lookupContext(dn);
    ctx = setAttributes(ctx, user);
    ldapTemplate.modifyAttributes(ctx);

    Still no go.
Results 1 to 25 of 42
Page 1 of 2 1 2