exchange connection

Questions, tips and tricks and techniques for scripting in Servoy

exchange connection

Postby Hans Nieuwenhuis » Fri Nov 15, 2013 8:47 pm

Hi,

I am having an issue with the it2be exchangews plugin.
It works fine with Servoy 5.2.15 , but it does not work with Servoy 7.3.0

Both installations ( 5.2 en 7.3 ) are on the same laptop with the same configuration and accessing the same exchange server.

It looks like somehow Servoy 7.3 is not loading the exchange ssl certificate as You can see in the log files.

Any ideas ??
Attachments
exch73.txt
log from servoy 7.3
(7.63 KiB) Downloaded 95 times
exch52.txt
log from servoy 5.2
(19.69 KiB) Downloaded 97 times
Hans Nieuwenhuis
Betagraphics
http://www.deltics.nl
http://www.betagraphics.nl

Servoy Version 7.3.1
Java version 1.7.0.x
Database Oracle 11g
User avatar
Hans Nieuwenhuis
 
Posts: 1026
Joined: Thu Apr 12, 2007 12:36 pm
Location: Hengelo, The Netherlands

Re: exchange connection

Postby Hans Nieuwenhuis » Sat Nov 16, 2013 11:51 am

I found the problem :

The problems described before occured in Servoy developer.
In Servoy server it worked fine.

In 5.2
=====
In 5.2 the plugin call to gConnection.privateKeystoreLocation = 'c:/keys/keystore2.jks' only did the job in Servoy developer.

In Servoy server I changed the file servoy_server to include : -Djavax.net.ssl.trustStore=C:\keys\keystore2.jks to make it work.
Or edit the wrapper.conf to include :
wrapper.java.additional.4=-Djavax.net.ssl.trustStore="C:\keys\keystore2.jks"

In 7.3
=====

In 7.3 the call does not work in developer either.
So I changed the developer.ini in the developer dir to include : -Djavax.net.ssl.trustStore=C:\keys\keystore2.jks
Now it also works in developer.

Regards,
Hans Nieuwenhuis
Betagraphics
http://www.deltics.nl
http://www.betagraphics.nl

Servoy Version 7.3.1
Java version 1.7.0.x
Database Oracle 11g
User avatar
Hans Nieuwenhuis
 
Posts: 1026
Joined: Thu Apr 12, 2007 12:36 pm
Location: Hengelo, The Netherlands


Return to Methods

Who is online

Users browsing this forum: No registered users and 1 guest