tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Trouble running TC8 trunk
Date Wed, 09 Nov 2011 17:14:35 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Konstantin,

On 11/8/11 6:32 PM, Konstantin Kolinko wrote:
> How do you start it?

I use a custom ant target to launch catalina.sh. Here is the command
line that actually gets run:

/usr/bin/java -Dnop -Xmx64M
- -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-
-Djava.endorsed.dirs=/home/cschultz/.../apache-tomcat/trunk/output/build/endorsed
- -classpath
/home/cschultz/.../apache-tomcat/trunk/output/build/bin/bootstrap.jar:/home/cschultz/.../apache-tomcat/trunk/output/build/bin/tomcat-juli.jar
- -Dcatalina.base=/home/cschultz/.../multipart/8275
- -Dcatalina.home=/home/cschultz/.../apache-tomcat/trunk/output/build
- -Djava.io.tmpdir=/home/cschultz/.../multipart/8275/temp
org.apache.catalina.startup.Bootstrap start

> Are you in output/build/bin when you are trying to start it?

No, I'm on the dev root of my project.

> Are CATALINA_HOME and CATALINA_BASE have none or valid values when
> you are running the startup scripts?

See above. CATALINA_HOME env var is not set at all -- I was expecting
catalina.sh to auto-set that value, which it looks like it is doing
correctly. I can confirm that both catalina.base and catalina.home
system properties are being properly set.

> (catalina.sh should print their values when starting).
> 
> Maybe try good old "rm -rf output" instead of Ant clean?

$ rm -rf output
$ ant clean clean-depend download-compile deploy

> Last time I cleanly recompiled it was yesterday (to confirm
> brokenness in the manager webapp - see elsethread), and all was
> fine.

I'll add some debug to the scripts, etc. to see if I can figure it out.

Thanks
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk66tPsACgkQ9CaO5/Lv0PCvdgCgjlntSz8DS5Zqfo3ixA4dUwzU
XoQAnA8qEALuAVkP9ZCDGMiA4Qd57PA7
=lngr
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message