Mobile device setup  SAP setup

Chapter 4: Troubleshooting

Answers Anywhere/SMS setup

Table 4-4 identifies common Answers Anywhere, and Answers Anywhere with SMS setup problems and provides troubleshooting information.

Table 4-4: Troubleshooting Unwired Accelerator problems

Problem

Try this

port xxxx already in use

If you receive this error when running the installAvantGoServer script, the port number you specified is already in use by another service. Select a port that is not being used.

sync service does not start

If M-Business Server is installed on the same Linux server as Unwired Accelerator, then Unwired Accelerator must be shut down before installing and starting M-Business Server. Once M-Business Server has been started, restart Unwired Accelerator.

Stop Unwired Accelerator using instructions in “Starting and stopping the system”, then restart the installAvantGoServer script as described in “Installing M-Business Anywhere server and client”.

M-Business Anywhere and Unwired Accelerator are not communicating

If you installed M-Business Anywhere server on a different Linux server than Unwired Accelerator:

  • Verify that you modified gridlayout1.jsp correctly.

  • Verify that you modified server.xml correctly.

See “Configuring M-Business Anywhere” for correct settings.

Cannot use the Manage M-Business option from Mobile Web Studio

This most likely stems from a configuration problem. Check the following:

  • Check the server.xml file to make sure the jdbc/agdb JNDI Datasource is configured properly for the container.

  • Make sure M-Business Anywhere is running using the commands described in Table 2-3. If not, restart it.

Receive exception in thread “main” java.lang.RuntimeException: Error opening “/dev/ttySO” Permission denied at com.sun.comm.LinuxDriver.getCommPort(LinuxDriver.java:66) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:368) at TestEnumeration.getAvailableSerialPorts(TestEnumeration.java:63) at TestEnumeration.main(TestEnumeration.java:19

At the command line, enter:

chmod a+rw /dev/ttySO

Receive error:

javax.comm: Error loading javax.comm.properties!
null

Verify the modem is connected to the correct serial port and that it is specified in the javax.comm.properties and is being passed as command line to the script.

If you still have a problem, install software minicom by entering:

rpm -vv -i ftp://fr2.rpmfind.net/linux/fedora/core/3/i386/os/Fedora/RPMS/minicom-2.00.0-19.i386.rpm    minicom -s

This sets up the defaults.

Change the device from /dev/modem to /dev/ttyS0, or /dev/ttyS1, depending on which port the modem is connected to, and save the default. When the device attempts to connect to the modem, you should see AT commands being sent and OK being returned.

Run the script with arguments the -serialPort /dev/ttyS0 or any /dev/ttyS1 based on which port the modem is connected to.





Copyright © 2005. Sybase Inc. All rights reserved. SAP setup

View this book as PDF