On 6/4/07, G T Smith <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

George Stoianov wrote:
>> defined in the alljava.sh script.. Running scripts manually should set
>> and export these variables but there is no change to them, the variables
>> settings are being used within the startup script but not being exported
>> to the environment as I would expect... Everything seems to be working
>> but the status of these variables is a bit of puzzle...
>
> Should they be exported only for the tomcat user or all users? Which
> user are you logged in as? Can you switch to the tomcat user and check
> the env there??

... this is one of those moments ... Doh!

I worked out what is happening and my error, the variables are being
passed to the sub processes spawned by the tomcat5 script, however no
changes is being made to the current process environment.

To export them to a current shell I need to add a script to
/etc/profile.d to ensure that the relevant settings can be passed to
things like installation programs that install outside of the tomcat
environment. The script probably needs to be generated by the tomcat5
script so it reflects current settings... which could be fun....


As long as this is not your server but a hack machine it can be fun
:), nevertheless I would advise you to install your own tomcat for
your user and set things up, that way if something goes hay wire you
will not have to dig very deep.
Good luck!




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGZG9ZasN0sSnLmgIRAop1AKDYZeeCkCHqSpET4EmmZ7PDdnO9PwCgyfkK
y/GDsGfHO2FVSwprzeac1ME=
=lTMV
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to