4 Replies Latest reply on Sep 8, 2012 12:51 PM by Nicklas Karlsson

    JBoss Appserver:Feel like quitting

    ADITYA SHARMA Newbie

      Dear community,

       

      I have been facing lot of complexitities working with jboss.Simple project deployment has become so cumbersome that it has become challenging for my developers

      to look on every petty issue.

      Even i am not able to connect a file of msaccess with a dns on my system so how to think about connecting to other databases.

      Why this complexity and what for ?.Every person on this earth has full liberty to create multilevel complexity but we as a humanity are working here to make simple

      things for others.Otherwise abstraction principle in OO would have been a big failure.

      I am not only addressing or complaining to jboss but even to eclipse.Documentations that you people provide is never stepwise but ugly designed.

      People keep on experimenting things leading to destruction of complete project source at times.

      This is a complete failure and recently one of my employee has made mess of my complete sources.

      But on delving deeper i find it is not his fault.

      Your documentation and people who give help ask to change critical system files of jboss appserver.

       

      Now coming to my issue, i have installled a project that worked correctly on sun j2ee 1.6 and has now problem on connecting msaccess.

      I also request users to provide answers here if they have something reasonable to answer.I am using Eclipse juno with jboss appserver.

       

      Kindly no guess works plz.

       

      java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver from [Module "deployment.BookShopContext.war:main" from Service Module Loader] 

       

      The problem is related to class loading at the same time connecting with DNS name ,i have on my local system.

        • 1. Re: JBoss Appserver:Feel like quitting
          Ales Justin Master

          Even though such post doesn't even deserve reply, perhaps not even reading, here I go ...

          Kindly no guess works plz.

           

           

          java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver from [Module "deployment.BookShopContext.war:main" from Service Module Loader] 

           

           

          The problem is related to class loading at the same time connecting with DNS name ,i have on my local system.

          Amazing ... when reading this, the first thing that came to my mind (among others ...): "to cast the first stone" --> http://www.phrases.org.uk/meanings/385600.html

          But it did made me laugh, are you really expecting that from non-existing description on what you're doing, but just a single exception, that there will be no guessing involved?

          Could be, if there are some mind readers among our users. ;-)

           

          This is for Infinispan forums, but I'm sure you'll see how to apply it to any JBoss forum.

          * https://community.jboss.org/wiki/HowToAskAForumQuestion

           

          btw: remember, JBossAS comes for *free*, and you are always welcome to contribute,

          writting the stuff above is the easiest, actually contributing is the tricky part

           

          ;-)

          • 2. Re: JBoss Appserver:Feel like quitting
            Nicklas Karlsson Master

            Ales pretty much summed it up but some general guidelines (JBoss or not)

             

            1. Hire at least one person with experience in the field

            2. Start simple (fresh AS starts up? simple example deployes?), work from there

            3. When you hit problems, google around. If nothing comes up, post full stack traces and explanations what you've already tried

            • 3. Re: JBoss Appserver:Feel like quitting
              ADITYA SHARMA Newbie

              >>btw: remember, JBossAS comes for *free*, and you are always welcome to contribute,

              >>writting the stuff above is the easiest, actually contributing is the tricky part

               

              Many ailments come as free including viral fever.You wont buy them though medicines are available in market.

              Regarding hiring we have to think first to stay with the product.

              I mean drastic changes without caring for users.

               

              If problem is not well defined.

              This is a typical jdbc code failing to connect to dns of msaccess.

              <%
              Connection con=null;
              HttpSession r=request.getSession();
              String de=(String)r.getAttribute("var4");
              try
              {
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              con=DriverManager.getConnection("jdbc:odbc:MyData","","");
              PreparedStatement st=con.prepareStatement("Update Admin set Password= ? where Name='Admin'");

              st.setString(1,de);
              st.executeUpdate();
              st.close();
              %>

               

              If you believe in reading only praises for you then you may need to change your view after release of jboss app 7 because

              you have landed me in biggest trouble of my life.Dont know how many others agree to it.

              I cannot change my code because we have 10,000 sources where we need to do any kind of change.

               

               

              Pl suggest.

              • 4. Re: JBoss Appserver:Feel like quitting
                Nicklas Karlsson Master

                I don't think you'll get many praises if you have 10000 JSP sources doing direct DB access ;-)

                 

                I have a hard time believing you have that much code written when nothing apparently works for you. And you still don't give us any error messages to go on.

                And the little code we see is apparently partly pasted because the try block isn't terminated etc.