cancel
Showing results for 
Search instead for 
Did you mean: 

Dependency between a datasource and a J2EE application, possible?

Former Member
0 Kudos

We have a J2EE application which makes use of a datasource. The application on startup does some database related activities using this datasource. As a result we need to make sure that the datasource should be started before our application starts. Is there some kind of dependency that we can add, through which we can tell NW to start the datasource first and then the application? We are using NW 04s SP11.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

By the way, the datasource is created through the Visual Admin

Former Member
0 Kudos

Found a . Will try the solution mentioned by Peter.

Former Member
0 Kudos

Just to bring this topic to a logical end - we were able to successfully deploy the application with the data-sources.xml file within the META-INF folder. The dependency is now taken care off.

Thanks.