Could someone either show me how my code is failing or give me a simple
ant file that will start a sf-startdaemon and do a sf-deploy?  My code
and error message is below.  
 
<project>
    <property environment="env"/>
    <property name="base" value="${env.SFHOME}"/>
 
 <property name="smartfrog.dir" value="${base}"/>
 <property name="smartfrog-tasks-jar"
value="${smartfrog.dir}/lib/sf-tasks-3.18.010.jar"/>
 
 <taskdef resource="org/smartfrog/tools/ant/tasks.properties"> 
   <classpath>
     <pathelement location="${smartfrog-tasks-jar}"/>
   </classpath>
 </taskdef>
 
<target name="run-test">
 <sf-functionaltest shutdowntime="10" testtimeout="600">

  <application>
   <sf-startdaemon />
  </application>
  <probe> 
         <socket port="3800" server="localhost"/>
  </probe>                                                  
  <teardown>
   <sf-stopdaemon failonerror="false"/>
  </teardown>
  <test>
   <sf-deploy >           
    <application name="Counter"
descriptor="/org/smartfrog/examples/counter/example.sf" />
   </sf-deploy>
  </test>
 </sf-functionaltest>
</target>
 
</project>

 
run-test:
[sf-startdaemon] Error occurred during initialization of VM
[sf-startdaemon] java.lang.InternalError: Could not create
SecurityManager: org.smartfrog.sfcore.security.ExitTrappingSecurityMana
ger
[sf-startdaemon]        at sun.misc.Launcher.<init>(Launcher.java:90)
[sf-deploy] Error occurred during initialization of VM
[sf-deploy] java.lang.InternalError: Could not create SecurityManager:
org.smartfrog.sfcore.security.ExitTrappingSecurityManager
[sf-startdaemon]        at sun.misc.Launcher.<clinit>(Launcher.java:43)
[sf-startdaemon]        at
java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)
[sf-deploy]     at sun.misc.Launcher.<init>(Launcher.java:90)
[sf-startdaemon]        at
java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)
[sf-startdaemon]
[sf-deploy]     at sun.misc.Launcher.<clinit>(Launcher.java:43)
[sf-deploy]     at
java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)
[sf-deploy]     at
java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)
[sf-deploy]
[sf-stopdaemon] Error occurred during initialization of VM
[sf-stopdaemon] java.lang.InternalError: Could not create
SecurityManager: org.smartfrog.sfcore.security.ExitTrappingSecurityManag
er
[sf-stopdaemon]         at sun.misc.Launcher.<init>(Launcher.java:90)
[sf-stopdaemon]         at sun.misc.Launcher.<clinit>(Launcher.java:43)
[sf-stopdaemon]         at
java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)
[sf-stopdaemon]         at
java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)
[sf-stopdaemon]
[sf-functionaltest] Application
Exception:C:\iCollaborate\SmartFrogProject\build.xml:25: Failed to start
the smartfrog daemon
 

Peter Boivin
Senior Java Developer
Ingenix
950 Winter Street
Waltham, MA 02451-1405 
Email: [email protected] 
Phone: (781) 419-8643
www.ingenix.com <http://www.ingenix.com/> 




 

This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Smartfrog-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartfrog-users

Reply via email to