Help with Ant file

"Boivin, Peter" <[email protected]> Tue, 17 May 2011 05:37:17 -0500
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <E9299417D6B11A4286C67874AE801C7603D40DA4@APSW0556EVS.ms.ds.uhc.com>
This is a multi-part message in MIME format.

--===============7561615705135993116==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01CC147E.64BDFB54"

This is a multi-part message in MIME format.

------_=_NextPart_001_01CC147E.64BDFB54
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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. =20
=20
<project>
    <property environment=3D"env"/>
    <property name=3D"base" value=3D"${env.SFHOME}"/>
=20
 <property name=3D"smartfrog.dir" value=3D"${base}"/>
 <property name=3D"smartfrog-tasks-jar"
value=3D"${smartfrog.dir}/lib/sf-tasks-3.18.010.jar"/>
=20
 <taskdef resource=3D"org/smartfrog/tools/ant/tasks.properties">=20
   <classpath>
     <pathelement location=3D"${smartfrog-tasks-jar}"/>
   </classpath>
 </taskdef>
=20
<target name=3D"run-test">
 <sf-functionaltest shutdowntime=3D"10" testtimeout=3D"600">

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

=20
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
=20

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




=20

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.

------_=_NextPart_001_01CC147E.64BDFB54
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dus-ascii" http-equiv=3DContent-Type>
<META name=3DGENERATOR content=3D"MSHTML 8.00.6001.19046"></HEAD>
<BODY>
<DIV><FONT size=3D2 face=3DArial><SPAN class=3D688223310-17052011>Could som=
eone either=20
show me how my code is failing or give me a simple ant file that will start=
 a=20
sf-startdaemon&nbsp;and do a sf-deploy?&nbsp; My code and error message is=20
below.&nbsp; </SPAN></FONT></DIV>
<DIV><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2 face=3DArial>&lt;project&gt;<BR>&nbsp;&nbsp; &nbsp;&lt;=
property=20
environment=3D"env"/&gt;<BR>&nbsp;&nbsp; &nbsp;&lt;property name=3D"base"=20
value=3D"${env.SFHOME}"/&gt;</FONT></DIV>
<DIV><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2 face=3DArial>&nbsp;&lt;property name=3D"smartfrog.dir"=20
value=3D"${base}"/&gt;<BR>&nbsp;&lt;property name=3D"smartfrog-tasks-jar"=20
value=3D"${smartfrog.dir}/lib/sf-tasks-3.18.010.jar"/&gt;<BR>&nbsp;<BR>&nbs=
p;&lt;taskdef=20
resource=3D"org/smartfrog/tools/ant/tasks.properties"&gt; <BR>&nbsp;&nbsp;=20
&lt;classpath&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;pathelement=20
location=3D"${smartfrog-tasks-jar}"/&gt;<BR>&nbsp;&nbsp;=20
&lt;/classpath&gt;<BR>&nbsp;&lt;/taskdef&gt;</FONT></DIV>
<DIV><FONT size=3D2 face=3DArial>&nbsp;</DIV>
<DIV>&lt;target name=3D"run-test"&gt;<BR>&nbsp;&lt;sf-functionaltest=20
shutdowntime=3D"10"=20
testtimeout=3D"600"&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;=20
<BR>&nbsp;&nbsp;&lt;application&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;sf-startdaemon=20
/&gt;<BR>&nbsp;&nbsp;&lt;/application&gt;<BR>&nbsp;&nbsp;&lt;probe&gt;=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;socket port=3D"380=
0"=20
server=3D"localhost"/&gt;<BR>&nbsp;&nbsp;&lt;/probe&gt;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR>&nbsp;&nbsp;&lt;teardown&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;sf-stopdaemon=20
failonerror=3D"false"/&gt;<BR>&nbsp;&nbsp;&lt;/teardown&gt;<BR>&nbsp;&nbsp;=
&lt;test&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;sf-deploy=20
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;application name=3D"Counter"=20
descriptor=3D"/org/smartfrog/examples/counter/example.sf"=20
/&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;/sf-deploy&gt;<BR>&nbsp;&nbsp;&lt;/test&gt;<=
BR>&nbsp;&lt;/sf-functionaltest&gt;<BR>&lt;/target&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;/project&gt;<BR></FONT></DIV>
<DIV><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2 face=3DArial>run-test:<BR>[sf-startdaemon] Error occurr=
ed during=20
initialization of VM<BR>[sf-startdaemon] java.lang.InternalError: Could not=20
create SecurityManager:=20
org.smartfrog.sfcore.security.ExitTrappingSecurityMana<BR>ger<BR>[sf-startd=
aemon]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
at sun.misc.Launcher.&lt;init&gt;(Launcher.java:90)<BR>[sf-deploy] Error=20
occurred during initialization of VM<BR>[sf-deploy] java.lang.InternalError=
:=20
Could not create SecurityManager:=20
org.smartfrog.sfcore.security.ExitTrappingSecurityManager<BR>[sf-startdaemo=
n]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
at=20
sun.misc.Launcher.&lt;clinit&gt;(Launcher.java:43)<BR>[sf-startdaemon]&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
at=20
java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)<BR>[sf-d=
eploy]&nbsp;&nbsp;&nbsp;&nbsp;=20
at=20
sun.misc.Launcher.&lt;init&gt;(Launcher.java:90)<BR>[sf-startdaemon]&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
at=20
java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)<BR>[sf-st=
artdaemon]<BR>[sf-deploy]&nbsp;&nbsp;&nbsp;&nbsp;=20
at=20
sun.misc.Launcher.&lt;clinit&gt;(Launcher.java:43)<BR>[sf-deploy]&nbsp;&nbs=
p;&nbsp;&nbsp;=20
at=20
java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)<BR>[sf-d=
eploy]&nbsp;&nbsp;&nbsp;&nbsp;=20
at=20
java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)<BR>[sf-de=
ploy]<BR>[sf-stopdaemon]=20
Error occurred during initialization of VM<BR>[sf-stopdaemon]=20
java.lang.InternalError: Could not create SecurityManager:=20
org.smartfrog.sfcore.security.ExitTrappingSecurityManag<BR>er<BR>[sf-stopda=
emon]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
at=20
sun.misc.Launcher.&lt;init&gt;(Launcher.java:90)<BR>[sf-stopdaemon]&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
at=20
sun.misc.Launcher.&lt;clinit&gt;(Launcher.java:43)<BR>[sf-stopdaemon]&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
at=20
java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)<BR>[sf-s=
topdaemon]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
at=20
java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)<BR>[sf-st=
opdaemon]<BR>[sf-functionaltest]=20
Application Exception:C:\iCollaborate\SmartFrogProject\build.xml:25: Failed=
 to=20
start the smartfrog daemon</FONT></DIV>
<DIV>&nbsp;</DIV>
<P style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10px" align=3Dleft><SPAN=20
style=3D"FONT-FAMILY: Arial; COLOR: red; FONT-SIZE: 10px; FONT-WEIGHT: bold=
">Peter=20
Boivin</SPAN><BR>Senior Java Developer<BR>Ingenix<BR>950 Winter=20
Street<BR>Waltham, MA 02451-1405 <BR>Email: [email protected] <BR>Ph=
one:=20
(781) 419-8643<BR><A href=3D"http://www.ingenix.com/"><FONT=20
color=3D#000000>www.ingenix.com</FONT></A><BR><BR><BR></P>
<DIV>&nbsp;</DIV><font face=3D"monospace"><br>
This e-mail, including attachments, may include confidential and/or<br>
proprietary information, and may be used only by the person or entity<br>
to which it is addressed. If the reader of this e-mail is not the intended<=
br>
recipient or his or her authorized agent, the reader is hereby notified<br>
that any dissemination, distribution or copying of this e-mail is<br>
prohibited. If you have received this e-mail in error, please notify the<br>
sender by replying to this message and delete this e-mail immediately.</fon=
t></BODY></HTML>

------_=_NextPart_001_01CC147E.64BDFB54--



--===============7561615705135993116==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
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
--===============7561615705135993116==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Smartfrog-users mailing list
Smartfrog-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-users

--===============7561615705135993116==--