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" / >

Tags: Java

Similar Questions

  • Failure of Service Provisioning short 3.1.0.0 for the Oracle BI Server connect data source library

    I installed 3.1 short (NON - SSL) as well as the service of commissioning successfully

    Eid-ps/status

    Information Provisioning Service 3.1.0.0 short Oracle discovery review 2484

    Server short communicationSUCCESS
    Access database backend

    SUCCESS

    I'm able to succeed in creating a data source library to connect to the Oracle database, however, when I try to create a data source library to connect to a BI server it does not say "Not able to connect to the Service Provisioning" and the following errors appear in the weblogic server log.

    No idea where and what the problem is?

    # < 6 July 2015 1:53:57 AM PDT > < Info > < oracle.bi > < host > < AdminServer > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < < anonymous > > BEA1-00168CF06CFDCF815CA3 > < 65bd0f143ebf772b :-35003f35:14e625e3ff0: - 8000-0000000000000043 > < 1436172837874 > < BEA-000000 > < connect to SECONDARYCCSPORT = 9706; MAXRECONNECTATTEMPTS = 3; TRUSTANYSERVER = true; PRIMARYCCSPORT = 9706; MAXRPCCLIENTCREATEATTEMPTS = 3; USER = weblogic; HEARTBEATINTERVAL = 60; MAXHEARTBEATATTEMPTS = 3; MAXRPCCLIENTCOUNT = 100; SSL = false; TRUSTSTOREPASSWORD = *; PASSWORD = *; SECONDARYCCS =; PORT = 9704; CATALOG =; HOST = Host2; PRIMARYCCS =; SSLKEYSTOREPASSWORD = *; RPCCLIENTEXPIRATIONTIME = 60; >

    # < 6 July 2015 1:54:28 AM PDT > < Info > < oracle.bi.utilitycomm.SocketPool4$ SocketPoolClient > < host > < AdminServer > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < < anonymous > > BEA1-00168CF06CFDCF815CA3 > < 65bd0f143ebf772b :-35003f35:14e625e3ff0: - 8000-0000000000000043 > < 1436172868092 > < BEA-000000 > < java.io.IOException: end of file

    at oracle.bi.rpc.BlobUtil.readInt(BlobUtil.java:28)

    at oracle.bi.rpc.RpcEndPoint.readResponse(RpcEndPoint.java:136)

    at oracle.bi.utilitycomm.ServerRpcClient4.doRpcHandshake(ServerRpcClient4.java:64)

    at oracle.bi.utilitycomm.RpcClient.internal_open(RpcClient.java:137)

    at oracle.bi.utilitycomm.RpcClient.open(RpcClient.java:157)

    to oracle.bi.utilitycomm.SocketPool4$ SocketPoolClient.create (SocketPool4.java:228)

    at oracle.bi.utilitycomm.ObjectPoolFactory.createObjects_locked(ObjectPoolFactory.java:117)

    at oracle.bi.utilitycomm.ObjectPoolFactory.getObject(ObjectPoolFactory.java:169)

    to oracle.bi.utilitycomm.SocketPool4$ SocketPoolClient.getObject (SocketPool4.java:254)

    to oracle.bi.utilitycomm.SocketPool4$ SocketPoolClient.getFreeRpcClient (SocketPool4.java:302)

    at oracle.bi.utilitycomm.SocketPool4.getFreeRpcClient(SocketPool4.java:389)

    at oracle.bi.jdbcclient.TcpClientAPI.callRPC(TcpClientAPI.java:52)

    at oracle.bi.jdbcclient.TcpClientAPI.OpenServer(TcpClientAPI.java:175)

    at oracle.bi.jdbcclient.TcpClientAPI.OpenSession(TcpClientAPI.java:105)

    to oracle.bi.jdbc.AnaJdbcConnection. < init > (AnaJdbcConnection.java:117)

    at oracle.bi.jdbc.AnaJdbcDriver.connectToNQSNode(AnaJdbcDriver.java:398)

    at oracle.bi.jdbc.AnaJdbcDriver.connect(AnaJdbcDriver.java:472)

    at java.sql.DriverManager.getConnection(DriverManager.java:571)

    at java.sql.DriverManager.getConnection(DriverManager.java:187)

    at com.oracle.endeca.pdi.jdbc.JdbcDatabase.createNewConnection(JdbcDatabase.java:48)

    at com.oracle.endeca.pdi.jdbc.JdbcDatabase.checkCanConnect(JdbcDatabase.java:40)

    at com.oracle.endeca.pdi.workflow.operations.obi.ObiOperationsEjb.setDataSource(ObiOperationsEjb.java:67)

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

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

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

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

    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)

    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)

    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)

    at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

    to com.sun.proxy. $Proxy204.setDataSource (unknown Source)

    at com.oracle.endeca.pdi.workflow.operations.obi.ObiOperationsEjb_64dxhm_ObiOperationsImpl.__WL_invoke (unknown Source)

    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)

    at com.oracle.endeca.pdi.workflow.operations.obi.ObiOperationsEjb_64dxhm_ObiOperationsImpl.setDataSource (unknown Source)

    at com.oracle.endeca.pdi.service.core.CoreImpl.setDataSource(CoreImpl.java:322)

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

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

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

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

    to weblogic.wsee.jaxws.WLSInstanceResolver$ WLSInvoker.invoke (WLSInstanceResolver.java:92)

    to weblogic.wsee.jaxws.WLSInstanceResolver$ WLSInvoker.invoke (WLSInstanceResolver.java:74)

    to com.sun.xml.ws.server.InvokerTube$ 2.invoke(InvokerTube.java:151)

    at com.sun.xml.ws.server.sei.EndpointMethodHandlerImpl.invoke(EndpointMethodHandlerImpl.java:268)

    at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100)

    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)

    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)

    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)

    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)

    to com.sun.xml.ws.server.WSEndpointImpl$ 2.process(WSEndpointImpl.java:403)

    to com.sun.xml.ws.transport.http.HttpAdapter$ HttpToolkit.handle (HttpAdapter.java:539)

    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:253)

    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:140)

    at weblogic.wsee.jaxws.WLSServletAdapter.handle(WLSServletAdapter.java:171)

    to weblogic.wsee.jaxws.HttpServletAdapter$ AuthorizedInvoke.run (HttpServletAdapter.java:708)

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

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

    at weblogic.wsee.util.ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:103)

    to weblogic.wsee.jaxws.HttpServletAdapter$ 3.run(HttpServletAdapter.java:311)

    at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:336)

    at weblogic.wsee.jaxws.JAXWSServlet.doRequest(JAXWSServlet.java:99)

    at weblogic.servlet.http.AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)

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

    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)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

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

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    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)

    >

    # < 6 July 2015 1:54:28 AM PDT > < Info > < oracle.bi.utilitycomm.SocketPool4$ SocketPoolClient > < host > < AdminServer > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < < anonymous > > BEA1-00168CF06CFDCF815CA3 > < 65bd0f143ebf772b :-35003f35:14e625e3ff0: - 8000-0000000000000043 > < 1436172868093 > < BEA-000000 > < maxTry = 3, i = 0, oracle.bi.utilitycomm.ObjectPoolCreateException: create object failed java.io.IOException : end of file

    to oracle.bi.utilitycomm.SocketPool4$ SocketPoolClient.create (SocketPool4.java:246)

    at oracle.bi.utilitycomm.ObjectPoolFactory.createObjects_locked(ObjectPoolFactory.java:117)

    at oracle.bi.utilitycomm.ObjectPoolFactory.getObject(ObjectPoolFactory.java:169)

    to oracle.bi.utilitycomm.SocketPool4$ SocketPoolClient.getObject (SocketPool4.java:254)

    to oracle.bi.utilitycomm.SocketPool4$ SocketPoolClient.getFreeRpcClient (SocketPool4.java:302)

    at oracle.bi.utilitycomm.SocketPool4.getFreeRpcClient(SocketPool4.java:389)

    at oracle.bi.jdbcclient.TcpClientAPI.callRPC(TcpClientAPI.java:52)

    at oracle.bi.jdbcclient.TcpClientAPI.OpenServer(TcpClientAPI.java:175)

    at oracle.bi.jdbcclient.TcpClientAPI.OpenSession(TcpClientAPI.java:105)

    to oracle.bi.jdbc.AnaJdbcConnection. < init > (AnaJdbcConnection.java:117)

    at oracle.bi.jdbc.AnaJdbcDriver.connectToNQSNode(AnaJdbcDriver.java:398)

    at oracle.bi.jdbc.AnaJdbcDriver.connect(AnaJdbcDriver.java:472)

    at java.sql.DriverManager.getConnection(DriverManager.java:571)

    at java.sql.DriverManager.getConnection(DriverManager.java:187)

    at com.oracle.endeca.pdi.jdbc.JdbcDatabase.createNewConnection(JdbcDatabase.java:48)

    at com.oracle.endeca.pdi.jdbc.JdbcDatabase.checkCanConnect(JdbcDatabase.java:40)

    at com.oracle.endeca.pdi.workflow.operations.obi.ObiOperationsEjb.setDataSource(ObiOperationsEjb.java:67)

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

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

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

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

    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)

    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)

    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)

    at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

    to com.sun.proxy. $Proxy204.setDataSource (unknown Source)

    at com.oracle.endeca.pdi.workflow.operations.obi.ObiOperationsEjb_64dxhm_ObiOperationsImpl.__WL_invoke (unknown Source)

    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)

    at com.oracle.endeca.pdi.workflow.operations.obi.ObiOperationsEjb_64dxhm_ObiOperationsImpl.setDataSource (unknown Source)

    at com.oracle.endeca.pdi.service.core.CoreImpl.setDataSource(CoreImpl.java:322)

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

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

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

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

    to weblogic.wsee.jaxws.WLSInstanceResolver$ WLSInvoker.invoke (WLSInstanceResolver.java:92)

    to weblogic.wsee.jaxws.WLSInstanceResolver$ WLSInvoker.invoke (WLSInstanceResolver.java:74)

    to com.sun.xml.ws.server.InvokerTube$ 2.invoke(InvokerTube.java:151)

    at com.sun.xml.ws.server.sei.EndpointMethodHandlerImpl.invoke(EndpointMethodHandlerImpl.java:268)

    at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100)

    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)

    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)

    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)

    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)

    to com.sun.xml.ws.server.WSEndpointImpl$ 2.process(WSEndpointImpl.java:403)

    to com.sun.xml.ws.transport.http.HttpAdapter$ HttpToolkit.handle (HttpAdapter.java:539)

    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:253)

    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:140)

    at weblogic.wsee.jaxws.WLSServletAdapter.handle(WLSServletAdapter.java:171)

    to weblogic.wsee.jaxws.HttpServletAdapter$ AuthorizedInvoke.run (HttpServletAdapter.java:708)

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

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

    at weblogic.wsee.util.ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:103)

    to weblogic.wsee.jaxws.HttpServletAdapter$ 3.run(HttpServletAdapter.java:311)

    at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:336)

    at weblogic.wsee.jaxws.JAXWSServlet.doRequest(JAXWSServlet.java:99)

    at weblogic.servlet.http.AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)

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

    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)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

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

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    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)

    >

    The problem was solved after I gave CPP (9703) BI server instead of normal to the port port (9704).

  • OBI and OPE Exception data source connection permissions

    Hello

    When I use my Admin OBI and run the report sound all fine.
    The role of consumer BI has the read permission, so have my roles / custom.
    But when I open the report using a non-administrator user I get the error:

    oracle.xdo.XDOException: oracle.xdo.XDOException: oracle.xdo.XDOException: could not get data source connection for: myconnection123

    I gave access to the model data as well. but without success.

    through that you will get good understanding on these authentication approaches http://docs.oracle.com/cd/E15586_01/fusionapps.1111/e20837/T539768T526688.htm

    http://docs.Oracle.com/CD/E17904_01/bi.1111/e13880/T526682T526687.htm

  • How to consume the data model library adf for the project?

    Hello

    I use Jdev 11.1.1.6.

    I have a workspace Jdev containing the business component (entity objects, view and application module objects exposing the your). This workspace is deployed to a library of the ADF. This library is packed with DB connection details.

    I have a different workspace Jdev which needs to consume this library of ADF data model. This workspace is actually just the layer view (no business at all components).
    I added the data library ADF model to his draft opinion and it is showing application module and your sub of the data controls.

    My question is: how will this project view to connect to DB when running?
    It allows the connection of packaged data model ADF Libabry? If so, how?
    or should I create a business under this workspace view, just the purpose of connection project? If Yes, then what is the use of connections, including creating the library of the ADF?

    Thank you
    JAI

    Hello

    It uses the connection in the library of the ADF. However, I recommend that not save you the database connect information in the library of the ADF. Instead:

    -set the ADF BC model to use JDBC data sources
    -In the library of the ADF, configure it to contain only the name of data source
    -In the view project (the workspace) set up the database connection that is exposed by the library

    When the library is imported, verify the Application resources--> connections and right click on the name of the connection that is imported to configure

    Frank

  • A question for shared in 2 data source model of the application of the project in JDEV11

    Hi all
    My application has the following structure:

    ...
    | _Model_A
    | ...
    | | _Application-module-1
    | | _Application-module-2
    |
    | _ViewController_A
    | ...
    |
    | _Model_B
    | ...
    | | _Application-module-1
    | | _Application-module-3
    |
    | _ViewController_B
    ...

    As you can see, there are 2 projects of model and they share an Application Module: Application-Module-1

    I created 3 branches: APPDS_1, APPDS_2, APPDS_3. When you set up these 3 AMs in the model project, then select "JDBC URL" as the type of connection, both applications can work properly, say, source of data/JNDI are correctly at the launch of the JDEV 11 apps. Then, when select 'JDBC Data Source' as connection type, that is to say, use it as the source of data for Application-Module-1, both Model_A and Model_B: java: comp/env/jdbc/APPDS_1, app B throws an error:

    oracle.jbo.DMLException: Houston-27200: failure JNDI. Impossible to research data Source in the context...

    but app has still works.

    play with the value of data source in the Model_B for Application-Module-1, it is that set the JDBC data source "* jdbc / APPDS_1 *" make a app B! But, as far as I know, the correct value for 'JDBC Data Source' in 11g should be: java: comp/env/jdbc/APPDS_1.

    This really disturbs me. Why would this happen? Is it because that the Model_B use the same name that Model_A, IE. Application-Module-1?

    Just tried to rename it to Model_B so request-Module-1 becomes application-Module-4, still got the same error.


    Thank you
    Shawn

    Published by: shawn_abc on June 13, 2012 15:19

    # The best way is to use jdbc/APPDS_1

    The initial prefix part of the Datasource resource tree.
    Read here, http://www.coderanch.com/t/316003/EJB-JEE/java/lookup-java-comp

  • My macpro is backup in the capsule of time even when I was at work, which means that the time capsule is consumed my data plan. Can anyone suggest a way I can have it the backup only when my mac pro and time capsule is in the same local wifi

    my mac pro is backup in the capsule of time even when I was at work, which means that the time capsule is consumed my data plan. Can anyone suggest a way I can have it the backup only when my mac pro and time capsule is in the same local wifi

    If the Time Capsule and MacBook Pros are not on the same network, the MacBook is not backup in the time Capsule. You probably see what snapshots leaving MacBook on the local disk, until the two are reconnected. If you don't want that to happen, disable Time Machine on a different network.

    Good day.

  • 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,


  • My laptop recognizes the drive but does show that two files named "My Data Sources" and "Bootsect.

    original title: old Hard Drive Access

    I have recently had problems with my pc, I decided that I will buy a new Tower, but I really need to get some files off the old hard drive, I bought and pregnant for the SATA drive out of my old pc. I'm now trying to get the files on my old drive through my laptop. The laptop is running Vista. My laptop recognizes the drive but does show that two files named "My Data Sources" and "Bootsect. When looking at the properties it shows that the majority of the disc is full, only 30 gigs for free the 160 GB drive. I don't understand why I can't access to find one of my old files. Help, please!

    Hello

    ·          These files are encrypted?

    Step 1: Step 1: temporarily disable the security software and check if it makes a difference.

    http://Windows.Microsoft.com/en-us/Windows-vist/disable-antivirus-software

    Note: Make sure to allow him to return so that your computer is protected.

    Step 2: Run a check disk.

    http://Windows.Microsoft.com/en-us/Windows-Vista/check-your-hard-disk-for-errors

  • A data source using an app does not not to start

    I'm adopting the tutorial: https://developer.blackberry.com/cascades/documentation/device_platform/data_access/using_data_sourc... at my request. The only difference is that my app is based on the tabs. Following however to add lines in my file qml, makes the application crashes the gray screen with BB10 logo.

        Tab {
            title: "edit list"
            imageSource: "asset:///images/note.png"
            content: Page {
                titleBar: TitleBar {
                    title: "editing list: " + workingOnList
                    visibility: ChromeVisibility.Visible
                }
                Container {
                    id: view
                    ListView {
                        layout: StackListLayout {
                        }
                        preferredWidth: 640.0
                        // 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 model
                                StandardListItem {
                                    title: ListItemData.category_name
                                }
                            } // end of ListItemComponent
                        ]
                    }
    
                    attachedObjects: [
                        GroupDataModel {
                            id: dataModel
                        },
                        DataSource {
                            id: dataSource
    
                            // Load the data from an SQL database, based on a specific query
                            source: "database.db"
                            query: "select * from categories"
    
                            onDataLoaded: {
                                // After the data is loaded, insert it into the data model
                                dataModel.insertList(data);
                            }
                        } // end of DataSource
                    ]
    
                    onCreationCompleted: {
                        // After the root Page is created, direct the data source to start
                        // loading data
                        dataSource.load();
                    }
                }
            }
        }
    

    The only differences are: code is pasted in the {} instead of {Page} tab, and of course, the name of the database, the columns are changed.

    I added bb.data 1.0 import statement in the file .qml, the .pro file was also changed according to the tutorial. Path to the database file is correct.

    You have an idea, why this is happening?

    Another issue related to the data source:

    my main.qml file:

        Page {
            id: mainScreen
            titleBar: TitleBar {
                title: "your lists"
                visibility: ChromeVisibility.Visible
            }
            Container {
                ListView {
                    id: allListsView
                    objectName: "allLists"
    
                    layout: StackListLayout {
                        headerMode: ListHeaderMode.Sticky
                    }
    
                    dataModel: allListsModel
    
                    listItemComponents: [
                        ListItemComponent {
                            type: "item"
    
                            StandardListItem {
                                title: ListItemData.list_name
                            }
                        },
                        ListItemComponent {
                            type: "header"
                            Header {
                                title: ListItemData
                            }
                        }
                    ]
                    onTriggered: {
                        select(indexPath);
                        var page = listPage.createObject();
                        nav.push(page);
                    }
                }
    
                attachedObjects: [
                    ComponentDefinition {
                        id: listPage
                        source: "listPreview.qml"
                    },
                    GroupDataModel {
                        id: allListsModel
                        grouping: ItemGrouping.ByFirstChar
                        sortingKeys: ["list_name"]
                    },
                    DataSource {
                        id: allListsSource
    
                        source: "database.db"
                        query: "select * from lists"
    
                        onDataLoaded: {
                            allListsModel.insertList(data);
                        }
                    }
                ]
    
                onCreationCompleted: {
                    allListsSource.load();
                }
            }
    

    New screen grows without any problem after clicking on list items. But when I add the following lines to listPreview.qml, application stucks selection list item and nothing happens.

    Page {
    
        content: ListView {
            id: myListView
    
            dataModel: dataModel
    
            listItemComponents: [
                ListItemComponent {
                    type: "item"
    
                    StandardListItem {
                        title: ListItemData.article_name
                    }
                }
            ]
        }
    
        attachedObjects: [
            GroupDataModel {
                id: dataModel
            },
            DataSource {
                id: dataSource
    
                source: "database.db"
                query: "select * from articles"
    
                onDataLoaded: {
                    dataModel.insertList(data);
                }
            }
        ]
    
        onCreationCompleted: {
            dataSource.load();
        }
    }
    

    It looks like I can not query the DB for the second time commenting on the DataSource {...} of listPreview.qml pushed the new app screen without any problems.

    EDIT:

    a simple solution: I forgot to add the statement import bb.data 1.0 in listPreview.qml

Maybe you are looking for