[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Invalid JNDI name

gbadavidson do-not-reply at jboss.com
Wed Jun 10 16:30:32 EDT 2009


I am getting an error I have never seen before.


"ERROR [SessionFactoryObjectFactory] Invalid JNDI name: 
javax.naming.InvalidNameException: An empty name cannot be passed to rebind"

I have assigned a JNDI name for the database connection:

"11:33:02,176 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' " (This is from the console when the application sever started up.)


I am able to read data from my database but I am unable to save any data. Has anyone seen anything like this?

Thanks



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

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



More information about the jboss-user mailing list