- priority: 5 --> 1
Hi Andrei, I have found a weird bug....
if you look at the first output of clprose here, you
can see that the server
root, is not extracted from the classpath in a good way:
I checked the code of WebServer class in common
project, and in
extractCommonRoot it separate different classpath parts
to find out the
common root but in this case with 2 folders:
/home/pfalcari/workspace/jadda/classes
/home/pfalcari/workspace/jadda/codebase
it extracts /home/pfalcari/workspace/jadda/c
Moreover I'm wandering why there is not the ':'
separator in the definition of
StringTokenizer in the beginning of the method.
In the second output when the classpath has just a
folder clprose blocks
because of dependencies.
bye
paolo
< pfalcari@ikplab2:111 >
/home/pfalcari/prose/programs/clprose -classpath
/home/pfalcari/workspace/jadda/codebase:/home/pfalcari/workspace/jadda/classes
--insert Aspect_Client_getMessages_chatcorba2a
--address 129.132.130.106:3080
prose: *Message* THE SECURITY POLICY IN USE:
-> /home/pfalcari/prose/lib/testpolicy
SHOULD NOT BE USED IN A PRODUCTION
ENVIRONMENT. PLEASE
SPECIFY AN ALTERNATIVE POLICY USING
'-Djava.security.policy'
Exception in thread "main" java.lang.Error:
/home/pfalcari/workspace/jadda/c/
doesn't exist as server root
at
ch.ethz.inf.net.WebServer.<init>(WebServer.java:258)
at
ch.ethz.inf.net.WebServer.<init>(WebServer.java:236)
at
ch.ethz.inf.net.WebServer.allowRMIPeersToRetrieveByteCode(WebServer.java:120)
at
ch.ethz.prose.tools.CommandlineProseClient.main(CommandlineProseClient.java:119)
< pfalcari@ikplab2:112 >
/home/pfalcari/prose/programs/clprose -classpath
/home/pfalcari/workspace/jadda/codebase --insert
Aspect_Client_getMessages_chatcorba2a --address
129.132.130.106:3080
prose: *Message* THE SECURITY POLICY IN USE:
-> /home/pfalcari/prose/lib/testpolicy
SHOULD NOT BE USED IN A PRODUCTION
ENVIRONMENT. PLEASE