How to have remote jdbc connection to timeten?

I think our admin have set up a timeten daemon , can I connect it remotely using JDBC connection? How the connection should be? Is it like
jdbc:timesten:192.168.1.2:dsn=my_dsn
??

To create a JDBC connection, you need to specify a TimesTen connection URL. The format of a TimesTen connection URL is: </br></br>
jdbc:timesten:{direct | client}:dsn=DSNname;[DSNattributes;]
</br></br>
For example, to create a client connection to the demo data store, the URL looks similar to the following:
String URL = "jdbc:timesten:client:dsn=demoCS";
</br></br>
For more information, please refer to the section "Connecting to a TimesTen data store" in the Oracle TimesTen In-Memory Database Java Developer's and Reference Guide.

Similar Messages

  • I have Remote desktop connection for my mac running osx 10.6.8 and I have a windows xp laptop, I want to have my mac be able to run the windows xp from my pc, how do I do it?

    I have Remote desktop connection for my mac running osx 10.6.8 and I have a windows xp laptop, I want to have my mac be able to run the windows xp from my pc, how do I do it?

    Hello Fiona,
    Congratulations on your new iPhone!  You can sync information to your iPhone from your MacBook Pro using the Info tab in iTunes when your iPhone is connected.  Use the steps in the following article:
    iOS: Syncing your data with iTunes
    http://support.apple.com/kb/ht1386
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Remote JDBC connect error; missing SecStore.properties

    Hi
    After creating the intial context for a remote JDBC connection, using a Java client, to the J2EE engine, when calling createConnection(), I get the following error on ver 6.4:
    com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection:
    com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "SecStore.properties" does not exist although it should..
    I can not find the file on the server, although what limited doco I can find suggests SecStore should be created at install time. Am I missing something here?
    Thanks, Leonard

    Tried, but no success. Am definitely connecting to jndi, getting the context etc. The issue seems to be here;
    Caused by: com.sap.security.core.server.secstorefs.FileMissingException: File "SecStore.properties" does not exist although it should.
            at com.sap.security.core.server.secstorefs.StorageHandler.openExistingStore(StorageHandler.java:372)
            at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1946)
            at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:803)
            at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:784)
            at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:206)
    Why is StorageHandler.openExistingStore trying to open SecStore.properties from the remote java client and not on the j2ee server? This makes no sense.
    Thanks

  • How to close open JDBC connections

    Hi people. I´m Using Jdev 10.1.3.2 and OAS 10g.
    In my application when a User closes the browser or click in logout, the JDBC connection remains active on the server.
    I wonder what the best measure to close these connections on logout of the system?
    Thanks Willian

    You might want to read the chapter about how ADF BC handles the database connections and what variables you have to control it:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcservices.htm#CHDJDBJB
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcampool.htm#sm0306
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/deployment_topics.htm#CHDFJADJ

  • How does the remote object connect to the correct host

    i have had a small doubt on how the remote reference manages to find the correct host to call the subsequent methods after a sucessful lookup.
    given a rebind or bind to the registry, the registry only stores the alias and the remote reference, now imagine a client calling a lookup on the registry would only get the remote reference, and not in which machine the remote object is found.
    what i wanted to know is how does the client or atleast the remote reference returned by the registry correctly connects to the machine where the remote object is located. i dont think its stored in the stub bcos the stub is a complie time stuff.
    i would be pleased to have a comprehensive answer for this.

    The membership in the group communication framework is always accurate and upto date.Up to date to the moment when you check. Not up to date to the moment when you make the RMI call.
    i could basically chk if this ip is available in the membership list.Complete waste of time. It doesn't matter what you check ahead of time, you are still trying to predict the future.
    And you still have to deal with ConnectException etc from the actual remote method call. And the way you will deal with that in your situation is exactly the same as what you were going to do if your ahead-of-time check failed.
    So just catch the exception(s) and deal with the problem there.

  • How to increase the JDBC connections peroformacnce

    Hi Iam new to Weblogic admin
    We are using weblogic 10. in solaries + oracle database env
    We are facing the slowness issue for internet application users, after submitting the user name and password, user will not get any response from the application except blank page,
    I have observed that there are somany; more than 200 Waiting For Connection Total. This will increase in peak time.
    wii this is the cause for the issue or if any other.
    Please suggest us to resolve the issue.
    Edited by: user11103866 on May 8, 2009 2:12 AM

    more than 200 Waiting For Connection Total.<<This is from a JDBC pool? If so, then you have more users than your pool can handle.
    How many initial / maximum connections does this particular pool allow, and how many servers are within your cluster?
    What is your applicaiton's session timeout value?
    Ask your DBA how many connections the database currently allows.
    You can also configure the shrink period of the pool if your user sessions are short, or if your users are not logging out ( which results in their session holding a connection until the session times out ).
    Are you seeing Leaked Connections ( you can configure the console to report these )?

  • How to configure Remote desktop connection double sign-on?

    All dear,
    I need help. I install a terminal server 2012, but when I try to remote login, only once sign on. How can I to configure the server to double sign-on.
    Thanks

    If I understand you right you have custom credential provider on the server. In this case Microsoft says that it is impossible to overcome double sign-on, just search for the "RDC and Custom Credential Providers" on the Internet.

  • Remote JDBC Connection Error

    Hi
    I am using from main() method to access jdbc.
    Lookup is successful but I got the following error after that
    My Code Snippet
    Properties jndiCtxProp = new java.util.Properties();
                                  jndiCtxProp.put(Context.INITIAL_CONTEXT_FACTORY,"com.sap.engine.services.jndi.InitialContextFactoryImpl" );
                                  jndiCtxProp.put(Context.PROVIDER_URL, "host:port");
                   jndiCtxProp.put(Context.SECURITY_PRINCIPAL, "login");
                        jndiCtxProp.put(Context.SECURITY_CREDENTIALS, "password");
                   Context initCtx = new InitialContext(jndiCtxProp);
                   DataSource dataSource =
                        (DataSource) initCtx.lookup("jdbc/FLIGHTDATA");
                   System.out.println("nFLIGHTDATA lookup successn"); //no problem upto this     
                   conn = dataSource.getConnection();
    I have used the following JAR's
    logging.jar
    sapj2eeclient.jar
    exception.jar
    jdbc20.jar
    jta.jar
    connector.jar
    opensql.jar
    opensqlapi.jar
    opensqlcore.jar
    sqljapi.jar
    tc_sec_secstorefs.jar
    Exception chain is
    com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: com.sap.sql.log.OpenSQLException: Could not instantiate class com.sap.sql.connect.OpenSQLDataSourceImpl.
         at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:59)
         at com.ibm.training.carrier.dbload.JDBCLoader.getConnect(JDBCLoader.java:63)
         at com.ibm.training.carrier.dbload.JDBCLoader.doLoad(JDBCLoader.java:29)
    Thanks
    Ananda

    Hi anand,
    Is it not throwing u any error after u give catch statement also?
    <b>try()
    coding for DB
    catch(Exception e)
    wdComponentAPI.getMessageManager.raiseException("Exception :" +e);
    }</b>
    Even this din work?
    http://help.sap.com/saphelp_erp2005/helpdata/en/de/7d77f8714b4ef080f2219d7d968008/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/70/a19cc472e72c4481172909938578fc/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/91/ccbf560ecc4e2fb99b09a5e7bce95e/frameset.htm
    Hope this helps u,
    Regards,
    Nagarajan.

  • How to have CR auto connect to DB?

    I have an Advantage DB (Sybase) and when I open Crystal Reports - it asks to connect to the database.  I then have to go thru the DB setup to add the login name/pwd then the database .add file.  CR shows the connection and works fine until I close it.  When I reopen - I need to go thru all that again.
    Is there a way to get the DB info to stick so the user does not have to enter this in every time?

    Create a new report and use the database wizard, once connected check on the option to use Trusted Authentication. If your DB can use this feature then it should not prompt anyone who has rights to the database. If it' snot an option then no work around. Dangerous saving passwords in the report, anyone could make changes and have full rights to all data.
    Don

  • How to install remote desktop connection?

    I have been trying to install RDC on my mac with the latest OSx which is 10.8.5. However, the installation process keeps telling me that it requires OSx version 10.6 or higher. I have got my mac checked at the apple store and there is nothing wrong with it. But the installation still doesnt work.

    CoRD: Remote Desktop for Mac OS X

  • How to have my iPad connect to iTunes on my husband's iMac

    How can I get my iPad to show up on iTunes on my husbansd's iMac?

    See Syncing with iTunes here  >  http://www.apple.com/support/ipad/syncing/

  • How to set roles from JDBC connections

    Hi guys,
    I have a jdbc connection which purpose is to run queries based on a string that I construct in my program.
    My question is: if I have to run a DCL, like: SET ROLE RL_XXX TO USER1;
    What's the easiest way to do it with my same connection?
    Thanks.

    Hi Marc,
    Sorry for the typo. It's a BDC source, I use a WCF client to access a SQL Database (HR External System) that has 4 fields that are necessary to present in the Sharepoint User Profile. The issue occurs with a Full or a Delta Sync. The problem is that if the
    BDC source is not present the fields are deleted (I get a SPS-Dummy Added and all of the pbjects in the BDC Connector Space are deleted).
    I do not want this to happen. I do not want the User Profile Attributes/Fields to be empty/deleted if there is no connection I simply want them to stay what they are... I have two issues.
    1) Is that the even if i change my data on SQL Server side, the changes do not get picked up by the sync. Since the only field that is being tested for change is an ADid, since the id does not change the BDC does not consider them changes.
    2) If there is no connection I do not want the attributes to be deleted. I have not figured out a way to effectively do this.
    So my issue appears to be simple to solve, but after 4 days and hundreds of tutorial pages read I have yet to figure out a proper way to do this.
    Here is the pseudo-specification
    The Fields that come form the HR System (SQL Server) are to be presented in the user profile. If there is no connection to the BDC file the fields remain as they are until there is a connection and updates can be made. Changes to any of the fields are performed
    manually in the HR system. These changes must be picked up by the daily sync.

  • Can not deploy a report using JDBC connection on CR2008 Server

    Hi Group,
    I have a report created with JDBC connection. When I tried to add it to CR2008 server, it gives an error - "An unexpected error has occurred ". Basically I want to add a report to a public folder via CMC. I am using adminstrator account.
    Then I thought I need to add JDBC driver into CR2008 server. so I put oracle jdbc jar into CR2008 server classpath and add JDBC connection info into CRConfig.xml. but I still got the same error.
    I also tried:
    - Change the report to use native Oracle driver rather than JDBC. The deployment succeeded (but this is not what I want)
    - Add a data source connection via Business View Manager, but no luck.
    I know how to use/change jdbc connection with programtic way, but I just want to know if I want to use built-in components in CR2008 server without any coding the reports can be deployed and managed.
    Thanks in advance.
    Dennis

    Hello Will,
    Crystal Reports supports connections to JDBC/JNDI out of the box, and have done so for a while, whether stand-alone or published to Enterprise.
    To specify where the server would search for the JDBC driver jar files, you'd change the classpath tag found in the CRConfig.xml file found on the machine where the Crystal Reports Page or Job Server is running. 
    For early Crystal Enterprise 10 and before, it used Java Native Interface (JNI) to start the Java process to retrieve the data from the JDBC connection.
    For later Crystal Enterprise 10 and later, it starts off a "Java Server" process, and communicates to the Crystal Reports process via CORBA TCP/IP connection.
    Commonissues that may arise:  (1) CRConfig.xml not configured properly, (2) unable to start or communicate to the "Java Server" because of permissions or firewall.
    Note that this is a separate connectivity map from using ADO or ADO.NET.
    Sincerely,
    Ted Ueda

  • Weblogic 8.1 SP 3 JDBC Connections

    Hi,
    We have configured JDBC connection pool size with initial 1, increment 1 and max is 15. We are experiencing slow performance with app sometimes. Some select and update operations taking more than 60 secs which usually takes about 15 secs.
    I monitered the app during slowness and there were 3 users using the app that time. And application lost the connection with exchange server. The number of active connections in weblogic console were 4 and 5 sometimes. But when I checked with SQL Server DBA he saw 8 connections coming from application. Is there any possibility that the connections established before were not cleaned causing for this slowness.
    When we bounce weblogic server it starts working fine as normal.
    Does anyone experienced similar problem? I appreciate if anyone can help me in this.
    Thanks,
    Mahesh

    Even if it is a very naive question but I just cannot get it worked, what do you mean by using jdk 1.5 on client side?
    I guess client side is completely out of WLS so the jdk to be used on the client side is not set in the environment.
    However, the Exception Im getting is on the server side, when it tries to run the code automatically generated from Kapow Mashup Server 6.3. That code is embedded in a jar file, but it seems it makes a call to the java.lang.StringBuilder class which as said before, it is only available from jdk 1.5 onwards.
    Should I contact Kapow Mashup Server support to see how the sample code is generated or I am missing something?
    Regards.

  • Two jdbc connections in one transaction

    Hi<br>
              <br>
              In a method of a container managed ejb session bean I have two jdbc connections. I've expected, that they will be in the same transaction, so results of any actions performed with first connection will be visible for the second connection, but it is not. <br>
              I've checked, that there are two sessions at the database, so it seams that there are simply separate transactions. Is it a problem with a ejb-jar.xml (will paste it later), datasource (driver - Oracle Thin non-XA; 1PC selected) or such behaviour can not be achieved in WLS ? <BR>
              <BR>
              regards
              <br>
              <BR><?xml version="1.0" encoding="UTF-8"?>
              <BR>
              <BR><!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
              <BR>
              <BR><ejb-jar >
              <BR>
              <BR>     <description><![CDATA[No Description.]]></description>
              <BR>     <display-name>ConnectionTest1</display-name>
              <BR>     
              <BR>     <enterprise-beans>
              <BR>          <session >
              <BR>               <description><![CDATA[]]></description>
              <BR>               
              <BR>               <ejb-name>ConnectionTest1</ejb-name>
              <BR>               
              <BR>               <home>pl.axit.test.ConnectionTest1Home</home>
              <BR>               <remote>pl.axit.test.ConnectionTest1</remote>
              <BR>     <ejb-class>pl.axit.test.ConnectionTest1Bean</ejb-class>
              <BR>     <session-type>Stateless</session-type>
              <BR>     <transaction-type>Container</transaction-type>
              <BR>     
              <BR>     <resource-ref >
              <BR>          <res-ref-name>jdbc/wowrite</res-ref-name>
              <BR>          <res-type>javax.sql.DataSource</res-type>
              <BR>          <res-auth>Container</res-auth>
              <BR>     </resource-ref>
              <BR>     </session>
              <BR>     </enterprise-beans>     
              <BR>     
              <BR>     <assembly-descriptor>
              <BR>          <container-transaction>
              <BR>               <description/>
              <BR>               <method>
              <BR>                    <description/>
              <BR>                    <ejb-name>ConnectionTest1</ejb-name>
              <BR>                    <method-name>*</method-name>
              <BR>               </method>
              <BR>               <trans-attribute>Required</trans-attribute>
              <BR>          </container-transaction>          
              <BR>
              <BR>     </assembly-descriptor>
              <BR></ejb-jar>

    Hi,
              are you using XA transactions? Two separate JDBC Connections treated
              within one transactional context will require two phase commit (via
              Emulation or an XA database driver) Please check the connections
              settings within your datasources.
              Rgds,
              Axel van Lil (LMIS.de)
              Lukas Uruski schrieb:
              > I forgot to add, that in administration console in server_name > Monitoring > JTA parameter "Transactions Total Count" increases by one each time method from previous post is invoked.

Maybe you are looking for