That’s great Sebastien. Thank you for the update.

Juan.

From: Sébastien Bahloul 
<[email protected]<mailto:[email protected]>>
Date: Thursday, 27 November 2014 14:20
To: Juan Godino <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [lsc-users] using JDK 8

Hi Juan,

I'll propose to patch the LSC 2.1 version and we are trying to release a 
version shortly (this week or next week)

Sebastien

2014-11-26 9:42 GMT+01:00 Juan Godino 
<[email protected]<mailto:[email protected]>>:
Ok, thank you.

Will this be fixed in the next release of LSC and when is the next release?

Juan.

From: Sébastien Bahloul 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, 26 November 2014 00:12
To: Juan Godino <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [lsc-users] using JDK 8

Hi Juan,

The big is identified : If you need a fix, please consider updating the 
following line in JScriptEvaluator.java : (it is linked to Java 8 Oracle 
Nashorn JS engine which is not the Mozilla Rhino engine anymore)

String expressionImport =
"var version = java.lang.System.getProperty(\"java.version\");\n" +
"if (version.startsWith(\"1.8.0\")) { load(\"nashorn:mozilla_compat.js\"); }\n" 
+
"importPackage(org.lsc.utils.directory);\n" +
"importPackage(org.lsc.utils);\n" + expression;

Regards,

Sebastien BAHLOUL
IAM / Security specialist
Ldap Synchronization Connector : http://lsc-project.org
Blog : http://sbahloul.wordpress.com/

2014-11-25 19:19 GMT+01:00 Juan Godino 
<[email protected]<mailto:[email protected]>>:
Hi,

We’re in the process of upgrade our project from JDK 7 using java.version 1.6 
profile to compile to JDK 8 using java.version 1.7 profile to compile.
When I run our sync process I’m getting the following error many times:

[initial-user-47] ERROR org.lsc.utils.JScriptEvaluator - Fail to compute 
expression: srcBean.getMainIdentifier() on 
id=CN=sysadmin,CN=Users,DC=eo,DC=local
Reason: javax.script.ScriptException: ReferenceError: "importPackage" is not 
defined in <eval> at line number 1
[initial-user-47] ERROR org.lsc.AbstractSynchronize - Error while synchronizing 
ID {samaccountname=sysadmin}: org.lsc.exception.LscServiceException: 
javax.script.ScriptException: ReferenceError: "importPackage" is not defined in 
<eval> at line number 1
[RMI TCP Connection(2)-127.0.0.1] ERROR org.lsc.AbstractSynchronize - All 
entries: 1, to modify entries: 0, successfully modified entries: 0, errors: 1

We don’t get this error in our JDK 7 environment.

Any help to resolve this will be very much appreciated.

Carlos.



________________________________


_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]<mailto:[email protected]>
http://lists.lsc-project.org/listinfo/lsc-users



________________________________



________________________________

_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to