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
Unable to start SampleConsoleServer
February 2, 2015
14:30, EET
Avatar
chrislesslie
Member
Members
Forum Posts: 4
Member Since:
February 2, 2015
sp_UserOfflineSmall Offline

hello, on trying to run the SampleConsoleServer, I get the following log. Is it possible the McAfee is blocking the service? and if so, which protocols / ports do I need to request permissions for please>

* Prosys OPC UA Java SDK v2.0.2-275
* (c) Prosys PMS Ltd.

* Running in EVALUATION mode
* Connections will close after 119 minutes

02/02/2015 13:33:44.135 INFO Issuer certificate loaded from PKI\CA\private\ProsysSampleCA.der
02/02/2015 13:33:44.472 INFO Issuer private key loaded from PKI\CA\private\ProsysSampleCA.pem
02/02/2015 13:33:44.474 INFO Reading application certificate from D:\SoftwareCheckouts\Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-2.0.2-275\PKI\CA\private\SampleConsoleServer.der
02/02/2015 13:33:44.475 INFO Reading private key from keystore D:\SoftwareCheckouts\Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-2.0.2-275\PKI\CA\private\SampleConsoleServer.pem
02/02/2015 13:33:44.479 INFO HTTPS certificate loaded from PKI\CA\private\SampleConsoleServer_https.der
02/02/2015 13:33:44.481 INFO HTTPS private key loaded from PKI\CA\private\SampleConsoleServer_https.pem
02/02/2015 13:33:44.547 INFO Loading model from jar:file:/D:/SoftwareCheckouts/Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-2.0.2-275/lib/Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-2.0.2-275.jar!/com/prosysopc/ua/server/Opc.Ua.NodeSet2.xml
02/02/2015 13:33:46.265 INFO Using an alternate endpoint URL ‘opc.tcp://UK-NAI-9M35YY1.logon.ds.ge.com:4840’ instead of the requested ‘opc.tcp://localhost:4840’
02/02/2015 13:33:47.606 WARN Could not register server (offline) to Discovery Server at opc.tcp://localhost:4840 Cause: Failed to create secure channel to server: : opc.tcp://UK-NAI-9M35YY1.logon.ds.ge.com:4840 [http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15,SignAndEncrypt]
02/02/2015 13:33:47.748 INFO Compliance address space created.
02/02/2015 13:33:47.766 INFO Address space created.
02/02/2015 13:33:47.866 INFO Server endpoint: https://UK-NAI-9M35YY1.logon.ds.ge.com:52443/OPCUA/SampleConsoleServer [[http://opcfoundation.org/UA/SecurityPolicy#None,None]]
02/02/2015 13:34:12.194 WARN 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
UaServer closed.

February 2, 2015
14:49, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

This looks pretty odd, since there is nothing in the log that explains why the server has closed immediately after starting up. The discovery server registration is optional, anyway.

You could try to log with the debug level and send that to uajava-support #at# prosysopc.com for inspection. The logging level is changed in the log.properties file in the source directory of the application (samples/com/prosysopc/ua/samples).

February 2, 2015
15:54, EET
Avatar
chrislesslie
Member
Members
Forum Posts: 4
Member Since:
February 2, 2015
sp_UserOfflineSmall Offline

I removed IP addresses which were on a second network card and the software seems to run now.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
25 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: 6451

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