• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Advice is not working in JOIDS

 
Ranch Hand
Posts: 246
Firefox Browser Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I am new to Spring try to modify some code in JOIDS I write a servlet and put it in the JOID application and calling that servlet from an external application which is running on GAE. It is working fine. In my servlet i have to insert user and password and email in different tables. Which is also working fine. But the email insertion method has an advice configured in applicationContext.xml file which is not firing. Is there any problem with my code.




It is working fine when i run this application and access with url of jos. But when i try to access it from the written servlet it is getting failed(data is inserting correctly but mail task is not executing).
 
mallikarjun dontamsetti
Ranch Hand
Posts: 246
Firefox Browser Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I solved the problem. It's my mistake i have to set domain in my custom servlet (to access it in advice class) i debugged though the program. And domain got null in Email advice. Due to no logs in Advice i don't get any errors before. Problem solved....
 
reply
    Bookmark Topic Watch Topic
  • New Topic