try { myNetPeerGroup=PeerGroupFactory.newNetPeerGroup(); } catch ( PeerGroupException e)
try { myNetPeerGroup=PeerGroupFactory.newNetPeerGroup(); } catch ( PeerGroupException e) { // could not instantiate the group, print the stack and exit System.out.println(”fatal error : group creation failure”); e.printStackTrace(); System.exit(1); } return myNetPeerGroup; } public static void main(String args[]) { SecurePeerGroup satellaRoot = new SecurePeerGroup(); System.exit(0); } } 138 JXTA v2.3.x: Java Programmer s Guide
Note: If you are looking for good and high quality web space to host and run your java application check Lunarwebhost java web hosting services