Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#30 help!!how do I embed aglet into jbuild7.0

open
nobody
None
5
2003-06-13
2003-06-13
Anonymous
No

I try to embed the example "ServerApp.java" in aglet
into jbuild 7.0,but the code line below have error:
AgletProxy p = cxt.createAglet(new URL
("atp://211.80.198.137:4434"), "examples.talk.TalkMaster
", null);

the error is :

java.io.IOException:
atp://211.80.198.137:4434/examples/talk/TalkMaster.cla
ss

at
com.ibm.net.protocol.atp.URLConnectionForATP.getInput
Stream(URLConnectionForATP.java:138)

at
com.ibm.aglets.tahiti.AgletClassLoader.loadResourceFrom
CodeBase(AgletClassLoader.java:482)

........................................
I have tried to run the ServerApp.java command line,as
below:
java ServerApp
it runs successfully!

Discussion