Does any chage on timesten using ttmodinstal tool makes changes on library?
Hi:
Yesterday I migrate a database from Solaris to Linux OS.
On linux I have already installed a timesten instance before, this was listening on port 18003.
In order to my application could get a connection on this instance, I needed to change port to 16003.
When I tried to start some application that was running on an old datastore on this instance, it could not started, I checked libraries and I found that there were recreated yesterday at the same time I was changed the listenning port.
org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [IM002]; error code [0]; [TimesTen][TimesTen 7.0.5.0.0 ODBC Driver]Data source name not found and no default driver specified; nested exception is java.sql.SQLException: [TimesTen][TimesTen 7.0.5.0.0 ODBC Driver]Data source name not found and no default driver specified
java.sql.SQLException: [TimesTen][TimesTen 7.0.5.0.0 ODBC Driver]Data source name not found and no default driver specified
at com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:3184)
at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:3318)
at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:3283)
at com.timesten.jdbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:724)
at com.timesten.jdbc.JdbcOdbcConnection.connect(JdbcOdbcConnection.java:1783)
at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:303)
at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:159)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:291)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:277)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:259)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:241)
at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:315)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:109)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:105)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1561)
at org.hibernate.loader.Loader.doQuery(Loader.java:661)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2150)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
at org.hibernate.loader.Loader.list(Loader.java:2024)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:300)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:146)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1093)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at org.springframework.orm.hibernate3.HibernateTemplate$31.doInHibernate(HibernateTemplate.java:853)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:366)
at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:844)
at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:836)
at com.bursatec.bmv.selectividad.persistence.dao.impl.FedCenlacesDaoImpl.cargarDatos(FedCenlacesDaoImpl.java:83)
at com.bursatec.bmv.retransmision.middleware.configura.ProcesoSelectividad.cargaSelectividad(ProcesoSelectividad.java:128)
at com.bursatec.bmv.retransmision.middleware.configura.ProcesoRetransmision.iniciaAmbiente(ProcesoRetransmision.java:68)
at com.bursatec.bmv.retransmision.middleware.configura.ProcesoRetransmision.main(ProcesoRetransmision.java:49)
Is it possible a recompilation could be ocurred when I reassign the timesten port??
What could be the reason myh old application could not get a connection if no changes was made to timesten (on version)?
Regards.
Can you please provide full details of the Tt instance setup on Linux before you 'migrated a database' and after you 'migrated a database' and the exact sequence that you went through.
When migrating a database (datastore) there should never be any need to change ports used by TimesTen! TimesTen uses several ports for different purposes. For example, the main daemon port number is used for internal communication. This port number is patched into the TimesTen libnraries at install time (and if you use ttModInstall); but you should never need to change this after installation time! If you are using client/server connectivity (as opposed to direct mode connectivity) then there is also a 'server port' number on which the client/server server component listens. You can change this but again there should be no need since the port number to use for connections is specifieed in the sys.ttconnect.ini file on the client side.
I suspect that you have changed the main daemon port number; however without knowing more details including the commands you used it is hard to say for sure. The error below is a simple DSN not found error and is unlikely to be related to any port number changes.
Chris
Similar Messages
-
Can I use iWeb to make changes to a website created in Dreamweaver?
can I use iWeb to make changes to a website created in Dreamweaver? How would I do this? I didn't create the site and don't know Dreamweaver, but I figure I could learn iWeb quickly.
No, iWeb cannot open or change existing sites no matter what other program created them.
-
Does any one have problems using facetime. I can't connect with any of my contacts
I am having trouble connecting with my contacts on facetime and am wondering what I may be doing wrong. Any sugestions???
Did you try the general tips in these articles? iOS: Using FaceTime and iOS: Troubleshooting FaceTime
-
The constraints ddl clause does not exists in indexfile using imp tools
SQL> -- Create table
SQL> create table TB_EXP_TEST
2 (
3 OWNER VARCHAR2(30) not null,
4 OBJECT_NAME VARCHAR2(128) not null,
5 SUBOBJECT_NAME VARCHAR2(30),
6 OBJECT_ID NUMBER not null,
7 DATA_OBJECT_ID NUMBER,
8 OBJECT_TYPE VARCHAR2(19),
9 CREATED DATE,
10 LAST_DDL_TIME DATE,
11 TIMESTAMP VARCHAR2(19),
12 STATUS VARCHAR2(7),
13 TEMPORARY VARCHAR2(1),
14 GENERATED VARCHAR2(1),
15 SECONDARY VARCHAR2(1),
16 NAMESPACE NUMBER,
17 EDITION_NAME VARCHAR2(30)
18 )
19 tablespace USERS
20 pctfree 10
21 initrans 1
22 maxtrans 255
23 storage
24 (
25 initial 9M
26 next 1M
27 minextents 1
28 maxextents unlimited
29 );
Table created.
SQL> -- Create/Recreate primary, unique and foreign key constraints
SQL> alter table TB_EXP_TEST
2 add constraint EXP_TEST_PK primary key (OBJECT_ID)
3 using index
4 tablespace USERS
5 pctfree 10
6 initrans 2
7 maxtrans 255
8 storage
9 (
10 initial 2M
11 next 1M
12 minextents 1
13 maxextents unlimited
14 );
Table altered.
SQL> -- Create/Recreate indexes
SQL> create index IDX_TB_EXP_TEST_N1 on TB_EXP_TEST (OBJECT_NAME)
2 tablespace USERS
3 pctfree 10
4 initrans 2
5 maxtrans 255
6 storage
7 (
8 initial 4M
9 next 1M
10 minextents 1
11 maxextents unlimited
12 );
Index created.
SQL> Insert Into TB_EXP_TEST
2 Select * From Dba_Objects Where object_id Is Not Null;
76143 rows created.
SQL>exit;
exp hxl/hxl@orcl file=c:\exptest.dmp tables=(tb_exp_test);
SQL>drop table tb_exp_test;
imp hxl/hxl@orcl file=c:\exptest.dmp tables=(tb_exp_test) constraints=Y indexes=Y indexfile=C:\index.txtThe index.txt contents is flowing,but the add constraint EXP_TEST_PK primary key not exists ,and it is remed,Why?
REM CREATE TABLE "HXL"."TB_EXP_TEST" ("OWNER" VARCHAR2(30) NOT NULL
REM ENABLE, "OBJECT_NAME" VARCHAR2(128) NOT NULL ENABLE, "SUBOBJECT_NAME"
REM VARCHAR2(30), "OBJECT_ID" NUMBER, "DATA_OBJECT_ID" NUMBER,
REM "OBJECT_TYPE" VARCHAR2(19), "CREATED" DATE, "LAST_DDL_TIME" DATE,
REM "TIMESTAMP" VARCHAR2(19), "STATUS" VARCHAR2(7), "TEMPORARY"
REM VARCHAR2(1), "GENERATED" VARCHAR2(1), "SECONDARY" VARCHAR2(1),
REM "NAMESPACE" NUMBER, "EDITION_NAME" VARCHAR2(30)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 9437184 NEXT 1048576
REM MINEXTENTS 1 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
REM TABLESPACE "USERS" LOGGING NOCOMPRESS ;
REM ... 76141 rows
CONNECT HXL;
CREATE INDEX "HXL"."IDX_TB_EXP_TEST_N1" ON "TB_EXP_TEST" ("OBJECT_NAME" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 NEXT 1048576
MINEXTENTS 1 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"USERS" LOGGING ;
CREATE UNIQUE INDEX "HXL"."EXP_TEST_PK" ON "TB_EXP_TEST" ("OBJECT_ID" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 2097152 NEXT 1048576
MINEXTENTS 1 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"USERS" LOGGING ;
REM ALTER TABLE "HXL"."TB_EXP_TEST" ADD CONSTRAINT "*EXP_TEST_PK*" PRIMARY
REM KEY ("OBJECT_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 2097152 NEXT 1048576 MINEXTENTS 1 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS" LOGGING
REM ENABLE ;Pavan Kumar wrote:
Hi,
Are you sure on that - but we can able view from the text which you floated across here (or) else my understanding is wrong with respect your question across.
- Pavan Kumar NI sure the code is not any problem. -
How do we use SPAU to make changes to the programs
Could anyone please let me know the process of making the changes to the standard programs using SPAU transaction in detail.
Moderator message: please search for available information/documentation.
Edited by: Thomas Zloch on Aug 9, 2011 3:29 PMThanks Gary,
I know that. What I meant was that in the older version of Keynote I could pinch and zoom on photos but now that function is limited only to slide size.
Even with pressing "command" or "alt" or "shift" I am unable to resize the photo any more thru gestures on my trackpad. Pain in the butt to click and resize, especially after being so used to be able to pinch and zoom and rotate with two fingers using the trackpad.
Thanks for trying to help
Ronnie -
Use Mac to make changes to iWeb Sites created with MacBookPro
I created two web sites on my MacBook Pro and would like to do additional work on them using my Mac desktop. The sites are saved on my MobileMe account. I launch iWeb on the Mac desktop and can't see the other Sites. How can I work on these with both computers?
Welcome to the Apple Discussions. You will need to copy the Domain.sites2 file from the your User/Library/Application Support/iWeb folder on your MBP to the same folder on your Mac desktop. If you don't have such a folder on the desktop Mac just create it.
If you plan on moving between computers frequently for managing the sites put the domain file on a flash drive formatted for OS X Extended (journaled) and open the file on that.
Or you can try the method described in this online MacWorld article Managing an iWeb site from multiple Macs
Be sure to read the warnings in the linked page from the article.
OT -
Can i change repository's password except using admin tool?
i heard that can use other tools to change the password . really?
please give me some advices? Thanks
Edited by: user8016603 on Aug 3, 2009 12:11 AMHi,
There is a utility called nqschangepassword.exe for changing the paswword.
http://oraclebizint.wordpress.com/2008/03/31/oracle-bi-ee-101332-automating-passwords-resets-nqschangepasswordexe-utility/
Go through this link by Venkat.
Regards,
Santosh
Edited by: user10309428 on Aug 3, 2009 12:28 AM -
I've just started using the App Tabs. I think this feature could be handy but why are the sites not updated when I start Firefox. Now I have to manually update the site which is somewhat of a downer. Does any of you know where I'm going wrong?
To answer the post title FireFox save all downloads automatically in the download folder, which you can find in the Documents folder. If you want to choose where to save your downloads go to tools>options>check always ask me where to save files.
Secondly, I am assuming you have IE 8 installed as this is the only version that supports this fix that is currently not in beta. Go to control panel>internet options>advanced tab and reset the settings at the bottom. This may or may not fix the problem but it is a good first step. -
I've seen all the posts for fixing the wifi on the 4s, none of them work! So, who can tell me why my iPhone 4S cannot find any wifi when it used to find wifi, and when it does find a wifi network it can never connect? You think apple would have a clue how to fix it! Because turning the wifi on and off doesn't work, resorting network settings doesn't work, even restoring phone to factory default doesn't work...
Did not work. I've selected iMessage to ON and left it. After a few hours I recieved a message "activation unsuccessful. Turn on iMessage to try again". This has been going on for the past 3 days.
-
Does any one have a sample code for sending email using IMAP ?
Hi
thank you for reading my post
I have tried to use SMTP and because of some problems i could not use it and i must use Imap (authentication required)
here is my SMTP code , does any one know how i can tune it to use Imap , or has a code snippet to send email using Imap ?
thanks
private static void postMail(String[] recipients, String subject, String message,
String from) throws MessagingException {
boolean debug = false;
class SMTPAuthenticator extends javax.mail.Authenticator
public PasswordAuthentication getPasswordAuthentication()
return new PasswordAuthentication(mail_usrname,mail_password);
//Set the host smtp address
Properties props = new Properties();
FileInputStream fis;
try {
System.out.println("Loading property file");
fis = new FileInputStream(new File("c:/email.properties"));
props.load(fis);
System.out.println("property file done");
} catch (FileNotFoundException e) {
System.out.println("file not found");
e.printStackTrace();
} catch (IOException e) {
System.out.println("can not read properties file");
e.printStackTrace();
/*props.put("mail.smtp.user", mail_usrname);
props.put("mail.smtp.host", smtpHost);
props.put("mail.smtp.port", smtpPort);
props.put("mail.smtp.starttls.enable","true");
props.put("mail.smtp.socketFactory.port", smtpPort);
// create some properties and get the default Session
Authenticator auth = new SMTPAuthenticator();
Session session = Session.getDefaultInstance(props, null);
session.setDebug(debug);
// create a message
Message msg = new MimeMessage(session);
// set the from and to address
InternetAddress addressFrom = new InternetAddress(from);
msg.setFrom(addressFrom);
InternetAddress[] addressTo = new InternetAddress[recipients.length];
for (int i = 0; i < recipients.length; i++) {
addressTo[i] = new InternetAddress(recipients);
msg.setRecipients(Message.RecipientType.TO, addressTo);
// Setting the Subject and Content Type
msg.setSubject(subject);
msg.setContent(message, "text/HTML");
System.out.println(msg.toString());
Transport.send(msg);Please try this out!!!!!!!!!
You can send emails using Outlook also. You can send email over Microsoft Exchange with this object (or another email server, using IMAP/POP).
Sub SendMailOutlook(aTo, Subject, TextBody, aFrom)
'Create an Outlook object
Dim Outlook 'As New Outlook.Application
Set Outlook = CreateObject("Outlook.Application")
'Create e new message
Dim Message 'As Outlook.MailItem
Set Message = Outlook.CreateItem(olMailItem)
With Message
'You can display the message To debug And see state
'.Display
.Subject = Subject
.Body = TextBody
'Set destination email address
.Recipients.Add (aTo)
'Set sender address If specified.
Const olOriginator = 0
If Len(aFrom) > 0 Then .Recipients.Add(aFrom).Type = olOriginator
'Send the message
.Send
End With
End Sub -
My menu bar does not appear at the top of my homepage on a brand new 27" iMac only when i pull up an app. this does not allow me to shut down my mac when all apps are closed nor does it all me to use finder. any help would be awesome
Press the escape (esc) key to exit full-screen mode.
-
Everytime I press down on down key it opens automator. It doesn't let me delete the app. I don't know what to do, it is very frustating to fill in a chart when I can't use the down key. Does any one know how to disable this short cut?
Are you talking about the Down Arrow key? To my knowledge there is no way to use that key as a shortcut for anything. But look in the Keyboard section of System Preferences and the Keyboard shortcut tab.
-
I'm a beginner and would like to know which Photoshop to use (so many options). The only edits I care about being able to do are: whitening teeth, smoothing complexions/taking away blemishes. Does any photoshop have these options? I haven't been able to find the teeth whitening one anywhere. Also, I don't want it to lessen the high quality if my photos. Thank you so much!!
Hi Erika,
I came to Lightroom quite recently (in the last month!) from Photoshop Elements 11. I like the organization features in LR better, but for adjustments such as the ones that you mentioned I would leave LR and go back to Photoshop Elements 11, primarily because that is what I know. I don't use the subscription service, mainly because I already owned and installed the boxed version of Photoshop Elements 11 and adding it to a subscription service with Lightroom seemed redundant. I am sure someone in the community will (or has) comment(ed) that it is possible to whiten teeth and cure blemishes within LR, but I haven't figured out how to do that yet. Check out the TV Adobe free tutorials, particularly Julianne Kost's tutorials. She has a good presentation style and you might find the LR answer that you need with detailed instructions. -
I am using a verizon email address and microsoft office for mac outlook program to manage my emails. Does any one know if the apple outlook version offers the ability to save emails as a pdf so that I can save it to my hard drive and how to access?
This is the Microsoft forum site that parallels what Apple has:
Office for Mac forums
It's not uncommon for MS employees who work with the Mac side of the business to help there. All in all a useful resource for Office:Mac -
Does anyone know why since upgrading to ML notes are not visible in Time Machine. They used to be part of mail and could be recovered from Time machine but since ML I don't seem to be able to access notes in Time Machine. Any help would be useful.
Welcome to Apple Communities
Mail doesn't support notes. If you use iCloud, you have them in it because Notes is an application
Maybe you are looking for
-
I changed the Primary email for an appleid. There was a typo in the email address. this makes the appleid waiting for verification. I spent five and a half hours with support before they understood the problem. Once we both were talking about the sam
-
I updated my Apple Id and password by email and received a confirmation. However my iphone still has the old ID and wont recognize either. How do I update the user id on my phone? I assumed it would update when I restarted butit did not
-
Dear All, how I can maintain Scales in the system whenever minimum Qty 100 to 99999 the system will only give me fix Qty such as 15 EA Regards, Cdu
-
Unable to upload photos to facebook or emails
Recently after I installed new internal hard disk I copied iphoto library from my external hard disk ( where it was stored as a backup). When I go to upload from photos then all the photos are coming greyed out and cannot be selected for upload. OS i
-
PM: SAP Standard reports
Hi guys, I need a list of all PM Standard reports, and their transaction codes. Please help Thanks