|
hi there,
i have previously worked on weblogic 4.5.1 ejb 1.0
spec.
i have just started experimenting with jboss.
i found it cool. have also experimented with JOnAS but found jboss quite fast
and superior with very easy deploying and lot of support. i m facing problem in
getting datasource object from the jndi lookup. i made changes in jboss.conf and
jboss.jcml files as given in the advanced configuration option. i did list on
initial context with "java:" to get listing of all the names but did not see
jdbc connection. please let me know where i m going wrong. i have given pool
name in the file as jdbc/MSSQLPOOL and trying to access it using simple java
application. i m doing look up using
context.lookup("java:comp/env/jdbc/MSSQLPOOL");
but it gives error saying comp is not bound and
throws NameNotFoundException. waiting for reply.
regards,
alap.
|
