Re: Some more traces for the PeerUnavailableException:
"M. Rangnathan" <[email protected]>
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <[email protected]> |
You have your answer right there in the trace. You are missing the Oswego library in your classpath. If you are trying to build an Applet, consider using java 5 and replacing all the Oswego concurrenct library calls with equivalent and very similar functionality that is part of java5. You should also consider removing the dependency on log4j by editing the file (LogWriter.java). Make the logger.debug logger.info etc use System.out (or whatever the eqivalent thing is for applets -- I forget ). Ranga SiM wrote: > Testing the Sip stack ! > Entering setupSipstack > Entering setupStackProperties > Success getting the Host IP address : [ 192.168.2.4 ] > Success setting the Stack IP address : [ 192.168.2.4 ] > Finished setting Stack properties > javax.sip.PeerUnavailableException: The Peer SIP Stack: > gov.nist.javax.sip.SipStackImpl could not be instantiated. Ensure the > Path Name has been set. > at javax.sip.SipFactory.createStack(SipFactory.java:312) > at javax.sip.SipFactory.createSipStack(SipFactory.java:153) > at > appletphone.ua.sip.SipManager.setupSipStack(SipManager.java:118) > at appletphone.ua.sip.SipManager.init(SipManager.java:88) > at TestSipStack.initStack(TestSipStack.java:13) > at TestSipStack.main(TestSipStack.java:22) > Caused by: java.lang.reflect.InvocationTargetException > at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > at java.lang.reflect.Constructor.newInstance(Constructor.java:274) > at javax.sip.SipFactory.createStack(SipFactory.java:304) > ... 5 more > Caused by: java.lang.NoClassDefFoundError: > EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap > at > gov.nist.javax.sip.stack.SIPTransactionStack.<init>(SIPTransactionStack.java:314) > > at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:202) > at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:243) > ... 10 more > The Peer SIP Stack: gov.nist.javax.sip.SipStackImpl could not be > instantiated. Ensure the Path Name has been set. > > =================================================================== > > The output from My test Program, which used to work fine on Windows. > > Thank you. > Cheers. > simith > -- M. Ranganathan Advanced Networking Technologies Division, National Institute of Standards and Technology (NIST), 100 Bureau Drive, Stop 8920, Gaithersburg, MD 20899. tel:301 975 3664 , fax:301 590 0932 http://w3.antd.nist.gov/ Advanced Networking Technologies For the People!