-
1. Re: how to look up my DataSource
xbird Jul 3, 2002 10:13 PM (in response to xbird)sorry ! JNDI name is:OracleDS
-
2. Re: how to look up my DataSource
xbird Jul 3, 2002 11:32 PM (in response to xbird)messages given by jboss:
10:38:37,328 WARN [ServiceController] jboss.jca:service=LocalTxDS,name=OracleDS
does not implement any Service methods
10:39:04,640 INFO [JBossManagedConnectionPool] Creating
10:39:04,656 INFO [JBossManagedConnectionPool] Created
10:39:04,656 INFO [JBossManagedConnectionPool] Starting
10:39:04,671 INFO [JBossManagedConnectionPool] Started
10:39:04,671 INFO [MainDeployer] Successfully completed deployment of package:
file:/D:/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/oracle-service.xml
...................................................
now i can get the DataSource via
DataSource ds=(DataSource) jndiContext.lookup("java:/OracleDS");
but i can not get a connecttion via:
Connection con=ds.getConnection(); -
3. Re: how to look up my DataSource
davidjencks Jul 4, 2002 11:18 PM (in response to xbird)Maybe your db url or user/pw is wrong? Are the Oracle driver classes available? What exactly happens instead of getting the desired connection?
-
4. Re: how to look up my DataSource
shivanandt Jul 5, 2002 5:21 AM (in response to xbird)I am also facing same problem.
One of the difference i found with deployment message hsql DefaultDS to the one i deploy for oracle is that in DefaultDS deployment it prints the jndi name java:/DefaultDS to which the data source is bound where as on deployoment of oracle data source, it doesn't give.
I am still looking into cause ..... -
5. Re: how to look up my DataSource
mkgarnek Jul 9, 2002 10:43 AM (in response to xbird)Was this ever resolved?
Thanks