| "Unexpected Condition at at wjoiner.cpp: line 8772" when running a PowerCenter session with Joiner transformation | ||
| ||
When running a PowerCenter session with the mapping that has a Joiner Transformation with sorted input using a Sorter transformation, the session fails with the following errors in the session log in different versions of PowerCenter:
PowerCenter 7.1.x:
| ||
| ||
| ||
To resolve this set the DTM buffer block size to AUTO. PowerCenter 7.1.xTo resolve this in versions prior to 8.x increase the DTM buffer size. | ||
| ||
| ||
| ||
| ||
"Allocating Buffer Memory" under "Optimizing Sessions" in the PowerCenter Performance Tuning Guide |
Tuesday, March 11, 2008
FATAL ERROR : Unexpected Condition in file [\ZeusbuilderProduction\view\powrmart\server\dmapper\widget\wjoiner.cpp]
"TM_6795 ERROR: Session or its instance is invalidated and the Integration Service is configured not to run impacted sessions."
| "TM_6795 ERROR: Session or its instance is invalidated and the Integration Service is configured not to run impacted sessions." | |
| |
A PowerCenter session fails to run and the following error is in the workflow log:
| |
| |
| |
To run the session successfully do the following:
| |
| |
To run the session after updates without validating (not recommended) do the following:
|
Monday, March 10, 2008
XML Reader error:Downcasting from UNICODE to ASCII'.
sources are XML Files.When I run the
workflow some sessions are failing and the error mesg in log is
'XML Reader error:Downcasting from UNICODE to ASCII'.This happens
only with some XML files.
solved
Goto Informatica PowerCenter Administration Console (8.1) >> change ascii to unicode
You can configure general properties for the Integration Service. You can override some of these properties at the session level or workflow level. To override these properties, configure the properties for the session or workflow.
To edit the general properties, select the Integration Service in the Navigator, and then click the Properties tab > General Properties > Edit.
Solved
others fix the xml file :
www.architag.com/xray/
you can use this tool to parse your xml.
you have to update your source xml code page to UNICODE.
error importing xml with xsd: xsd too big (more than 500MB)
When creating an xml source using an xsd, I am getting an error
saying that the xsd used is too big. It lets me complete the
import but the source is not valid. When trying to validate, I
get the following error message: "ThisXML definition is too
large. The total length of all columns must not exceed 500
MB""The XML definition is not valid"
Solve
In source analyzr open the source in edit xml mode (in xml editor) then
goto TOOLS.....>OPTIONS....>Override all infinite lengths with value(tik
this option and set the value to 200 or less)
Friday, March 7, 2008
Invalid lookup override
LOOKUP transformation : SQL Override
SELECT DISTINCT TIM_DT_ID FROM L_TIM_DT
WHERE TIM_DT_ID >= '2006-01-01'
Error :
Severity Timestamp Node Thread Message Code Message
WARNING 3/6/2008 18:12:23 node01_quadjt MAPPING DBG_21263 Invalid lookup override
Solved :
while overriding the lookup you must have to give the
alias name as exisiting port name,
SELECT DISTINCT L_TIM_DT.TIM_DT_ID as TIM_DT_ID FROM L_TIM_DT
WHERE L_TIM_DT.TIM_DT_ID >= '2006-01-01'
Monday, February 11, 2008
"PCSF_46007 No gateway connectivity is provided for domain. ERROR: Cannot connect to Integration Service" when running the PowerCenter 8.1
| "PCSF_46007 No gateway connectivity is provided for domain. ERROR: Cannot connect to Integration Service" when running the PowerCenter 8.1 pmcmd connect command | |
| |
When running pmcmd connect command to connect to a domain, the following error is displayed:
The issue is not resolve even when the following command is used to update the Gateway node in the domains.infa file:
| |
| |
| |
To resolve the issue, add the environment variable INFA_DOMAINS_FILE. To add the environment variable, do the following: Windows:
UNIX:In a UNIX C shell environment, type the following:
In a UNIX Bourne shell environment, type the following:
| |
| |
|
Friday, September 14, 2007
[Informatica][Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket
Cause : SQL Server 2000 need service pack 4 and firewall need to switch off
SQL Server JDBC Connection Errors: Error establishing socket, connection refused...
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.For this kind of database connection problem, there are always two distinct issues:
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSConnection.(Unknown Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
SQL server 2005 JDBC Driver:
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed.
java.net.ConnectionException: Connection refused: connect
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerException.connect(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
- The SQL server itself is not running or TCP/IP is disabled. That can be confirmed by run
netstat
and see it is listed there. And then run
telnet localhost 1433
and see it can connect (or whatever port number).
- Even if the server is running, a client program such like jdbc may still fail to connect to it because of a
firewall
For testing, you can turn off the XP firewall. And if you have other firewall running, check the firewall log and see any activities that might be related.
- SQL Server Network Utility
on the server, or from another client utility such as
SQL Query Analyzer
or a command line utility such as
osql
- In SQL Server 2000, start the SQL Server Network Utility (svrnetcn.exe).
- On the General tab, select the instance of Microsoft SQL Server on which to load an installed server network library.
- Make sure that TCP/IP appears in the Enabled Protocols list.
- To find the port number, in the Enabled Protocols list, click TCP/IP, and then click Properties. The Properties dialog box displays the port number.
In a SQL Server 2000 custom installation, if TCP/IP is the only selected protocol and all other protocols are disabled, SQL Server may not initialize and listen on TCP/IP sockets. The Server Network Utility shows that it is listening only on TCP/IP port 1433 even though it is not. To identify if SQL Server is not listening on TCP/IP, check to see if the value for TcpPort in the following registry key is incorrectly set to blank or empty:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\ [Instance Name]\MSSQLServer\SuperSocketNetLib\Tcp\REG_SZ TcpPort=
To work around this problem, follow these steps:
- Start Registry Editor (Regedt32.exe).
- Locate the TcpPort value in the following key in the registry:
Named instance:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\[InstanceName]\MSSQLServer\SuperSocketNetLib\Tcp\TcpPortDefault instance:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
\MSSQLServer\SuperSocketNetLib\TCP\TcpPort - . On the Edit menu, click String. Enter either of the following values:
a. Type the port number you want. -or-
b. Enter a value of 0 to have SQL Server dynamically detect and assign a port the next time SQL Server starts. - Click OK.
- Quit Registry Editor.
SQL Server 2000 Service Pack 4 (SP4):
You are running a version of Microsoft SQL Server 2000 or Microsoft SQL Server 2000 Desktop Engine (also called MSDE) that has known security vulnerabilities when used in conjunction with the Microsoft Windows Server 2003 family. To reduce your computer's vulnerability to certain virus attacks, the TCP/IP and UDP network ports of Microsoft SQL Server 2000, MSDE, or both have been disabled. To enable these ports, you must install SQL Server 2000 Service Pack 3a, or the most recent service pack for Microsoft SQL Server 2000 or MSDE from http://www.microsoft.com/sql/downloads/2000/sp4.mspx.
Monday, August 13, 2007
Oracle : Truncate Table in Procedure
DDL and commands like TRUNCATE are not allowed in Oracle PL/SQL blocks. However, there is a workaround. Native dynamic SQL with the EXECUTE IMMEDIATE command will do the trick. Here is an example:
create procedure MyProcThe SQL is executed as if from a host application. Pretty much anything you can run from a SQL prompt can be run from inside a PL/SQL block this way. Because running dynamic native SQL executes a string containing SQL, PL/SQL suddenly becomes very flexible. Dynamic native SQL in Oracle allows you to combine the benefits of a host language with the benefits of stored procedures. Here's an example of the previous procedure changed to include a parameter for the name of the table name to be truncated:
as
begin
execute immediate 'truncate table MyTable';
end;
create procedure MyProc (pTable in varchar2)
as
begin
execute immediate 'truncate table ' || pTable;
end;