Hi All,
I could manage to execute the guide1 example from SVN.
When i executed the client i got the below trace from console.
2012-10-09 16:22:55,616 INFO ExampleClient - Initializing Stack...
2012-10-09 16:22:55,630 WARN DictionaryImpl - Failed to initialize and configure Diameter Dictionary since configuration file was not found. Validator is disabled.
2012-10-09 16:22:55,630 INFO ExampleClient - AVP Dictionary successfully parsed.
2012-10-09 16:22:55,832 INFO ExampleClient - Stack Configuration successfully loaded.
2012-10-09 16:22:55,832 INFO ExampleClient - Diameter Stack :: Supporting 0 applications.
2012-10-09 16:22:55,833 INFO ExampleClient - Starting stack
2012-10-09 16:22:55,870 INFO NetworkGuard - Open server socket ServerSocket[addr=/
127.0.0.1,localport=1812]
2012-10-09 16:22:55,870 INFO ExampleClient - Stack is running.
2012-10-09 16:22:55,870 INFO ExampleClient - Stack initialization successfully completed.
2012-10-09 16:23:00,878 INFO ExampleClient - Sending Request: 686
E2E:544210946
HBH:1160244867
AppID:33333
2012-10-09 16:23:00,878 INFO ExampleClient - AVPS[8]:
2012-10-09 16:23:00,880 WARN AvpDictionary - AVP with code 263 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,880 WARN AvpDictionary - AVP with code 258 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,880 WARN AvpDictionary - AVP with code 283 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,880 WARN AvpDictionary - AVP with code 293 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,881 WARN AvpDictionary - AVP with code 264 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,881 WARN AvpDictionary - AVP with code 296 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,881 WARN AvpDictionary - AVP with code 888 and Vendor-Id 66666 not present in dictionary!
2012-10-09 16:23:00,881 INFO ExampleClient - Received Answer: 686
E2E:544210946
HBH:1160244867
AppID:33333
2012-10-09 16:23:00,881 WARN AvpDictionary - AVP with code 999 and Vendor-Id 66666 not present in dictionary!
2012-10-09 16:23:00,881 INFO ExampleClient - AVPS[8]:
2012-10-09 16:23:00,881 WARN AvpDictionary - AVP with code 263 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,881 WARN AvpDictionary - AVP with code 258 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,881 WARN AvpDictionary - AVP with code 888 and Vendor-Id 66666 not present in dictionary!
2012-10-09 16:23:00,881 WARN AvpDictionary - AVP with code 999 and Vendor-Id 66666 not present in dictionary!
2012-10-09 16:23:00,881 WARN AvpDictionary - AVP with code 268 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,881 WARN AvpDictionary - AVP with code 264 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,881 WARN AvpDictionary - AVP with code 296 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,882 WARN AvpDictionary - AVP with code 281 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,882 INFO ExampleClient - Sending Request: 686
E2E:544210948
HBH:1160244868
AppID:33333
2012-10-09 16:23:00,882 INFO ExampleClient - AVPS[8]:
2012-10-09 16:23:00,882 WARN AvpDictionary - AVP with code 263 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,882 WARN AvpDictionary - AVP with code 258 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,883 WARN AvpDictionary - AVP with code 283 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,883 WARN AvpDictionary - AVP with code 293 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,883 WARN AvpDictionary - AVP with code 264 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,883 WARN AvpDictionary - AVP with code 296 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,883 WARN AvpDictionary - AVP with code 888 and Vendor-Id 66666 not present in dictionary!
2012-10-09 16:23:00,883 WARN AvpDictionary - AVP with code 999 and Vendor-Id 66666 not present in dictionary!
2012-10-09 16:23:00,884 INFO ExampleClient - Received Answer: 686
E2E:544210948
HBH:1160244868
AppID:33333
2012-10-09 16:23:00,884 INFO ExampleClient - AVPS[8]:
2012-10-09 16:23:00,885 WARN AvpDictionary - AVP with code 263 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,885 WARN AvpDictionary - AVP with code 258 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,885 WARN AvpDictionary - AVP with code 888 and Vendor-Id 66666 not present in dictionary!
2012-10-09 16:23:00,885 WARN AvpDictionary - AVP with code 999 and Vendor-Id 66666 not present in dictionary!
2012-10-09 16:23:00,885 WARN AvpDictionary - AVP with code 268 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,885 WARN AvpDictionary - AVP with code 264 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,885 WARN AvpDictionary - AVP with code 296 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,885 WARN AvpDictionary - AVP with code 281 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,886 INFO ExampleClient - Sending Request: 686
E2E:544210950
HBH:1160244869
AppID:33333
2012-10-09 16:23:00,886 INFO ExampleClient - AVPS[8]:
2012-10-09 16:23:00,886 WARN AvpDictionary - AVP with code 263 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,886 WARN AvpDictionary - AVP with code 258 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,886 WARN AvpDictionary - AVP with code 283 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,886 WARN AvpDictionary - AVP with code 293 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,886 WARN AvpDictionary - AVP with code 264 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,886 WARN AvpDictionary - AVP with code 296 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,886 WARN AvpDictionary - AVP with code 888 and Vendor-Id 66666 not present in dictionary!
2012-10-09 16:23:00,886 WARN AvpDictionary - AVP with code 999 and Vendor-Id 66666 not present in dictionary!
2012-10-09 16:23:00,888 INFO ExampleClient - Received Answer: 686
E2E:544210950
HBH:1160244869
AppID:33333
2012-10-09 16:23:00,888 INFO ExampleClient - AVPS[8]:
2012-10-09 16:23:00,888 WARN AvpDictionary - AVP with code 263 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,888 WARN AvpDictionary - AVP with code 258 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,888 WARN AvpDictionary - AVP with code 888 and Vendor-Id 66666 not present in dictionary!
2012-10-09 16:23:00,888 WARN AvpDictionary - AVP with code 999 and Vendor-Id 66666 not present in dictionary!
2012-10-09 16:23:00,888 WARN AvpDictionary - AVP with code 268 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,888 WARN AvpDictionary - AVP with code 264 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,888 WARN AvpDictionary - AVP with code 296 and Vendor-Id 0 not present in dictionary!
2012-10-09 16:23:00,888 WARN AvpDictionary - AVP with code 281 and Vendor-Id 0 not present in dictionary!
And in the server the console is like below:
2012-10-09 16:22:40,421 INFO ExampleServer - Initializing Stack...
2012-10-09 16:22:40,434 WARN DictionaryImpl - Failed to initialize and configure Diameter Dictionary since configuration file was not found. Validator is disabled.
2012-10-09 16:22:40,434 INFO ExampleServer - AVP Dictionary successfully parsed.
2012-10-09 16:22:40,624 INFO ExampleServer - Stack Configuration successfully loaded.
2012-10-09 16:22:40,624 INFO ExampleServer - Diameter Stack :: Supporting 0 applications.
2012-10-09 16:22:40,625 INFO ExampleServer - Starting stack
2012-10-09 16:22:40,663 INFO NetworkGuard - Open server socket ServerSocket[addr=/
127.0.0.1,localport=3868]
2012-10-09 16:22:40,663 INFO ExampleServer - Stack is running.
2012-10-09 16:22:40,663 INFO ExampleServer - Stack initialization successfully completed.
2012-10-09 16:22:55,876 INFO NetworkGuard - Open incomming connection Socket[addr=/
127.0.0.1,port=59041,localport=3868]
2012-10-09 16:23:00,879 WARN PeerImpl - Received message for unknown peer [aaa://
127.0.0.1:3868]. Answering with 3002 (UNABLE_TO_DELIVER) Result-Code.
2012-10-09 16:23:00,880 WARN RouterImpl - Could not find route info for Hop-by-Hop Id [1160244867]. Table size is [0]
2012-10-09 16:23:00,883 WARN PeerImpl - Received message for unknown peer [aaa://
127.0.0.1:3868]. Answering with 3002 (UNABLE_TO_DELIVER) Result-Code.
2012-10-09 16:23:00,884 WARN RouterImpl - Could not find route info for Hop-by-Hop Id [1160244868]. Table size is [0]
2012-10-09 16:23:00,887 WARN PeerImpl - Received message for unknown peer [aaa://
127.0.0.1:3868]. Answering with 3002 (UNABLE_TO_DELIVER) Result-Code.
2012-10-09 16:23:00,887 WARN RouterImpl - Could not find route info for Hop-by-Hop Id [1160244869]. Table size is [0]
Can any one explain what just happened? I could understand that the message has not delivered.
I have got the example from the below link.
http://code.google.com/p/mobicents/source/browse/trunk/servers/diameter/examples/guide1/src/main/java/org/example/server/ExampleServer.java
Thanks in advance for your explanation.
--
Thanks & Regards
VamshiKrishna,
9703056776