Hi,

The startup service is invoked before the binding of the datasource and hence 
my application cannot resolve the datasource. My problem is that my 
startupclass need to initialize and needs to reference the datasource. In 3.2.4 
the user services [user-service.xml] is called after all other services and 
this works fine but in 4.0 sp1 the user service is called before the binding of 
data source. I am kind of stuck here. Any help is appreciated. 

        ... 110 more
Caused by: javax.naming.NameNotFoundException: xactly-dataSource-oraclePool not
bound
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)
        at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
        at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:544)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
        at javax.naming.InitialContext.lookup(InitialContext.java:347)
        at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.jav

12:11:31,310 INFO  [WrapperDataSourceService] Bound connection factory for 
resource adapter for ConnectionManager 
'jboss.jca:name=xactly-dataSource-oraclePool,s
ervice=DataSourceBinding to JNDI name 'xactly-dataSource-oraclePool'

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to