on Jun 18th, 2010Chapter 10 Errata

To make it easier to run the examples in standalone mode, we recommend running a local XMPP server and running the Eliza bot locally as you work through the examples. Here are the steps:

  1. Download theĀ Openfire server, install, and run it.
  2. Using the admin web ui for Openfire, add 2 users: ‘eliza’ and ‘reader’. Set their respective passwords to ‘secret’.
  3. Load the sample code for Chapter 10 and select the ‘org.eclipsercp.eliza’ project and from the context menu click Run As > Eclipse Application. This will start eliza and from the Openfire admin ui you should see her as logged in now.
  4. The Eliza bot will now be part of the sample code for Chapters 10 and on.

From this point on, you can continue with the sample code an use your machine name (e.g., localhost) instead of ‘eclipsercp.org’ in all code that connects to the server.

2 Responses to “Chapter 10 Errata”

  1. John Ormerodon 24 Jun 2010 at 12:57 pm

    Hi again

    I have downloaded and installed Openfire, added eliza and reader as users.

    But, I can’t see an ‘org.eclipsercp.eliza’ project in the sample code for chapter 10.

    Do I need to do something else?

    Regards, John

  2. jeongwoo sonon 21 Feb 2012 at 1:30 am

    RCP Book Sample Chapter 10

    – OpenFire install
    – Add user : eliza, leader
    – xmpp server : localhost

    Exception message
    ————————————————
    !SESSION 2012-02-21 15:24:24.687 ———————————————–
    eclipse.buildId=unknown
    java.version=1.7.0
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ko_KR
    Framework arguments: -product org.eclipsercp.hyperbola.product
    Command-line arguments: -product org.eclipsercp.hyperbola.product -data C:\Documents and Settings\T61\workspace/../runtime-org.eclipsercp.hyperbola.product -dev file:C:/Documents and Settings/T61/workspace/.metadata/.plugins/org.eclipse.pde.core/org.eclipsercp.hyperbola.product/dev.properties -os win32 -ws win32 -arch x86 -consoleLog

    !ENTRY org.eclipse.jface 4 0 2012-02-21 15:24:27.062
    !MESSAGE The command (“org.eclipsercp.hyperbola.addContact”) is undefined
    !STACK 0
    java.lang.Exception
    at org.eclipse.jface.action.ExternalActionManager$CommandCallback.isActive(ExternalActionManager.java:370)
    at org.eclipse.jface.action.ActionContributionItem.isCommandActive(ActionContributionItem.java:647)
    at org.eclipse.jface.action.ActionContributionItem.isVisible(ActionContributionItem.java:703)
    at org.eclipse.jface.action.MenuManager.isChildVisible(MenuManager.java:999)
    at org.eclipse.jface.action.MenuManager.isVisible(MenuManager.java:567)
    at org.eclipse.jface.action.MenuManager.isChildVisible(MenuManager.java:999)

Comments RSS

Leave a Reply