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 and do a sf-deploy? My code and error message is=20
below. </SPAN></FONT></DIV>
<DIV><FONT size=3D2 face=3DArial></FONT> </DIV>
<DIV><FONT size=3D2 face=3DArial><project><BR> <=
property=20
environment=3D"env"/><BR> <property name=3D"base"=20
value=3D"${env.SFHOME}"/></FONT></DIV>
<DIV><FONT size=3D2 face=3DArial></FONT> </DIV>
<DIV><FONT size=3D2 face=3DArial> <property name=3D"smartfrog.dir"=20
value=3D"${base}"/><BR> <property name=3D"smartfrog-tasks-jar"=20
value=3D"${smartfrog.dir}/lib/sf-tasks-3.18.010.jar"/><BR> <BR>&nbs=
p;<taskdef=20
resource=3D"org/smartfrog/tools/ant/tasks.properties"> <BR> =20
<classpath><BR> <pathelement=20
location=3D"${smartfrog-tasks-jar}"/><BR> =20
</classpath><BR> </taskdef></FONT></DIV>
<DIV><FONT size=3D2 face=3DArial> </DIV>
<DIV><target name=3D"run-test"><BR> <sf-functionaltest=20
shutdowntime=3D"10"=20
testtimeout=3D"600"> &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; =20
<BR> <application><BR> <sf-startdaemon=20
/><BR> </application><BR> <probe>=20
<BR> <socket port=3D"380=
0"=20
server=3D"localhost"/><BR> </probe> &n=
bsp;  =
; &n=
bsp;  =
; =20
<BR> <teardown><BR> <sf-stopdaemon=20
failonerror=3D"false"/><BR> </teardown><BR> =
<test><BR> <sf-deploy=20
> =20
<BR> <application name=3D"Counter"=20
descriptor=3D"/org/smartfrog/examples/counter/example.sf"=20
/><BR> </sf-deploy><BR> </test><=
BR> </sf-functionaltest><BR></target></DIV>
<DIV> </DIV>
<DIV></project><BR></FONT></DIV>
<DIV><FONT size=3D2 face=3DArial></FONT> </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] =20
at sun.misc.Launcher.<init>(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] =20
at=20
sun.misc.Launcher.<clinit>(Launcher.java:43)<BR>[sf-startdaemon] =
; =20
at=20
java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)<BR>[sf-d=
eploy] =20
at=20
sun.misc.Launcher.<init>(Launcher.java:90)<BR>[sf-startdaemon] &=
nbsp; =20
at=20
java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)<BR>[sf-st=
artdaemon]<BR>[sf-deploy] =20
at=20
sun.misc.Launcher.<clinit>(Launcher.java:43)<BR>[sf-deploy] &nbs=
p; =20
at=20
java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)<BR>[sf-d=
eploy] =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] =20
at=20
sun.misc.Launcher.<init>(Launcher.java:90)<BR>[sf-stopdaemon] &n=
bsp; =20
at=20
sun.misc.Launcher.<clinit>(Launcher.java:43)<BR>[sf-stopdaemon] =
=20
at=20
java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)<BR>[sf-s=
topdaemon] =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> </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> </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==--