7:25, EET
January 2, 2013
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.
=========================================================================================================
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
9:53, EET
December 21, 2011
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:
11:10, EET
December 21, 2011
9:03, EEST
May 23, 2016
10:12, EEST
April 17, 2013
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.
11:33, EEST
May 23, 2016
10:13, EEST
December 21, 2011
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.
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, dalenegettingerModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1