JDeveloper 12.2.1, data source of JMX

Hi all

I need create user, group, list all the users and groups in Weblogic LDAP integrated, but I can't create JMX control data

JDeveloper 12.2.1 not supported?

I need edit user attribute, Weblogic 12.2.1, Rest API not supported (SetUserAttributeValue) (((please help me

Thank you

JMX data control is deprecated since jdev 12.1.3.

You can write code JMX class POJO (and create the control data Bean for this class - if you really need data control).

Here is an example: http://mdlwr.amr-gawish.com/creating-utilities-to-manipulate-users-in-web/

Dario

Tags: Java

Similar Questions

  • EJB WebService to consume a data source

    Hello

    I use JDeveloper 12.1.3.0.

    I have to develop a Web of EJB Service that uses a data source in the WebLogic.

    I googled and looked, but I found no examples / tutorials that explains how it works and how to do it.

    The only examples that I found was by using a direct connection to the database, like this one http://waslleysouza.com.br/en/2014/10/restful-web-service-in-jdeveloper-12c/

    Can you help me?

    Thank you

    Even with respect to MySQL. Add the class name to the following.

    1. in WebLogic Server to set a data source with the name JNDI (jdbc/OracleDS)

    2. in persistence.xml specify the data source as a JTA data source.

    http://www.w3.org/2001/XMLSchema-instance '.

    xsi: schemaLocation =

    'http://java.sun.com/xml/ns/persistence '.

    http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd".

    xmlns ="http://java.sun.com/xml/ns/persistence" version = "1.0" > "

    org.eclipse.persistence.jpa.PersistenceProvider

    JDBC/OracleDS

      name of the class

    />

    value = "create tables" / >

  • Problems connecting to JDBC data source

    We have recently upgraded to JDeveloper 11 g to 10g and flies our applications (primarily the Struts). They are compiled fine, and I am able to create data sources and successfully test the connection to open the data source through the window of Application resources. The problem comes when I try to connect through the application. In Java code, I use a DataSource object to get the connection of InitialContext.lookup ("jdbc/sun_DS1") where the JNDI name is in parentheses. We used to define this connection in JDev 10 g via the file data - sources.xml and it worked very well. Now with 11g and defines the connection to the application, I don't know if I'm missing a step between the creation of the data source and run the application.

    The error I get is: javax.naming.NameNotFoundException: while trying to search for "jdbc.sun_DS1" did not find subcontext "jdbc." Solved "; rest the name "jdbc/sun_DS1.
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)

    I spent a lot of time reading Oracle help docs and Googling the problem without success.

    Help, please.

    Once you run your application on the WLS console launch (http://localhost:7101/console) and look to see if JDev created a data source for you in WLS.)
    You may need to add it manually.

  • Creating a display with a data source object

    Hello guys,.

    Is there a way to create a View object in JDeveloper 11.1.1.4.0 using an instead of a JDBC data source connection string? When I select new-->--> view object ADF business components, it seems that the Research Assistant for a default database connection.

    I wonder if there is a way to create a display object and specify something like ' java: comp/env/jdbc/xxxxDS ' as a data source. I know that the Module of the Application can be configured to point to a JDBC data source and then WLS can be configured to use the JDBC data source, but I wonder if it's the only way to go.

    Thank you

    David
    I know that the Module of the Application can be configured to point to a JDBC data source and then WLS can be configured to use the JDBC data source, but I wonder if it's the only way to go.

    Yes, at design time you only use inside JDeveloper JDBC connections to connect to the DB and create components ADF BC - after all development is done alone without a WLS environment.
    At run time, your AM can be configured to use a data source or JDBC connection.

  • Taskflow have model (using the view object instances) of two data sources

    JDeveloper Version: 11.1.2

    We have a flow of single task that has built pages on two modules of the Application that are based on two different data sources.
    If the default activity in the workflow uses a display Instance of AM belonging to a particular data source object.
    Browsing later, we reach a page that uses instances of object of another display AM belonging to a different data source, the framework does NOT deliver from the SQL statement against this source of data rather than the data source used in the default activity.

    How can it resolve to the appropriate data sources?

    Thanks in advance,
    Nini

    Nini,

    Yes, it's the way things are meant to run:

    http://one-size-doesn
    {: identifier of the thread = 1012099}

    Definition data control range for the workflow to the 'remote' change the behavior?

    John

  • ClassCastException JDBC with SQL Server on AppModule r data source

    I run an application ADF 11g (11.1.1.3) on integrated Web Logic Server of JDeveloper. This application was migrated from an application of 10 g and OC4J to Weblogic has left.
    This application includes a project whose business components rely on a SQL Server data source.

    Unfortunately I sporadically get a ClassCastException around the data source

    If I read correctly the output of the server, is to try to reset the data source and calling the SQLBuilder bad implementation, which is originally the ClassCastException.

    Track stack and the server output are below.

    Any ideas?

    < DCJboDataControl > < initializeApplicationModule > [23714] (immediate = oracle.adf.model.bc4j.DataControlFactoryImpl.SyncMode
    < ApplicationPoolImpl > < recycleUnreferencedInstance > [23715] recycling an instance of referenced, available pool
    < DBTransactionImpl > < closeTransaction > [23716] * jdbc connection is closed now * (weblogic.jdbc.wrapper.PoolConnection_weblogic_jdbc_sqlserverbase_ddah@2ed)
    mPCollUsePMgr < DBTransactionImpl > < processConnProperties > [23717] is false
    ViewObjectImpl.mDefaultMaxRowsPerNode < DBTransactionImpl > < processConnProperties > [23718] is 70
    ViewObjectImpl.mDefaultMaxActiveNodes < DBTransactionImpl > < processConnProperties > [23719] is 30
    Reset < ApplicationModuleImpl > < resetState > [23720] AM = ImpAppModule
    Reset < ApplicationModuleImpl > < resetState > [23721] AM = ImpAppModule
    < DBTransactionImpl > < establishNewConnection > [23722] Trying connection: DataSource='weblogic.jdbc.common.internal.RmiDataSource@a7cba9'...
    Instance of module of the dead application < ApplicationPoolImpl > < removeDeadInstance > [23723] has been detected
    < ApplicationPoolImpl > < removeDeadInstance > [23724] instance of the application module has been removed from the pool
    ApplicationPoolImpl.resourceStateChanged < ApplicationPoolImpl > < resourceStateChanged > [23725] was not disclosed partner. Any invoked notification.
    Cache Clearing VO < ViewObjectImpl > < doClearCache > [23726] for ImpLineDetailsView
    < ViewObjectImpl > < clearQueryCollectionCache > [23727] claire QueryCollection in cache for VO ImpLineDetailsView
    Reset < ApplicationModuleImpl > < resetState > [23728] AM = ImpAppModule
    ViewObject < ViewObjectImpl > < closeStatementsResetRowSet > [23729]: [impmodel.vo.ImpLineDetailsView] ImpAppModule.ImpLineDetailsView nearly prepared...
    < ApplicationPoolImpl > < prepareApplicationModule > [23730] an exception has occurred when ordering.
    < ApplicationPoolImpl > < prepareApplicationModule > [23731] java.lang.ClassCastException: weblogic.jdbc.wrapper.PoolConnection_weblogic_jdbc_sqlserverbase_ddah cannot be cast to oracle.jdbc.OracleConnection
    at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5486)
    at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5020)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1132)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6372)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:286)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
    at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:476)
    at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)
    at oracle.adf.model.BindingContext.put(BindingContext.java:1230)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:173)
    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:964)
    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1210)
    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1113)
    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1073)
    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1085)
    at oracle.adf.model.BindingContext.get(BindingContext.java:1042)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:305)
    at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1486)
    at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1564)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:556)
    at oracle.adf.model.binding.DCInvokeAction.refresh(DCInvokeAction.java:28)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3212)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2845)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:548)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:81)
    to oracle.adf.controller.v2.lifecycle.Lifecycle$ 9.execute(Lifecycle.java:224)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$ 1000 (ADFPhaseListener.java:21)
    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ 5.before(ADFPhaseListener.java:395)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:60)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
    at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    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:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:94)
    at java.security.AccessController.doPrivileged (Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
    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.doIt (WebAppServletContext.java:3684)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3650)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    You may need to try to set the system property Houston. SQLBuilder = SQLServer. More details/code example can be found here - http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html

  • Basic questions about the PL/SQL web services and data source names

    Hello

    I've successfully generated a web service for a procedure from PL/SQL packaged JDeveloper 11.1.1.3.0).

    The following code was generated in the base class for web services:
     __dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/dbconnectionDS");
    However in the weblogic server, the data source name is jdbc/Gisele for deployment fails in a first time.

    What is the recommended procedure to solve this problem? The obvious solution is to manually change the source - that's what I did and it worked fine. However if I re - generate the web service I won't lose my change. Is there a better way to do it?

    Another question - in the web.xml file that is generated, there is a resource-ref to the data source. I was hoping that change the data source name it would help, but it didn't work. What is - it used to in this context?

    Thank you
    Luis

    I forgot to add, so in case some time later and you want to update the connection to your service details, all you have to do is to add the following entry in your weblogic.xml:
    .

    JDBC/ref_name_from_web. XML
    JDBC/new_jndi_name

    .
    And in this way, you will not have to change any code level to point your web service to another connection.

    Vishal-

  • ADF 11 g / how to set the data source

    Hi all

    I'm trying to deploy the my application on weblogic server.
    deployment was successful but the following error has occurred so that the home page opened, "password is zero".
    I already have a password will be saved and deploy, but it seems that password is not deploy.
    So I create a data source on weblogic.
    but I have found that the way to set the data source in the model of the adf.
    (Production version of 11g Jdeveloper + Adf)

    Thank you.

    Mucahid behaved

    Do you use a jdbc url or a jdbc data source?
    Model project in you right click on the module of the application and select configuration. Change the configuration to use a jdbc data source.

    Timo

  • How to bind the data source to a custom class?

    Hi all.

    I use the chart control to draw two types of plots. One is a path of spectrum which refreshes all samples in a short time, and the other is a curve of time series which add than one sample of each time.  A chartcollection was related to the data source, however, and draw the spectrum seems to not cool off very quickly. Was it due to the propertychanged event? In order to improve the speed of response, what should I do to deal with the data source?

    I went through your response and the help files and found I made a stupid mistake - I always used to Append method (double, double) and did not notice its format void Append (list, list).

    Thanks for your patient response, Paul :-)

  • create the SQL server programmatially data source

    Hello

    I would like to create a SQL server by programming in LabVIEW data source. The SQL server version that I used is from 2005. Can someone give some ideas? An example of code will be more favorable.

    Thank you

    Jane

    You can build the connection string you even.  The open function in the Toolbox of data base accepts a string as well (it's polymorphic) who can be the connection string.  This is the site I use to understand.  Is the most common things.  You may need to search Google more specific elements.

    http://www.ConnectionStrings.com/

    If you want to use the other option, someone has achieved a UDL editor in LabVIEW.  You can use this code to create your own UDL which can use the Open DB function:

    https://decibel.NI.com/content/docs/doc-18613

    I have used the above code, so can't comment on that.

  • Logging data source expressions

    Hello

    We use NI TestStand 2012 here in our society, and I have a simple question.

    In any test pass/fail (numeric, String, pass/fail regular), is it possible to have the TestStand to include the data source expression in the default report?

    I can add it manually in the component "Other results", but I have to do for each step.

    I see that on conditional expressions and flow measures are included in the report, but not the my expressions of pass/fail, which are found in the data source tab.

    It seems obvious to me that the data source should be there, otherwise I just in the report the name of the step and the result and no information of what has been actually tested.

    Thank you in advance!

    Leandro

    It does not show what the '10' value means: speed, voltage, current, RPM, etc. unless we call actually step in this way.

    Thanks again.

    There is a 'units' set numerical limit markets which addresses this problem. You can even specify custom units if you would like, although there are many built in those you choose as well. Also the name of the step should usually give an idea of what exactly is being tested.

    For the recording of Boolean expressions, probably the simplest thing is to use a stage model that is preconfigured to connect to the data source, or you can create a new custom step based on the test of success/failure that connects to the default data source type, or you could write a tool that passes through the sequence files and change all tests pass/fail to connect their datasource.

    -Doug

  • [Microsoft] [ODBC driver manager] Data Source name not found and no driver by default specified

    Hi team,

    I am trying to connect to the Oracle 9i database using VB code below:

    strConnection = "Driver = {Microsoft ODBC for Oracle};" Server = SERVERNAME; UID = username; Pwd = PASSWORD"
    Connect = New ADODB. Connection
    Connect.Open (strConnection)

    The last line throws me below error:

    [Microsoft] [ODBC driver manager] Data Source name not found and no driver by default specified

    The VB code works well and able to connect to database server dev dev. The same script with the name of the UAT server does not work on server UAT.

    The servers are Windows server 2007-32 bit.

    When I checked the tab drivers in ODBC Data Source Administrator, dev server entry below:

    Microsoft ODBC for Oracle - 6.00.6001.18000 - Microsoft Corporation - MSORCL32.dll - Date

    Considering that the UAT server has entered below:

    Microsoft ODBC for Oracle-

    The Microsoft ODBC driver for oracle is listed in the tab UAT Server drivers, but did not have details of file version & dll. This driver is not installed correctly? If so, how the re install? Please help solve this problem as soon as POSSIBLE.

    Kind regards

    Tamil

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • Report Builder 1.0 will not connect to the data source for Reporting SERVICES

    We have a few users who are unable to connect to SSRS on SQL Server 2008 using the Report Builder version 1.0

    (We will be updating soon, but it's a slow process, and now users have questions)

    Instead of disputed for their IDs, they are requested to select a data source.  This information is supposed to be filled automatically when the user starts the Reporting SERVICES report designer.

    Does anyone know where/how SSRS communicates information to start the application with one click Report Builder, and where, if anywhere, it stores?

    Hello

    The following forum seems most appropriate for your question:

    https://social.msdn.Microsoft.com/forums/en-us/home?Forum=sqlreportingservices

    You can get a faster response there.

    I hope this helps.

    Kind regards

    Alberto Morillo
    SQLCoffee.com

  • SSRS for lack of outer join with the Oracle data source

    It seems to be a problem with the Oracle driver used in the Reporting SERVICES query designer.

    When you use an Oracle data source, if I create an outer join in the graphic designer, it automatically inserts '{OJ' before the join and '} ' after her.  This is an incorrect syntax for Oracle and refuses to start.  The curly braces and the JO editable in designer text, but if I go back to the graphic designer and immediately to reintegrate them.

    Only, this has started to happen a year or two ago - before that it worked, but with the old (+) syntax.

    Can it not be healed?  It makes things very difficult.

    -Geoff

    Hi Geoff,

    Thanks for posting in the Microsoft Community.

    However, the question you posted would be better suited in the Forums of the Oracle Support; We recommend that you post your query in Oracle Support Forums to get help:

    https://forums.Oracle.com/forums/main.jspa;JSESSIONID=8d92100c30d8fb401bcbd10b46c38c9ddf1a3242549a.e34SbxmSbNyKai0Lc3mPbhmSc3aNe0? CategoryID = 84

    If you have any other questions or you need Windows guru, do not hesitate to post your questions and we will be happy to help you.

  • How to draw 16 signals from a simple 8 channel 2 Data Sources file?

    Matrix is an hour + 8 channels from a data source unique assyncronos; MSC is a XY Chart. This works well until now data records changed to 2 assyncronos sources. The format is now: where the data comes from (0,1) + time + 8 channels of data.

    Rgds,


Maybe you are looking for