0 Replies Latest reply on Dec 10, 2003 11:02 AM by equick

    Connection refused

    equick

      Hi,

      I'm trying to get the Interest EJB example working on Jboss-3.2.2 but when I run the client I get the following error:

      # java -classpath /opt/jboss/client/jnet.jar:/opt/jboss/client/jboss-j2ee.jar:.:/opt/jboss/client/jbossall-client.jar
      Got context
      javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 167.2.66.28; nested exception is:
      java.net.ConnectException: Connection refused]


      I've checked the server.log and the ejb seems to be deployed OK:

      2003-12-10 16:43:44,741 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package:
      file:/opt/jboss-3.2.2/server/default/deploy/interest.jar
      2003-12-10 16:43:48,562 INFO [org.jboss.ejb.EjbModule] Deploying Interest
      2003-12-10 16:43:49,379 INFO [org.jboss.ejb.plugins.StatelessSessionInstancePool] Started jboss.j
      2ee:jndiName=interest/Interest,plugin=pool,service=EJB
      2003-12-10 16:43:49,382 INFO [org.jboss.ejb.StatelessSessionContainer] Started jboss.j2ee:jndiNam
      e=interest/Interest,service=EJB
      2003-12-10 16:43:49,383 INFO [org.jboss.ejb.EjbModule] Started jboss.j2ee:module=interest.jar,ser
      vice=EjbModule
      2003-12-10 16:43:49,384 INFO [org.jboss.ejb.EJBDeployer] Deployed: file:/opt/jboss-3.2.2/server/d
      efault/deploy/interest.jar
      2003-12-10 16:43:49,672 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/opt/jbos
      s-3.2.2/server/default/deploy/interest.jar


      Although I do get an error later on saying:

      16:43:49,794 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:
      ..
      ..

      although interest.jar is not in this list. Could anyone point me in the right direction please to get this fixed?

      Thanks,

      Ed.