The Jemboss client and server use jemboss.properties to determine information. The client uses this file to determine the name and location of the server. The server uses this file to define where EMBOSS is installed. If you used the install-jemboss-server.sh script then this should have been automatically generated ($EMBOSS_ROOT/share/EMBOSS/jemboss/resource/jemboss.properties). This is an example:
user.auth=true
jemboss.server=true
server.public=https://localhost:8443/axis/services
server.private=https://localhost:8443/axis/services
service.public=JembossAuthServer
service.private=JembossAuthServer
plplot=/usr/local/emboss/share/EMBOSS/
embossData=/usr/local/emboss/share/EMBOSS/data/
embossBin=/usr/local/emboss/bin/
embossPath=/usr/bin/:/bin:/packages/clustal/:/packages/primer3/bin:
acdDirToParse=/usr/local/emboss/share/EMBOSS/acd/
embossURL=http://emboss.sourceforge.net/apps/
The first line (user.auth=true) indicates that the server is expecting
the user to login.
The second line (jemboss.server=true) indicates you are using the Java
JembossServer methods.
Change 'localhost' in the above server names to your ip address.
The next lines (service.public and service.private) must be exactly
the same as the ID name used to deploy the services.
Also, make sure the above have the correct paths to EMBOSS (and ensure you end the path name with a forward slash '/'!).
The jemboss.properties file, in the case of the server, should be read from the $EMBOSS_ROOT/share/EMBOSS/jemboss/resource directory in the distribution. The client will read the properies file from the classpath (so this can be set as a default in the distribution of the client) or from the users home directory. For example, the client downloaded from the HGMP Jemboss launch site sets the defaults to the HGMP server. However, this can be overridden by putting an alternative jemboss.properties for it to read in the user's home directory.
jemboss.properties used by the client
user.auth=false
jemboss.server=true
server.public=http://localhost:8080/axis/services
server.private=http://localhost:8080/axis/services
service.public=JembossAuthServer
service.private=JembossAuthServer
embossURL=http://emboss.sourceforge.net/apps/
jemboss.properties used by the server
user.auth=false
plplot=/usr/local/emboss/share/EMBOSS/
embossData=/usr/local/emboss/share/EMBOSS/data/
embossBin=/usr/local/emboss/bin/
embossPath=/usr/bin/:/bin:/packages/clustal/:/packages/primer3/bin:
acdDirToParse=/usr/local/emboss/share/EMBOSS/acd/
user.auth=false |
jemboss.server=true |
server.public |
server.private |
service.public |
service.private |
plplot |
embossData |
embossBin |
embossPath |
acdDirToParse |
embossURL |
embossURL=
It will then not use a URL but get the Jemboss server to run 'tfm' to retrieve the help.
embossEnvironment |