DB CONNECT Datasource mapping

Hallo Guys,
I've just setup a DB connection with our BW server.
I managed to view the tables and created an Infosource.
Still, in the datasource I can't see any Info-objects from the source system.
Any tips on this issue?
Many thanks,
Kurt

Hallo Diego,
Thanks for your quick reply.
I think you misunderstood my question. I actually don't see any objects from the source system (in this case Oracle).
I already added manually the BW Info-objects in the commu structure.
Strange, because in RSKDC I can actually see the content from the Oracle tables.
Kurt

Similar Messages

  • Error in jbosscmp-jdbc.xml : datasource-mapping Pointbase not found

    Hi I'm having problems deploying my EJBs using the Pointbase Database.
    This is what I'm working with:
    standardjbosscmp-jdbc.xml:
    <jbosscmp-jdbc>
       <defaults>
          <datasource>java:/PointbaseDS</datasource>
          <datasource-mapping>Pointbase</datasource-mapping>pointbase-ds.xml:
    <datasources>
         <local-tx-datasource>
              <jndi-name>PointbaseDS</jndi-name>
    <connection-url>jdbc:pointbase:server://localhost:19092/sample</connection-url>
              <driver-class>com.pointbase.jdbc.jdbcUniversalDriver</driver-class>
              <user-name>jboss</user-name>
              <password>password</password>
         </local-tx-datasource>
    </datasources>jbosscmp-jdbc.xml:
    <jbosscmp-jdbc>
         <defaults>
              <datasource>java:/PointbaseDS</datasource>
              <datasource-mapping>Pointbase</datasource-mapping>
         </defaults>I keep getting the error message:
    org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : datasource-mapping Pointbase not found
    Any ideas why?
    Thanks.

    By the way I'm using JBoss server.

  • Use thinkvantage access connections to map a network drive

    Is it possible to use thinkvantage access connections to map a network drive. I have three different basic sites (home, work1, work2) with network drives that I would like to access depending on the site.
    1) I wonder if it is possible to configure thinkvantage access connections to automatically map the network resources through a connection profile?
    2) I wonder if it is possible to configure thinkvantage access connections to automatically map the network resources through a connection profile that is based on vpn connection?
    thanks in advance
    sincerely, anders

    Hi,
    directly it's not possible for Access Connection to reconfigure your network drives.
    However, there is one really cool part of Access Connection, that might be realy suitable for your situation. This part is the script/application, that can be executed when a profile gets applied.
    So for your situation I can imagine, that you create a .bat file, that contains something like this:
    net use * /DELETE /YES
    net use Z: \\computer name\share name
    The first part will delete all maped drives. The second part will establish connection that you want to use. Of course you can multiply the last part, so that you can configure multiple connections.
    Please let me know, if this helps.
    Cheers

  • Table names for Datasource mapping and Replication details in BI 7.0

    Hi All,
    I need the table names for InfoSource to Datasource mapping as well as table containing replication details of OLTP sources in BW. I need these for BI 7.0 datasources (object type RSDS).
    I know that tables RSISOSMAP and RSOLTPSOURCE give me the above information, but only for 3.x datasources. I want the corresponding tables giving same information for 7.0 datasources.
    Any pointers to these tables would be well appreciated and suitably rewarded.
    Thanks,
    Saurabh

    Hi,
    Check in ROOSOURCE table, may be helpful............
    Hope this helps in solving u r problem
    Regards
    Ramakrishna Kamurthy

  • Javax.servlet.ServletException: Unable to get connection,DataSource invalid

    Can somebody explain this error to me please
    javax.servlet.ServletException: Unable to get connection, DataSource invalid: "org.apache.commons.dbcp.SQLNestedException:
    Cannot create PoolableConnectionFactory (Server connection failure during transaction. Due to underlying exception:
    'java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)'.
    ** BEGIN NESTED EXCEPTION **
    java.security.AccessControlException
    MESSAGE: access denied (java.net.SocketPermission localhost resolve)
    STACKTRACE:
    java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkConnect(SecurityManager.java:1031)
         at java.net.InetAddress.getAllByName0(InetAddress.java:1117)
         at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
         at java.net.InetAddress.getAllByName(InetAddress.java:1061)
         at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:138)
         at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:277)
         at com.mysql.jdbc.Connection.createNewIO(Connection.java:2817)
         at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
         at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
         at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
         at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
         at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
         at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
         at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
         at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:274)
         at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:159)
         at org.apache.jsp.index_jsp._jspx_meth_sql_query_0(index_jsp.java:100)
         at org.apache.jsp.index_jsp._jspService(index_jsp.java:58)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         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:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:177)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    ** END NESTED EXCEPTION **
    Attempted reconnect 3 times. Giving up.)"
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:843)
         org.apache.jasper.runtime.PageContextImpl.access$11(PageContextImpl.java:781)
         org.apache.jasper.runtime.PageContextImpl$12.run(PageContextImpl.java:763)
         java.security.AccessController.doPrivileged(Native Method)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:761)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:81)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)

    The URL url="jdbc:mysql://localhost:3306/wroxcatalog" looks right to me...wroxcatalog is the MySQL database.
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ include file="include.jsp"%>
    <sql:setDataSource
         var="datasource"
         driver="com.mysql.jdbc.Driver"
         url="jdbc:mysql://localhost:3306/wroxcatalog"
         user="wroxuser"
         password="wrox" />
    <sql:query var="books" dataSource="${datasource}">
         select id, name, description, price from products order by id
    </sql:query>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>TryDB</title>
    </head>
    <body>
    <table border="1">
         <tr>
              <td>ID</td><td>Name</td><td>Description</td><td>Price</td>
         </tr>
              <c:forEach items="${books.rows}" var="row">
                   <tr>
                        <td><c:out value="${row.id}"/></td>
                        <td><c:out value="${row.name}"/></td>
                        <td><c:out value="${row.description}"/></td>
                        <td><c:out value="${row.price}"/></td>
                   </tr>
              </c:forEach>
    </table>
    </body>
    </html>

  • Transport for DB connect datasource

    Hi
    I have a query for DB connect datasources.
    I have created datasources for ORACLE quality system in SAP BI DEV. If I transported all the objects from SAP  DEV to SAP prod directly is there be any problem?
    Or I need to create the same datasource also for Oracle production system.
    Can anybody through a light how object transport happens in DB coonect scenario.
    Thanks
    Debasish

    Hi,
    As your scenario, i can understand that you have got :
    Oracle Quality connected with the BW Development.
    So if you transport BW Development to your BW Production, then there should atleast
    Oracle Production connected with the BW Production. (As your data Source created is based on the oracle system)."if this is the scenario in your case then transport your Table or view from Oracle Dev to Oracle Prod"
    Now you have to more specific that what kind of connection you have in your BW Production with oracle.
    Hope This Helps.
    Regards,
    Soumyadeep.

  • Enhance UD connect Datasource

    Hi Experts,
    we are creating a UD connect Datasource based on a View which has 10 fields.
    Now we want to add an extra field in the Datasource which is not present in the View (which we are using to create the datasource), please advice how to achieve this.
    I am not able to add the extra field in the UD Connect datasource. Same thing i was able to do when the source is Flat File.
    Thanks in advance.
    Regards,
    Rk.

    Hi M,
    Thanks for the reply,
    The field is already available in the Data Target. Reason for adding this in Datasource is that for reporting purpose we are modifying the source record such that each record is converted to 19 records while transformations.
    Along with this we have some validations to be done which will consume less time if done before the above conversion or columns to rows.
    Is there any way we can add that field in the DataSource?
    Regards,
    Rk.

  • How to connect google maps with oracle

    Hello people ,
    i read an artical there is a way to connect google maps with oracle .
    can anyone give us lesson or more information to do that ?
    regards .

    I guess, using Google for the same should be the best way to find the solution for it,
    http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=How+to+connect+google+maps+with+oracle
    HTH
    Aman....

  • OVI Suite not connecting to map server - NOT SOLVE...

    Because this /t5/Nokia-Ovi-Suite/OVI-Suite-not-connecting-to-map-server/td-p/708275 discussion has been marked as solved and it's not. I wonder when we'll have any feedback from Nokia Support? It must be the new Nokia Ovi Suite causing the problem because we all have the same problems. I have tried on three different computers with good stable internet connections and get the "connection timed out" error on all of them. Using Nokia 5230 and have tried both on XP and Vista. 

    @mokrypes
    This seems to be working now. I tried today to download US maps and it completed and installed without any issues. Guess there was some problem with the map server.
    Cheers
    Sandy
    Helpful information, then dont forget to hit the kudos star :-) Or say it accepted solution and thanks

  • Applying ACE connection parameter map?

    How do I apply the connection parameter map in a configuration like this to the service policy int827?  Do I need to define the traffic?  Can I specify only one source destination flow to apply the set tcp half-closed TCP normalization against?
    Any help would be appreciated.
    Thank you all,
    Jon
    policy-map type loadbalance first-match wss-1100-l7slb
      class class-default
        sticky-serverfarm sticky-srcip-1100
    policy-map type loadbalance first-match wss-1101-l7slb
      class class-default
        sticky-serverfarm sticky-srcip-1101
    parameter-map type connection TCPIP_PARAM_MAP
    set tcp timeout half-closed 180
    policy-map multi-match int827
      class wss-1100
        loadbalance vip inservice
        loadbalance policy wss-1100-l7slb
      class wss-1101
        loadbalance vip inservice
        loadbalance policy wss-1101-l7slb
    interface vlan 827
      bridge-group 1
      no normalization
      access-group input etherany
      access-group input ip-any-any
      access-group output ip-any-any
      service-policy input mgmt
      service-policy input int827
      no shutdown
    interface vlan 828
      bridge-group 1
      no normalization
      access-group input etherany
      access-group input ip-any-any
      access-group output ip-any-any
      no shutdown
    interface bvi 1
      mac-address autogenerate
      ip address x.x.x.6 255.255.255.0
      peer ip address x.x.x.7 255.255.255.0
      no shutdown
    ip route 0.0.0.0 0.0.0.0 x.x.x.1

    Yes, you always need to define interesting traffic to apply the connection parameter-map. If you apply "tcp timeout half-closed" to any traffic then you need to define class-map with 0.0.0.0. If you want to apply the
    "tcp timeout half-closed" to the current class-map, then you can assoicate it with a multi-match policy map as below :
    The service policy always applies to the incoming interface.
    parameter-map type connection TCPIP_PARAM_MAP
    set tcp timeout half-closed 180
    policy-map multi-match int827
      class wss-1100
        loadbalance vip inservice
        loadbalance policy wss-1100-l7slb
        connection advanced-options
      class wss-1101
        loadbalance vip inservice
        loadbalance policy wss-1101-l7slb
        connection advanced-options
    Just one more side note for the timeout parameter. The timeout value (default or other wise) remains the same irrespective of normalization or no norm.
    If you have a parameter map configured for timeout then it should still take in affect when you have normalization disabled.
    The only difference is that with normalization enabled, ACE will send a reset back after the timeout expires and will silently drop it when no norm is configured.
    regards
    Andrew

  • DB Connect DataSource PSA records and DSO records are not matching...

    Dear All,
    I'm working with SAP NetWeaver BW 7.3 and for the first time, I have loaded from Source System DB Connect. I have created a DataSource and pulled all records and found 8,136,559 records in PSA. When I designed and created DSO with Key Fields 0CALDAY, Item No and Company Code, it has transferred records about 8,136,559 and added records about 12,534 only. Similarly following InfoCube has about 12,534 records into its Fact table. When I tried to reconcile the data/records with source DBMS for a month, the records/data could not matched?
    1. What could be the reason behind the issue? why I am unable to load the records/data correctly?
    2. Have I not mentioned the Key Fields of DSO in a correct manner?
    3. Is it possible to load the records/data into DSO without giving any field as Key Fields?
    4. How should I resolve this issue?
    5. Is it could be of DSO Overwrite and summation function utilization if yes, then how to utilize it?
    Many thanks,
    Tariq Ashraf

    Dear Tariq,
    1. What could be the reason behind the issue? why I am unable to load the records/data correctly?
    Ans:  Check transformation once. Is there any start routine you have used or direct assignments. What kind of DTP settings you have done.
    Check the messages at the DTP monitor. You will surely find some clue. Any duplicate records are being detected or not check once if you are using semantic keys in your DTP.
    2. Have I not mentioned the Key Fields of DSO in a correct manner?
    Ans:  The transformation key and the DSo key are they same in your case?
    What kind of DSO is it? Like for sales order DSO you take Order number as a key field., So you have to define the key fields according to business semantics I suppose. Do you agree?
    3. Is it possible to load the records/data into DSO without giving any field as Key Fields?
    Ans:  I dont think so as the keys you defined will help in having unique data records isnot it?
    4. How should I resolve this issue?
    Ans: Please check the above as in Ans:1 please share your observation.
    5. Is it could be of DSO Overwrite and summation function utilization if yes, then how to utilize it?
    Ans: DSO overwriting of key figures is useful when you have full loads in picture. Are you always going to perform full loads ?
    For reference would you like to check this thread:  Data fileds and key fields in DSO
    Lets see what experts give their inputs.
    Thank You...

  • Urgent Error while creating UD Connect datasource

    Hi Everyone,
    I'm getting an error when trying to select the UD Connect Source Object.
    I get error:
    Errors occurred during extraction of existing UD Connect source objects: UDCADAPTERROR::RSSDK|100|Cannot open the connectio
    Nº mensagem RSDS_ACCESS031.
    If there is any good documnet on this issue please mail me to [email protected]
    I would apreciate if anyone can help me in this issue. I Gurantee that I will appreciate it with points.
    Best Regards
    Baba.

    Hi Michael,
       Thanks a lot for your reply but I have already seen this link. I am working on UD connect for the first time but i have experience on DB connect. In DB connect we need to use same user name and pswd (used to access DB) for BI also while creating datasource is this the same concept with UD connect?. I have seen lots of posts on this issue in SDN but there are no replies. I don't know whether they solved or still they have issues? would you please send me a document related to this issue as in most of the posts they talk about a document on this issue to ID [email protected]
      I have tested RFC connection in SM59 and also RFC destination name its in capital letters. Source system connection is also ok. while creating datasource in extraction tab i got stucked as I am unable to select UD source objects. If you can elaborate more on this thats really helpful, I apprecaite your time and help. I will definetely assign full points if it shows me some way to resolve this.
    Regards
    Satish Arra.

  • Car Bluetooth connection with MAPS and iPhone 5.

    I have my iPhone Bluetooth connected to my new Toyota Camry and it indicates such on the phone and the car.  However, in going to MAPS navigation, there is no voice, only written directions.  Initially the voice worked, but now it doesn't.  Toyota says it is the phone.  I have an IPhone 5.  Someone suggested I need to upgrade to IOS something or the other....is this true?  Others have advised not to upgrade to the latest IOS due to significant glitches.  Why am I not getting the voice directions.  Why has my phone stopped talking to me?  Is it something I said?
    Oh, and when I take it to 1:1 appointment and put in an address and click on START, the voice happens inside the store

    Quick related question - have you managed to set your N97 up as a 3G bluetooth modem? Despite going through the normal bluetooth setup process, i just can't get it working; it gets as far as connecting and then authenticating, but then disconnects saying the PPP connection could not be negotiated.
    Any ideas? I'm on O2 PAYG in the UK and am using login credentials provided on filesaveas.com
    I used to have this setup and working with an E61i on Vodafone.

  • Can  not connect datasource in weblogic server

    I have written a test class. I create datasource in weblogic server 11g(datasource name =fdbusionline jndi name = 'jdbc/fdbusionline' ) and start weblogic server. but always report the following error:
    javax.naming.NameNotFoundException: Unable to resolve 'fdbusionline'. Resolved '' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'fdbusionline'. Resolved '']; remaining name 'fdbusionline'
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at weblogic.jndi.internal.ServerNamingNode_1035_WLStub.lookup(Unknown Source)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:423)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
    at com.fd.busionline.test.appinterface.impl.DataSourceTest.testConnectDataSource(DataSourceTest.java:54)
    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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
    at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
    at oracle.jdevimpl.junit.runner.junit4.JUnit4Testable.run(JUnit4Testable.java:24)
    at oracle.jdevimpl.junit.runner.TestExecution.run(TestExecution.java:27)
    at oracle.jdevimpl.junit.runner.JUnitTestRunner.main(JUnitTestRunner.java:88)
    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'fdbusionline'. Resolved ''
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    @test
    public void testConnectDataSource(){
    Connection conn = null;
    Context ctx = null;
    try{
    // Hashtable env = new Hashtable();
    // env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    // env.put(Context.PROVIDER_URL, "t3://localhost:7001");
    // env.put(InitialContext.SECURITY_PRINCIPAL, "weblogic");
    // env.put(InitialContext.SECURITY_CREDENTIALS, "!QAZ2wsx");
    Environment env=new Environment();
    env.setProviderUrl("t3://localhost:7001");
    env.setSecurityPrincipal("weblogic");
    env.setSecurityCredentials("!QAZ2wsx");
    ctx = new InitialContext();
    ctx=env.getInitialContext();
    Object obj = ctx.lookup("fdbusionline");// can not work
    Object obj = ctx.lookup("jdbc/fdbusionline"); // can not work
    DataSource ds = (DataSource) PortableRemoteObject.narrow(obj, DataSource.class);
    conn = ds.getConnection();
    Statement stmt = conn.createStatement();
    String sql = "select sysdate from dual";
    ResultSet rs = stmt.executeQuery(sql);
    while (rs.next()) {
    System.out.println(rs.getDate(1));
    } catch (Exception e) {
    e.printStackTrace();
    }finally{
    System.out.println("Test Datasource Connection");
    who can help me? Any help will be appreciated greatly

    Okay, but are you sure that the datasource is actually deployed? Does the server log or the management interface of weblogic actually report that the datasource was deployed succesfully under the name you specify? And did you double check if you don't have any name mismatches (such as a typo or an upper/lowercase mismatch)?
    I ask because the connection to the server appears to be working, but the lookup of the name gives no results - the only thing I can think of is that the resource really is not deployed even if you believe it is.
    A few observations:
    - you may want to put your JNDI credentials in a jndi.properties file in the root of the classpath in stead of hardcoding them (but you may hardcode for now as a quick test of course)
    - the correct lookup should be to "jdbc/fdbusionline", in other words you use the jndi-name.
    ctx = new InitialContext();
    ctx=env.getInitialContext();the env.getInitialContext() really is not necessary, I would remove it.

  • Map Loader not connect to map server

    Hi there,
    i have a Problem with Nokia Map Loader. (it doenst matter which version, I tried . and 2.0 and 3.0)
    When i start the map loader i get this Problem:
    "Connection to the map server has been interrupted."
    I do not use any proxy.
    What is the solution of the Problem, i want to use my navigation on my Nokia e72 device
    kind regards

    Have you tried using OVI Suite which is now the recommended way of adding maps?
    Failing that as E72 uses OVI Maps v3.04 you could look at post by ovikovi to download maps directly: /t5/Maps-Navigation-and-GPS/newest-Nokia-Ovi-Maps-​0-1-25-114-manual-download/m-p/778870/highlight/tr​...
    Happy to have helped forum with a Support Ratio = 42.5

Maybe you are looking for