Skip to Content
0
Former Member
Mar 23, 2007 at 04:34 PM

Datasource not available for Java application

17 Views

We are deploying a Java application on Netweaver 2004 SP 18 (clustered with 3 nodes) and 2004s SP 2 (non-clustered). Sometimes ⚠️ it occurs that the corresponding datasource (JDBC with Oracle and MySQL) is not available at startup of our application. The problem is that the datasource is essential at application startup to build indices and so on. The strange on that is that after startup the datasource is available after some minutes.

We have tried two things, according to Creating" target="_blank">http://help.sap.com/saphelp_erp2005vp/helpdata/en/bb/69da54d8aedc419d46d9ea074e4d41/frameset.htm">Creating a DataSource:

- Registering a DataSource in the Visual Administrator

- Deploying DataSource with our Application

Both kinds of configuration show similar problems, occuring sometimes and sometimes not. Are their any possibilities to configure the starting order of our apllication and datasource? Are their dependencies that affect the work of the datasource?

Any help is welcome!

Thanks in advance

Christian