Merge branch 'master' of bitbucket.org:xgiovio/unisa_prog_distribuita_2014_2015
This commit is contained in:
38
README.md
38
README.md
@@ -1,36 +1,16 @@
|
|||||||
Corso di Programmazione Distribuita, Unisa 2015-2015 con Scarano.
|
VM arguments:
|
||||||
|
-Djava.security.policy=path/to/policy
|
||||||
|
-Djava.rmi.server.codebase=http://localhost/pd/
|
||||||
|
-Djava.rmi.server.useCodebaseOnly=false
|
||||||
|
_____________
|
||||||
|
|
||||||
|
http server by wamp with alias or symlinks to project output class directory.
|
||||||
|
|
||||||
Vm arguments:
|
_________
|
||||||
-Djava.security.policy=F:\Codes\Java\Programmazione_Distribuita\policy
|
|
||||||
-Djava.rmi.server.codebase=http://localhost/java_classes_pd_server/
|
|
||||||
_____
|
|
||||||
|
|
||||||
http server by wamp with aliases
|
|
||||||
Alias /java_classes_pd_server "F:/Codes/Java/Programmazione_Distribuita_Server/out/production/Programmazione_Distribuita_Server/"
|
|
||||||
|
|
||||||
<Directory "F:/Codes/Java/Programmazione_Distribuita_Server/out/production/Programmazione_Distribuita_Server/">
|
|
||||||
Options Indexes FollowSymLinks MultiViews
|
|
||||||
AllowOverride all
|
|
||||||
<IfDefine APACHE24>
|
|
||||||
Require local
|
|
||||||
</IfDefine>
|
|
||||||
<IfDefine !APACHE24>
|
|
||||||
Order Deny,Allow
|
|
||||||
Deny from all
|
|
||||||
Allow from localhost ::1 127.0.0.1
|
|
||||||
</IfDefine>
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
____
|
|
||||||
policy
|
policy
|
||||||
grant {
|
grant {
|
||||||
permission java.security.AllPermission;
|
permission java.security.AllPermission;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
_________
|
||||||
____
|
rmiregistry launched if needed in project output class directory or with -J-Djava.rmi.server.codebase=http://localhost/pd/
|
||||||
rmiregistry launched in F:/Codes/Java/Programmazione_Distribuita/out/production/Programmazione_Distribuita/ for server/client executed from the same project
|
|
||||||
Reference in New Issue
Block a user