Hello,
I am currently testing JBuilders MobileSet but have encountered a problem while running the MobileBookStoreClient Sample.
I have started the server side without any problems and configured it to point to the JDS file, but when I enter an ISBN number into the client application and press submit I receive the error noted below.
I believe the client isn't connecting to the server correctly; so my question is, how does the client know what to connect to and where the server is?
Best Regards
John
Error received show below:
java.io.EOFException
at java.io.DataInputStream.readFully(+45)
at java.io.DataInputStream.readUTF(+32)
at java.io.DataInputStream.readUTF(+4)
at com.borland.samplelemicro.mobilebookstore.bookstoreJ2MEclient.ResultScreen.displayBookInfo(+49)
at com.borland.samples.micro.mobilebookstore.bookstoreJ2MEclient.ResultScreen.<init>(+143)
at com.borland.samples.micro.mobilebookstore.bookstoreJ2MEclient.ISBNScreen.commandAction(+31)
at javax.microedition.lcdui.Display$DisplayAccessor.commandAction(+152)
at com.sun.kvem.midp.lcdui.EmulEventHandler$EventLoop.run(+459)
I am currently testing JBuilders MobileSet but have encountered a problem while running the MobileBookStoreClient Sample.
I have started the server side without any problems and configured it to point to the JDS file, but when I enter an ISBN number into the client application and press submit I receive the error noted below.
I believe the client isn't connecting to the server correctly; so my question is, how does the client know what to connect to and where the server is?
Best Regards
John
Error received show below:
java.io.EOFException
at java.io.DataInputStream.readFully(+45)
at java.io.DataInputStream.readUTF(+32)
at java.io.DataInputStream.readUTF(+4)
at com.borland.samplelemicro.mobilebookstore.bookstoreJ2MEclient.ResultScreen.displayBookInfo(+49)
at com.borland.samples.micro.mobilebookstore.bookstoreJ2MEclient.ResultScreen.<init>(+143)
at com.borland.samples.micro.mobilebookstore.bookstoreJ2MEclient.ISBNScreen.commandAction(+31)
at javax.microedition.lcdui.Display$DisplayAccessor.commandAction(+152)
at com.sun.kvem.midp.lcdui.EmulEventHandler$EventLoop.run(+459)