Hi I have the following situation on my system:
I have a few modules 1. GUImodule 2. MailAndUsersModule 3. NotificationModule (sending a notification to a user telling him that he received an email) MailAndUsersModule is a j2ee app (inside jboss) GUIModule is a c++ one and NotificationModule is a c++ one the way GUIModule and NotificationModule talks to MailAndUsersModule is by calling its servlets The scenario is this 1. A user using the GUIModule sends an email to a user that does not exist in the system 2. MailAndUsersModule receives that mail, creates that new user in the system, and tries to send a notification to him telling him that a new mail arrived 3. MailAndUsersModule while creating the user (after) calls (its in the same transaction) NotificationModule and tells it to send a notification 4. NotificationModule received the message from MailAndUsersModule to send a new notification to user X and its trying to authenticate to make sure user X exists inside MailAndUsersModule . However at that point the transaction of MailAndUsersModule did not end so MailAndUsersModule returns a result saying that the user X does not exist yet however I need the NotificaitonModule to send a notification to the user X so i'm in kind of a wierd situation... my module created the user and asked a differnt module to send a notificaiton that notificationModule wanted first to make sure with me that my user exist however my transaction didnt end so i couldnt tell it that the user do exist... What can i do about it? anyone can help? Thanks Tomer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914279#3914279 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914279 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
