OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | clif List | June 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [clif] runnig clif examples


Hi,

It seems that option -server is not supported by your Java environment (gij). Just remove this option from the etc/clif.props file (don't forget to remove also the trailing backslash \ from the previous line).

Best regards,
-- Bruno.

mehdi kessis a écrit:

Hi Bruno,
since I have installed Fedora insted of redhat a have some problems with clif.
When running the ant targets ( server and console) I have these messages:
console:
[java] Executing '/usr/bin/gij34' with arguments:
[java] '-Djava.security.policy=etc/java.policy'
[java] '-Djava.rmi.server.codebase=http://localhost:1357/lib/clif-full.jar http://localhost:1357/lib/ext/ http://localhost:1357/examples/classes/'
[java] '-Dfractal.provider=org.objectweb.fractal.julia.Julia'
[java] '-Dfractal.registry.host=localhost'
[java] '-Dfractal.registry.port=1234'
[java] '-Djulia.config=etc/julia.cfg'
[java] '-Djulia.loader=org.objectweb.fractal.julia.loader.DynamicLoader'
[java] '-Dclif.codeserver.port=1357'
[java] '-Dclif.engine.datacollector=org.objectweb.clif.engine.lib.datacollector.DatacollectorImpl'


[java] '-Dclif.engine.controller=org.objectweb.clif.engine.lib.controller.ControllerImpl'

[java] '-Dclif.resource.probe=org.objectweb.clif.resource.lib.ResourceProbeImpl'
[java] '-Dclif.storage.console=org.objectweb.clif.storage.lib.filestorage.ConsoleFileStorageImpl'


[java] '-Dclif.storage.proxy=org.objectweb.clif.storage.lib.filestorage.FileStorageProxyImpl'

[java] '-Dclif.scenariofactory=org.objectweb.clif.scenario.lib.GenericScenarioFactory'

[java] '-server'
[java] '-classpath'
[java] '/home/kessism/clif-0.2a4/lib/clif-full.jar:/home/kessism/clif-0.2a4/examples/classes'


    [java] 'org.objectweb.clif.console.gui.GuiConsoleImpl'
    [java]
    [java] The ' characters around the executable and arguments are
    [java] not part of the command.
    [java] gij: unrecognized option -- `-server'
    [java] Try `gij --help' for more information.

BUILD FAILED
file:/home/kessism/clif-0.2a4/build.xml:55: Java returned: 1
at org.apache.tools.ant.taskdefs.Java.execute() (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
at org.apache.tools.ant.Task.perform() (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
at org.apache.tools.ant.Target.execute() (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
at org.apache.tools.ant.Target.performTasks() (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
at org.apache.tools.ant.Project.executeTarget(java.lang.String) (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
at org.apache.tools.ant.Project.executeTargets(java.util.Vector) (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
at org.apache.tools.ant.Main.runBuild(java.lang.ClassLoader) (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
at org.apache.tools.ant.Main.start(java.lang.String[], java.util.Properties, java.lang.ClassLoader) (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
at org.apache.tools.ant.Main.main(java.lang.String[]) (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)


Total time: 0 seconds
--------------------------------------------------
Do you think that there is any un compatibility with fedora ( personnaly I don't think so)?
The error seems to consern the -server parameter is it correct in the clif.props ( personnaly I have tested it before installing the new OS and it works).
here is my clif.props:


clif.parameters \
-Djava.security.policy=etc/java.policy \
-Djava.rmi.server.codebase="http://localhost:1357/lib/clif-full.jar http://localhost:1357/lib/ext/ http://localhost:1357/examples/classes/"; \
-Dfractal.provider=org.objectweb.fractal.julia.Julia \
-Dfractal.registry.host=localhost \
-Dfractal.registry.port=1234 \
-Djulia.config=etc/julia.cfg \
-Djulia.loader=org.objectweb.fractal.julia.loader.DynamicLoader \
-Dclif.codeserver.port=1357 \
-Dclif.engine.datacollector=org.objectweb.clif.engine.lib.datacollector.DatacollectorImpl \
-Dclif.engine.controller=org.objectweb.clif.engine.lib.controller.ControllerImpl \
-Dclif.resource.probe=org.objectweb.clif.resource.lib.ResourceProbeImpl \
-Dclif.storage.console=org.objectweb.clif.storage.lib.filestorage.ConsoleFileStorageImpl \
-Dclif.storage.proxy=org.objectweb.clif.storage.lib.filestorage.FileStorageProxyImpl \
-Dclif.scenariofactory=org.objectweb.clif.scenario.lib.GenericScenarioFactory \
-server


registry.server.classname org.objectweb.fractal.rmi.registry.Registry


Regards Mehdi







<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.