This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stack Initialization error

 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the Atinav stack to host a RFCOMM server. I encountered problems because the JVM says the stack is not initialized. The solution in not in the BCC class and methods such as setPort() or setBaudRate(), which are in it, like some of the web sites suggest.

These methods are depricated in the newer version of the class and one is supposed to use bcc.properties to set the properties instead. However i find that even if i dont include the file in my class path it makes no difference.

This was not the case when i hosted an OBEX service. If i didnt include the classpath to the bcc.properties file the JVM complained. So how am i supposed to initialize the stack for RFCOMM services if bcc.properties is not the way to go about it ? Have any of you tried this out ?

The Avetana stack on the other hand looks like its hosting this service but no phone is able to detect the service. Please help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic