• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Stack Initialization error

 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic