Skip Headers
Oracle® Java ME Embedded Getting Started Guide for the Reference Platform (Qualcomm IoE)
Release 3.4
E47914-01
  Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

4 Troubleshooting

This chapter contains a list of common problems that you may encounter while installing and running the Oracle Java ME SDK and embedded software on the Qualcomm IoE board. This chapter provides information on the causes of these problems and possible solutions for them.

The common problems in this chapter are grouped in two categories:

Starting Oracle Java ME Embedded on the Board

Table 4-1 contains information about problems and solutions when starting the runtime on the board.

Table 4-1 Problems and Solutions - Starting Oracle Java ME Embedded on the Board

Problem Cause Solution

Windows does not recognize the board when connected via USB.

Ensure the USB drivers are loaded.

See Chapter 1, "Installing Oracle Java ME Embedded on the Qualcomm IoE Board" for more information on installing the USB drivers for the Qualcomm IoE board.

Windows does not recognize the board when connected via USB

Ensure the board is powered on.

Press the PWR KEY button on the board.

Oracle Java ME Embedded fails to initialize the network on the board.

The network configuration is incorrect.

Check that the network connection on the board is correct. Ensure that the board is using DHCP to obtain an IP address.

(continued)

Network configuration on the WiFi access point is incorrect or unsupported.

Check that WiFi SSID broadcasting is enabled on the router.

(continued)

WPA2-PSK authentication algorithm is not working correctly on some routers.

Try manually setting the authentication algorithm to WPA-PSK or disabling the security checking.

There are no Java logs in Brew MP Logger application. However, the device has been recognized successfully by the Logger and Loader application.

The Oracle Java ME Embedded platform did not start. The java.sig or netsetup.sig files were not updated or are invalid for Oracle Java ME Embedded 3.4

Check the netsetup logs. Please refer to Configuring Wi-Fi networking in Chapter 2, "Tooling Over Serial and Networking" for additional information. If there is no netlog.txt file or it is incorrect, please ensure that Netsetup application has been updated and the netsetup.sig file is valid. The signature file from previous versions of the Oracle Java ME Embedded platform will not work correctly.If the netlog.txt file is present and is correct, ensure that Java ME Embedded application in the /sys/mod/java directory has been updated and the java.sig file is valid. The Java signature file from the previous version must also be updated for 3.4.

The board is not detected by the Device Manager when connecting to the board in serial mode.

Varies. See Solution column.

If you have some issues with connecting Device Manager and the board, please check the file <USER_HOME_DIR>/javame-sdk/3.4/log/sos-proxy.log.

1) if the last line in the output looks similar to "Open COM{Number}", then make sure that you've specified the correct COM port. If the port is incorrect, choose the proper one by specifying it in Device Manager and restarting the board. Note that is sometimes take a minute or more to boot Java after the board is powered on. This is because of WiFi related settings that are performed during the launch time.

If you don't use WiFi (3G), then you can disable the network setup with net related commands. In addition, there is a "system.netsetup.timeout" property that configures the timeout to start Java after the network initialization has been started. if the COM port is correct and more then a minute has passed after the board is powered on, try to reboot both Device Manager and the board

2) If the last line in the output is not "Open COM{Number}", check that you specified the correct port numbers to connect to the CLI or the logger, then try to reboot both the Device Manager and the board


Using the Board with the Oracle Java ME SDK and the NetBeans IDE

Table 4-2 contains information about problems and solutions when using the board with the Oracle Java ME SDK and the NetBeans IDE:

Table 4-2 Problems and Solutions - Oracle Java ME SDK and the NetBeans IDE

Problem Cause Solution

The board is not detected when adding a new device to the Device Manager.

On-device debugging is not enabled.

Edit the file jwc_properties.ini and set the property odt_run_on_start to true.

The debugging session freezes, disconnects unexpectedly, or shows error messages.

The firewall on the computer is blocking some debugging traffic.

Thunderbird is using a port that is needed for communication with the board.

Open TCP port 2808 on your firewall configuration settings. The exact procedure to open a port differs depending on your version of Windows or your firewall software.

Close thunderbird.exe during the debugging session.

The current time and date is invalid.

The time and date on the Qualcomm IoE board is configured automatically only if a valid SIM card is inserted.

Insert a valid SIM card. If the date and time is still wrong, try another SIM card.

A signed IMlet will not install. The AMS gives a return code that the certificate or the authentication are invalid.

Certificate is invalid or it is not added to keystore

Check the certificate. Refer to Method #1: Signing the Application with API Permissions in Chapter 3, "Installing and Running Applications on the Qualcomm IoE Board" for details.

(continued)

The date and time on the board were configured incorrectly.

Refer to note above about setting date and time on Qualcomm IoE board.