on 09-26-2007 1:04 PM
Hi,
We have a J2EE application (call it myapps.ear). Note that this application uses Hibernate. It also requires a data source application (call it mydatasource) which we have created through VisualAdministrator. The application myapps.ear is dependent on the application mydatasource for its proper start-up and execution. If the application myapps.ear is started when the application mydatasource is
not up, myapps.ear does not start well due to failure in hibernate initialization.
Consider the scenario when both these applications (myapps.ear and datasource) are in the running state.
The problem comes when we restart Netweaver server. After a server restart, myapps.ears comes up earlier than the dependency mydatasource.This results in myapps.ear not initializing properly due to failure in hibernate initialization. Note, however, that myapps.ear still appears as successfully started in Visual Adiministrator.
We feel that this problem can be resolved if we could specify depencies
among applications (effectively specifying the relative order of application startup); i.e. if we are able to specify that the application myapps.ear is dependent on mydatasource application, and so the application mydatasource should be started before the myapps.ear application.
We could not find a way in Visual administrator where we can define these dependencies between applications .?
Does any body know how to set these type of dependencies among the applications.
Hi,
You need to specify this dependencies in the development process
all the dependencies are writen in the application-j2ee-engine.xml that the .ear archive contains.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.