How to change database configuration dynamically. Means can i change database url, username and password according to my requirement in rptlibrary so all rptdesign files will act according to rptlibrary. How can i do this in my project. Can anybody help me.
Thanks
For me the best way to change database url is by changing the jndi name of the report according to the parameter or your logic
View This
Related
A policy change forced me to have to change our domain name for ckan, someone had a bright idea to use the domain name for a different landing site and then redirect off to the ckan sever from there.
I have updated data records in the database to reflect the amended url in the resource tables. (resource, resource_revision , resource_view)
it was https://www.blah.....
the new url is http://hub.blah......
Some resources re now downloadable at the new domain, the pages show the correct domain name and links and buttons work correctly.
Some resources on the page show the old url and link to the old url where there is no document accessible. The document is present at the new url. I can see the records for the resource in the database reflect the new url in the database.
The previewers of the dataset are all showing the data as I would expect on those that have the correct url but not working on the pages where the url is incorrect on the screen.
New uploads are showing correctly on pages and correctly in the database.
I have restarted solr, nginx, apache and a reboot of the web server and the database server.
It looks like the pages that are out of date are cached but I cant find a way to refresh them and force the several hundred pages to re-query the database to get the correct information.
I see the same issue when the page is accessed externally and internally to my corporate network.
Anyone any more ideas?
My best guess would be that the URLs are wrong in the solr index, try to rebuild the whole solr index with this paster command (run in virtualenv):
paster --plugin=ckan search-index rebuild -c production.ini
Adapt to your config file accordingly.
after a bit of a headache and a good nights sleep I added
the following to production.ini
ckan.datastore.sqlalchemy.pool_size=10
ckan.datastore.sqlalchemy.max_overflow=20
this worked for me
How to modify the site id of a site in Oracle UCM? If I have a site "monica" and I want to rename it to "monica_new", how can I change this?
Check the sitename_project.xml file which will have the all the site aspects.There you can see the site-id and site-name properties which you can change and test.
How do i modify the meta tags, title, desc... in Oracle UCM? Do i have to ask admin for access to HCSF Pages?
I cant find it in content server anywhere.
Any help appreciated.
To make changes to metadata , adding them , editing them or their labels you would need to have access to the configuration manager admin applet. This access needs to be given by the administrator .
I am new to Oracle UCM(already hate it) and I have this bug on the standart "Content information" page when displaying "Folder" meta - instead of DCOLLECTIONNAME I get DCOLLECTIONID from COLLECTIONS table. Now we have two versions of UCM installed on different servers, one with our custom module and one without it, you can guess which one works fine :-) I checked settings in admin aplet / Configuration manager and they are the same on both servers, so my next thought was there must be some problem with page template(I found some function named getCollectionPathFromID somewhere which does exactly what I need but dont know where to put it to make it work). Can anyone point me to the right direction? I found some template called std_page.htm but it contains realy huge amount of code... Any help would be appreciated.
What specific versions of WebCenter Content are you using? Are the two instances on the exact same version? You can find this information on the Configuration for instance name page.
How are you trying to view the data?
Are you calling &IsSoap=1 or &IsJava=1? Or are you meaning the display of the folder name/path on the page is showing dCollectionID?
I assume that based on dCollectionID you are using the Folders_g (Contribution Folders) component and not FrameworkFolders.
Can you provide a link to download your custom component? It sounds like this may be the culprate.
I want to change the component name build by me , i have tried changing the xml file but it does not help also tried changing the component name through datbase but same result .can anybody help me in this ?
any help would be appriciated .
thanks in advance .
I know this is old, but there's a lot involved in renaming a component if you want to do it properly, you have to change the class names, folder name, the xml.. etc.. you also would need to edit the database OR uninstall and re install it once you've made all of your changes.
The same applies to modules, plugins and templates.. though those tend to be a little easier..
I would guess that you need to change it in the database, AS WELL AS in the xml, AS WELL AS you need to change the directory and file names to match the new component's name.
Using PhpMyAdmin go to the MySQL database table named jos_components and browse the data. Find the component name under Field you want to change... edit & save the entry.