Re: problem with remote class loading

Steve Loughran <[email protected]>
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Andreas Unterkircher wrote:
> Hello,
> 
> I'm using SmartFrog 3.06.0011rc1 under Linux. There is a problem with 
> remote class loading. I'd like to load 2 classes remotely, thus 
> setSFDynamicClassLoadingProperties looks as follows:
> 
> export SERVER=http://grid-deployment.web.cern.ch
> export 
> CODEBASE="$SERVER/grid-deployment/distribution/RpmBuild/ia64-sl3-Andreas/downloadConf/smartfrog/sfLCGinstall.jar 
> $SERVER/grid-deployment/distribution/RpmBuild/ia64-sl3-Andreas/downloadConf/smartfrog/commons-io-1.0.jar"
>                                                                                 
> export SFCODEBASE=-Dorg.smartfrog.codebase="$CODEBASE"
> 

try this attached version, which has moved the quotes.

export SFCODEBASE="-Dorg.smartfrog.codebase=$CODEBASE"

Also note that the ant tasks are immune to a lot of the shell quirks, 
because they dont go via any shell at all, they just exec the command 
line they build up. that is the main way I deploy things.

-steve
setSFDynamicClassLoadingProperties (text/plain, 617 B)
#!/bin/sh

###################################################################
# This file is run only when SFDYNAMICCLASSLOADING_ON is defined
###################################################################

#------------------------------------------------------
# SF ENV PROPERTIES  - Please edit with your preferences
# ------------------------------------------------------

# -- Dynamic classloading: CODEBASE --
#export SERVER=http://localhost:8080
#export CODEBASE="$SERVER/sfExamples.jar"

export SFCODEBASE="-Dorg.smartfrog.codebase="$CODEBASE"

# -------------------End user properties---------------
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.