3 Replies Latest reply on Apr 19, 2004 5:19 AM by goutamp

    Clustering with Message driven Beans......(Exception:File no

      Hi all,
      iam working for the first time on clustered envinronment, so iam not getting some things right....can anyone help me in this problem:

      In my code iam using a messge driven bean and a servlet for the JBoss clustering environement.

      My clustering is with default partition.So my code is working fine when no nodes are up in the cluster.But if any node in the cluster is up, then my server is recognizing the other node which came up, but some exceptions arised in my server which is bothering me.

      Those exceptions are related to some files in my deploy directory and it those exceptions are:

      1.java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jmx-console.war (Access is denied)
      FarmMemberService] java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jmx-console.war (Access is denied)

      2.java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\deploy.last (Access is denied)
      [FarmMemberService] java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\deploy.last (Access is denied)

      3.java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jboss-net.sar (Access is denied)
      [FarmMemberService] java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jboss-net.sar (Access is denied)

      4.java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jmx-invoker-adaptor-server.sar (Access is denied)
      [FarmMemberService] java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jmx-invoker-adaptor-server.sar (Access is denied)

      5. java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jms\jbossmq-httpil.sar (Access is denied)
      [FarmMemberService] java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jms\jbossmq-httpil.sar (Access is denied)

      6. java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\http-invoker.sar (Access is denied)
      [FarmMemberService] java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\http-invoker.sar (Access is denied)

      7. java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jms\jbossmq-hail.sar (Access is denied)
      [FarmMemberService] java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jms\jbossmq-hail.sar (Access is denied)

      8. java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\snmp-adaptor.sar (Access is denied)
      [FarmMemberService] java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\snmp-adaptor.sar (Access is denied)

      9. java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jbossha-httpsession.sar (Access is denied)
      [FarmMemberService] java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jbossha-httpsession.sar (Access is denied)

      10. java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jbossweb-tomcat41.sar (Access is denied)
      [FarmMemberService] java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jbossweb-tomcat41.sar (Access is denied)

      These exceptions were arised on my server.
      So can ayone explain me why these exceptions arised and how to get rid of them.
      Did i miss anything when clustering.....(Please remember my bean is a Message Driven Bean).

      Can anyone solve this.....

      Best Regards,
      -Goutam.


        • 1. Re: Clustering with Message driven Beans......(Exception:Fil
          sysuser1

          I don't think message driven beans are supported in clustering :)

          • 2. Re: Clustering with Message driven Beans......(Exception:Fil
            lordbritish

            This is something I would like to know to.

            JBoss 3.2.4RC1 is supposed to have some MDB clustering but I'm not sure how much.

            There's also JBos 4.0 (Beta) but I'm not certain what it's MDB clusterring capabilites are.

            Overall, the documentation for MDB clusterring is very sparse.

            We definitely need better documentation here.

            MDB is my opinion are coolest feature of EJBs and for long running requests (30 minutes or more), i believe it is the way to go.

            • 3. Re: Clustering with Message driven Beans......(Exception:Fil

              Hi,
              Thanks for the replies you guys gave.I came to know that there is a support for mdb's from jboss-3.2.3 version.

              Well, inspite of the exceptions that I mentioned in my previous mail, all the nodes are recognized in the clustered environment.I defined my own partition: "xyz" and all the nodes which i expected to come in my partition are certainly recognised in my partitioned.But those exceptions are disturbing me.

              I would like to ask one question to you guys:

              "Seeing those exceptions, is there any possibility that, in clustered environement, do i need to change the access or permissions of any
              file(s), or any network settings, because the exceptions were of that sort- File not found:(Access denied)." Please take a look over the exceptions once again.WHAT DO YOU GUYS THINK......

              Borgward and LordBritish, thanks for your replies.....
              ya...i have searched for the documentation and i too found the documention for mdb support is very sparse.However there is a paid documentation available for mdb support in clustered env in www.jboss.org. I have ordered for that. I need to check out from that documentation.Until then, if any suggessions, most welcome.

              Best Regards,
              -Goutam