Re: [JBoss-user] production config on Mandrake Linux
Hi Edward, Edward Q. Bridges wrote: you might also investigate *BSD. it has very robust threading. Just curious. Which JDK do you use under *BSD I thought there it no 1.3 compliant version. Regards, Sebastian ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] production config on Mandrake Linux
Hi, there is a RedHat startup sample script in the CVS tree (I think it comes with JBoss 3.0 alpha too)... Should work with Mandrake and others cause it doesn't use any RH specific commands. cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co -d init_script jboss/src/bin/jboss_init_redhat.sh Downloads the script into init_script. Regards, Sebastian ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] production config on Mandrake Linux
this is what my isp is using: http://www.freebsd.org/java/dists/13.html the isp is hub.org, and i highly highly recommend them. very responsive, good pricing, and part of money goes to support postgres development. they also provide virtual servers where you basically have your own machine in a virtual environment -- including sudo access, your own webserver, etc. HTH --e-- On Mon, 17 Dec 2001 09:04:10 +0100, Sebastian Hauer wrote: Hi Edward, Edward Q. Bridges wrote: you might also investigate *BSD. it has very robust threading. Just curious. Which JDK do you use under *BSD I thought there it no 1.3 compliant version. Regards, Sebastian argo_tec gmbh ed.q.bridges tel. 089-368179.552 fax 089-368179.79 osterwaldstraße 10 (haus F eingang 21) 80805 münchen /argo_tec gmbh ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] production config on Mandrake Linux
Can anyone refer me to an FAQ or even advise me directly how to set up JBoss to start as a daemon one Mandrake 7.2 ? I've set up all the necessary symbols. I've defined these in both /etc/profile and /root/.bashrc because I'm not really sure what userid will be used, and I've added echo Start JBoss /var/jboss.log $JBOSS_DIST/bin/run.sh /var/jboss.log to the end of rc.local as well as adding echo Starting JBoss to the start of run.sh In /var/jboss.log Start JBoss appears but Starting JBoss does not appear. I realise that this is a Linux config problem rather than a JBoss issue per se, but *surely* everyone wants to deploy JBoss applications - someone must know how to go about this. Peter Wone -- Your mouse has moved. Windows must restart for changes to take effect. [Restart Now] [Throw Errors] ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] production config on Mandrake Linux
I've set up all the necessary symbols. I've defined these in both /etc/profile and /root/.bashrc because I'm not really sure what userid will be used, and I've added It turns out to be a startup sequence thing (surprise surprise). Explicitly defining all my symbols in rc.local immediately before using them sorts it out. This may not be the right way to do it, in which case I look forward to advice. Peter Wone -- May the source be with you. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
AW: [JBoss-user] production config on Mandrake Linux
hi peter, rc.local is perhaps not the best place for starting jboss. there's a description on how to configure jboss for automatic startup under linux in the docs. have a look at: http://www.jboss.org/documentation/HTML/ch11s11.html and also http://www.mail-archive.com/jboss-user@list.working-dogs.com/msg12192.html though perhaps not everything is suitable for you/mandrake. generally you should write a startup script and put it under /sbin/init.d or /etc/rc.d/init.d (i'm not shure for mandrake but the first is the place for suse) and link it to the runlevel you are starting with. /etc/profile and /root/.bashrc because I'm not really sure what userid both files are read for user logins. they do not set variables for the system itself. rc.local can't see these variables. jan -- Jan Heise / Tel: +49-163-4803237 / E-Mail: [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Peter Wone Gesendet: Freitag, 5. Oktober 2001 11:45 An: [EMAIL PROTECTED] Betreff: Re: [JBoss-user] production config on Mandrake Linux I've set up all the necessary symbols. I've defined these in both /etc/profile and /root/.bashrc because I'm not really sure what userid will be used, and I've added It turns out to be a startup sequence thing (surprise surprise). Explicitly defining all my symbols in rc.local immediately before using them sorts it out. This may not be the right way to do it, in which case I look forward to advice. Peter Wone -- May the source be with you. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] production config on Mandrake Linux
Am Freitag, 5. Oktober 2001 11:24 schrieben Sie: Can anyone refer me to an FAQ or even advise me directly how to set up JBoss to start as a daemon one Mandrake 7.2 ? I don't know Mandrake, but on SuSE you could start with /etc/rc.d/skeleton ;) Take the attached script and check the program name (serverprog) and TCP port, then call it from your preferred runlevel. Joachim -- Dipl.-Ing. Joachim Schaaf | Projektleiter | mailto:[EMAIL PROTECTED] cataloom AG | Eupener Str. 148 | 50933 Köln | http://cataloom.com/ Tel: +49 221 4851807 | Fax: +49 221 4851907 | Mobil-Tel: +49 170 7667807 rcjboss
Re: [JBoss-user] production config on Mandrake Linux
there's a description on how to configure jboss for automatic startup under linux in the docs. http://www.jboss.org/documentation/HTML/ch11s11.html Thank you Jan, that was exactly what I needed. Information in that chapter also answers my other question about why there appear to be many copies running - (I quote) | Linux users probably already know that linux does not support real threads. | Under heavy load, JBoss will for example crash | with 200 concurrent users | under linux, whereas it can handle 1000 of them on the same box with | Windows 2000. Of course, if you use Apache or Jetty in front of JBoss to | handle the thread pooling, this will not be a problem. This is a bit of a worry; guess I'll have to look into the terms of the freebie Intel Solaris. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
AW: [JBoss-user] production config on Mandrake Linux
dunno. i think this is a little outdated. i'd like to hear some info from users running jboss 2.4 /3.0 on linux 2.4 kernel and the latest jdk 1.3 version on that - or from someone who tested the ibm thread-libs. there has been some rumor about this issue in the past but i didn't made tests for myself. my first production-deployment with jboss is still in the future and i'm going to have a discrete number of users which i can forecast. (no internet app) and for development i don't think this is a serious matter. jan -- Jan Heise / Tel: +49-163-4803237 / E-Mail: [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Peter Wone [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 5. Oktober 2001 12:32 An: Jan Heise; [EMAIL PROTECTED] Betreff: Re: [JBoss-user] production config on Mandrake Linux | Linux users probably already know that linux does not support real threads. | Under heavy load, JBoss will for example crash | with 200 concurrent users | under linux, whereas it can handle 1000 of them on the same box with | Windows 2000. Of course, if you use Apache or Jetty in front of JBoss to | handle the thread pooling, this will not be a problem. This is a bit of a worry; guess I'll have to look into the terms of the freebie Intel Solaris. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] production config on Mandrake Linux
you might also investigate *BSD. it has very robust threading. regards --e-- On Fri, 5 Oct 2001 20:32:12 +1000, Peter Wone wrote: This is a bit of a worry; guess I'll have to look into the terms of the freebie Intel Solaris. argo_tec gmbh ed.q.bridges tel. 089-368179.552 fax 089-368179.79 osterwaldstraße 10 (haus F eingang 21) 80805 münchen /argo_tec gmbh ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] production config on Mandrake Linux
Okay, so mine isn't as cool as the last attached one, but this one works for me on Red Hat 7.1... (just thought I'd share) -- Joachim Schaaf wrote: Am Freitag, 5. Oktober 2001 11:24 schrieben Sie: Can anyone refer me to an FAQ or even advise me directly how to set up JBoss to start as a daemon one Mandrake 7.2 ? I don't know Mandrake, but on SuSE you could start with /etc/rc.d/skeleton ;) Take the attached script and check the program name (serverprog) and TCP port, then call it from your preferred runlevel. Joachim #!/bin/sh # JBoss start/stop script JAVA_HOME=/usr/java/jdk1.3.1 JBOSS_HOME=/usr/local/jboss JBOSS_USER=david JBOSS_HOST=localhost JBOSS_PORT=8082 JBOSS_LOG=/tmp/jboss.log SU=/bin/su NOHUP=/usr/bin/nohup ECHO=/bin/echo case $1 in start) $SU -c cd $JBOSS_HOME/bin ; $NOHUP ./run_with_catalina.sh 1 $JBOSS_LOG 21 - $JBOSS_USER ;; stop) $JAVA_HOME/bin/java -cp $JBOSS_HOME/lib/ext/jboss.jar org.jboss.Shutdown $JBOSS_HOST $JBOSS_PORT ;; *) $ECHO Usage: $0 {start|stop} exit 1 esac