Hello,
I used already the forum search but without the correct result.

Therefore my problem:
I used the Java EA Api to write a Java program for generating/export htmls from a EA Project.
The generation works within the Server, with following structure:
-> PsExec.exe -h -s -i C:\Sparx_EA_HTMLGenerator\HTMLGeneratorUmgebung.bat
HTMLGeneratorUmgebung.bat:
"C:\Program Files (x86)\java-se-8u41-ri\bin\java" -jar "C:\Sparx_EA_HTMLGenerator\HTMLGenerator.jar" "SparxCloud;Connect=Cloud=protocol:http,address:x.xxx.xxx.xxx,port:804;Data Source=sparxdb;DSN=sparxdb;" Model "NameOfPackage" C:\xampp\htdocs\EAModel
This works local at the Server.
Now I would like to execute the HTMLGeneratorUmgebung.bat from outside of the Server, by using this commando:
psexec \\server-name.de -u url\username "C:\Sparx_EA_HTMLGenerator\HTMLGeneratorUmgebung.bat"
and I get the following error
C:\Windows\system32>"C:\Program Files (x86)\java-se-8u41-ri\bin\java" -jar "C:\Sparx_EA_HTMLGenerator\HTMLGenerator.jar" "SparxCloud;Connect=Cloud=protocol:http,address:xx.xxx.xxx.xxx,port:xxx;Data Source=sparxdb;DSN=sparxdb;" Model "NameOfPackage" C:\xampp\htdocs\EAModel
Repository: SparxCloud;Connect=Cloud=protocol:http,address:xx.xxx.xxx.xxx,port:804;Data Source=sparxdb;DSN=sparxdb;
Package: Model
Output: EA-Model
Lade EA-API ...
erfolgreich geladen
Íffne EA-Repository ...
java.lang.Exception: Failed to construct object. Error code: 0x80080005Konnte das Repository nicht laden: Failed to construct object. Error code: 0x80080005
at org.sparx.Repository.comConstructor(Native Method)
at org.sparx.Repository.<init>(Repository.java:199)C:\Sparx_EA_HTMLGenerator\HTMLGeneratorStarterManuel.bat exited on ldbv-m-a4-01.blva.bayern.de with error code 0.
I started this commando from my local pc, for generating the HTMLS.
Would be nice if someone had a similar Problem and could help me.
Best regards
Martin