How to start a repository

View: New views
3 Messages — Rating Filter:   Alert me  

How to start a repository

by siba prasad :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

I am trying to start a repository named emp using the following command

startSQLRepository -m practice -repository /com/talbots/repositories/emp -outputSQL


But I am getting the following exception.

PATH:       D:\oracle\product\10.2.0\client_1\bin;C:\Java\jdk1.5.0_09\bin;c:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\BNCBSoftwares\pageant.exe;D:\BNCBSoftwares\TortoisePlin
k.exe;D:\usr\local\wbin;C:\Java\jdk1.5.0_04\bin;.\..\DAS\os_specific_files\i486-unknown-win32;.\..\DAS\os_specific_files\i486-unknown-win32\ice
**** info       Thu Jul 31 13:58:23 IST 2008    1217492903859   /DPSLicense     atg.service.ServiceResources->dynamoPrintExpirationDate : This license will expire on Wed Dec 24 10:29:59 IST 2008
**** info       Thu Jul 31 13:58:23 IST 2008    1217492903875   /DPSLicense     DPS is licensed to Sapient Corporation - Evaluation
**** info       Thu Jul 31 13:58:23 IST 2008    1217492903875   /DPSLicense     atg.service.ServiceResources->unlimitedLicenseMsg : This product is licensed for an unlimited number of CPUs.
**** Error      Thu Jul 31 13:58:24 IST 2008    1217492904953   /       Unable to set configured property "/com/talbots/repositories/emp.dataSource" atg.nucleus.ConfigurationException: Unable to resol
ve component /atg/dynamo/service/jdbc/sqlPool
**** Error      Thu Jul 31 13:58:24 IST 2008    1217492904968   /       Unable to resolve component /com/talbots/repositories/emp       java.lang.NullPointerException
**** Error      Thu Jul 31 13:58:24 IST 2008    1217492904968   /               at atg.adapter.gsa.GSARepository.initialize(GSARepository.java:4678)
**** Error      Thu Jul 31 13:58:24 IST 2008    1217492904968   /               at atg.adapter.gsa.GSARepository.initializeTransactionally(GSARepository.java:4631)

.
.
.

I have the emp.xml and emp.properties file inside the config folder with the right folder structure.

Please help me out.

Re: How to start a repository

by george_o :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Do you have a component named /atg/dynamo/service/jdbc/sqlPool? Your emp.properties seems to have a dataSource property that points to that component. The default DataSource component name is /atg/dynamo/service/jdbc/JTDataSource so perhaps you just need to reconfigure your component?

Can you post your emp.properties for review?

- George

Re: How to start a repository

by siba prasad :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks George...I have made the same mistake that u have raised.I have made the changes in the emp.properties and it worked.Thanks a lot.U rock