• Welcome to TUKE FÓRUM - Fórum pre Å¡tudentov Technickej Univerzity v KoÅ¡iciach.
 

DS - Distribuovane programovanie

Started by diacon.mex, 26.09.2008, 18:13:47

« predchádzajúce - ïal¹ie »

Payne

a este jedna vec, URL mam dobre spravenu?

downloadURL = "http://" + properties.getProperty(IConstants.RMI_REGISTRY_HOST) + ":" + properties.getProperty(IConstants.HTTP_SERVER_PORT) + IConstants.DOWNLOAD_PREFIX;

???

kOsTi

:trestac:

Mao

pozor ked robis rebind tak pouzivas inu URL rmihost:rmiport/serrvice name. a ako filebase staci dat ./lib napr.

Payne

Vdaka vsetkym za pomoc... Nakoniec som mal za plny pocet hodnotene...


Inak taky postreh: Neviem cim to bolo, ale mne vzalo na 120 termin aj ked som o pol jednej odovzdaval, cize zrejme aj nasledujuci den to berie abo co...

Padres


sri

hej malo by byt ... ale dufam, ze pisomka bude az v 9., aspon tak som pocul

ppt

nesranduj s pisomkou, ja zajtra neplanujem ist na cviko ;D

danielmi

Subject: how women communicate with computer

Login: yes
Password: i dont have one
password is incorrect...

Login: yes
Password: incorrect

sri

ok ok, ja som nechcel rozputat paniku, len sa uistit, ze nic nezmeskam ...  :angel:
takze este raz:
PISOMKA / TEST ZAJTRA NIE JE!!!  :laugh:

Indian

zdravicko, nemohol by tu niekto pastnut mail vyhodnotenia z 120 terminu, ze co vsetko ten system kontroluje resp co vsetko osetrit ? vopred dik

puq

Test series 1: Testing RMI search client functionality (1):
[OK]             Instantiate ShareMeImpl class
[OK]             Execute search() method with correct host list and matching search query
[OK]             Check number of owners in search result (correct list/non-empty result)
[OK]             Check number of entries per owner (correct list/non-empty result)
-------------------------------------------------------------------------
Points for test series 1: 1,7 / 1,7

Test series 2: Testing RMI search client functionality (2) :
[OK]             Instantiate ShareMeImpl class
[OK]             Execute search() method with correct host list and not matching search query
[OK]             Check number of owners in search result (correct list/empty result)
[OK]             Check number of entries per owner (correct list/empty result)
-------------------------------------------------------------------------
Points for test series 2: 1,5 / 1,5

Test series 3: Testing RMI search client functionality (3):
[OK]             Instantiate ShareMeImpl class
[FAILED]         Execute search() method with correct host list and 'null' search query
-------------------------------------------------------------------------
Points for test series 3: 0,1 / 0,5

Test series 4: Testing RMI search client functionality (4):
[OK]             Instantiate ShareMeImpl class
[OK]             Execute search() method with host list containing unreachable contact
[OK]             Check number of owners in search result (unreachable contact)
[OK]             Check number of entries per owner (unreachable contact)
-------------------------------------------------------------------------
Points for test series 4: 1,5 / 1,5

Test series 5: Testing search engine (RMI server):
[OK]             Instantiate ISearchEngine implementation
[OK]             ISearchEngine object is instance of RemoteUnicastObject
[OK]             Invoke search() method of ISearchEngine implementation
[OK]             Check returned ISearchResponse
-------------------------------------------------------------------------
Points for test series 5: 2,4 / 2,4

Test series 6: Testing integration of components:
[OK]             Check use of rebind()
[OK]             Instantiate ShareMeImpl and call start() method
[OK]             Check registration of server with RMI registry
[OK]             Stop ShareMeImpl via UDP packet sent to the ShutdownListener
[OK]             Check use of unbind()
-------------------------------------------------------------------------
Points for test series 6: 5,4 / 5,4

Sum of all tests        12,6 points
Percentage              120 %
-------------------------------------------------------------------------
Total points            15,12

Indian


puq


kOsTi

hehe i ja mam len hento chybu... ale tak ked to nebolo napisane v zadani... kto si mal pomyslat? :)
:trestac:

puq

Quote from: kOsTi on  06.11.2008, 03:11:41
hehe i ja mam len hento chybu... ale tak ked to nebolo napisane v zadani... kto si mal pomyslat? :)

co uz :D skoda ze to zobralo az 0,4 bodu :D :D

kOsTi

ee :P paralic vravel ze to nebude brat ako chybu lebo to nebolo pisane v zadani ze to mame urobit :P cize mame plny pocet
:trestac:

puq

woooooooooow o 0,48 bodu viac...co mi k zapoctu prida nejake 0,1 bodu ale menej :) dnes pijem a oslavujem :)))

Indian

#192
zdravim, nevie mi niekto pomoct, hadze mi toto:

ShareMe started.
Stub class not found: at.ac.tuwien.infosys.rnue.implementation.search.SearchEngineImpl_Stub; nested exception is:
        java.lang.ClassNotFoundException: at.ac.tuwien.infosys.rnue.implementation.search.SearchEngineImpl_Stub
ShareMe server started.

EDIT: ja somar som zabudol spustit ant lab2_2 :D

puq


danielmi

hm,,a ake budu otazocky?nie je nic z min. roku?
Subject: how women communicate with computer

Login: yes
Password: i dont have one
password is incorrect...

Login: yes
Password: incorrect

diacon.mex

#195
poradte, preco mi vypisuje takuto chybu, ked sa snazi ziskat kluc od certifikacnej autority (v metode getPublicKeyFromCA()):



java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
        at at.ac.tuwien.infosys.rnue.implementation.security.SecurityHelperImpl.getPublicKeyFromCA(Unknown Source)
        at at.ac.tuwien.infosys.rnue.implementation.ShareMeImpl.search(Unknown Source)
        at at.ac.tuwien.infosys.rnue.helpers.search.SearchMain.main(SearchMain.java:82)



toto je konkretne pre London a ten uz ma implementovanu bezpecnost. Pytal som sa na cviku a kod by mal byt dobre, takze bude chyba v nastaveniach toho prostredia na DSLabe, najskor. Skusal som tam rozbalit nanovo ten balik z cviceni a skopirovat tie riadky do suboru .tcshrc a nejak to stale robi to iste...
Keby niekoho nieco napadlo, dajte prosim vediek.
(Padne to vraj pri tej readObject() operacii... kde pretypujem potom na (PublicKey) a cele to vraciam cez return.)
Dakujem.

PS: Takisto mi kluc ani nechce zaregistrovat, ked sa snazim zaregistrovat svoj. - Kod sme kontrolovali a mal by byt OK.

MackoZlesa

 :bananadance: :ropebanana: ludia chodte do pi..ci z toh serveru, lebo nemozem poslat svoje zadanie  :nervous:

puq

Quote from: MackoZlesa on  09.11.2008, 03:01:05
:bananadance: :ropebanana: ludia chodte do pi..ci z toh serveru, lebo nemozem poslat svoje zadanie  :nervous:

a to si ako an to prisiel?

diacon.mex

da sa nejak ziskat spat emaily, ktore som omylom vymazal pri prezerani prikazom mutt? dik

lukasqo

Quote from: diacon.mex on  12.11.2008, 02:31:49
da sa nejak ziskat spat emaily, ktore som omylom vymazal pri prezerani prikazom mutt? dik
...uz i tebe sa to stalo? :lol9: