答复: [nist-sip] Problem with the last JAIN version ...

"buptyw gmail" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
Add concurrent.jar in your classpath

-----邮件原件-----
发件人: [email protected]
[mailto:[email protected]] 代表 Bruno Vignola
发送时间: 2006年10月10日 15:35
收件人: [email protected]
主题: [nist-sip] Problem with the last JAIN version ...

Good Morning,

I have been working with an old version of NIST/JAIN and my app worked
fine ...

Now I have downloaded the last version from https://jain-sip.dev.java.net/,
made the required changes to may app but I can't initialize the SipFactory,
I get the following exception:

The Peer SIP Stack: gov.nist.javax.sip.SipStackImpl could not be 
instantiated. Ensure the Path Name has been set.
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:320)
	at javax.sip.SipFactory.createSipStack(SipFactory.java:159)
	at
loquendo.sip.client.SipGeneralFactory.init(SipGeneralFactory.java:127)
	at loquendo.dp.DPSessionsManager.<init>(DPSessionsManager.java:126)
	at loquendo.vxml.interpreter.Main.<init>(Main.java:390)
	at loquendo.vxml.interpreter.Main.main(Main.java:665)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown

Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at javax.sip.SipFactory.createStack(SipFactory.java:310)
	... 5 more

Caused by: java.lang.NoClassDefFoundError: 
EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap
	at 
gov.nist.javax.sip.stack.SIPTransactionStack.<init>(SIPTransactionStack.java
:322)
	at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:230)
	at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:271)
	... 10 more

what is this EDU/oswego/cs/dl/util/ ... etc. not found? I obviously had a 
look at the examples,
but it seems that the properties are set correctly (on the other hand, with 
the old stack
anything works fine) ...

does anyone have a clue?

thanks in advance :)

Bruno


_______________________________________________
nist-sip mailing list
[email protected]
http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.