texerasmo
30-03-2006, 10:41
Ciao a tutti,
Ho configurato tempo addietro tomcat in cluster avendo questo tipo di struttura e tutto sembra funzionare correttamente
Apache
tomcatA
tomcatB
ora ho un problema...
faccio una connessione in webdav in questo modo
HttpURL hrl =
new HttpURL("http://192.168.0.110/webdav/mino");
hrl.setUserinfo("viru","tomcat");
WebdavResource wdr =
new WebdavResource(hrl);
File fn = new File("sneto_cluster.txt");
String path = wdr.getPath() + "/" + fn;
boolean rslt = wdr.putMethod(path,fn);
System.out.println("the value of boolean is " + rslt);
wdr.close();
Ora il file sneto_cluster.txt va in put solo su un tomcat e non su tutte e due.
Come mai?
sono costretto a fare due connessioni? oppure devo configurare meglio il cluster?
Ho configurato tempo addietro tomcat in cluster avendo questo tipo di struttura e tutto sembra funzionare correttamente
Apache
tomcatA
tomcatB
ora ho un problema...
faccio una connessione in webdav in questo modo
HttpURL hrl =
new HttpURL("http://192.168.0.110/webdav/mino");
hrl.setUserinfo("viru","tomcat");
WebdavResource wdr =
new WebdavResource(hrl);
File fn = new File("sneto_cluster.txt");
String path = wdr.getPath() + "/" + fn;
boolean rslt = wdr.putMethod(path,fn);
System.out.println("the value of boolean is " + rslt);
wdr.close();
Ora il file sneto_cluster.txt va in put solo su un tomcat e non su tutte e due.
Come mai?
sono costretto a fare due connessioni? oppure devo configurare meglio il cluster?