Running Tomcat on SableVM on Debian unstable
Etienne Gagnon <[email protected]> Sun, 20 Mar 2005 15:54:46 -0500
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
Thanks to the help of Dalibor, I've succeeded to do it by doing as follows:
$ su
$ apt-get install tomcat4 libstruts1.1-java
$ ln -s /usr/share/java/struts-1.1.jar \
/usr/share/tomcat4/common/lib/struts-1.1.jar
$ export JAVA_HOME=/usr/local/lib/sablevm
$ touch $JAVA_HOME/bin/jdb
$ $JAVA_HOME/bin/java \
-Djava.endorsed.dirs=/usr/share/tomcat4/common/endorsed \
-classpath $JAVA_HOME/lib/tools.jar:/usr/share/tomcat4/bin/bootstrap.jar \
-Dcatalina.base=/usr/share/tomcat4 -Dcatalina.home=/usr/share/tomcat4 \
-Djava.io.tmpdir=/usr/share/tomcat4/temp \
org.apache.catalina.startup.Bootstrap start
Then pointing my browser to http://localhost:8180/, I was able to get a
"Directory Listing For /" page.
I've tried running it using the tomcat scripts, but they failed for some
reason. I guess they make too many "Sun JDK"-like assumptions.
Etienne
--
Etienne M. Gagnon, Ph.D. http://www.info2.uqam.ca/~egagnon/
SableVM: http://www.sablevm.org/
SableCC: http://www.sablecc.org/
_______________________________________________
SableVM-user mailing list
[email protected]
http://sablevm.org/lists/control/listinfo/sablevm-user
signature.asc
(application/pgp-signature, 256 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCPeMcjyrJi4rH84gRAl58AJ98Lz0yV0lKRLLf8s3hAk1mEN2DfgCeJRng Hz/ArbCdnPCDqWgQJC0UNKs= =CZSp -----END PGP SIGNATURE-----