Hi Julio, 

 

Here are my output files (attached) as requested.

 

Thanks, 

Gary

 

 

From: Guijarro, Julio [mailto:[EMAIL PROTECTED] 
Sent: 20 February 2008 10:02
To: Robinson, Gary; [email protected]
Subject: RE: sfDaemon problem with SUSE Base system

 

I don't know what could be the problem. 

 

Could you check if  nslookup works for that host? 

 

Could you modify default.ini and modify the following lines to enable
debugging and stack traces:

   org.smartfrog.sfcore.logging.LogImpl.logLevel=2

   org.smartfrog.sfcore.common.Logger.logStackTrace=true

 

When you start the daemon make sure that you redirect the output to a
file (ex.  Add ">file.txt") and send it to us.

 

If you have ANT installed could you do the same when executing "ant
-diagnostics". Hopefully this will give us enough information to see
what is going wrong.

 

Julio

 

From: Robinson, Gary [mailto:[EMAIL PROTECTED] 
Sent: 20 February 2008 09:23
To: Guijarro, Julio; [email protected]
Subject: RE: sfDaemon problem with SUSE Base system

 

Hi Julio, 

 

I have tried enabling the line in default.ini as suggested and the
daemon still output the same error . I have also made sure that my
/etc/hosts file has an entry for 'localhost'. The problem still
persists. Any further suggestions?

 

Thanks,

Gary

 

From: Guijarro, Julio [mailto:[EMAIL PROTECTED] 
Sent: 19 February 2008 17:25
To: Robinson, Gary; [email protected]
Subject: RE: sfDaemon problem with SUSE Base system

 

I haven't tried it in a host with network configuration problems but you
can try to modify default.ini  (<SFHOME>/bin/default.ini)

 

and enable this line:

#
org.smartfrog.sfcore.processcompound.sfRootLocatorBindAddress=localhost

 

Then replace "localhost" with whatever your ip is or check that your
/etc/hosts file has an entry for "localhost 127.0.0.1"

 

Let know if this works for you.

 

Julio

 

 

From: Robinson, Gary [mailto:[EMAIL PROTECTED] 
Sent: 19 February 2008 16:58
To: Guijarro, Julio; [email protected]
Subject: RE: sfDaemon problem with SUSE Base system

 

Hi Julio, 

 

Thanks for your help. 

 

Is there any way I can avoid this problem by explicitly setting the IP
address for the daemon to run on? If so what is the syntax for this? 

 

Thanks,

Gary

 

From: Guijarro, Julio [mailto:[EMAIL PROTECTED] 
Sent: 19 February 2008 16:46
To: Robinson, Gary; [email protected]
Subject: RE: sfDaemon problem with SUSE Base system

 

Hi Gary,

 

The problem you are experiencing is because Java (and therefore
SmartFrog) is failing to resolve the IP address of your machine. This
clearly points to a network configuration problem.

 

The first WARNING is notifying you about the problem. 

 

The subsequent exception is caused by the same problem. SF tries to
store the IP address of the host machine in the daemon context and but
it fails because the InetAddress object returned by Java is null.

 

 I will protect this method so that it does report the exception with a
better message and it does not terminate the daemon. This will only help
when running a daemon in standalone mode (sfRun) because this problem
reports that the daemon is not remotely reachable.

 

You can get a diagnostics report by running sfDaemon -d.  This will
check various things in your configuration.

 

Julio

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Robinson, Gary
Sent: 19 February 2008 16:07
To: [email protected]
Subject: [Smartfrog-users] sfDaemon problem with SUSE Base system

 

Hi all, 

 

I get the following problem when I try to start my SmartFrog daemon. The
sfDaemon is trying to run within a chrooted base system (also tried via
pxe boot and get the same problem). Ifconfig returns that I have an ip
address of 192.168.1.100. Any help is much appreciated. Thanks J

linux:/opt/smartfrog/dist/bin # ./sfDaemon

SFHOME undefined, using /opt/smartfrog/dist as base directory

SmartFrog 3.12.022 (2008-02-14 16:55:15 GMT)

(C) Copyright 1998-2008 Hewlett-Packard Development Company, LP

2008/02/19 23:36:21:277 UTC [WARN ][main] SFCORE_LOG - SmartFrog
security is NOT  active

2008/02/19 23:36:21:343 UTC [WARN ][main] SFCORE_LOG - Network test
localhost: [ Failed], Failed to resolve localhost ip, 1203464181343ms,
SmartFrogException:: F ailed to get Inet address of the localhost,
cause: java.net.UnknownHostException : linux: linux, SmartFrog 3.12.022
(2008-02-14 16:55:15 GMT)

2008/02/19 23:36:22:889 UTC [ERROR][main] SFCORE_LOG -
SmartFrogContextException:: 'value' is null during sfReplaceAttribute,
SmartFrog 3.12.022 (2008-02-14 16:55:15 GMT), primContext: included,
primContext: included <SmartFrogContextException:: 'value' is null
during sfReplaceAttribute

    SmartFrog 3.12.022 (2008-02-14 16:55:15 GMT)

    primContext: included

    primContext: included>

        SmartFrogContextException:: 'value' is null during
sfReplaceAttribute, SmartFrog 3.12.022 (2008-02-14 16:55:15 GMT),
primContext: included, primContext: included

        at
org.smartfrog.sfcore.common.ContextImpl.sfReplaceAttribute(ContextImpl.j
ava:254)

        at
org.smartfrog.sfcore.prim.PrimImpl.sfReplaceAttribute(PrimImpl.java:487)

        at
org.smartfrog.sfcore.prim.PrimImpl.sfDeployWith(PrimImpl.java:725)

        at
org.smartfrog.sfcore.compound.CompoundImpl.sfDeployWith(CompoundImpl.jav
a:470)

        at
org.smartfrog.sfcore.processcompound.ProcessCompoundImpl.sfDeployWith(Pr
ocessCompoundImpl.java:270)

        at
org.smartfrog.sfcore.prim.PrimDeployerImpl.deploy(PrimDeployerImpl.java:
108)

        at
org.smartfrog.sfcore.prim.PrimDeployerImpl.deploy(PrimDeployerImpl.java:
246)

        at
org.smartfrog.sfcore.deployer.SFDeployer.deploy(SFDeployer.java:94)

        at
org.smartfrog.sfcore.processcompound.SFProcess.deployComponent(SFProcess
.java:200)

        at
org.smartfrog.sfcore.processcompound.SFProcess.deployProcessCompound(SFP
rocess.java:337)

        at org.smartfrog.SFSystem.createRootProcess(SFSystem.java:619)

        at org.smartfrog.SFSystem.runSmartFrog(SFSystem.java:613)

        at org.smartfrog.SFSystem.runSmartFrog(SFSystem.java:583)

        at org.smartfrog.SFSystem.execute(SFSystem.java:431)

        at org.smartfrog.SFSystem.main(SFSystem.java:392)

SmartFrogDeploymentException: unnamed component.
SmartFrogContextException:: 'value' is null during sfReplaceAttribute,
SmartFrog 3.12.022 (2008-02-14 16:55:15 GMT), primContext: included,
primContext: included, cause: SmartFrogContextException:: 'value' is
null during sfReplaceAttribute,    SmartFrog 3.12.022 (2008-02-14
16:55:15 GMT),    primContext: included,    primContext: included

Kind Regards,
Gary

SFHOME undefined, using /opt/smartfrog/dist as base directory

SmartFrog 3.12.022 (2008-02-14 16:55:15 GMT)
(C) Copyright 1998-2008 Hewlett-Packard Development Company, LP

2008/02/20 17:59:50:780 UTC [WARN ][main] SFCORE_LOG - SmartFrog security is 
NOT active
2008/02/20 17:59:50:782 UTC [DEBUG][main] SFCORE_LOG - Using java security 
policy: =/opt/smartfrog/dist/private/sf.no.security.policy
2008/02/20 17:59:50:783 UTC [WARN ][main] SFCORE_LOG - Warning: stack trace 
logging enabled
2008/02/20 17:59:50:816 UTC [WARN ][main] SFCORE_LOG - Network test localhost: 
[Failed], Failed to resolve localhost ip, 1203530390816ms, SmartFrogException:: 
Failed to get Inet address of the localhost, cause: 
java.net.UnknownHostException: linux: linux, SmartFrog 3.12.022 (2008-02-14 
16:55:15 GMT)
2008/02/20 17:59:50:819 UTC [DEBUG][main] SFCORE_LOG - Command Line args: []
2008/02/20 17:59:52:005 UTC [ERROR][main] SFCORE_LOG - 
SmartFrogContextException:: 'value' is null during sfReplaceAttribute, 
SmartFrog 3.12.022 (2008-02-14 16:55:15 GMT), primContext: included, 
primContext: included <SmartFrogContextException:: 'value' is null during 
sfReplaceAttribute
    SmartFrog 3.12.022 (2008-02-14 16:55:15 GMT)
    primContext: included
    primContext: included>
        SmartFrogContextException:: 'value' is null during sfReplaceAttribute, 
SmartFrog 3.12.022 (2008-02-14 16:55:15 GMT), primContext: included, 
primContext: included
        at 
org.smartfrog.sfcore.common.ContextImpl.sfReplaceAttribute(ContextImpl.java:254)
        at 
org.smartfrog.sfcore.prim.PrimImpl.sfReplaceAttribute(PrimImpl.java:487)
        at org.smartfrog.sfcore.prim.PrimImpl.sfDeployWith(PrimImpl.java:725)
        at 
org.smartfrog.sfcore.compound.CompoundImpl.sfDeployWith(CompoundImpl.java:470)
        at 
org.smartfrog.sfcore.processcompound.ProcessCompoundImpl.sfDeployWith(ProcessCompoundImpl.java:270)
        at 
org.smartfrog.sfcore.prim.PrimDeployerImpl.deploy(PrimDeployerImpl.java:108)
        at 
org.smartfrog.sfcore.prim.PrimDeployerImpl.deploy(PrimDeployerImpl.java:246)
        at org.smartfrog.sfcore.deployer.SFDeployer.deploy(SFDeployer.java:94)
        at 
org.smartfrog.sfcore.processcompound.SFProcess.deployComponent(SFProcess.java:200)
        at 
org.smartfrog.sfcore.processcompound.SFProcess.deployProcessCompound(SFProcess.java:337)
        at org.smartfrog.SFSystem.createRootProcess(SFSystem.java:619)
        at org.smartfrog.SFSystem.runSmartFrog(SFSystem.java:613)
        at org.smartfrog.SFSystem.runSmartFrog(SFSystem.java:583)
        at org.smartfrog.SFSystem.execute(SFSystem.java:431)
        at org.smartfrog.SFSystem.main(SFSystem.java:392)

SmartFrogDeploymentException: unnamed component. SmartFrogContextException:: 
'value' is null during sfReplaceAttribute, SmartFrog 3.12.022 (2008-02-14 
16:55:15 GMT), primContext: included, primContext: included, cause: 
SmartFrogContextException:: 'value' is null during sfReplaceAttribute,    
SmartFrog 3.12.022 (2008-02-14 16:55:15 GMT),    primContext: included,    
primContext: included
2008/02/20 17:59:52:018 UTC [DEBUG][main] SFCORE_LOG - SmartFrog System.Exit 
code: 1, v3.12.022
Unable to locate tools.jar. Expected to find it in 
/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/lib/tools.jar
------- Ant diagnostics report -------
Apache Ant version 1.6.5 compiled on June 16 2006

-------------------------------------------
 Implementation Version (JDK1.2+ only)
-------------------------------------------
core tasks     : 1.6.5
optional tasks : not available

-------------------------------------------
 ANT_HOME/lib jar listing
-------------------------------------------
ant.home: /usr/share/ant

-------------------------------------------
 Tasks availability
-------------------------------------------
ccmkdir : Not Available
propertyfile : Not Available
importtypelib : Not Available
vsscheckin : Not Available
p4reopen : Not Available
image : Not Available
csc : Not Available
sshexec : Not Available
wlrun : Not Available
p4label : Not Available
p4revert : Not Available
replaceregexp : Not Available
jjtree : Not Available
jarlib-display : Not Available
jspc : Not Available
test : Not Available
vsshistory : Not Available
icontract : Not Available
p4submit : Not Available
scp : Not Available
ccmcheckin : Not Available
p4change : Not Available
p4delete : Not Available
vssadd : Not Available
p4integrate : Not Available
translate : Not Available
cclock : Not Available
chown : Not Available
vajload : Not Available
jarlib-available : Not Available
rexec : Not Available
WsdlToDotnet : Not Available
jpcovmerge : Not Available
ejbjar : Not Available
stlist : Not Available
serverdeploy : Not Available
ildasm : Not Available
cccheckin : Not Available
ccunlock : Not Available
wljspc : Not Available
telnet : Not Available
sosget : Not Available
p4sync : Not Available
ccmklabel : Not Available
p4edit : Not Available
maudit : Not Available
antlr : Not Available
netrexxc : Not Available
ftp : Not Available
jpcovreport : Not Available
ccmcheckout : Not Available
xmlvalidate : Not Available
p4resolve : Not Available
ccmcheckintask : Not Available
iplanet-ejbc : Not Available
native2ascii : Not Available
ccrmtype : Not Available
starteam : Not Available
vsscheckout : Not Available
soscheckin : Not Available
mimemail : Not Available
stylebook : Not Available
stlabel : Not Available
cab : Not Available
splash : Not Available
ccmkbl : Not Available
cccheckout : Not Available
p4have : Not Available
jdepend : Not Available
jsharpc : Not Available
symlink : Not Available
script : Not Available
ccmcreatetask : Not Available
rpm : Not Available
attrib : Not Available
mmetrics : Not Available
echoproperties : Not Available
junit : Not Available
stcheckin : Not Available
chgrp : Not Available
vajexport : Not Available
stcheckout : Not Available
p4labelsync : Not Available
vsscreate : Not Available
ejbc : Not Available
vbc : Not Available
wsdltodotnet : Not Available
junitreport : Not Available
ccmkattr : Not Available
ccupdate : Not Available
renameext : Not Available
vsslabel : Not Available
vsscp : Not Available
vajimport : Not Available
p4fstat : Not Available
setproxy : Not Available
wlstop : Not Available
p4counter : Not Available
ilasm : Not Available
soscheckout : Not Available
jarlib-resolve : Not Available
ccuncheckout : Not Available
jlink : Not Available
javacc : Not Available
jarlib-manifest : Not Available
pvcs : Not Available
ccmklbtype : Not Available
sound : Not Available
scriptdef : Not Available
mparse : Not Available
blgenclient : Not Available
jjdoc : Not Available
ccmkelem : Not Available
javah : Not Available
ccmreconfigure : Not Available
p4add : Not Available
soslabel : Not Available
jpcoverage : Not Available
depend : Not Available
vssget : Not Available
ddcreator : Not Available

-------------------------------------------
 org.apache.env.Which diagnostics
-------------------------------------------
Not available.
Download it at http://xml.apache.org/commons/

-------------------------------------------
 XML Parser information
-------------------------------------------
XML Parser : org.apache.xerces.jaxp.SAXParserImpl
XML Parser Location: /usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/xml.jar

-------------------------------------------
 System properties
-------------------------------------------
java.assistive : ON
java.runtime.name : Java(TM) 2 Runtime Environment, Standard Edition
ibm.signalhandling.rs : false
sun.boot.library.path : /usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/bin
java.vm.version : 2.3
ant.library.dir : /usr/share/ant/lib
com.ibm.oti.configuration : scar
java.vm.vendor : IBM Corporation
java.vendor.url : http://www.ibm.com/
path.separator : :
java.vm.name : IBM J9 VM
user.country : GB
java.vm.specification.name : Java Virtual Machine Specification
user.dir : /opt/smartfrog/dist/bin
java.runtime.version : pxi32dev-20061002a (SR3) 
java.fullversion : J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20061001 (JIT 
enabled)
J9VM - 20060915_08260_lHdSMR
JIT  - 20060908_1811_r8
GC   - 20060906_AA
java.awt.graphicsenv : sun.awt.X11GraphicsEnvironment
os.arch : x86
com.ibm.vm.bitmode : 32
java.io.tmpdir : /tmp
com.ibm.util.extralibs.properties : 
line.separator : 

java.vm.specification.vendor : Sun Microsystems Inc.
user.variant : 
java.awt.fonts : 
os.name : Linux
ant.home : /usr/share/ant
sun.java2d.fontpath : 
java.jcl.version : 20061002
sun.jnu.encoding : UTF-8
java.library.path : 
/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/bin:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/bin:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/bin/classic:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/bin:/usr/lib
jxe.current.romimage.version : 9
com.ibm.oti.vm.bootstrap.library.path : 
/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/bin
java.class.version : 49.0
com.ibm.cpu.endian : little
java.specification.name : Java Platform API Specification
ibm.system.encoding : UTF-8
invokedviajava : 
java.util.prefs.PreferencesFactory : 
java.util.prefs.FileSystemPreferencesFactory
os.version : 2.6.20-krgkerrighed_with_nfs
com.ibm.oti.vm.library.version : 23
user.home : /root
user.timezone : 
java.awt.printerjob : sun.print.PSPrinterJob
java.specification.version : 1.5
file.encoding : UTF-8
java.class.path : 
/usr/share/java/ant.jar:/usr/share/java/ant-launcher.jar:/usr/share/java/jaxp_parser_impl.jar:/usr/share/java/xml-commons-apis.jar
user.name : root
java.vm.specification.version : 1.0
java.home : /usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre
sun.arch.data.model : 32
java.specification.vendor : Sun Microsystems Inc.
ibm.signalhandling.sigint : true
user.language : en
com.ibm.oti.jcl.build : 20060906_1248
java.vm.info : J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20061001 (JIT 
enabled)
J9VM - 20060915_08260_lHdSMR
JIT  - 20060908_1811_r8
GC   - 20060906_AA
java.version : 1.5.0
java.ext.dirs : /usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/ext
sun.boot.class.path : 
/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/vm.jar:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/core.jar:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/charsets.jar:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/graphics.jar:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/security.jar:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/ibmpkcs.jar:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/ibmorb.jar:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/ibmcfw.jar:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/ibmorbapi.jar:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/ibmjcefw.jar:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/ibmjgssprovider.jar:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/ibmjsseprovider2.jar:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/ibmjaaslm.jar:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/ibmcertpathprovider.jar:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/server.jar:/usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/lib/xml.jar
jxe.lowest.romimage.version : 9
java.vendor : IBM Corporation
file.separator : /
java.compiler : j9jit23
sun.io.unicode.encoding : UnicodeLittle
ibm.signalhandling.sigchain : true

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Smartfrog-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartfrog-users

Reply via email to