This content has been marked as final.
Show 20 replies
-
15. Re: Getting build error [ ERROR [JTDataSource] The connection pool failed to ]
Gurvinder Feb 22, 2012 3:16 PM (in response to 0140885)just remove any other ds xml file from your deploy folder.1 person found this helpful
Keep only one ds.xml that i refered in my earlier post.
Thanks -
16. Re: Getting build error [ ERROR [JTDataSource] The connection pool failed to ]
Onhate Feb 22, 2012 4:22 PM (in response to Gurvinder)@Gurvinder1 person found this helpful
You said:
"you dont need the FakeXAdatasource.
Just configure the JTDatasource a.d DirectJTDatasources"
It is because he is using Oracle, and Oracle does not need a Fake XA cause it supports a real XA right??
Configuring JTDatasource to use DirectJTDatasource, ATG will try to use the WLS created datasources right??
If it is right, can you help me on how to configure this correctly?
Thanks -
17. Re: Getting build error [ ERROR [JTDataSource] The connection pool failed to ]
Nooruddin Shaik Feb 22, 2012 5:00 PM (in response to 0140885)Can you confirm if you have created these files in <ATG-home>/localconfig?1 person found this helpful
1)FakeXADataSource.properties
$class=atg.service.jdbc.FakeXADataSource
driver=oracle.jdbc.driver.OracleDriver
url=jdbc:oracle:thin:@localhost:1521:xe
user=TESTATG
password=TESTATG
2)JTDataSource.properties
$class=atg.service.jdbc.MonitoredDataSource
dataSource=/atg/dynamo/service/jdbc/FakeXADataSource
Note when you use the class as MonitoringDataSource in JTDataSource then JNDI name will not be used.
Peace
Shaik -
18. Re: Getting build error [ ERROR [JTDataSource] The connection pool failed to ]
Nooruddin Shaik Feb 22, 2012 5:08 PM (in response to Onhate)You can use both FakeXADataSource and app server datasources.1 person found this helpful
FakeXADataSource doesn't support XA, so its not supported by ATG in production.
But for evaluation or quick test, you can still use FakeXADatasource.
The class name in JTDataSource decides to use JNDI name(JNDIReference class) or FakeXADataSOurce(MonitoringDataSource class)
The use of WatcherDataSource class can be used to monitor the connection pool in ATG.
So typical it would be.
Repository -> JTDataSource(WatcherDataSource class) -> DirectJTDataSource(MonitoringDataSource/JNDIReference class) -> FakeXADataSource/app Datasource
Peace
Shaik -
19. Re: Getting build error [ ERROR [JTDataSource] The connection pool failed to ]
0140885 Feb 24, 2012 6:57 AM (in response to 0140885)Hi Gurvinder,
Problem is resolved with below JNDI class name.I specified this class name in the JTDataSource.propeties.
Please correct me if I am wrong.
$class=atg.nucleus.JNDIReference
JNDIName=java:/ATGOracleDS
Regards,
Jyothi.mj -
20. Re: Getting build error [ ERROR [JTDataSource] The connection pool failed to ]
Nooruddin Shaik Feb 24, 2012 4:15 PM (in response to 0140885)Yes, you are right!
Always remember FakeXADatasource and JNDI name cannot be used together.
Peace
Shaik