Menu

Cannot run demoagent/agentcities examples

Help
2003-01-03
2003-04-15
  • France Cheong

    France Cheong - 2003-01-03

    Hi,

    I'm using Bluejade 0.8, Jade 2.61 and Jboss-3.0.3_tomcat-4.1.12.

    I'm trying to install and run the two examples: demoagent and agent cities.

    I'm able to install demoagent but it doesn't run successfully as it thows the following exceptions in server.log:
    2003-01-03 11:09:01,654 INFO  [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/D:/Dev/jboss-3.0.3_tomcat-4.1.12/server/demoagent/deploy/jbossmq-destinations-service.xml
    2003-01-03 11:09:01,734 INFO  [STDOUT] ----- gateway's properties:
    2003-01-03 11:09:01,734 INFO  [STDOUT] dump=true
    2003-01-03 11:09:01,734 INFO  [STDOUT] infoLevel=3
    2003-01-03 11:09:01,734 INFO  [STDOUT] ----- end of properties -----
    2003-01-03 11:09:01,784 ERROR [STDERR] java.net.BindException: Address already in use: JVM_Bind
    2003-01-03 11:09:01,804 INFO  [STDOUT]
    Agent receiver is running.
    2003-01-03 11:09:01,814 ERROR [STDERR]     at java.net.PlainSocketImpl.socketBind(Native Method)
    2003-01-03 11:09:01,814 ERROR [STDERR]     at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
    2003-01-03 11:09:01,814 ERROR [STDERR]     at java.net.ServerSocket.bind(ServerSocket.java:309)
    2003-01-03 11:09:01,814 ERROR [STDERR]     at java.net.ServerSocket.<init>(ServerSocket.java:183)
    2003-01-03 11:09:01,834 ERROR [STDERR]     at java.net.ServerSocket.<init>(ServerSocket.java:95)
    2003-01-03 11:09:01,844 ERROR [STDERR]     at com.hp.bluejade.agent.SocketProxy$Server.<init>(SocketProxy.java:153)
    2003-01-03 11:09:01,844 ERROR [STDERR]     at com.hp.bluejade.agent.SocketProxy.setup(SocketProxy.java:73)
    2003-01-03 11:09:01,844 ERROR [STDERR]     at jade.core.Agent.run(Unknown Source)
    2003-01-03 11:09:01,854 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:536)
    2003-01-03 11:09:01,854 INFO  [STDOUT] Deregistering

    I'm not able to install agentcities as the installation script throws the following exception:
    EnvVarsResolver exception:jade.util.PropertiesException: Unable to get property
    value for key: FULLCOMPUTERNAME
    jade.util.PropertiesException: Unable to get property value for key: FULLCOMPUTE
    RNAME
            at jade.util.BasicProperties.doSubstitutions(Unknown Source)
            at com.hp.bluejade.tools.EnvVarsResolver.processInput(EnvVarsResolver.ja
    va:93)
            at com.hp.bluejade.tools.EnvVarsResolver.<init>(EnvVarsResolver.java:73)

            at com.hp.bluejade.tools.EnvVarsResolver.main(EnvVarsResolver.java:38)
    **** The last step produced an error. Installation aborted. ****

    Any help will be much appreciated.

    Regards,
    France

     
    • Dick Cowan

      Dick Cowan - 2003-04-15

      I don't monitor this forum with any regulatity.
      I'm not sure if this problem is still open?
      Anyone may contact me directly at rm.cowan@verizon.net.

      The first problem sounds like something else is using port 6789 which the gateway uses.

      For the second problem please see the instructions included in the file index.html under the agentcities group.

       

Log in to post a comment.