As a transitional step, this site will temporarily be made Read-Only from July 8th until the new community launch. During this time, you can still search and read articles and discussions.

While the community is read-only, if you have questions or issues requiring TIBCO review/response, please access the new TIBCO Community and select "Ask A Question."

You will need to register or log in or register to engage in the new community.

SSO Based Server Discovery Failing!!!

Hi All,

I have an SPO Server running on the network. I want to find out the server information by doing a typical SSO based Discovery. The method getNodes() fails. Even when I specify the UDP port on which I am sure the SPO Server is listening!!!So I thought maybe theres some LAN related issue. So I tried verifyNode(), blindly and then with the UDP Port which I checked from the services file.

Would really really appreciate if anyone could point out whats wrong!!!

Cheerios!!!

Sandeep Phukan

Code Chunk:

import java.util.Enumeration;

import com.staffware.sso.data.*;

import com.staffware.sso.jbase.*;

import com.staffware.sso.util.*;

import java.util.Vector;

class discovery {

sNodeManager manager=null;

vNode[] serverObjects=null;

int[] udpPorts={44440};

public discovery(){

try{

manager=new sNodeManager((short)5);

manager.setUDPPortNumbers(udpPorts);

//First try a UDP Broadcast Method

manager.refresh();

serverObjects=manager.getNodes();

for(vNode node:serverObjects){

System.out.println(node.getSEOSrvName());

}

//Then try a Directed UDP Broadcast Method

manager.refresh();

vNode Node=manager.verifyNode("machine_name","node_name");

System.out.println(Node.getSEOSrvName());

}catch(vException vex){

System.out.println("Discovery Error="+vex);

}

}

public static void main(String[] a){

new discovery();

}

}

Output:

Discovery Error=com.staffware.sso.data.vException: Item not found. Requested No

de did not respond. Client Log may have additional info.

p.s. I believe this excpetion is being thrown by the verifyNodes() method.

(1) Answer