1 Reply Latest reply on Aug 13, 2008 5:30 AM by alesj

    Using JBoss Spring Deployer

    joga

      Hi,
      I wanted to deploy my service component using Spring on JBoss, and then access this component from Swing client using RMI. This is what I did:

      - Downloaded the spring-deploer.zip
      - Copied the jboss-spring-jdk5.deployer to Jboss server\default\deploy folder.
      - Copied my component jar to the server\default\lib folder
      - Created a stockmgr-spring.xml, which has my bean declarations and RmiServiceExporter, and copied to the deploy folder. I could see the Jboss deploy messages without any errors.

      On the client side I did the required config for spring. When I try to get the reference to my component, I get errors "Connection refused".

      Versions of my softwares:
      JBoss: 4.2.1
      Spring: 2.0.7
      JDK: 1.6.0_05

      Is there anything I am doing wrong ? I can post my config files, if required.

      Thanks & Regards,

      Joga


        • 1. Re: Using JBoss Spring Deployer
          alesj

          Hmmm, looks like an issue beyond SpringDeployer.
          As you stated, you can see that it did its job == deployed your bean. :-)

          You can post the config here,
          but then try to reference this post to some other forum,
          where they deal with RMI.