[JBoss-user] [EJB/JBoss] - ear and file properties

2005-05-18 Thread salinaale
Hi to all, i need some suggestions: i've an application deployed with an ear file and in this archive there are some properties file. Putting properties file in ear i think is good but what if i hat to modify one of this? I don't like to put prop files in jboss classpath!! I need a way to make

[JBoss-user] [JCA/JBoss] - Re: DATASOURCE AND JNDI

2005-04-07 Thread salinaale
if this can help: in every definition of ejb in ejb-jar.xml i've put XX jdbc/MYDB javax.sql.DataSource Container and the only way i found to solve the problem is to create a jboss.xml like this... ... ... Y

[JBoss-user] [JCA/JBoss] - DATASOURCE AND JNDI

2005-04-06 Thread salinaale
Ciao, sorry if this may be a stupid question... i'm tring to porting an application from iona A.S. to jboss and i 've this problem: 1) a Session Bean retrive a sqlconnection via jndi ... Context ctx = ContextFactory.getInitialContextLocal(); ds = (DataSource)ctx.lookup("java:comp/