[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Could not find datasource message in client JPA although

jaikiran do-not-reply at jboss.com
Wed Dec 24 05:28:28 EST 2008


anonymous wrote : There is already a jndi.properties file in my C:\Program Files\jboss-4.2.2.GA\server\default\conf folder
That one is on the server. You will have to place the jndi.properties in the client (BidClient.class) classpath as well. I am not exactly sure how this can be done through Eclipse.

Another point:

anonymous wrote : p.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory ");
  | 

There should not be a trailing space in the value. It should be:

p.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");


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

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



More information about the jboss-user mailing list