• 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

java.io.IOException: getNextMsg refill failed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
I am facing problem in getting the response from ASP(HTTPS+IIS).I got the certificate from the verisign and the ceriticate.
The Asp file was working fine and giving the response in the browser.When the url was in the MIDlet application it was giving fallowing Exception
java.io.IOException:getNextMsg refill failed
Can anybody please tell me the way to resolve this Exception.I facing this HTTPS configuration problem in MIDlet from past one week.
Please help me
I am badly in need of your help
Thanks in advanvace
lakshman
 
Battula lakshman
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
I have checked the process with the help of SSL diagnostics.it was giving the fallowing output in the probe SSL section
HTTP/1.1 302 object moved
As far as the certificate is concern there is no problem.
I imported the certificate into MEKeytool and the RootCA was also imported into the MEKeytool
can anybody please tell me, what went wrong in this configuration
Thanks in advance
lakshman
 
Battula lakshman
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
let me explain you the whole process i have fallowed that will make your job simpler.
In browser side and certification request
1. I got the certificate from the verisign it was an free certificate from verisign.
2. the certificate was imported into the iis.then it was giving one more warning in the security alert that the root was not in the trusted list.
3. I have downloaded the verisign intermediate trusted certificate Authority and i have imported into the IIS then with out any security alert i am getting the output.
Then i came to the MIDlet side
Before the Root certificate was installed into the MEKeytool i am getting the fallowing Exception
javax.microedition.pki.certificateException: certificate from unrecognized entity
1.The root CA was imported into the MEKeyTool with the help of
MEKeytool
2.The certificate was also imported into the MEKeytool with the help of
MEKeytool
Now the Exception was changed to
java.io.IOException: getNextMsg refill failed
I have serched in many forums and googled and i am not got any good information regarding this issue.
so I need help from all of you guys.
Please help me in resolving this
Thanks in advance
lakshman
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!

I know this topic is really old, but I thought I will answer anyway, maybe it will help someone someday.
I spent last night searching for an answer to this problem, without any success.
Then I remembered something: Glassfish has 3 types of SSL settings: SSL2, SSL3 and TLS (only TLS is enabled by default). I checked all of them, restarted the server and the error was gone!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic