OpenMQ on iSeries
Hi,
I have modified some of the scripts in mq/bin of the Linux installation to get OpenMQ running on the iSeries.
Is it legal for me to distribute those to our customers? (i.e. zip the openmq/ dir with all modified scripts and distribute that zipfile)
Thanks,
Brecht
Below are the only two changes.
Basically its:
- changed the java path in the config file
- removed some jvmarguments not supported by IBM iSeries Java
The diff is kinda the wrong way around, but it gives an idea...
diff -crB ./etc/mq/imqenv.conf /home/brecht/MessageQueue/etc/mq/imqenv.conf
*** ./etc/mq/imqenv.conf 2009-04-06 13:52:18.000000000 +0200
--- /home/brecht/MessageQueue/etc/mq/imqenv.conf 2009-04-06 13:42:36.000000000 +0200
*** 57,60 ****
# and PostgreSQL using their default installed locations.
IMQ_DEFAULT_EXT_JARS=/opt/SUNWhadb/4/lib/hadbjdbc4.jar:/opt/SUNWjavadb/derby.jar:/usr/share/java/postgresql.jar
! IMQ_DEFAULT_JAVAHOME=/qibm/ProdData/Java400/jdk15
--- 57,60 ----
# and PostgreSQL using their default installed locations.
IMQ_DEFAULT_EXT_JARS=/opt/SUNWhadb/4/lib/hadbjdbc4.jar:/opt/SUNWjavadb/derby.jar:/usr/share/java/postgresql.jar
! IMQ_DEFAULT_JAVAHOME=/usr/lib/jvm/java-6-openjdk
diff -crB ./mq/bin/imqbrokerd /home/brecht/MessageQueue/mq/bin/imqbrokerd
*** ./mq/bin/imqbrokerd 2009-04-17 13:45:24.000000000 +0200
--- /home/brecht/MessageQueue/mq/bin/imqbrokerd 2008-11-06 00:32:43.000000000 +0100
*** 79,85 ****
fi
# Specify default arguments to the JVM here
! defjvm_args="-Xms192m -Xmx512m"
_command=$0
--- 79,85 ----
fi
# Specify default arguments to the JVM here
! defjvm_args="-Xms192m -Xmx192m -Xss128k -XX:MaxGCPauseMillis=5000"
_command=$0
Similar Messages
-
RFC Connection From SAP to Iseries server
Hi,
I wish you can help me wtih this issue.
We are running ECC 6.0 on iseries v5r3m0.
We are trying to connect to an other non-SAP V5r1M0 system. We are using OSS note 146624 for this purpose.
Our first problem is that we cannot copy pgm files to a V5R1 system from V5R3 system. This can be solved with manual extraction kernel.
However our problem is that we are getting an "SQL Error 0" short dump when we start abap report. What ever the entry in DBCON table is we get this short dump.
Did anyone configured RFC connection to a non-SAP Iseries system? What methos should we use?
Best RegardsHello Volker,
it is some time ago, you posted the original message here. I have a follow on question and I hope you can help.
Apart from the redbook I can't find any documentation about rfc with iseries and that gives some examples but no real explanation about what you are supost to do
I followed the rfc example "ILE RPG evoked from ABAP" and I can get it to work, as long as I ask for only one parameter from the ABAP.
Do you know how to get multiple parameters from ABAP? Just repeating the RfcGetData with different parameters doesn't work. The ABAP will cancel with "no data to receive" on the second parameter.
Also do you know how to create a rfc-trace for these requests?
Best Regards.
Richard la Croix -
Oracle 11g and iSeries ODBC 32/64bit version???
Hi folks,
I've some questions....
I need setup a new server with Oracle db 11g and from this db i need setup a DBLINK to an IBM iSeries (AS/400) server. I've some doubts about the 32/64 bit version to use.
My idea is:
Oracle Linux 64bit
Oracle Database 11g 64bit
Oracle Gateway 11g 64bit
IBM i Access ODBC driver 64bit ( maybe 7.1 version?!?!?!)
Do you think I'll be able to achieve my goal with this configuration?
Else where can you suggest me a valid and wonrking configuration?
Thank you very much!!!!
bye byeEmilio,
That combination of products should work, as long as the ODBC driver is 64-bit and satisfies the ODBC driver criteria listed in the documentation.
If you have access to My Oracle Support have a look at this note -
Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX)
Regards,
Mike -
How do you send by secure ftp from SAP R/3 4.6C on iseries
We have been using the SAP Standard program, RSFTP002, to ftp files to remote servers for many years. We have now had a requirement to send via secure ftp. We are using R/3 4.6C. Unfortunatley this is not a straight forward change and it seems we may need to install some client software to enable this.
I have searched for any SAP notes and in several user groups but have not been too sucessful.
Has anyone ever set this up before? What client software did you use?
Any pointers / advice on this would be much appreciated.
Many thanks,
StevenFurther to my initial post, I have now discovered that there are additional options on the ftp command on iseries, so I am hoping if I can perform this manaully, then a CL called from SAP would allow me to resolve this challenge.
I am trying to use the command below but this will use the port 990.
FTP RMTSYS(INTNETADR) INTNETADR('*.*.*.*') PORT(SECURE) SECCNN(*SSL)
The vendor is requesting that we use port 443 for secure ftp with SSL and even specifying this in the command as below still does not work. It seems to me there may be an issue at the receiving end. Port 443 is normally used for https so not sure whether specifying this port could cause issues. The resultant error is below.
FTP RMTSYS(INTNETADR) INTNETADR('*.*.*.*') PORT(443) SECCNN(SSL)
Connecting to remote host 62.39.53.181 using port 443.
No response from remote host; all connections closed.
Any other comments would be welcomed.
Many thanks,
Steven -
SAP different versions in iSeries server
Hi SAP experts,
We have a current SAP 4.7 installation in an iSeries server in PROD and in DEV machine. Is it possible to implement a new version like ECC6 using the same iSeries machine? Will the 2 installation for 2 different SAP version (4.7 and ECC6) possible in 1 iSeries DB server? If possible what do you think would be the impact to license and other aspects?
Hoping for your replies.
Thanks,
JohnHi John,
Yes, of course you can install multiple systems on one DB server. Licensing for the SAP systems should be independent of the host you are running on.
Although you are already aware of it and posted your question there, I want to point out for all others that there is a dedicated forum for this platform: [SAP on IBM i|SAP on IBM i]
Regards,
Thomas -
Data flow fails on packed decimal field moving iSeries DB2 data from one iSeries DB to another
I' trying to use SSIS to move table content from one iSeries DB2 database to another. I'm using the .Net providers for OleDb\IBM DB2 for i5/OS IBMDA400 OLE DB Provider in the connection managers for the source and destination and the test connection
works fine. When I try to run the data flow task however it fails on the first packed decimal field it encounters with the exceptions ...
[select from hydro520 hydroweb2 blpmstr [16]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "component "select from hydro520 hydroweb2 blpmstr" (16)" failed because error code 0x80004002 occurred, and the error
row disposition on "output column "MSPRIB" (55)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.
[select from hydro520 hydroweb2 blpmstr [16]] Error: The component "select from hydro520 hydroweb2 blpmstr" (16) was unable to process the data. Pipeline component has returned HRESULT error code 0xC0209029 from a method call.
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "select from hydro520 hydroweb2 blpmstr" (16) returned error code 0xC02090F5. The component returned a failure code when the pipeline
engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.
...in the progress tab. Can someone kindly tell me what I need to do to get the connection manager to work with DB2 packed decimal fields? Or is it a different issue all together? Thanks tonnes for any help, RoscoeHi rpfinn,
From the Data Types mapping rules between SSIS and DB2, we can see that both the NUMERIC and DECIMAL data types in DB2 are mapped to DT_NUMBERIC data type in SSIS. Now that the source data in your DB2 database is NUMERIC data type, changing the DT_NUMBRIC
data type to DT_DECIMAL is invalid. Besides, if we check the data types of the target External column and Output column from the Advanced Editor for ADO NET Source adapter, the data type should be defined as DT_NUMERIC with Precision as 9 and Scale as 2. I
am not clear where you see the DT_NUMBERIC(9,0) e.g. DT_NUMERIC with Precision as 9 and Scale as 0, but it may be the cause of the issue. You need to make sure the DT_NUMERIC data type also has Scale 2 instead of 0.
If you don’t know how to modify the data type, please elaborate the Data Flow Task of the package so that we can make further analysis. Besides, the error messages you posted are incomplete, it will be helpful if you post the complete error message.
Regards,
Mike Yin
If you have any feedback on our support, please click
here
Mike Yin
TechNet Community Support -
How to Configure the Communication among Multiple OpenMQ Servers
Hi,
My application is distributed across multiple machines available in the LAN.
Components running on one machine can only communicate to OpenMQ server running on same machine.
I want to run OpenMQ server on all the machines where components of my application is running.
I also want a way of communication between all OpenMQ servers so that OpenMQ server exchange messages among them to transfer message to destination component running on any of the machines in the LAN.
How can i configure two OpenMQ servers to communicate each other?
please help with sample configuration or example.
Thanks & regards,
Pawan ModiHi Pawan,
It sounds like you are asking how to configure a cluster of Open Message Queue brokers.
There's a general explanation of broker clusters at
[http://docs.sun.com/app/docs/doc/820-6424/aerdj?a=view|http://docs.sun.com/app/docs/doc/820-6424/aerdj?a=view]
Details of how to configure them are given at
[http://docs.sun.com/app/docs/doc/820-6740/aeohv?a=view|http://docs.sun.com/app/docs/doc/820-6740/aeohv?a=view]
Nigel -
How can I convert SQL Server 2008 Timestamp to DB2/iSeries Timestamp?
In DB2/iSeries I have a column that accepts Timestamp value. When I try to insert a timestamp value from the SQL 2008 table and into DB2/iSeries table I recieve the following error message:
OLE DB provider "IBMDA400" for linked server "XXX" returned message "SQL0180: Syntax of date, time, or timestamp value not valid.
Cause . . . . . : The string representation of a date, time, or timestamp value does not conform to the syntax for the specified or implied data type and format. *N is either the character string constant that is not valid or the column or host
variable that contained the string. If the name is *N, then the value is an expression specified in the statement. If the string was found in a host variable, the host variable number is 1. Recovery . . . : Ensure that the date, time, or
timestamp value conforms to the syntax for the data type it represents. Try the request again.".
Msg 7343, Level 16, State 2, Line 1
The OLE DB provider "IBMDA400" for linked server "XXX" could not INSERT INTO table "[IBMDA400]".
The SQL timestamp column contains the result in the following format:
2014-04-24 07:39:09.000
And my insert TSQL command is:
INSERT INTO OPENQUERY(XXX, 'Select "TimeOfDeal" from ABCD.TICKETS')
SELECT TimeOfDeal
FROM dbo.Tickets
WHERE DealId = 'ABC123'
I appreciate any help on this issue.You are right it is a datetime data type in MS SQL, and a Timestamp in DB2.
I cast it to datetime2 and it worked.
Interesting. I would guess that somewhere under the covers, the date value gets converted to a string, and the different default string formats for datetime and datetime2 is illustrated with this statement:
SELECT convert(varchar, getdate()), convert(varchar, sysdatetime())
When I ran it, I got these values:
Feb 23 2015 12:31PM 2015-02-23 12:31:18.3708899
Now, why there is a conversion to string in the first place, I'm afraid I don't have any good answer to.
Erland Sommarskog, SQL Server MVP, [email protected] -
Error when creating a linked server to IBM iSeries AS/400
I am migrating databases from SQL Standard 2005 (32 bit) to SQL Standard
2012 (64 bit) and getting errors when I create the needed Linked Servers to our IBM as/400. I scripted the as400 linked server from the 2005 server and created it on the 2012 server:
EXEC master.dbo.sp_addlinkedserver @server = N'AS400', @srvproduct=N'DB2 UDB for iSeries', @provider=N'MSDASQL', @datasrc=N'AS400'
EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'AS400',@useself=N'False',@locallogin=NULL,@rmtuser=N'USER_NAME',@rmtpassword='PSSWD'
(plus various sp_serveroptions)
I then verified that the MSDASQL Provider "Allow Inprocess" was checked and the Linked Server is listed as using the provider but when I try to view the objects under the "AS400" Linked Server I get an error saying: Cannot initialize the
data source object of OLE DB provider "MSDASQL" for linked server "AS400". (Microsoft SQL Server, Error: 7303)
I was told to download and install OLEDB provider for DB2. I downloaded DB2OLEDBV4 but when I try to install it I try to install it I get a OK Box saying: "Microsoft OLE DB Provider for DB2 requires the Microsoft SQL Server 2008 or later
version. Ensure that this version is fullfilled before installing Microsoft OLE DB Provider for DB2." when I click OK, I get "Setup was interrupted before Microsoft OLE DB Provider for DB2 could be completely installed" and the install
exists. I am installing on SQL 2012!
Can anyone please advise...Hi,
Based on your description, we know that you got an error when you installed the OLEDB provider for DB2. Microsoft OLE DB Provider for DB2 V4.0 is needed If you use SQL Server 2008 R2 or SQL Server 2012 to connect to IBM DB2 databases.When you install the
OLEDB provider for DB2 V4.0, we need to make sure that the system meets the following requirements:
• Windows Server 2008 R2 SP1 or Windows 7 SP1 or Windows Server 2008 SP2.
• Microsoft SQL Server 2012 (Enterprise, Developer or Evaluation Edition) or Microsoft SQL Server 2008 R2 (Datacenter, Enterprise, Developer or Evaluation Edition) is installed.
• Microsoft .NET Framework 4.0.
As your post,it seems that you have installed SQL Server 2012 Standard Edition,this edition is not supported by Microsoft OLEDB Provider for DB2 V4.0. I recommend you to upgrade the standard edition to enterprise edition and reinstall the OLEDB Provider.You
can try this method and if you have any questions,please feel free to revert.
For more detailed information, you can review the following link.http://msdn.microsoft.com/en-us/library/hh873008(v=sql.110).aspx
Thanks
Lydia Zhang -
Error with DG4ODBC while setting up connectivity from oracle to IBM iSeries AS400 version V7R1
Hi,
I have Enterprise linux 64-bit hosting Oracle 11gR2 64-bit (11.2.0.1) database. I have access to IBM iSeries AS400 version V7R1. I am trying to connect to IBM iSeries from Oracle Database through ODBC connectivity using Database Link. The following is what I have done.
On the Database (Linux) host Installed iSeriesAccess-7.1.0-1.0.x86_64.rpm provided by IBM.
my odbcinst.ini has the following entries:
[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/libodbcpsql.so
Setup = /usr/lib/libodbcpsqlS.so
FileUsage = 1
[iSeries Access ODBC Driver]
Description = iSeries Access for Linux ODBC Driver
Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
NOTE1 = If using unixODBC 2.2.11 or later and you want the 32 and 64-bit ODBC drivers to share DSN's,
NOTE2 = the following Driver64/Setup64 keywords will provide that support.
Driver64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
Threading = 2
DontDLClose = 1
UsageCount = 1
[iSeries Access ODBC Driver 64-bit]
Description = iSeries Access for Linux 64-bit ODBC Driver
Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
Threading = 2
DontDLClose = 1
UsageCount = 1
The odbc.ini has the following entries:
[ODBC Data Sources]
dg4odbc = connection to db2
[dg4odbc]
Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Description=iSeries Access for Linux ODBC Driver
LogonID=
Password=
Address= (IBM host IP Address)
location=Vm520
noprompt=true
system= (IBM host IP Address)
UNICODE=UTF-8
Naming = 0
ConnectionType = 0
CommitMode = 2
ExtendedDynamic = 0
AllowDataCompression = 1
LibraryView = 0
AllowUnsupportedChar = 0
ForceTranslation = 0
Trace = 0
made sure I could connect via ODBC and DSN using the following command:
isql dg4odbc oracle oracle1 -v
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL>
SQLRowCount returns -1
600 rows fetched
SQL>
could query the table in a library on AS400.
The $ORACLE_HOME/hs/admin/initdg4odbc.ora has the following entries:
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = dg4odbc
HS_FDS_TRACE_LEVEL = off
HS_FDS_SHAREABLE_NAME=/etc/newlib/libodbc.so
HS_FDS_TRACE_LEVEL = 255
HS_FDS_SUPPORT_STATISTICS=FALSE
# ODBC specific environment variables
set ODBCINI=/etc/odbc.ini
# Environment variables required for the non-Oracle system
The listener entries are as follows:
(SID_DESC =
(SID_NAME = dg4odbc)
(ORACLE_HOME = /opt/oracle/dbs/product/11.2.0/dbhome_1)
(PROGRAM = dg4odbc)
Stopped and started the listener.
The TNS entry is as follows:
armcdb2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = vmw-dev-rmsdb.xxx.vmc)(PORT = 1521))
(CONNECT_DATA =
(SID=dg4odbc)
(HS=OK)
Could tnsping :
oracle@rmsdev[/opt/oracle/dbs/product/11.2.0/dbhome_1/network/admin]$ tnsping armcdb2
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 11-JUL-2013 16:01:23
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/opt/oracle/dbs/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = vmw-dev-rmsdb.xxx.vmc)(PORT = 1521)) (CONNECT_DATA = (SID=dg4odbc)) (HS=OK))
OK (0 msec)
created a public database link as follows:
SQL> create database link samplink connect to "oracle" identified by "oracle1" using 'armcdb2';
Database link created.
When I run a select query I get errors as follows:
SQL> select * from mdiaz.AREMAIL@samplink;
select * from mdiaz.AREMAIL@samplink
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
408
Below is the Trace file of dg4odbc:
Oracle Corporation --- THURSDAY JUL 11 2013 16:06:03.627
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY JUL 11 2013 16:06:03.627
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "dg4odbc"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:dg4odbc
Exiting hgogprd, rc=0
hostmstr: 0: HOA After hoagprd
hostmstr: 0: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=871
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=871
HOCXU_SEM_VER=112000
Entered hgolofn at 2013/07/11-16:06:03
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/etc/newlib/libodbc.so"
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLAllocHandle
symbol_peflctx=0xaab7c2f0
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLBindCol
symbol_peflctx=0xaab7c9d0
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLBindParameter
symbol_peflctx=0xaab7cb6c
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLCancel
symbol_peflctx=0xaab7d416
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDescribeParam
symbol_peflctx=0xaab7f7dc
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDisconnect
symbol_peflctx=0xaab7f978
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLEndTran
symbol_peflctx=0xaab7fe42
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLExecute
symbol_peflctx=0xaab808ac
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLFetch
symbol_peflctx=0xaab80b5c
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLFreeHandle
symbol_peflctx=0xaab816aa
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLFreeStmt
symbol_peflctx=0xaab82144
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetData
symbol_peflctx=0xaab83ad8
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetEnvAttr
symbol_peflctx=0xaab84e42
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetFunctions
symbol_peflctx=0xaab84fce
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLMoreResults
symbol_peflctx=0xaab85a0a
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLNumResultCols
symbol_peflctx=0xaab85fba
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLParamData
symbol_peflctx=0xaab86102
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLPutData
symbol_peflctx=0xaab871fc
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLRowCount
symbol_peflctx=0xaab87364
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetEnvAttr
symbol_peflctx=0xaab89054
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetDescRec
symbol_peflctx=0xaab88e20
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLColAttributeW
symbol_peflctx=0xaab7d6ba
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLColumnsW
symbol_peflctx=0xaab7e264
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLConnectW
symbol_peflctx=0xaab7e6b4
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDescribeColW
symbol_peflctx=0xaab7f39e
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDriverConnectW
symbol_peflctx=0xaab7fa9a
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLExecDirectW
symbol_peflctx=0xaab805e6
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLForeignKeysW
symbol_peflctx=0xaab80de6
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetConnectAttrW
symbol_peflctx=0xaab82714
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDescFieldW
symbol_peflctx=0xaab83c76
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDescRecW
symbol_peflctx=0xaab83fbe
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDiagFieldW
symbol_peflctx=0xaab8448a
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDiagRecW
symbol_peflctx=0xaab84916
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetInfoW
symbol_peflctx=0xaab85136
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetStmtAttrW
symbol_peflctx=0xaab85456
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetTypeInfoW
symbol_peflctx=0xaab8576e
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLPrepareW
symbol_peflctx=0xaab863b0
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLPrimaryKeysW
symbol_peflctx=0xaab8667c
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLProcedureColumnsW
symbol_peflctx=0xaab86a14
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLProceduresW
symbol_peflctx=0xaab86e64
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetConnectAttrW
symbol_peflctx=0xaab874ac
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetStmtAttrW
symbol_peflctx=0xaab896c8
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetDescFieldW
symbol_peflctx=0xaab88b00
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLStatisticsW
symbol_peflctx=0xaab89e64
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLTablesW
symbol_peflctx=0xaab8a668
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Exiting hgolofn, rc=0 at 2013/07/11-16:06:03
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2013/07/11-16:06:03
hostmstr: 0: HOA After hoainit
hostmstr: 0: HOA Before hoalgon
Entered hgolgon at 2013/07/11-16:06:03
reco:0, name:oracle, tflag:0
Entered hgosuec at 2013/07/11-16:06:03
Exiting hgosuec, rc=0 at 2013/07/11-16:06:03
Entered hgopoer at 2013/07/11-16:06:03
hgopoer, line 233: got native error 408 and sqlstate 410; message follows...
408
Exiting hgopoer, rc=0 at 2013/07/11-16:06:03
hgolgon, line 193: calling SQLSetConnectAttr got sqlstate 410
Exiting hgolgon, rc=28500 at 2013/07/11-16:06:03 with error ptr FILE:hgolgon.c LINE:193 FUNCTION:hgolgon() ID:Connection Attribute: TRACE
hostmstr: 0: HOA After hoalgon
RPC Calling nscontrol(0), rc=0
hostmstr: 0: RPC Before Exit Agent
hostmstr: 0: HOA Before hoaexit
Entered hgoexit at 2013/07/11-16:06:03
Exiting hgoexit, rc=0
hostmstr: 0: HOA After hoaexit
hostmstr: 0: RPC After Exit Agent
I have looked up the errors on Oracle forums and could not get any valuable help anywhere.
Can someone kindly help out where I am going wrong?
Thanks,
Ram.Hello kgronau,
Thank You very much for your recommendations. I removed the parameter HS_FDS_TRACE_LEVEL = 255.
I added HS_FDS_FETCH_ROWS=1 and also HS_NLS_NCHAR = UCS2
Tested my sql statement, which yielded the result as follows:
SQL> select * from mdiaz.AREMAIL@samplink;
select * from mdiaz.AREMAIL@samplink
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
㈵″㠵6
SO I thought I would give a try of removing the line HS_NLS_NCHAR = UCS2
and again tested my sql statement and it worked like a charm!!!!
I tested a count(*) and got the results back.
SQL> select count(*) from mdiaz.AREMAIL@samplink;
COUNT(*)
600
I really appreciate your valuable pointers and help.
Thanks once again!!!
Ram. -
Solution Manager 4.0 SR1 on iseries - Error on step CallOfflineCTC
I'm installing a Solution Manager 4.0 SR1 on iseries using SAPinst/TMKSRV from Windows XP client.
In the step Configure UME the installation stopped. As describe in SAP note 927734 I changed the control.xml in the SAPinst directory with the control.xml attached in this note.
So, the installation continue with success.
Then, in the phase 40 of 40 (the LAST!!!!), "Prepare to install minimal configuration", the installation stopped with the following error messages:
<b>sapinst.log</b>
Execution of the command "\usr\sap\S22\DVEBMGS08\j2ee\ctc\LaunchOfflinectc.sh" finished with return code 127. Output:
/usr/sap/S22/DVEBMGS08/j2ee/ctc/LaunchOfflinectc.sh: 001-0014 Comando Z:/QIBM/ProdData/Java400/jdk14/bin/java non trovato.
ERROR 2007-05-11 17:35:21
CJS-00030 Assertion failed: in
function NW_Call_Offline_CTC_ind_ind_ind_ind_SubComponentContainer_callOfflineCTC() {
var nw = NWInstall.getSystem(context.get("sid"));
var ctcDirFs = nw.getCI().getInstanceDir().concat("j2ee", "ctc");
var ctcExeFile = installer.onWindows() ? "LaunchOfflinectc.bat" : "LaunchOfflinectc.sh";
var ctcCall = ctcDirFs.concat(ctcExeFile);
installer.writeTrace("CTC is in" + ctcCall);
ASSERT(arguments.callee, ctcCall.isExisting(), "CTC executable cannot be found in " + ctcCall.toString());
if (installer.onOS400()) {
var ctcCallFile = ctcCall.getNode();
ctcCallFile.saveVersion();
var ctcCallStream = ctcCallFile.getFileStream("READ");
var ctcCallStreamNew = new StringStream();
ctcCallStreamNew.copy(ctcCallStream);
ctcCallStream.close();
ctcCallStream = ctcCallFile.getFileStream("TRUNCATE");
for (var it = ctcCallStreamNew.getIterator(); !it.isDone(); it.next()) {
ctcCallStream.putLine(it.get().replace(/\/bin\/csh/g, "/bin/sh"));
ctcCallStream.close();
ctcCallStreamNew.close();
var pmgt = new ProcessMgt();
var app = pmgt.createChildApplication(ctcCall, []);
var userData = nw.getUsers().getAccountData(NWUsers.roles.SIDAdm);
var user = (new AccountMgt()).getUser(userData.name);
var env = pmgt.getProcessEnvironment();
if (installer.onUnix()) {
env.setUser(user);
env.setWorkingDirectory(ctcDirFs.getNode());
env.setEnvironmentVariable(new Property("JAVA_HOME", nw.getJavaHome().toString()));
installer.writeTrace("For the Offline CTC Call, JAVA_HOME is set to " + env.getEnvironmentVariable("JAVA_HOME"));
app.setEnvironment(env);
var retval = app.run([], true);
ASSERT(arguments.callee, retval == 0, "CTC retval is not 0 but " + retval);
installer.writeTrace("CTC has been called in Offline Mode.");
CTC retval is not 0 but 127
ERROR 2007-05-11 17:35:21
MUT-03025 Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
ERROR 2007-05-11 17:35:21
FCO-00011 The step callOfflineCTC with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Call_Offline_CTC|ind|ind|ind|ind|7|0|callOfflineCTC was executed with status ERROR .
<b>LaunchOfflinectc.sh.log</b>
/usr/sap/S22/DVEBMGS08/j2ee/ctc/LaunchOfflinectc.sh: 001-0014 Command Z:/QIBM/ProdData/Java400/jdk14/bin/java not found.
"Z:" is the drive letter in the client Microsoft XP that mapped the root on the iseries.
The JAVA_HOME enviroment in the client Microsoft XP where I run the SAPINST is "C:\Programmi\Java\j2re1.4.2_03"
Can you please help me to solve the problem??
Thanks in advanced.
MorenoThe following Note is verey usfull to solve this issue.
Note:1094628
https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1094628&nlang=EN&smpsrv=https%3a%2f%2fwebsmp210%2esap-ag%2ede
Best Regard -
File Adapter to iSeries IFS "Configured source directory does not exist"
Good day, All
We are using PI 7.1
I need the PI file adapter to pull a file off of an iSeries(AS400) IFS folder directory.
I'm able to configure the file adapter to pull off files from the PI server C and D drives.
I'm able to configure the file adapter to pull off files from other network drives.
But the iSeries IFS folder keeps coming back "does not exist".
I've configured the Source Directory with / and with \ and it doesn't help.
I am able to navigate to the folder while logged into the PI server as the server admin.
I've tried mapping a drive on the server to the IFS folder but that doesn't work either.
Please help!!!
I've wasted too much time trying different settings on this already.
Any assistance would be greatly appreciated.
Thanks,
ChadDear Chad,
Please go through the following SDN link :
- Configured source directory .... does not exist was suppressed
give the write permisson to the directory for everyone group and check if that helps.
Also, kindly go through the following links :
1) http://wiki.sdn.sap.com/wiki/display/XI/TroubleshootingtheFile+Adapter (point 2)
2) Not able to read files from Windows directory to Unix Server using NFS
which might give some hints in solving your issue.
Best Regards
Nishwanth -
JDBC adapter access to iSeries DB files in libraries
Hello,
We try to connect to an AS400 iSeries system via JDBC adapter!!! (not a typical scenario I think!)
The files (so called by IBM but we identify them as tables in our understanding ) are stored in libraries.
The question is how to add this library (like a path?) into JDBC adapter and interface description.
Adapter:
JDBC Driver: <driver name>
Conenction: <physical address of iSeries DB>
LogIn data: xxx
Interface description:
MESSAGE
STATEMENT = []
TABLENAME
ACTION = select
TABLE = DBNAME.TABLENAME
The interface description is from another successful implementation on an ORACLE DB.
I think the table definition should contaion the library like
<DBNAME>.<LIBRARY>.<TABLENAME>
separated by dots!
I am not sure. So can anyone correct or agree?
Currently we are not ready for a first try because the driver installation is next week.
But it would help to know what we have to do instead of spending possibly a lot of time for trial and error.
Kind Regards
Dirk
Of course, helpful answers are valued by points!I don't know this mechanism of high availability with 2 IP, but if you really have 2 hostname you should think to a method to switch from a node to the other in easy way, deactivating one and activating the other (for instance with the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/45/0c86aab4d14dece10000000a11466f/frameset.htm">Controlling a Communication Channel Externally</a>)
I suggest you to verify how it will be in production instance: real cluster ? switch over ? virtual IP ?
Regards,
Sandro -
Adobe Print Services in Java Instance on iSeries
Comment by moderator: An english overview of this thread is given in an answer to this posting.
Sehr geehrter Herr Hoelters,
wir möchten gerne GTS on System i fahren. Für fast alle Module aus GTS
braucht man die JAVA Instanz. Das soweit ist wohl kein Problem.
Für die Adobe Printing Services brauchen wir die Java Instanz auch.
Nun gibt es wie unten aus dem Buch zitiert non supported Platforms.
Im Hinweis Hinweis 925741 wird eine Lösung mit einem zusätzlichen
Applikationsserver empfohlen.
Dadurch stellt sich raus, das wir doch einen zusätzlichen Windows
Server für diese ADS benötigen.
In der PAM kann man folgende Informationen finden:
Freigaben Adobe Document Services Datenbank-Plattformen DB2/400...
freigeg.
Datenbankversion Betriebssystemversion Datum Status
DB2/400 V5R3 WINDOWS SERVER 2003/IA32 32BIT 05.12.2005 Freigegeben
DB2/400 V5R4 WINDOWS SERVER 2003/IA32 32BIT 14.02.2006 Freigegeben
Bedeutet das jetzt das ich die ADS nicht ohne Windows Server nutzen
kann ?
mit freundlichen Grüßen
Carsten Schulz
Erstens:
Book: Global Trade Services Using SAP® GTS 7.0
Page 13
Depending on our process, it can be necessary to set up the following
additional instances:
SAP NetWeaver Java Stack
All print forms in SAP GTS are available in Adobe print technology. If
you want to use printing functions the Adobe Document Server (ADS) is
required that is icluded in the delivery of SAP NetWeaver Java Stack.
Printing documents and forms can be necessary in the following areas:
- SAP Customs Management
- SAP Risk Management Preference Processing
- SAP Risk Management Letter of Credit
Zweitens:
Book: SAP NetWeaver 2004s SR1 Java: IBM eServer iSeries
2.4 Running Adobe Document Services on Non-Supported Platforms
Adobe document services (ADS) are currently not supported to run
natively on all platforms supported by
SAP systems based on SAP NetWeaver, in particular on 64-bit platforms.
Procedure
To use ADS in SAP landscapes on non-supported platforms, install an
additional standalone AS Java on a
platform supported by ADS.
For more information, see SAP Note 925741.
Drittens:
Hinweis 925741 - Adobe Doc. Services (ADS) auf nicht unterstützt.
Plattformen
Hinweis zu IBM iSeries
Zusätzlich zu der beschriebenen Lösung können Sie einen zusätzlichen
Microsoft-Windows-Applikationsserver für die ADS im Java-Stack
einsetzen, wenn Ihre Umgebung auf einem IBM-iSeries-Server installiert
ist.
Message was edited by:
Carsten Schulz
Message was edited by:
Carsten SchulzHello.
This question and its answer might be interesting for the non german speaking members of this community, too. So I made a short translation of the discussion. Not in every detail but it should be sufficient to get the idea. If you have any further questions don't hesitate to ask here. For future discussions I would like to encourage all of you to use english as the forum language. The members of this community are distributed all over the world and using english is the only way to get feedback from most of them.
Now to the question:
Mr Schulz is interested in using GTS on a system i. To use the Adobe Printing Services support in GTS it is necessary to set up a Adobe Document Server (ADS). At the moment ADS does not run natively on system i. The PAM states that ADS runs on DB2/400 using a windows server. SAP Note 925741 suggests to run an additional application server. The question is now if there is no way to run a ADS on a system i without a windows server.
The answer given by Mr Hölters can be outlined as follows:
In fact ADS is not supported under i5/OS. To allow usage of ADS without introducing a second database platform to your system landscape there is a solution given in SAP Note 925741. Instead of having a second NetWeaver installation on a different platform you can add an additional dialog instance to your application server running on system i. If this dialog instance is running under Windows you can install ADS there and don't have to use a second database platform.
With kind regards,
Jan Stallkamp -
No Route to Host Exception when trying to connect to OpenMQ?
Hi,
I'm trying to connect to an OpenMQ server running on another machine with code like the following:
com.sun.messaging.ConnectionFactory f = new com.sun.messaging.ConnectionFactory();
String host = "192.168.181.181";
int timeOut = 10 * 1000;
boolean reachable = InetAddress.getByName(host).isReachable(timeOut);
System.out.println("reachable=" + reachable);
f.setProperty(ConnectionConfiguration.imqAddressList, host );
f.setProperty(ConnectionConfiguration.imqAddressListBehavior, "RANDOM");
f.setProperty(ConnectionConfiguration.imqConsumerFlowLimit, "10");
f.setProperty(ConnectionConfiguration.imqReconnectEnabled, "true");
Connection myConnection = f.createConnection();This tells me that the machine is not reachable (via my print) and throws a NoRouteToHostException. My problem is that the machine is reachable. It responds to pings and I can use telnet to see the OpenMQ server is running:
curt@ccox-u1:~$ telnet 192.168.181.181 7676
Trying 192.168.181.181...
Connected to 192.168.181.181.
Escape character is '^]'.
101 DEV_MQ_Cluster 4.2
portmapper tcp PORTMAPPER 7676 [imqvarhome=/var/opt/sun/mq,brokerid=bossnode1,imqhome=/opt/sun/mq,sessionid=8595155628813678592]
cluster_discovery tcp CLUSTER_DISCOVERY 32811
jmxrmi rmi JMX 0 [url=service:jmx:rmi://foo.com/stub/rO0ABXNyAC5qYXZheC5tYW5hZ2VtZW50LnJlbW90ZS5ybWkuUk1JU2VydmVySW1wbF9TdHViAAAAAAAAAAICAAB4cgAaamF2YS5ybWkuc2VydmVyLlJlbW90ZVN0dWLp/tzJi+FlGgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc6AAtVbmljYXN0UmVmMgAADzE5Mi4xNjguMTgxLjE4MQAAgCwTQLe4tsgNM+WcbkQAAAEggVyr4oABAHg=]
admin tcp ADMIN 32814
jms tcp NORMAL 32813
cluster tcp CLUSTER 32815
Connection closed by foreign host.Can anyone tell me why this fails or give me some troubleshooting hints?
Thanks,
Curt
PS -- Here's what I'm running:
curt@ccox-u1:~$ java -version
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
curt@ccox-u1:~$ cat /proc/version
Linux version 2.6.27-11-generic (buildd@vernadsky) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) ) #1 SMP Wed Apr 1 20:57:48 UTC 2009There are two problems here. The first is a firewall problem. Although the Open MQ port mapper running on port 7676 wasn't being blocked, the port that mq tcp port was. I was able to solve this by creating an ssh tunnel and specifying a mqtcp connection.
"Table 182 Message Broker Addressing Schemes"
http://docs.sun.com/app/docs/doc/820-4916/6ngbm6hp4?a=view#gbnnt
f.setProperty(ConnectionConfiguration.imqAddressList,"mqtcp://" + host + ":32782/jms");This solution is less than ideal, since the mq tcp port can change. In fact, if you reference the original post, you can see it has already changed on me. I could write code to determine what the port is and create my own tunnel, but that doesn't seem worth the effort just yet.
The second problem is the lack of helpful error message. It's the sort of problem where you can't really blame any one party too much. Open MQ and Java are both just reporting the error message that they are given by the operating system. They should do a bit more than that.
Maybe you are looking for
-
How do I re-install Adobe Photoshop elements 12 to a new computer
I now have windows 8...
-
Third party software updates wont open on leopard
I've recently downloaded two or three third party software updates (Neooffice and VMware fusion examples). After the large downloads disk utility seems to mount a disk image successfully after which you usually get a new page containing a 'upgrade so
-
How to receive the error in the output panel in a textfield
Hello, if you test your movie and when an error occurs the error is going to the output panel. Is it possible to catch these errors en put them in an textfield? My error example in my output is : Error opening URL "file:///C|/DOCUME%7E1/CSM%7E1/LOCAL
-
Adding pictures into an Array?
The following is a BlackJack Program my group and I made. So far, it seems to work and would likely net us a 100% when we hand it in. However, we wish to go that extra mile and add pictures, cards in particular, something that should obviously be in
-
Vmware tools intallation -- linux 4 update 5 was not happening
Hi , I want to install Vmware tools for my machine. I installed VMware and Linux 4 update 5 but was unable to install vmware tools once i installed linux. I couldnt find vmware tools rpm. I just find vmwaretools-8.1.4-227600.tar.gz file. I was not ab