Skip to main content

USYSXSLT - XMLTRANSFORM issue (Uniface version 9.7)

  • June 17, 2021
  • 6 replies
  • 0 views

Hello guys,

XMLTRANSFORM, an operation of component USYSXSLT (Uniface component that provides services for transforming XML streams at runtime using XSLT stylesheets) does not return any status after the transformation is done. It returns an empty value/null instead of a negative one or 0 and the transformation is not done. Have you ever faced that issue? We did an upgrade from Windows Server 2012 to 2019(on the Citrix) but we are not sure if this has caused the issue. Thanks in advance for any help.

Dominik

6 replies

  • Rocketeer
  • June 18, 2021

Hello guys,

XMLTRANSFORM, an operation of component USYSXSLT (Uniface component that provides services for transforming XML streams at runtime using XSLT stylesheets) does not return any status after the transformation is done. It returns an empty value/null instead of a negative one or 0 and the transformation is not done. Have you ever faced that issue? We did an upgrade from Windows Server 2012 to 2019(on the Citrix) but we are not sure if this has caused the issue. Thanks in advance for any help.

Dominik

Hello Dominik,

In case Uniface cannot load the jvm.dll or uxslt.jar (correctly) then the described problem could occur.

In the documentation it says that you should ensure that the path to jvm.dll is declared in the PATHS environment variable (of Windows). For details see:

> Uniface Reference > API Reference > APIs: Uniface Components > USYSXSLT

This is not per-se necessary, since by default Uniface will add the jvm.dll of the JRE that is shipped with the installation to the [USER_3GL] section of the (default) \\common\\usys.asn (that always should be loaded). You just need to make sure that the jvm.dll can actually be found at the specified location (and that the mentioned entry in [USER_3GL] is not commented out or missing).

The file usysxslt.jar should be present in \\common\\bin.

I hope this helps.

Daniel


Hello Dominik,

In case Uniface cannot load the jvm.dll or uxslt.jar (correctly) then the described problem could occur.

In the documentation it says that you should ensure that the path to jvm.dll is declared in the PATHS environment variable (of Windows). For details see:

> Uniface Reference > API Reference > APIs: Uniface Components > USYSXSLT

This is not per-se necessary, since by default Uniface will add the jvm.dll of the JRE that is shipped with the installation to the [USER_3GL] section of the (default) \\common\\usys.asn (that always should be loaded). You just need to make sure that the jvm.dll can actually be found at the specified location (and that the mentioned entry in [USER_3GL] is not commented out or missing).

The file usysxslt.jar should be present in \\common\\bin.

I hope this helps.

Daniel

Hi Daniel,

thank you, I really appreciate your response.

I would like to try all stuff you mentioned but I waiting for the rights.

I will let you know once I have tried.

Dominik


Hello Dominik,

In case Uniface cannot load the jvm.dll or uxslt.jar (correctly) then the described problem could occur.

In the documentation it says that you should ensure that the path to jvm.dll is declared in the PATHS environment variable (of Windows). For details see:

> Uniface Reference > API Reference > APIs: Uniface Components > USYSXSLT

This is not per-se necessary, since by default Uniface will add the jvm.dll of the JRE that is shipped with the installation to the [USER_3GL] section of the (default) \\common\\usys.asn (that always should be loaded). You just need to make sure that the jvm.dll can actually be found at the specified location (and that the mentioned entry in [USER_3GL] is not commented out or missing).

The file usysxslt.jar should be present in \\common\\bin.

I hope this helps.

Daniel

Hello Daniel,

the issue is that the operation XMLtransform is trying to create a temporary file in the folder, where the modification is forbidden. Is it possible to change the location where this temporary file is created?

Dominik 


  • Rocketeer
  • June 23, 2021

Hello Dominik,

In case Uniface cannot load the jvm.dll or uxslt.jar (correctly) then the described problem could occur.

In the documentation it says that you should ensure that the path to jvm.dll is declared in the PATHS environment variable (of Windows). For details see:

> Uniface Reference > API Reference > APIs: Uniface Components > USYSXSLT

This is not per-se necessary, since by default Uniface will add the jvm.dll of the JRE that is shipped with the installation to the [USER_3GL] section of the (default) \\common\\usys.asn (that always should be loaded). You just need to make sure that the jvm.dll can actually be found at the specified location (and that the mentioned entry in [USER_3GL] is not commented out or missing).

The file usysxslt.jar should be present in \\common\\bin.

I hope this helps.

Daniel

Hello Dominik,

The temporary files should be written to the working directory. It seems a bit unusual if the working directory is read-only. There currently, however, is no way to change the location of these temporary files. I'm sorry.

Daniel


Hello Dominik,

In case Uniface cannot load the jvm.dll or uxslt.jar (correctly) then the described problem could occur.

In the documentation it says that you should ensure that the path to jvm.dll is declared in the PATHS environment variable (of Windows). For details see:

> Uniface Reference > API Reference > APIs: Uniface Components > USYSXSLT

This is not per-se necessary, since by default Uniface will add the jvm.dll of the JRE that is shipped with the installation to the [USER_3GL] section of the (default) \\common\\usys.asn (that always should be loaded). You just need to make sure that the jvm.dll can actually be found at the specified location (and that the mentioned entry in [USER_3GL] is not commented out or missing).

The file usysxslt.jar should be present in \\common\\bin.

I hope this helps.

Daniel

Nevermind. Thank you very much, you helped me a lot.

Have a nice day 🙂 


Dominik


  • Rocketeer
  • June 23, 2021

Hello Dominik,

In case Uniface cannot load the jvm.dll or uxslt.jar (correctly) then the described problem could occur.

In the documentation it says that you should ensure that the path to jvm.dll is declared in the PATHS environment variable (of Windows). For details see:

> Uniface Reference > API Reference > APIs: Uniface Components > USYSXSLT

This is not per-se necessary, since by default Uniface will add the jvm.dll of the JRE that is shipped with the installation to the [USER_3GL] section of the (default) \\common\\usys.asn (that always should be loaded). You just need to make sure that the jvm.dll can actually be found at the specified location (and that the mentioned entry in [USER_3GL] is not commented out or missing).

The file usysxslt.jar should be present in \\common\\bin.

I hope this helps.

Daniel

Thanks Dominik. And you are welcome.