Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Weblogic Create 2 data sources

Tags:

java

weblogic

I am using weblogic server for my application. There are 2 data sources that I can use 1. localhost 2. dev

My question is can I create 2 data sources and use them for local testing. I have one domain.

I get an error if I do that; Error Failed to bind remote object (ClusterableRemoteRef(-8493092708980746818S::base_domain:AdminServer null)/881 [weblogic.jdbc.common.internal.RemoteDataSource]) to replica aware stub at MyDataSource(ClusterableRemoteRef(-8493092708980746818S::base_domain:AdminServer [-8493092708980746818S::base_domain:AdminServer/287])/287 [weblogic.jdbc.common.internal.RemoteDataSource])

like image 330
copenndthagen Avatar asked Feb 15 '26 08:02

copenndthagen


1 Answers

Please make sure that these two data sources you're creating DO NOT have the same name OR JNDI name (I've seen this error when accidentally trying to create a data source that already existed)

like image 87
Rafael Oltra Avatar answered Feb 16 '26 20:02

Rafael Oltra



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!