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...
Type: Posts; User: Sanjay Patil; Keyword(s):
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...
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;
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...
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...
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...
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...
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.
...
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.
...
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...
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...
It worked !!
Thanks a lot for your time on this.
Cheers,
Sanjay Patil
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)...
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...
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
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
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
Hi,
I have written a Junit test class where I used @ContextConfiguration to load multiple context files as shown below
@ContextConfiguration(locations =...
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,...
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...
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...