[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Using Netbeans 5.5 with Jboss Integration

locombus do-not-reply at jboss.com
Thu Aug 2 03:28:41 EDT 2007


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.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069934#4069934

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069934



More information about the jboss-user mailing list