0 Replies Latest reply on Aug 2, 2007 3:28 AM by riki barkiki

    Using Netbeans 5.5 with Jboss Integration

    riki barkiki Newbie

      Hello,
      i try some tutorial from netbeans site

      http://www.netbeans.org/kb/55/ejb30-jboss.html

      and it work fine, i change the DB from hsqldb to mySql and i test it from
      local server and it work fine
      but when i try to upload it to my live server i get some errors

      1) output error that i get is :

      java.lang.RuntimeException: javax.naming.NameNotFoundException: JBoss1 not bound
      web.ListNews.lookupJBossUserFacade(ListNews.java:82)
      web.ListNews.processRequest(ListNews.java:34)
      web.ListNews.doGet(ListNews.java:56)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      2)when i look at the server.log i get some extra info about the error,

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: persistence.units:ear=JBoss1.ear,jar=JBoss1-ejb.jar,unitName=JBoss1-ejbPU
      State: FAILED
      Reason: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
      I Depend On:
      jboss.jca:service=ManagedConnectionFactory,name=MySqlDb
      Depends On Me:
      jboss.j2ee:ear=JBoss1.ear,jar=JBoss1-ejb.jar,name=JBossUserFacade,service=EJB3
      jboss.j2ee:ear=JBoss1.ear,jar=JBoss1-ejb.jar,name=NewMessage,service=EJB3

      Many thank about any idea or comment

      Ron.