728x90

Error description


Following the JDBC Driver Programmer's Guide to enable sqlhosts file lookup using SQLH_TYPE and SQLH_FILE entries in the
application connection URL works as anticipated when a port number is specified for the defined server in sqlhosts.
However, if a service name is used instead of a port number in the sqlhosts server definition, the following error isgenerated by the application at runtime:
SQL Code: -79999

SQL State:IX000

Message:Message text will be provided in later releases

java.lang.NumberFormatException: For input string: "sqlexec"


This request is to also include the service name to this functionality.


Problem summary


****************************************************************
USERS AFFECTED:
JDBC driver before 3.50.JC1
****************************************************************
PROBLEM DESCRIPTION:
JDBC was not able to handle service name in the connection
string. It was must to provide the port number in the connection
URL or SQLHOSTS file.
****************************************************************
RECOMMENDATION:
Upgrade to JDBC 3.50.JC1 or above.
****************************************************************


Problem conclusion


The problem has been fixed in 3.50.Jc1. Now JDBC users can pass service name in a connection URL as well as in SQLHOSTS.

728x90
728x90

Problem(Abstract)

Problem installing a 32-bit IBM Informix Client SDK product on a 64-bit Windows machine.

Symptom

When installing a 32-bit IBM Informix Client SDK product on a 64-bit Windows machine, you may see a message stating that you cannot install becuase you are using a 64 bit machine.

Cause

The problem is due to the Windows redirection path not being included in your systems PATH environment variable setting.

Environment

Windows 64-bit machine

Resolving the problem




  1. Open a Windows command window ('cmd')
  2. run: "set PATH=C:\WINDOWS\SysWOW64\;%PATH%"
  3. Run the setup.exe for IBM Informix Client SDK

To confirm that the Informix 32-bit ODBC driver has been installed run:

"C:\windows\syswow64\odbcad32.exe" and look under the Drivers tab.


http://www.ibm.com/support/docview.wss?uid=swg21567466&myns=swgimgmt&mynp=OCSSVT2J&mync=E

728x90
728x90

Problem(Abstract)

JDBC needs a specific environment set if the DB_LOCALE is set to ko_kr.cp_949 for Korean Cp949.

Symptom

Using JDBC, we may get errors like -79784 (" Locale not supported.") or -908 ("Attempt to connect to database server NAME failed.") when trying to connect to a database using the following locale: ko_kr.cp_949

For example, the following connection:
jdbc:informix-sqli://myhost:ids_port/mydatabase:informixserver=myidsserver;user=mylogin;password=mypasswd;DB_LOCALE=ko_kr.cp_949;CLIENT_LOCALE=ko_kr.cp_949

might return error -79784 or -908 if used with JDK earlier than 1.6 and/or JDBC earlier than 3.50.JC8


Resolving the problem

When using JDBC, in order to be able to connect properly to a database using locale ko_kr.cp_949 you have to use JDK1.6 or later and JDBC 3.50.JC8 or later.


http://www-01.ibm.com/support/docview.wss?uid=swg21449804

728x90
728x90

Problem(Abstract)

You install IBM Informix Client Software Development Kit (CSDK) 3.70.FC4 on a machine running a Windows operating system. The installation does not include OpenAdmin Tool (OAT). You note that OAT is included when you install the 32-bit Windows CSDK 3.70.TC4.

Cause

OAT is first bundled with CSDK in 3.70.xC4 fixpaks. This does not include the 64-bit CSDK 3.70.FC4 on Windows.

Resolving the problem

You can install the 32-bit OAT on a Windows 64-bit machine.


설치시 명령프롬프트를 관리자 권한으로 실행해야 하며, PATH를 다음과 같이 지정하여 설치한다.

SET PATH=%windir%\syswow64;%PATH%


http://www-01.ibm.com/support/docview.wss?uid=swg21579591

http://www.ibm.com/support/docview.wss?uid=swg21567466&myns=swgimgmt&mynp=OCSSVT2J&mync=E

728x90
728x90

You can use the double colon operator (::) to cast GeoTimeRange values to a specific precision. This allows you to specify a less precise input specification than the GL_DATETIME setting. It does not, however, override the GL_DATETIME setting, nor does it extend text input.

In the following example, GL_DATETIME is set to YEAR TO DAY, and the DATETIME cast allows you to specify a GeoTimeRange value with a precision less than the minimum default of YEAR TO SECOND:

-- GL_DATETIME="%Y-%m-%d"
INSERT INTO trtab VALUES (GeoTimeRange('1997-01-02'::datetime year to day));
SELECT * FROM trtab;
tr  (1997-01-02,1997-01-02) 

In the following example, the cast allows you to specify less than the GL_DATETIME precision:

-- GL_DATETIME="%Y-%m-%d %H:%M:%S"
INSERT INTO trtab VALUES (GeoTimeRange('1997-01-02'::datetime year to day));
SELECT * FROM trtab;
tr  (1997-01-02 00:00:00,1997-01-02 00:00:00) 

The data, however, is zero-extended on input and output to YEAR TO SECOND.

Tip:
Instead of casting, you could insert data with hours, minutes, and seconds set to 0 (or any value). The hours, minutes, and seconds would be truncated to conform to the GL_DATETIME setting of YEAR TO DAY.

In the following example, the INSERT statement returns an error message because the cast is to YEAR TO DAY, while YEAR TO SECOND data is inserted:

-- GL_DATETIME="%Y-%m-%d %H:%M:%S"
INSERT INTO trtab VALUES (GeoTimeRange('1997-01-02 03:04:05'::datetime year to day));
SELECT * FROM trtab;
 1264: Extra characters at the end of a datetime or interval.


http://publib.boulder.ibm.com/infocenter/idshelp/v10/index.jsp?topic=/com.ibm.geod.doc/geod55.htm

728x90
728x90

Question

What do you need to know to set up multi-byte or different locale databases in IBM Informix Servers?

Cause

You currently have a typical en_us (US English) database, which is a normal, default style database with no extra intervention needed for the setup. You want to expand your company database into another country and use a multi-byte character set, or a different locale for the database. What is needed for the setup?

Answer

There are several issues to consider when setting up a database with a locale which is non-US. Here is an overview of the considerations, which are discussed below:

  1. An understanding of code-sets and their impact on a database.
  2. An understanding of default vs nondefault locale code-sets.
  3. Unicode vs language code-set usage

Code-sets and their impact

An ASCII code-set is based on 128 printable characters that occupy 7 bits of a single byte representation. Some characters encoded in other languages can not be represented by a single byte value. one example of a multibyte code-set is the Japanese code set known as Kanji. The technical name is SJIS (ja_jp.sjis). It is a multibyte code-set, with characters that are encoded in 2 or 3 bytes. Some code-sets can have up to 4 bytes to represent a printable character. There are several issues to consider in using any code-set:


Default vs nondefault Code-sets

A default code-set is relative to the language base in which is is used. Some languages have the same letter characters as English, but they also have character variations. The character variations cause the result that some code-sets are nondefault.. Some considerations for default and nondefault code-sets:


Code-set installation and setupIBM Informix GLS User's Guide, available here:http://publib.boulder.ibm.com/infocenter/idshelp/v111/index.jsp?topic=/com.ibm.glsug.doc/glsug02.htm
See also:
Esql/c Programmers Guide, available here:
http://publib.boulder.ibm.com/infocenter/idshelp/v117/index.jsp?topic=/com.ibm.esqlc.doc/esqlc.htm


http://www-01.ibm.com/support/docview.wss?uid=swg21449292&myns=swgimgmt&mynp=OCSSGU8G&mync=E

728x90
728x90


Problem(Abstract)

Error -952 returned when using shadow passwords with Informix Dynamic Server versions 7.31 or 9.40 on HP-UX 11i.

Resolving the problem

PROBLEM

Shadow passwords are not supported in either IBM® IDS versions 7.31 or 9.40. This operating system enhancement is not available until the release of HP-UX® 11i (11.11), and for purposes of backward compatibility IDS 7.31 and 9.40 are ported to earlier releases of HP-UX 11. 


SCOPE

The following products and operating systems are affected:

Product Name​
Product Version(s)​
Hardware Vendor​
Operating System​
IBM® Informix® Dynamic Server™ ​
7.31.​x​C1 and later versions​
9.40.​x​C1 and later versions​
Hewlett-Packard​
HP-UX® 11i​
x can be U, H, or F depending on your operating system.


WORKAROUND



CAUSE

This is expected behavior and not a product defect.


http://www-01.ibm.com/support/docview.wss?uid=swg21250766

728x90
728x90

Problem(Abstract)

Client applications using the TCP/IP protocol to connect to Informix experience poor performance during connection. once the connection has been established the performance is improved.

Cause

Diagnosing the problem

To isolate the problem to tcp/ip connections try to connect by way of a shared memory connection. If the connection is now completed quickly then the problem outlined above may be the cause of poor connection performance.

Follow this link if you need instructions for setting up shared memory connections:
A shared-memory connection (UNIX)


Resolving the problem


https://www-304.ibm.com/support/docview.wss?uid=swg21250028

728x90
728x90

Question

How to set an optimal physical log size in IDS11.5 versions.

Cause

Transactions are able to continue working during checkpoints. To avoid blocked transactions,the database server must have enough physical log space to contain all of the transaction activity that occurs during checkpoint processing. Checkpoints can be triggered when the physical log is 75 percent full and checkpoint processing must complete before the remaining 25 percent of the physical log is used. Transaction blocking occurs as soon as the system detects a potential for a physical log overflow, because every active transaction could generate physical log activity.


Answer

The optimal size of the physical log depends on two factors:

1.The rate at which transactions generate physical log activity.

[1]Buffer Pool Space less than 4G.
For systems with less that four gigabytes of buffer pool space, the physical log can
be sized at 110 percent of the combined size of all the buffer pools.

[2]For larger buffer pools (Commonly larger than 4G)
Start with four gigabytes of physical log space and then monitor checkpoint activity. If checkpoints occur too frequently and appear to impact performance, increase the physical log size,and look into the Trigger column of the onstat -g ckp output. If the trigger events occur frequently by PLOG, then increase the size of the physical log.

2.Whether or not you set the RTO_SERVER_RESTART configuration parameter.

If RTO_SERVER_RESTART is enabled, the physical log size must be less than all buffer pools to maintain the RTO_SERVER_RESTART policy.


http://www-01.ibm.com/support/docview.wss?uid=swg21443076

728x90
728x90

Problem(Abstract)

This article presents a method of preventing the startup of the scheduler threads during IDS server initialization

Resolving the problem

INTRODUCTION

The Scheduler is a component of IBM Informix® Dynamic Server™ (IDS) that executes tasks defined in the sysadmin database. These tasks are coordinated by the dbScheduler and dbWorker threads within the server. There may be occasions when it is required to prevent the startup of these threads, for example if an assert failure occurs during initialization of the server. This article describes a method to temporarily prevent the startup of the threads used by the Scheduler.


STEPS

  1. As the root or informix user create the empty file $INFORMIXDIR/etc/sysadmin/stop. one way to do this is to use the Unix command touch.
  2. Stop and restart IDS.
  3. During initialization the following message will appear in the message log:
    SCHAPI: "INFORMIXDIR/etc/sysadmin/stop" file is present.
    Bypassing dbScheduler and dbWorker threads startup.

Important: If the reason for preventing the startup of the Scheduler threads was due to an error such as assert failure then that problem may still exist when the Scheduler is restarted. This document describes a temporary workaround and not a solution to this type of problem and you should search for other documents that refer to this topic for a solution.



http://www-01.ibm.com/support/docview.wss?uid=swg21260058

728x90

+ Recent posts