CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Upload synchronization in managed server in clustered environment

Print topic Send  topic

Author Message
arvind

Posts: 1
Posted: 11/09/2006, 1:08 AM

hi all

Can anybody help me, how to syncronize or replecate the downloaded file in all managed server in clustered environment. I mean to say i am using weblogic server and i want to implement load balancing for that i have used clusterring concept, Noe the problem is that when i upload any image it is uploaded only in that managed server where the request is directed by the load balancer. One solution seems to save image as blob in database but i don't want to use this.

Thanks for your suggestions.
View profile  Send private message
LH_13

Posts: 30
Posted: 11/15/2006, 5:16 AM

Let try copy your file to needed place in after process event.
_________________
Sorry my english!
View profile  Send private message
wkempees


Posts: 1679
Posted: 11/15/2006, 3:17 PM

LH_13's reply is a valid one, you could add your own copy statements there targeting the various servers, just be sure to copy from the first target to all the others, as the upload does a move(temp to target).

Another approach, not knowing anything about your environment, would be to have a rsync job watching the image directory and have that job sync the various servers.

Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.