aspose file tools*
The moose likes Java Micro Edition and the fly likes Stack Initialization error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Stack Initialization error" Watch "Stack Initialization error" New topic
Author

Stack Initialization error

Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

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.


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Stack Initialization error