RE: remote class loading

"Goldsack, Patrick" <[email protected]>
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Andreas,

It looks like the scripts are a little brittle, and should have quotes
around the code base option, as in "-Dorg.smartfrog.codebase=...". We will
fix this for the next release.

However, a possible alternative work around (which I haven't tried) is to
escape the space. Try using \ before it to escape it, as in

export SERVER=oplabox03.cern.ch:3810
export CODEBASE="http://$SERVER/sfSlp.jar\ http://$SERVER/sfPbs.jar"

(Or possibly use \\)

By the way, you might want to look at the ant tasks to do some of this as
well.

Patrick

-----Original Message-----
From: smartfrog-support-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:smartfrog-support-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Andreas
Unterkircher
Sent: 14 April 2004 13:23
To: smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [Smartfrog-support] remote class loading



I'm using SmartFrog.3.01.003.alpha on Linux and I want load multiple 
remote classes. The user manual says that one can use a list of 
space-separated URLs to jar files. Thus I use the following lines in my 
sfDaemon:

export SERVER=oplabox03.cern.ch:3810
export CODEBASE="http://$SERVER/sfSlp.jar http://$SERVER/sfPbs.jar"

But when I type "sfDaemon" I get:

Exception in thread "main" java.lang.NoClassDefFoundError: 
http://oplabox03/cern/ch:3810/sfPbs/jar

Everything works fine if I only use one URL. What is the correct syntax 
for loading multiple jars ? 

Thanks a lot,
Andreas

-- 
http://cern.ch/openlab



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo
technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Smartfrog-support mailing list Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-support


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.