length of attributes

Andreas Unterkircher <[email protected]>
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Is there a restriction on the length of attributes in SmartFrog ? (I'm 
using SmartFrog.3.04.004.beta). One of my components has the following 
attribute:

var_infoProviderHostname "host1.cern.ch";

(the component is an extension of other components and it is used within a 
Sequence). I get the following erro when deploying:

 - FAILED when trying DEPLOY of ,  [writeConfFiles.sf]
   Error:
    SmartFrogLifecycleException:: sfStart: HOST 
oplabox03.cern.ch:sfRunProcess:unnamed_1095866578664_0:writeConfFiles
    cause: SmartFrogDeploymentException: unnamed component. 
SmartFrogLifecycleException:: sfStart: Failed to create a new child., 
cause: java.lang.StringIndexOutOfBoundsException: String index out of 
range: 49, primSFCompleteName: HOST 
oplabox03.cern.ch:sfRunProcess:unnamed_1095866578664_0:writeConfFiles, 
primContext: included, reference: HOST 
oplabox03.cern.ch:sfRunProcess:unnamed_1095866578664_0:writeConfFiles, 
primContext: included
       cause: SmartFrogLifecycleException:: sfStart: Failed to create a 
new child.
          cause: java.lang.StringIndexOutOfBoundsException: String index 
out of range: 49
          primSFCompleteName: HOST 
oplabox03.cern.ch:sfRunProcess:unnamed_1095866578664_0:writeConfFiles
          primContext: included
          reference: HOST 
oplabox03.cern.ch:sfRunProcess:unnamed_1095866578664_0:writeConfFiles
          primContext: included
    data: Failed object class: 
org.smartfrog.sfcore.workflow.combinators.Sequence
    Command line SFACT: ':DEPLOY:writeConfFiles.sf:::'
    To String: ',  type:DEPLOY,  url:writeConfFiles.sf,  
resultType:FAILED,  resultExceptionMessage:sfStart: HOST 
oplabox03.cern.ch:sfRunProcess:unnamed_1095866578664_0:writeConfFiles'

However when I shorten the attribute to 

var_infoProviderHost "host1.cern.ch";

deployment works. Is the attribute string too long ?

Thanks,
Andreas



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
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.