middleware:Unicore/extension

From Dgiref
Jump to: navigation, search

JavaGAT

The JavaGAT Unicore adaptor is based on HilA Therefore some HiLA specific configuration is necessary.


The path to this configuration file must be added as a definition while calling the Java VM with the -D flag, e.g.:

java -D/home/dgdt0000/unicore6.xml

Some notes to unicore6.xml:

  • The outcomeDirectory defines the directory where all the results are stored. The default is $HOME/.hila
  • The hila:registryconfig ag defines the security to be used (here d-grid.security), and the default registryURL: https://zam461.zam.kfa-juelich.de:9117/AWARE-GROW/services/Registry?res=default_registry
  • Under the bean name d-grid.security the security issues are defined. The constructor-arg value tag describes where security configuration can be found. This configuration file might look as follows:
unicore.wsrflite.ssl.keystore = /home/dgdt0000/certdir/alicert.jks
unicore.wsrflite.ssl.keypass = ******
unicore.wsrflite.ssl.keyalias = alip12cert

Example of the unicore6.xml configuration:

<?xml version="1.0" encoding="UTF-8"?>
<!-- This is the default unicore6.xml. HiLAFactory will
look for it on the classpath, if all else fails. -->
<!-- Use this file as an example unicore6.xml. -->
<beans xmlns:hila="http://www.unicore.eu/hila-unicore6">
<hila:unicore6grid id="grid" outcomeDirectory="file:${user.home}/.hila/data" config="#config" />
<hila-common:compositeconfig id="config" xmlns:hila-common="http://www.unicore.eu/hila-common">
<constructor-arg>
<list>
<hila:registryconfig
registryURL="https://zam461.zam.kfa-juelich.de:9117/AWARE-GROW/services/Registry?res=default_registry" grid="#grid"
securityProperties="#d-grid.security" />
</list>
</constructor-arg>
</hila-common:compositeconfig>
<bean name="d-grid.security" class="de.fzj.hila.implementation.unicore6.Unicore6SecurityProperties">
<constructor-arg value="/home/dgdt0000/.hila/d-grid.security" />
</bean>
</beans>
Personal tools