Current Position:Home > Java.io.IOException: failed to connectTCP open

Java.io.IOException: failed to connectTCP open

Update:11-30Source: network consolidation
Advertisement
Hello all,
I am newcomer to J2ME. I am facing following problem.
I am using mmapi. While calling method Manager.createPlayer(String url)
following exception occurs:
java.io.IOException: failed to connectTCP open
at com.sun.mmedia.protocol.CommonDS.getConnection(+385)
at com.sun.mmedia.protocol.BasicDS.connect(+12)
at javax.microedition.media.Manager.createDataSource(+71)
at javax.microedition.media.Manager.createPlayer(+196)
at example.audiodemo.PlayerCanvas.createPlayer(+86)
at example.audiodemo.PlayerCanvas.run(+4)
I have specified url as http://localhost:7001/startup.wav
This link executes fine in browser.
Please help.
Thanks and Regards,
Pramod

The Best Answer

Advertisement
uddinr0121 wrote:
thanks for the great advice... this is a bug in java
[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6780505|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6780505]
The bug you linked to says it has to do with a shared directory that has spaces in its path. The code you posted has no spaces in the path. That does not sound like the same problem to me.