Rickard �berg writes:
 > Hi!
 > 
 > Tim White wrote:
 > >  For run.sh, could we do the same thing for jBoss as was done for Tomcat
 > > & SpyderMQ, that is look for an already defined JBOSS_HOME, and if
 > > found, use it as the base for things that reference ../ and if not, set
 > > JBOSS_HOME to ../ ?
 > > 
 > >  This would enable run.sh to be run from anywhere if JBOSS_HOME was set,
 > > would it not?
 > 
 > Why can't it be run from anywhere now? Is there some place in the code
 > that depends on the startup directory?

from the bin dir:

17:58:01 tcook@dilbert /usr/local/tcook/jboss-cvs-26102000/bin > ./run.sh
Adding jar files in /usr/local/tcook/jakarta-tomcat-3.2b6/lib to CLASSPATH
:run.jar:/usr/local/tcook/jakarta-tomcat-3.2b6/lib:/usr/local/tcook/jakarta-tomcat-3.2b6/lib/servlet.jar:/usr/local/tcook/jakarta-tomcat-3.2b6/lib/webserver.jar:/usr/local/tcook/jakarta-tomcat-3.2b6/lib/xml.jar:/usr/local/tcook/jakarta-tomcat-3.2b6/lib/jaxp.jar:/usr/local/tcook/jakarta-tomcat-3.2b6/lib/parser.jar:/usr/local/tcook/jakarta-tomcat-3.2b6/lib/jasper.jar:/app/jdk1.3/lib/tools.jar:../lib/jdbc2_0-stdext.jar:../lib/jboss-jaas.jar
[Console logging] Logging started
[Classpath] Added directory:file:/usr/local/tcook/jboss-cvs-26102000/log/
[File logging] Logging started
....

from not the bin dir:

19:57:13 tcook@dilbert /usr/local/tcook/jboss-cvs-26102000 > bin/run.sh
Adding jar files in /usr/local/tcook/jakarta-tomcat-3.2b6/lib to CLASSPATH
:run.jar:/usr/local/tcook/jakarta-tomcat-3.2b6/lib:/usr/local/tcook/jakarta-tomcat-3.2b6/lib/servlet.jar:/usr/local/tcook/jakarta-tomcat-3.2b6/lib/webserver.jar:/usr/local/tcook/jakarta-tomcat-3.2b6/lib/xml.jar:/usr/local/tcook/jakarta-tomcat-3.2b6/lib/jaxp.jar:/usr/local/tcook/jakarta-tomcat-3.2b6/lib/parser.jar:/usr/local/tcook/jakarta-tomcat-3.2b6/lib/jasper.jar:/app/jdk1.3/lib/tools.jar:../lib/jdbc2_0-stdext.jar:../lib/jboss-jaas.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/Main

It seems to depend on it...

Tom
-- 
Tom Cook - Software Operations

"We rarely find that people have good sense unless they agree
 with us."
                - Francois, Duc de la Rochefoucauld

LISAsoft Pty Ltd - www.lisa.com.au

--------------------------------------------------
38 Greenhill Rd.          Level 3, 228 Pitt Street
Wayville, SA, 5034        Sydney, NSW, 2000

Phone:   +61 8 8272 1555  Phone:   +61 2 9283 0877
Fax:     +61 8 8271 1199  Fax:     +61 2 9283 0866
--------------------------------------------------


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to