I have a Web application running on Oracle Weblogic Server 11g. It uses a datasource defined in the application server to connect to the Oracle Database (11g too), its class is
oracle.jdbc.xa.client.OracleXADataSource
If for some reason the database becomes not present and then comes backs, the application is running ok (it gets exceptions while trying to access the db but this is fine and then can again get some new connections when the db comes back)
However, if the database is down during weblogic server startup, the datasource is not deployed on the server and the application throws an exception because it has not any datasource available, the deployment is marked as failed and of course nothing does repair this automatically.
Is there a way to make the datasource be deployed even if the database is not present during server startup ? (such that the application becomes usable when the database is back)