Vaso Elefth
2011-12-05 12:32:18 UTC
Hi.
I am a new Jade user and I am desperate for an answer.
I am trying to run the HelloWorldAgent example but I keep receiving the
following message.
c:\jade\src\examples\hello>
java jade.Boot fred:HelloWorldAgent
Error creating the Profile [Can't load properties: Cannot find file
fred:HelloWorldAgent]
jade.core.ProfileException: Can't load properties: Cannot find file
fred:HelloWorldAgent
at jade.core.ProfileImpl.<init>(ProfileImpl.java:131)
at jade.Boot.main(Boot.java:76)
Usage:
java -cp <classpath> jade.Boot [options] [agents]
Main options:
-container
-gui
-name <platform name>
-host <main container host>
-port <main container port>
-local-host <host where to bind the local server socket on>
-local-port <port where to bind the local server socket on>
-conf <property file to load configuration properties from>
-services <semicolon separated list of service classes>
-mtps <semicolon separated list of mtp-specifiers>
where mtp-specifier = [in-address:]<mtp-class>[(comma-separated args)]
-<property-name> <property-value>
Agents: [-agents] <semicolon separated list of agent-specifiers>
where agent-specifier = <agent-name>:<agent-class>[(comma separated
args)]
Look at the JADE Administrator's Guide for more details
I have also used "java jade.Boot -agents fred:HelloWorldAgent" and doesn't
work.
I compiled it using both javac and ant but the same thing happens.
I have set the classpath to have the jade.jar, commons_codec.jar, Base
64.jar,
and the HelloWorldAgent.class file. From my lib folder the http.jar,
iiop.jar
and jadeTools.jar ars missing, they weren't there when I downloaded the
jade_all
zip.
What am I doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jade.tilab.com/pipermail/jade-develop/attachments/20111205/1e83f0fe/attachment.html>
I am a new Jade user and I am desperate for an answer.
I am trying to run the HelloWorldAgent example but I keep receiving the
following message.
c:\jade\src\examples\hello>
java jade.Boot fred:HelloWorldAgent
Error creating the Profile [Can't load properties: Cannot find file
fred:HelloWorldAgent]
jade.core.ProfileException: Can't load properties: Cannot find file
fred:HelloWorldAgent
at jade.core.ProfileImpl.<init>(ProfileImpl.java:131)
at jade.Boot.main(Boot.java:76)
Usage:
java -cp <classpath> jade.Boot [options] [agents]
Main options:
-container
-gui
-name <platform name>
-host <main container host>
-port <main container port>
-local-host <host where to bind the local server socket on>
-local-port <port where to bind the local server socket on>
-conf <property file to load configuration properties from>
-services <semicolon separated list of service classes>
-mtps <semicolon separated list of mtp-specifiers>
where mtp-specifier = [in-address:]<mtp-class>[(comma-separated args)]
-<property-name> <property-value>
Agents: [-agents] <semicolon separated list of agent-specifiers>
where agent-specifier = <agent-name>:<agent-class>[(comma separated
args)]
Look at the JADE Administrator's Guide for more details
I have also used "java jade.Boot -agents fred:HelloWorldAgent" and doesn't
work.
I compiled it using both javac and ant but the same thing happens.
I have set the classpath to have the jade.jar, commons_codec.jar, Base
64.jar,
and the HelloWorldAgent.class file. From my lib folder the http.jar,
iiop.jar
and jadeTools.jar ars missing, they weren't there when I downloaded the
jade_all
zip.
What am I doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jade.tilab.com/pipermail/jade-develop/attachments/20111205/1e83f0fe/attachment.html>