psql datasource

I've set up a datasource (odbc) psql in cf10.  Everything works well, but some tables require a password.  In order to provide the password for each database connection I need to make the following SQL statement: the OWNER VALUE = "mypassword";

I don't want this statement before each request.  I could use cfinclude and have the password in a single file.  But I'd rather have as part of the data source settings.  Is anyway to do this?  Can I set up the command above to run in the data source settings?

wannab0133 wrote:

SELECT * "travel".

It is, of course, an example and correct reuse. However, my favorite solution is to treat the query as a constant of the request string. In other words, I would put the following text in the SystemFramework method in Application.cfc:

(If the variable depends on the current user, and then store it in the session instead, in method onSessionStart.)

Later, we

#application.setOwnerQuery #.

SELECT * "travel".

I think it is simpler in concept.

Tags: ColdFusion

Similar Questions

  • Change by the Step.Datasource program

    I create a LabVIEW tool to update multiple properties of the stage after that some necessary changes.

    One of the changes has been a step type went a numerical limit to a Boolean success/failure test.

    Because I couldn't have all sequences (several hundreds) customers loaded when I made the changes, I need the tool to change the Data Source for this type of stage of 'Step.Result.Numeric' to 'Step.Result.PassFail '. Problem is that I can't find the right combination of properties/methods to get there.

    I don't see that a "Step.DataSource" property as it is for the "StatusExpression" and "precondition". I tried to take the "AsPropertyObject" of ref in step ref, then using the value 'Setp.DataSource' 'Step.Result.PassFail' 'SetValString' method, but it returns an error of-17306 which returns "access error to the point"Step.DataSource".»

    Thank you

    Ed

    Ed,

    Since you're already in a context of step at this point, with the "Step.AsPropertyObject ()" call, try to just 'DataSource' as string search, rather than Step.DataSource. According to me, who is accessing the correct property in the container of the step.

  • Impossible to get Graph.DataSource to work in WPF, I (thread question?)

    My chart is work beautifly when I use:

    chartCollection.Append (measure. GHz, measurement.dB);

    But when I try to use this call to the same method, I get nothing on the graph:

    Double data = new double [256];
    ....
    Graph DataSource = data;

    I know not if there is a suspicion, but I declare chartCollection on the main thread, and then pass it on to a different thread to collect data and it draw in real time.

    I could have lived with chartCollection.Append but in this case, I got a lot of data instanteneusly and I want to assign to chart at a time.

    Moreover, it seems that you need about 350 ms differ between each card. Add to not cause exception... but in my case I need to delay in all cases (for data) is not a problem.

    Thank you!

    I'm not very clear on how you mix the table/matrix updates. Here is an example of chart queue adds via the dispatcher (using a class task and assistance as a quick way to simulate the substantive work). You can use any delegate with the dispatcher, so you can assign DataSource in a delegate instead of use the method append on a collection of table.

    public partial class MainWindow : Window {
            private readonly ChartCollection chart = new ChartCollection( );

    public MainWindow( ) {
                InitializeComponent( );

    this.graph.DataSource = chart;

    var worker = new Worker( this.Dispatcher, chart.Append );
                Task.Factory.StartNew( worker.DoWork );
            }

    private class Worker {
                private readonly Dispatcher dispatcher;
                private readonly Action append;

    public Worker( Dispatcher dispatcher, Action append ) {
                    this.dispatcher = dispatcher;
                    this.append = append;
                }

    public void DoWork( ) {
                    for( int i = 0; i <= 360;="" ++i="" )="">
                        double value = Math.Sin( i * Math.PI / 180 );
                        this.dispatcher.BeginInvoke( this.append, i, value );
                        Thread.Sleep( 100 );
                    }
                }
            }
        }

  • Impossible connection postgresql, error psql: FATAL: no entry for the host pg_hba.conf ": 1", user 'eware', database 'eware.

    Original title: I am facing below errorpostgresql

    I have windows 12, I am unable to connect postgresql. I am faced with error below

    psql: FATAL: no entry of pg_hba.conf to host ": 1", user 'eware', database 'eware.
    ", SSL off.

    I have windows 12, I am unable to connect postgresql . I am faced with error below

    psql: FATAL: no entry of pg_hba.conf to host ": 1", user 'eware', database 'eware.
    ", SSL off.

    Hello

    There is no Windows 12.

    And "postgresql" is database software open source.

    I suggest that you ask for their support link:

    http://www.PostgreSQL.org/support/

    See you soon.

  • DataSource is not refresh a runtime

    Hello

    When I load a page for the first time, it loads all the perfect data. But the data source is not refresh the data when executing, how to refresh listview when I load a page, then by restarting each time the application of others.

    I used the code below, but does not during execution.

      onCreationCompleted: {
            dataSource.load();
    }
    

    you decide when it is refreshed... onCreationCompleted is called only when the page is created, which can be the case every time (for example where the Prosecutor tabbedpanne).

    so, as a method of inrush current in the case of signals:

    onTriggered

    onTopChanged

    onClick

  • Child parsing JSON with datasource and view in listview

    Hi, I use datasource to get json from url data and I want in the listview, but json data have child, so I don't know how to access.

    My data source code here:

    DataSource {
            id: serviceDataSource
            source: "http://services.okezone.com/json/headline"
            type: DataSourceType.Json
            onDataLoaded: {
                serviceDataModel.clear();
                serviceDataModel.insertList(data)
            }
        }
    

    And here my display list code:

    ListView {
              dataModel: serviceDataModel
              listItemComponents: [
    
                   ListItemComponent {
                          type: "news"
                          ServiceDetail {
                                 title: ListItemData.title
                                 pubDate: ListItemData.published
                          }
                   }
              ]
     }
    

    And here is the response from json to this url:

    [
    
    {
    
      "okezone": {
    
         "version": "0.1",
    
         "headline": {
    
            "request": {
    
               "channel": 0,
    
               "start": 0
    
            },
    
            "status": "OK",
    
            "more": {
    
               "offset": 2,
    
               "start": 0,
    
               "total": 2
    
            },
    
            "news": {
    
               "type": "2",
    
               "id": "796135",
    
               "channel": {
    
                  "id": "519",
    
                  "label": "Surabaya"
    
               },
    
               "published": "2013-04-23 13:21:25",
    
               "title": "Gara-Gara UN, Mendikbud Didesak Mundur",
    
               "summary": "Para orangtua murid menilai, Mendikbud, Muhammad Nuh, harus bertanggung jawab di balik kesemerawutan sistem dan pelaksanaan Ujian Nasional.",
    
               "thumbnail": "http://img.okeinfo.net/images-data/content/2013/04/23/519/796135/BkuPxui4gB.jpg",
    
               "url": "http://services.okezone.com/json/detail/2013/04/23/519/796135"
    
            }
    
         }
    
      }
    
    }
    ]
    

    Thanks for your help, I do it in two days and does not work.

    Hello

    Try this code

    import bb.cascades 1.0
    import bb.data 1.0
    
    Page {
        content: Container {
            Label {
                text: "List View with json parsing"
            }
    
            ListView {
                id: listViewDemo
                dataModel: GroupDataModel {
                    grouping: ItemGrouping.None
                }
    
                listItemComponents: [
                    ListItemComponent {
                        type: "listItem"
                        StandardListItem {
                            title: ListItemData.okezone.headline.news["title"]
                        }
                    }
                ]
    
                function itemType(data, indexPath) {
                    return "listItem";
                }
            }
        }
    
        attachedObjects: [
            DataSource {
                id: serviceDataSource
                source: "http://services.okezone.com/json/headline"
                type: DataSourceType.Json
                onDataLoaded: {
                    listViewDemo.dataModel.clear();
                    listViewDemo.dataModel.insertList(data)
                }
            }
        ]
    
        onCreationCompleted: {
            serviceDataSource.load();
        }
    }
    

    Don't forget to add the library to .pro file

    LIBS +=-lbbdata

  • Grouping data via GroupDataModel and DataSource

    Hello

    I'm loading below via a data source, the data correctly loads the XML data structure and the data are displayed in the ListView.

    
      
      
        
          
            3
              4.28
              
                375802
                Civic
                
                  589
                  Honda
                
              
              
                375803
                Accord
                
                  590
                  Honda
                
              
              
                375804
                Camry
                
                  591
                  Toyota
                
              
            
        
      
    
    

    The GroupDataModel & DataSource is set as shown below...

        attachedObjects: [
    
            GroupDataModel
            {
                id: dataModel
    
                // This works and the header is displayed properly by rating
                //sortingKeys: ["rating"] 
    
                // Sorting does not work, and listview header is displayed @ top with empty data
                sortingKeys: ["manufacturer.name"]
                sortedAscending: true
                grouping: ItemGrouping.ByFullValue
            },
    
            DataSource
            {
                id: dataSource
    
                // Load the XML data from a remote data source
                source: "http://www.mydataservice.com/getdata.php"
                query: "/dataresponse/search/results/cars"
                type: DataSourceType.Xml
    
                onDataLoaded:
                {
                    // After the data is loaded, clear any existing items in the data
                    // model and populate it with the new data
                    dataModel.clear();
                    dataModel.insertList(data)
                }
            }
        ]
    

    The listview is defined per below...

    ListView
    {
       id: myListView
       // Associate the list view with the data model that's defined in the
       // attachedObjects list
       dataModel: dataModel
    
       // Sticky header
       layout: StackListLayout { headerMode: ListHeaderMode.Sticky }
    
       listItemComponents: [
    
         ListItemComponent
         {
            type: "item"
    
            // Use a standard list item to display the data in the data
            // model
            StandardListItem
            {
                imageSpaceReserved: false;
                title: ListItemData.car.model
                description: ListItemData.manufacturer.name  + " ID: " + ListItemData.manufacturer.id
            }
         }
       ]
    }
    

    So, in order to be able to group the data by the automaker, I thought that I could just specify the following sort key sortingKeys: ["manufacturer.name"] but it does not work.

    Any suggestions?

    Hi joelajean,

    According to the documentation on this link "In a GroupDataModel, there are only two levels of items". Looking at how your xml file is formatted, I can see that the manufacturer.name is a level deeper than the second level and this is probably why you can not retrieve the item. I suggest that you try to use a XmlDataModel instead of a GroupDataModel or analyze your file xml in two levels of items.

  • Remote datasource XLM disorder

    I'm having trouble getting and work of listview XML datasource.  He works for a local file, I've hardcoded from the results of the same link.  Can we see something wrong with this code (maybe the URL).   Thank you.

    /* Copyright (c) 2012 Research In Motion Limited.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import bb.cascades 1.0
    import bb.data 1.0
    
    Page {
        //! [0]
        property variant session
        //! [0]
        content: ListView {
            id: myListView
    
            // Associate the list view with the data model that's defined in the
            // attachedObjects list
            dataModel: dataModel
    
            listItemComponents: [
                ListItemComponent {
                    type: "item"
    
                    // Use a standard list item to display the data in the data
                    // model
                    StandardListItem {
    
                        title: ListItemData.name
                       description: ""
                    }
                }
            ]
        }
    
        attachedObjects: [
            GroupDataModel {
                id: dataModel
    
            },
            DataSource {
                id: dataSource
    
                // Load the XML data from a remote data source, specifying that the
                // "item" data items should be loaded
               source: "https://maps.googleapis.com/maps/api/place/nearbysearch/xml?location=45.448029,-73.854132&radius=50&..."
                query: "/PlaceSearchResponse/result"
             //   source: "test.xml"
                type: DataSourceType.Xml
    
                onDataLoaded: {
                    // After the data is loaded, clear any existing items in the data
                    // model and populate it with the new data
                    dataModel.clear();
                    dataModel.insertList(data)
                }
            }
        ]
    
        onCreationCompleted: {
            // When the top-level Page is created, direct the data source to start
            // loading data
            dataSource.load();
        }
    
        //! [4]
        paneProperties: NavigationPaneProperties {
            backButton: ActionItem {
                title: qsTr("Back")
                onTriggered: {
                    navigationPane.pop()
                }
            }
        }
    
        //! [4]
    }
    

    I finally found the answer.  I had the feeling that there is something to the fact that my HTTPS URL.   For HTTPS, you MUST add this property to the data source:

    distance: true

    Unfortunately, the system will know it's remote only if your url is HTTP.

  • DataSource can be something unknown or custom. Its properties are not validated.

    Hello

    I found what looked like what I tried to do... data sources of QML.

    So I find this documentation: https://developer.blackberry.com/cascades/documentation/device_platform/data_access/using_data_sourc...

    I followed him all the way. But when I run my application, I get my app but no list in it. The background is white. All my items tabs and actions show. Than no list!

    DataSource {
                                id: dataSource
                                source: "assets/countries.json"
                                remote: false
                                onDataLoaded: {
                                    dataModel.insertList(data);
                                }
                            }
    

    There is an 'i' next to the data source implementation in the IDE that says: "DataSource can be something unknown or custom. Its properties are not validated. »

     

    So, what gives, ideas?

    Never mind. I will answer.

    The source must not have the 'active' before the json file. The API reference clearly states: in QML, this path is compared to the document QML in which this data source is declared.

     

    My json file in the current folder, so was not need to prefix it.

  • Error in creation of DataSource in Weblogic 11 G

    Hello.

    I recently installed the latest versions of the OSB 11 g and 11g EPCO and due to work, I need to create a data source in my server instance.

    It's whenever I test the connection before completing the process of creating, this error occurs:

    Could not establish a connection because of java.lang.NullPointerException

    at weblogic.jdbc.common.internal.DataSourceUtil.testConnection(DataSourceUtil.java:350)

    at com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:734)

    at com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:474)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)

    at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)

    at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)

    at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)

    at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)

    at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)

    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

    to org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$ 201 (PageFlowRequestProcessor.java:97)

    to org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ ActionRunner.execute (PageFlowRequestProcessor.java:2044)

    to org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$ WrapActionInterceptorChain.continueChain (ActionInterceptors.java:64)

    at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184)

    to org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$ WrapActionInterceptorChain.invoke (ActionInterceptors.java:50)

    to org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$ WrapActionInterceptorChain.continueChain (ActionInterceptors.java:58)

    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87)

    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)

    at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:261)

    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)

    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)

    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)

    at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)

    at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)

    at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:262)

    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

    at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:134)

    at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)

    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686)

    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142)

    at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106)

    at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)

    at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181)

    at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167)

    at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225)

    to com.bea.netuix.nf.ControlLifecycle$ 2.visit(ControlLifecycle.java:180)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)

    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)

    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)

    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)

    at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)

    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)

    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)

    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)

    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)

    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

    at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:64)

    at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)


    I have no idea as to what makes, because the connection parameters are correct and on another machine with the same configuration, it worked fine.

    I also noticed that if the domain that the server appeared on Eclipse or is linked on Eclipse in any case, this error occurs.
    When is not related to Eclipse, the test connection works very well on the first time, but if I restart the server it stops working.


    Really, I don't have a clue as to why this happens, because I tried to reinstall the OSB and EPCO several times with the same results. I also thought it might be because I OSB 12 c installed, so I uninstalled both and reinstalled only OSB and EPCO 11 g and it has not worked.


    In any case, I appreciate the answers that anyone can provide.

    Thank you


    Gustavo

    It was probably a setting in the windows registry or a file preferably in conflict in the region of origin of your user, but it's hard to say without knowing your previous configuration settings and the installation process.

  • Unable to connect to DataSource

    Hello

    We have configured the extension Oracle EBS with short release 12.1V5 following id oracle 1683053.1 Note

    For some modules, we were able to successfully see data in Oracle EBS.

    For some modules error related to the data source.

    In Oracle short Studio managed server http:// < ENDECA_UI_HOST_NAME >: 7004/short

    Control Panel == > information discovery == > Datasource

    When I click on validate datasource it gives the message "format data source definition is valid but cannot connect."

    Therefore, the data source is in read-only mode. (Please find attached screenshot)

    Screenshot1.jpg

    For some modules, I am able to connect to the data source.

    Screenshot2.jpg

    Help solve the problem.

    Thank you and best regards,

    Patricia

    Make sure you have a data domain running for each DS indicating the connection failed.

  • Advantages and disadvantages of the JDBC Url vs Datasources

    Hi all

    We are developing an erp with full stack ADF system. Now have a serious discussion on whether to use datasource or jdbc URLs. We know that data sources are managed by the application server, but jdbc URL are directly connects to the database. is there a drawback by using the jdbc url, whereas ADF BC? jdbc url would be much simpler for our need. Otherwise, we need to create the new source of data on the fly to the container (my previous question).

    JDeveloper/ADF: 12.1.3

    AppServer: Weblogic/Glassfish

    Thank you

    Youssef Mohamed Jawhar.

    The answer to

    (1) Yes, am grouping will work and no you do not have loos next to abstraction and configuration functionality. ADF works on JDBC URL.

    2) Yes, if you have enough memory installed that should work, however I have never used over 10 data sources. Oh, and you should test the startup time. AFAIK the server tests each data source initially to the top of the server.

    Timo

  • Shared Services API - error getting of datasource weblogic/pool/PooledConnectionDataSource

    Hello

    I have a program that connects to the SSP by using the Java API. The code is usually works fine on the other environment.

    This one is on EMP 11.1.2.1 version and I get an error after this procedure - system = CSSSystem.getInstance (context, "");

    27 January 2015 09:36:44 com.hyperion.hit.registry.RegistryUtils buildConnFromDriverManager

    CAUTION: Check if the Instance and Oracle Home environment variables are set properly. RootCause: weblogic.jdbc.sqlserver

    . SQLServerDriver

    Error getting of datasource weblogic/pool/PooledConnectionDataSource

    27 January 2015 09:36:44 com.hyperion.hit.registry.RegistryUtils createNewConnection

    GRAVE: Failed to create the data source connection. RootCause:weblogic/pool/PooledConnectionDataSource.

    27 January 2015 09:36:44 < init > com.hyperion.hit.registry.exceptions.RegistryException

    INFO: Registry Exception occurred - cannot create new database connection by using the data source. RootCause: [weblogic/pool/PooledConnecti

    onDataSource]

    27 January 2015 09:36:44 com.hyperion.hit.registry.Registry lookupComponentsWithException

    INFO: EPMREG-11045

    27 January 2015 09:36:44 < init > com.hyperion.hit.registry.exceptions.RegistryException

    INFO: Registry Exception occurred - cannot create new database connection by using the data source. RootCause: [weblogic/pool/PooledConnecti

    onDataSource]

    27 January 2015 09:36:44 com.hyperion.hit.registry.Registry lookupWithException

    INFO: EPMREG-11038

    27 January 2015 09:36:44 < init > com.hyperion.hit.registry.exceptions.RegistryException

    INFO: Registry Exception occurred - com.hyperion.hit.registry.exceptions.RegistryException: failed to create new database connection

    using data source. RootCause: [weblogic/pool/PooledConnectionDataSource]

    Com.hyperion.hit.registry.Registry 27 January 2015 search 09:36:44

    INFO: EPMREG-11038

    27 January 2015 09:36:44 com.hyperion.css.registry.RegistryManager RegistryManager

    GRAVE: Failed to initialize the instance security EMP of Shared Services. Component marchandises9/FOUNDATION_SERVICES_PRODUCT/SHARED_SERVICES_PR

    PRODUCT is null in the EMP system registry. Check the configuration of the EMP system registry.

    java.lang.NullPointerException

    at start.initialize(start.java:84)

    at the beginning. Sample(Start.Java:59)

    at cc.main(cc.java:10)


    I guess it's something with the SQL Server driver. You have any ideas?

    My ORACLE_HOME and ORACLE_INSTANCE are defined correctly.


    Thanks in advance,


    Kind regards


    Nicolas


    Hello

    I finally got it to work!

    I added libraries of weblogic located under EPM/Middleware/wlserver_10.3/server/lib, and now it works fine.

    It was a pain to find, because the error message did not specify that it was a missing library...

    Anyway, if it helps, here's the list of external libraries that I use:

    'wlssapi.jar '.

    "wlssapi - internal .jar '.

    "wlss - datatier.jar.

    "wlss-descriptor - binding.jar.

    'wlssdiameter.jar '.

    'wlssechosvr.jar '.

    "wlss - mbeaninfo.jar.

    'WLSSSecurityProviders.jar '.

    'wlthint3client.jar '.

    "wlw - langx.jar.

    "wlw-langx - ja.jar.

    "wlw-langx - ko.jar.

    "wlw-langx - zh_CN.jar.

    "wlw-langx - zh_TW.jar.

    "wlw-wsee - soapfault.jar.

    'xmlparserv2_sans_jaxp_services.jar '.

    "xmlrpc - 2.0.1.jar.

    "audit - client.jar.

    "Beaver - 1.0.5.jar.

    'com.bea.core.apache.commons.pool_1.3.0.jar '.

    "commons-lang - 2.1.jar.

    "css.jar".

    'dms.jar '.

    "interop-SDK.

    'ojdl.jar '.

    'quartz.jar '.

    "regexp.jar.

    'Register - api .jar '.

    'scheduler_ces.jar '.

    "sqljdbc.jar.

    'wf_ces_utils.jar '.

    'wf_eng_agent.jar '.

    'wf_eng_api.jar '.

    'wf_eng_server.jar '.

    'wlcipher.jar '.

    'wlclient.jar '.

    "wlcommons - logging.jar.

    'wlconnector.jar '.

    'wldb2.jar '.

    'wldeploy.jar '.

    'wlinformix.jar '.

    "wl-j2ee - client.jar.

    'wljarbuilder.jar '.

    'wljmsclient.jar '.

    'wljmxclient.jar '.

    'wllog4j.jar '.

    'wlnmclient.jar '.

    'wlpool.jar '.

    'wlsafclient.jar '.

    "wls - api .jar '.

    'wlss.jar '.

    'wlss_i18n.jar '.

    Thank you all for your help.

    Kind regards

    Nicolas

  • application error. CFC with datasource

    I get an error with my application.cfc file to my database. I use coldfusion 10 on a windows machine. This application file works on cf 9 and 8, and I don't know what the problem is now. I get the error:

    "

    Error occurred while processing request

    DATASOURCE element is not defined in the APPLICATION.


    It's my code and I tried too operate in 2 ways:

    < cfproperty >

    < cfset myIdName = "My App" >

    < cfset This.datasource = "1093644" >

    < cfset This.clientmanagement = "True" >

    < cfset This.loginstorage = "Session" >

    < cfset This.sessionmanagement = "True" >

    < cfset This.sessiontimeout = "#createtimespan (0,0,10,0) #" >

    < cfset This.applicationtimeout = "#createtimespan (5,0,0,0) #" >

    < cfset THIS.setClientCookies = "1" >

    < cfset THIS.setDomainCookies = "1" >

    < cfset THIS.scriptProtect = "All" >

    < cfsetting showdebugoutput = "yes" / >

    < name cffunction output = "SystemFramework" = "false" access = "public" >

    < cfset APPLICATION. EncryptionKey = "S3xy8run3tt3s" / >

    < cfscript >

    REQUEST = structNew();

    the scale of the datasource (s) site

    APPLICATION.datasource = "1093644";

    strArgs = structNew(); Rinse strArgs

    strArgs.datasource = APPLICATION.datasource;

    Returns true;

    < / cfscript >

    < / cffunction >


    I try to call with myquer ies like this:

    < name cfquery = "myQuery" datasource = "" #APPLICATION.datasource # "dbtype ="ODBC">"

    It is a stupid error and I can't understand it. I also tried to do this to put the db in the component:

    < cfscript >

    MyIdName = "myApp";

    THIS.datasource = "1093644";

    THIS.sessionManagement = true;

    THIS.clientManagement = true;

    THIS.applicationTimeout = createTimeSpan (0,0,20,0);

    THIS.loginStorage = "session";

    THIS.sessionTimeout = createTimeSpan (0,0,20,0);

    If (isdefined('session') AND structkeyexists (session, 'times_logged_on')

    AND session.times_logged_on gte 3) = THIS.sessiontimeout

    CreateTimeSpan (0,0,10,0);

    THIS.setClientCookies = 1;

    THIS.setDomainCookies = 1;

    THIS.scriptProtect = 'All ';

    THIS.secureJSON = false;

    THIS.secureJSONPrefix = "";

    THIS.mappings = createMappings(pathPrefix="/");

    < / cfscript >

    This app is on a mysql database. If I just use a query with the name of db in there, it works. It's not like my code in application.cfc.

    Can someone help me understand what the problem is? It is also on a shared hosting server.
    Thank you.

    REQUEST = structNew();

    This line is incorrect, so delete it. APPLICATION is already defined, as it is a structure built in ColdFusion.

  • javacloud.jar CLI add-datasource-jndiname

    Hello people,

    I'm trying my hands on the CLI commands for the javacloud SDK and I'm fighting to identify which user name is required for the execution of any command?

    I used:

    1 id like my name identitydomain

    2. If like my associated service name javacloud or the database

    User name; I used my account, SFTP and field SFTP service for the instance of the database and java, but I always get the error message "unknown user or password" message.

    Please advise what username must be used for the CLI commands.

    Thank you very much

    For reference, the command I use to create a data source is:

    java-jar javacloud.jar - add-datasource-jndiname - of the username-password - identitydomain - - dc serviceinstance - httpproxy - jndiname test

    where:

    • / / / are the same details that I use to connect to the web INTERFACE
    • is the java instance name, something like 'javatrialXXXX '.
    • is the proxy that I use in my browser too

    --

    Jani Rautiainen

    Relationship with the developers of Applications in fusion

    https://blogs.Oracle.com/fadevrel/

Maybe you are looking for

  • Drive necessary recovery for my Qosmio F60 - 111

    Please can someone help me find the cd of recovery for my Qosmio F60 - 111. I lost it

  • 30 G lecteurC my mom is full. She made a few Word documents, a few e-mail and some photos. Nothing that could fill 30 Gs.

    Could not find the culprit, not with chkdsk not slow to crawl and search, only not with cleaning, removal and not Zone Alarm or any other program. She hosts a villain, no doubt. Any ideas? Area A is nothing. The system is reported in good health... I

  • Uninstall mcaffee__

    I uninstalled it through Add Remove programs with or without the mcaffee removal tool download my subscription was still active by then (free trial) and then installed microsoft live essentials. eventually I did download the removal tool and to the p

  • HELP in drawing and adding captions to picture

    Please forgive my English and my beginner skills. I am really new to QT, QPainter and graphics programming. I develop the application snap2chat.  And I badly need help with drawing and add captions to Images. I tried QPainter paint brushes in the pic

  • Upgrade of IDS S34

    I currently have all of my ID 4210 to 3,0000 S33 units. Unless I'm wrong read the documentation, should I down/uninstall signatures IDS 3,0000 S31 BEFORE I can apply the latest version of Cisco 3,0000 S34? Or can I just apply this new signature? All