-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel Bornkessel wrote:
> On Monday 04 June 2007 16:14:43 George Stoianov wrote:
>> Hi,
>>
>> If Tomcat is actually running then it is set. I run tomcat on SuSE
>> 10.0 and 10.1. The environment is set for user tomcat. If you want to
>> setup something else it might be best to get a copy of tomcat from
>> apache and set up everything the way you like it.
>> HTH
>>
>> On 6/2/07, G T Smith <[EMAIL PROTECTED]> wrote:
> All,
> 
> Having finally got tomcat operational I have found that although the
> Tomcat script is supposed to be exporting CATALINA_HOME, etc, etc These
> variables seem not be set when working from the CLI. In fact, the java
> environment seems to be that defined by /etc/profiles.d/alljava.sh.
> 
> Funambol requires J2EE_HOME to be set (at least for installation
> purposes) and to my mind it would be useful to use CATALINA_HOME to set
> this, Has anyone else installed tomcat, and are they experiencing a
> similar issue with 10.2.
> 
>> Hi.
>> Which SUSE version are you using?
>> If it's >= 9.3, try to use the tomcat from SUSE 10.2 (there should not be a 
>> problem) -- the runtime script is much better. The following variables 
>> should 
>> be accepted and recognized:
> 
>> CATALINA_HOME 
>> CATALINA_BASE 
>> CATALINA_OPTS 
>> CATALINA_TMPDIR 
>> JAVA_HOME 
>> JAVA_OPTS 
>> JPDA_TRANSPORT 
>> JPDA_ADDRESS 
>> JSSE_HOME 
>> CATALINA_PID 
>> TOMCAT_BASE_USER 
>> TOMCAT_BASE_GROUP
> 
>> you need to set them in 
>> /etc/sysconfig/j2ee
> 
>> Best,
>> Daniel
> 
> 
> 

This is 10.2 64 bit version...

The problem is this...

I have checked the /etc/init.d/tomcat5 script and in principle it should
be exporting all of the relevant variables to the environment....

I go to a xterm session... check for CATALINA_HOME, CATALINA_BASE etc
variables using export -p and they not there, JAVA_HOME etc are as
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...

BTW I am exploring funambol at moment and it requires J2EE_HOME to be
set (but thats a different story :-(). This seems to only require this
variable to be set during installation as far as I can see so far.



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

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

iD8DBQFGZEqHasN0sSnLmgIRAmi7AJ4315zGKmvqEE7Y+XDrhjeDj9/qawCfcpHL
I4jmX72XCPOJ51gRiuwTFJc=
=mOaA
-----END PGP SIGNATURE-----
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to