on 01-13-2008 9:40 AM
i have one EAR deployed in WAS, and this EAR is dependent on one data source, also deployed in the WAS.
whenever the server is restarted, my application can't run properly if it is related to the data source.
I have checked the EAR & data source deployment status, all are ok.
I have to restart my EAR to get the application running smoothly.
I doubt my EAR is got started before the data source is started, and the EAR will load some data source information into memory once it is started.
how to handle this dependency?
Hello Yueming,
Try to delete the datasource and create it from the visual admin.
After the above change the data source should be available immediately after start of dbpool service, independent of service/application that deployed it.(by default the alias is bound to this service as "deployer")
Changing the datasource alias:
Please open the visual administrator and open the services of the affected server. Select the service JDBC connector and open the datasource. You will see a list of aliases on the right. Choose the alias and remove it. Do NOT restart the server. Add the alias again with the same name. You will see that the column deployer has changed now.
Regards, Ventsi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your advice, it works for the first time only, the problem occurs again
The data source is created in VA previously. Can I know the root cause of it? I doubt if I added the data source in this way, whether it will happen again?
Edited by: yueming daoy on Feb 4, 2008 9:56 AM
Edited by: yueming daoy on Feb 4, 2008 9:57 AM
because our server is restarted everyday for backup, and after restarted, when visit the application, the following error will occur
"Caused by:
com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of ds_some"
But after I restarted the application, then every thing is fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.