Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tuxedo 9.1 Jolt bulk load .GETKEYS and JOLTI18N=TRUE not working...

Status
Not open for further replies.

PaulTuxProgger

Programmer
Apr 28, 2010
1
GB

I have already searched google and found and eliminated the problems available in the public BEA [now Oracle Forums] that I have found.

The O/S in question is HP-UX. I have both these two operations working independently on the same machine but I cannot find a compatible setup that allows both to co-exist.

Operation 1 - Running a shell script that runs the Tuxedo Java Jolt Repository bulk load utility from the command line to load service definitions into the repository file.

This only works when the environment file (ENVFILE referenced in the ubbconfig) does NOT include the setting
JOLTI18N=TRUE. When this is commented out or not present in the ENVFILE then I can load services. When it IS present the I get a failure that it cannot find the .GETKEYS builtin repository definition that is definitely in the file (checked using grep and JREPSVR -v).

Operation 2 - Running a remote Java program that calls the jolt services loaded by Operation 1. Because these services need to transfer 'non-english' text e.g. greek, cyrillic I need to set JOLTI18N.

As you might have guessed, because of this, the remote java client can only 'find' the service when JOLTI18N=TRUE (I guess because the name of the service is encoded different in the request when this is set). When the above is set in the ENVFILE, then it all works perfectly including the foreign text. However, when it is not set, then I get a tpacall error 6 (TPNOENT) and it all fails.

What I want is some way of setting JOLTI18N=TRUE but also getting the bulk load to work.

As I say, I can comment it out of the ENVFILE, restart the tuxedo domain, load the repository, uncomment it in the ENVFILE and restart the domain to get it all working on the same machine - but I can't do this sort of thing everytime I want to release software versions into the repository.

I have experimented with setting this variable in shell scripts that start the jolt services etc instead of the global ENVFILE referenced in the ubbconfig - but I *think* the key service that needs this variable defined is the JSH service that is started automatically to handle requests (so I can't think of a way to intercept).

I'm sure this must be a common problem in multi-lingual setups - can anyone help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top