Search:

Type: Posts; User: Sanjay Patil; Keyword(s):

Search: Search took 0.02 seconds.

  1. Spring with LDAP

    Hi Guys,

    Sorry to trouble you but I am currently working on the code to implement Spring security within my application which uses LDAP repo at the backend.

    Please can you share your context...
  2. My Java code

    Hi,

    Sorry, I forgot to attach my code. Please find the same below.



    package com.sample.webservice;

    import java.io.IOException;
    import java.net.URI;
  3. Accessing HttpServletRequest in POJO class

    Hi,

    Thanks for the response. I do have some more queries now.

    1. I want to call the webservices from a service class which is a POJO class, not from jsp or Servlet as shown above. So is there...
  4. Code on the server side

    Hi Guys,

    I am too working with cookies for my Spring webservices. Please can you show me the code tha you use on the Server side to generate a cookie and store the data in the cookie and send it...
  5. Session Handling in Spring webservices

    Hi,

    Please can you assist me here.

    I have a web application which makes stateless web services call to a System X which in turn makes stateless web services call to System Y.
    Now based on how...
  6. Replies
    3
    Views
    1,543

    Hi Adam, Many thanks for replying me on this....

    Hi Adam,

    Many thanks for replying me on this. Just one more question. I can see that there are no maven plugin jars present in SpringSource repository. Does SpringSource recommend customer to use...
  7. Replies
    3
    Views
    1,543

    SpringSource Repository

    Hi Guys,

    This is Sanjay Patil from John Lewis and writing to you to raise few queries about the SpringSource repository. Apologies, if this is not the right forum for such type of questions.
    ...
  8. Replies
    0
    Views
    1,160

    SpringSource Repository

    Hi Guys,

    This is Sanjay Patil from John Lewis and writing to you to raise few queries about the SpringSource repository. Apologies, if this is not the right forum for such type of questions.
    ...
  9. Replies
    1
    Views
    2,347

    Registering JMX Beans on the same JVM

    Hi Guys,

    I have come across a strange error today. I am using a Spring JMX bean to change logging level at runtime. Now this is as part of my framework code which each application will share...
  10. Replies
    2
    Views
    3,900

    Access MBeans from WebSphere 6.1

    Hi Guys,

    For WAS6.1, you can use wsadmin commands to invoke your MBean.

    A sample eg shown below.

    wsadmin>$AdminControl invoke WebSphere:cell=cs-dikkgtd6xNode05Cell,name=cs-dikkg...
  11. ContextConfiguration and PropertyPlaceholderconfigurer

    It worked !!

    Thanks a lot for your time on this.

    Cheers,
    Sanjay Patil
  12. ContextConfiguration and PropertyPlaceholderconfigurer

    Hi,

    I have a Junit 4 test class where I am using ContextConfiguration to load two Spring files. This is how it looks like :




    @RunWith(SpringJUnit4ClassRunner.class)...
  13. Replies
    0
    Views
    1,714

    Spring AOP Logging twice

    Hi,

    I am using Spring AOP to log the entry and exit of methods for my application on WAS 6.1 but for some reason, I can see my advise is printing the stmts twice. Please can anyone suggest me a...
  14. PropertyPlaceholderConfigurer not working for Junit test

    Hi,

    I am afraid but I did try that option but it didnt work.
    Is there anything more I can try here ?

    Cheers,
    Sanjay Patil
  15. PropertyPlaceholderConfigurer not working for Junit test

    Hi,

    I have attached the context and property files and my test class too.
    Please have a look.

    I know, its a silly error but I just cant find it.

    Cheers,
    Sanjay Patil
  16. PropertyPlaceholderConfigurer not working for Junit test

    Hi,

    I replaced my code with yours but still get the same error with DEBUG mode on.

    Log file attached.

    Please have a look.

    Cheers
    Sanjay Patil
  17. PropertyPlaceholderConfigurer not working for Junit test

    Hi,

    I have written a Junit test class where I used @ContextConfiguration to load multiple context files as shown below

    @ContextConfiguration(locations =...
  18. Replies
    4
    Views
    3,613

    ManagedOperations not getting detected

    Hi,

    Could you please suggest me on the error I am getting while trying to invoke my JMX Bean via MBeanInspector. Also, are there any other ways of invoking JMx Beans on WAS 6.1 server.

    Cheers,...
  19. Replies
    4
    Views
    3,613

    ManagedOperations not getting detected

    Hi,

    If I make that method as ManagedAttribute, it tries to execute the method with the name as rootLoggerLevel and fails saying, it can find that method.
    and if I change the method name as...
  20. Replies
    4
    Views
    3,613

    ManagedOperations not getting detected

    Please can you advise me on below.

    I have used Spring's MBeanExporter to define two JMX MBean but for some reason, Spring cant detect the operations defined in the second bean.

    My bean...
Results 1 to 20 of 20