Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
IBM AIX Testing Error
January 16, 2013
7:25, EET
Avatar
hufsicer
New Member
Members
Forum Posts: 2
Member Since:
January 2, 2013
sp_UserOfflineSmall Offline

Hi. Jouni Aro

Thank you for your help last time.

Now, I am installing to the AIX machine.

But, We have some ERROR.

My Issue is connection problem. Laugh

=========================================================================================================
Error Code

ServiceResult=Bad_CommunicationError (0x80050000) “A low level communication error occurred.”
Caused by: org.opcfoundation.ua.common.ServiceResultException: Bad_CommunicationError (code=0x80050000, description=”2147811328, null”)

=========================================================================================================
Server Environment

OS : AIX 6.1 (PowerPC – 64bit)
JDK : java6 32bit/64bit , java7 32bit/64bit

=========================================================================================================
JVM Environment

1. java6 32bit
java version “1.6.0”
Java(TM) SE Runtime Environment (build pap3260sr9fp2-20110627_03(SR9 FP2))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc-32 jvmap3260sr9-20110624_85526 (JIT enabled, AOT enabled)
J9VM – 20110624_085526
JIT – r9_20101028_17488ifx17
GC – 20101027_AA)
JCL – 20110530_01

2. java6 64bit
java version “1.6.0”
Java(TM) SE Runtime Environment (build pap6460sr9fp2-20110627_03(SR9 FP2))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr9-20110624_85526 (JIT enabled, AOT enabled)
J9VM – 20110624_085526
JIT – r9_20101028_17488ifx17
GC – 20101027_AA)
JCL – 20110530_01

3. java7 32bit
java version “1.7.0”
Java(TM) SE Runtime Environment (build pap3270-20110827_01)
IBM J9 VM (build 2.6, JRE 1.7.0 AIX ppc-32 20110810_88604 (JIT enabled, AOT enabled)
J9VM – R26_Java726_GA_20110810_1208_B88592
JIT – r11_20110810_20466
GC – R26_Java726_GA_20110810_1208_B88592
J9CL – 20110810_88604)
JCL – 20110809_01 based on Oracle 7b147

4. java7 64bit
java version “1.7.0”
Java(TM) SE Runtime Environment (build pap6470-20110827_01)
IBM J9 VM (build 2.6, JRE 1.7.0 AIX ppc64-64 20110810_88604 (JIT enabled, AOT enabled)
J9VM – R26_Java726_GA_20110810_1208_B88592
JIT – r11_20110810_20466
GC – R26_Java726_GA_20110810_1208_B88592
J9CL – 20110810_88604)
JCL – 20110809_01 based on Oracle 7b147

=========================================================================================================
TEST

$ SampleConsoleClient.sh
No server URI defined. (Run with /? to see command line usage)
Would you like to use the default server URI
‘opc.tcp://localhost:52520/OPCUA/SampleConsoleServer’?
(Y=Yes, N=No, E=Enter a different URI manually)
Y
Connecting to opc.tcp://localhost:52520/OPCUA/SampleConsoleServer
* Prosys OPC UA Java SDK v1.4.2.5838
* (c) Prosys PMS Ltd.

01/16/2013 13:57:22.501 INFO[main] com.prosysopc.ua.ApplicationIdentity – Reading application certificate from /sgip/sguaserver/opcsample/Prosys-OPC-UA-Java-SDK-Client-Server-Source-1.4.2-5838/samples/PKI/CA/private/SampleConsoleClient.der
01/16/2013 13:57:22.650 INFO [main] com.prosysopc.ua.ApplicationIdentity – Reading private key from keystore /sgip/sguaserver/opcsample/Prosys-OPC-UA-Java-SDK-Client-Server-Source-1.4.2-5838/samples/PKI/CA/private/SampleConsoleClient.pem
Using SecurityMode [http://opcfoundation.org/UA/SecurityPolicy#None,None]
com.prosysopc.ua.client.ConnectException: Failed to retrieve endpoints. The server is not available: opc.tcp://localhost:52520/OPCUA/SampleConsoleServer ServiceResult=Bad_CommunicationError (0x80050000) “A low level communication error occurred.”
Caused by: org.opcfoundation.ua.common.ServiceResultException: Bad_CommunicationError (code=0x80050000, description=”2147811328, null”)

*** NOT connected to: opc.tcp://localhost:52520/OPCUA/SampleConsoleServer
——————————————————-
– Enter x to close client
——————————————————-
– Enter 0 to start discovery –
– Enter 1 to connect to server –
– Enter 2 to disconnect from server –
– Enter 3 to browse the server address space –
– Enter 4 to read values –
– Enter 5 to write values –
– Enter 6 to register nodes –
– Enter 7 to unregister nodes –
– Enter 8 to create a subscription –
– Enter 9 to call a method –
– Enter 10 to read history –
——————————————————-

$ SampleConsoleServer.sh
* Prosys OPC UA Java SDK v1.4.2.5838
* (c) Prosys PMS Ltd.

01/16/2013 13:56:53.404 INFO [main] com.prosysopc.ua.ApplicationIdentity – Reading application certificate from /sgip/sguaserver/opcsample/Prosys-OPC-UA-Java-SDK-Client-Server-Source-1.4.2-5838/samples/PKI/CA/private/SampleConsoleServer.der
01/16/2013 13:56:53.468 INFO [main] com.prosysopc.ua.ApplicationIdentity – Reading private key from keystore /sgip/sguaserver/opcsample/Prosys-OPC-UA-Java-SDK-Client-Server-Source-1.4.2-5838/samples/PKI/CA/private/SampleConsoleServer.pem
01/16/2013 13:56:58.547 WARN [main] com.prosysopc.ua.server.UaServer – Could not register server (offline) to Discovery Server at opc.tcp://localhost:4840 Cause: Failed to retrieve endpoints. The server is not available: opc.tcp://localhost:4840
01/16/2013 13:56:58.663 INFO [main] com.prosysopc.ua.samples.server.SampleConsoleServer – Compliance address space created.
01/16/2013 13:56:58.663 INFO [main] com.prosysopc.ua.samples.server.SampleConsoleServer – Address space created.
01/16/2013 13:56:58.695 INFO [main] com.prosysopc.ua.server.UaServer – Server endpoint bound to opc.tcp://localhost:52520/OPCUA/SampleConsoleServer
01/16/2013 13:56:58.695 INFO [main] com.prosysopc.ua.server.UaServer – Discovery endpoint bound to opc.tcp://localhost:52520
01/16/2013 13:56:58.696 INFO [main] com.prosysopc.ua.server.UaServer – Server endpoint bound to opc.tcp://sgcim:52520/OPCUA/SampleConsoleServer
01/16/2013 13:56:58.697 INFO [main] com.prosysopc.ua.server.UaServer – Discovery endpoint bound to opc.tcp://sgcim:52520
01/16/2013 13:56:58.697 INFO [main] com.prosysopc.ua.server.UaServer – Server endpoint bound to opc.tcp://168.78.82.190:52520/OPCUA/SampleConsoleServer
01/16/2013 13:56:58.698 INFO [main] com.prosysopc.ua.server.UaServer – Discovery endpoint bound to opc.tcp://168.78.82.190:52520
01/16/2013 13:56:58.897 WARN [main] com.prosysopc.ua.server.UaServer – Could not register server (online) to Discovery Server at opc.tcp://localhost:4840 Cause: Failed to retrieve endpoints. The server is not available: opc.tcp://localhost:4840
01/16/2013 13:56:58.899 INFO [main] com.prosysopc.ua.samples.server.SampleConsoleServer – Simulation started.

——————————————————-
– Enter D to enable/disable server diagnostics
– Enter a to add a new node
– Enter d to delete a node
– Enter e to send an event
– Enter x to close the server
activateAlarm: severity=700

January 16, 2013
9:53, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Unfortunately, we have not tested against the IBM JDK so far. It seems that there maybe some incompatibility.

Maybe you could modify the log.properties in the application directory and send the debug log to uajava-support@prosysopc.com for examination.

You can enable logging on file by adding ‘file’ to the rootLogger:

log4j.rootLogger=INFO,console,file
January 24, 2013
11:10, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

This turned out to be a problem with byte endianness. Solved by configuring/updating to the latest IBM JDK (if I got it right).

May 23, 2016
9:03, EEST
Avatar
xiong_hui_hui
New Member
Members
Forum Posts: 2
Member Since:
May 23, 2016
sp_UserOfflineSmall Offline

hello, I am learning the opc,and my client can not connect to server.the error is same as yours.so do you konw why? My English is poor ,so if my words is impolite,you dont mind。please help meLaugh

May 25, 2016
10:12, EEST
Avatar
Heikki Tahvanainen
Member
Members
Forum Posts: 402
Member Since:
April 17, 2013
sp_UserOfflineSmall Offline

Hello,

Are you receiving the “ServiceResult=Bad_CommunicationError (0x80050000) “A low level communication error occurred.”” error?

Could you tell us more about the situation when the error happens? For example, please tell us what client and server applications you are using. This information helps us to understand the situation.

May 29, 2016
11:33, EEST
Avatar
xiong_hui_hui
New Member
Members
Forum Posts: 2
Member Since:
May 23, 2016
sp_UserOfflineSmall Offline

yes.my client use the prosys java sdk. The server client use the open source(open 62541).,which by C language.

May 30, 2016
10:13, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

If you are using IBM Java (as in the case above), please make sure you are using the latest version.

Otherwise, it may be an interoperability issue with the open source server library. If you can post a client side log in DEBUG level it will help to investigate this. Also, you need to investigate this on the server side.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 738

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1524

Posts: 6450

Newest Members:

jonathonmcintyre, fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0

Administrators: admin: 1