[MOBY-dev] moby services deployment

Elise Larsonneur Elise.Larsonneur at avignon.inra.fr
Wed May 26 14:35:52 UTC 2010


Before deploying webservices , I generated datatypes and skeletons in 
jMoby with the dashboard. Then, I wrote the implementations of skeletons 
in another project associated to jMoby.
So, after ant all, ant dashboard, when I launchs the deployment (after 
ant all) of these webservices (on remote or local machine) , only the 
wsdd files are created and the previous error displays.
I used a pattern for implementation class names in the Moses Generator 
Panel.

eclipse console : ant all :
Buildfile: /home/av07/gafl/elarsonneur/workspace/jMoby/build.xml
cleanapi:
clean:
   [delete] Deleting directory 
/home/av07/gafl/elarsonneur/workspace/jMoby/build
checkmaven:
initmaven:
init:
    [mkdir] Created dir: /home/av07/gafl/elarsonneur/workspace/jMoby/build
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/classes
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/lib
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/Clients
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/registry_servlets
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/run
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/others
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/test
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/inb/core
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/inb/coreservice
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/inb/central
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/inb/model
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/inb/modelgui
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/inb/generator
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/inb/ontology
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/inb/visualizers
config:
     [copy] Copying 1 file to 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/classes
     [copy] Copying 27 files to 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/run
     [copy] Copying 10 files to 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/Clients/help
     [copy] Copying 24 files to 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/classes/templates
     [copy] Copying 163 files to 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/classes
compile:
    [javac] Compiling 392 source files to 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/classes
    [javac] Note: 
/home/av07/gafl/elarsonneur/workspace/jMoby/src/main/ca/ucalgary/services/util/PBERecorder.java 
uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Compiling 26 source files to 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/Clients
docs:
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] 
/home/av07/gafl/elarsonneur/workspace/jMoby/src/main/org/inb/biomoby/central/gui/model/MobyObjectPropertiesTableModel.java:72: 
warning - @return tag has no arguments.
  [javadoc] 1 warning
jars:
      [jar] Building jar: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/lib/jmoby-1.1.1.jar
      [jar] Building jar: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/lib/jmoby-dashboard-1.1.1.jar
rdfagent-init:
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/rdfagent
jar-rdfagent:
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/rdfagent/temp_lib
     [copy] Copying 95 files to 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/rdfagent/temp_lib
   [delete] Deleting directory 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/rdfagent/temp_lib
      [jar] Building jar: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/lib/RDFagent.jar
war:
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/webapps/jmoby
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/webapps/jmoby/cache
     [copy] Copying 1 file to 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/webapps/jmoby
      [war] Building war: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/webapps/jmoby/jmoby.war
wardist:
     [copy] Copying 1 file to 
/home/av07/gafl/elarsonneur/workspace/jMoby/docs/dist
bindist-rdfagent:
   [delete] Deleting directory 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/rdfagent
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/rdfagent/rdfagent
     [copy] Copying 96 files to 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/rdfagent/rdfagent/lib
     [copy] Copying 1 file to 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/rdfagent/rdfagent
     [copy] Copying 1 file to 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/rdfagent/rdfagent
     [copy] Copying 6 files to 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/rdfagent/rdfagent
      [tar] Building tar: 
/home/av07/gafl/elarsonneur/workspace/jMoby/docs/dist/rdfagent-2010-05-26.tar.gz
      [zip] Building zip: 
/home/av07/gafl/elarsonneur/workspace/jMoby/docs/dist/rdfagent-2010-05-26.zip
all:
BUILD SUCCESSFUL



ant dashboard :
Buildfile: /home/av07/gafl/elarsonneur/workspace/jMoby/build.xml
checkmaven:
initmaven:
init:
config:
compile:
moses-init:
samples-init:
    [mkdir] Created dir: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/others/samples/resources
dashboard-init:
dashboard-config:
      [jar] Building jar: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/lib/dashboard-config.jar
dashboard:
[Dashboard] 144276 [Thread-49] ERROR SimpleAnt - 
/home/av07/gafl/elarsonneur/workspace/jMoby/xmls/deployBuild.xml:306: 
The following error occurred while executing this line:
[Dashboard] 
/home/av07/gafl/elarsonneur/workspace/jMoby/xmls/deployBuild.xml:371: 
The following error occurred while executing this line:
[Dashboard] 
/home/av07/gafl/elarsonneur/workspace/jMoby/xmls/deployBuild.xml:224: 
Property 'service.jar' is not defined.



Dashboard console :
Selected authorities:
    avilin05.avignon.inra.fr

-find-services:
[Services names] 
Solstis_getExpDescFromAuthor,Solstis_getTrait,Solstis_getAuthor,Solstis_getExperiment,Solstis_getExpFromDataset,Solstis_getProject,Solstis_getExperimentDesc,Solstis_getDatasetDescFromKeyword,Solstis_getFactor,jar,Solstis_getExperimentType,Solstis_getDatasetFromExp

compile-datatypes:
    [javac] Compiling 1796 source files to 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/others/datatypes

compile-services:
    [javac] Compiling 21 source files to 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/others/skeletons

jar-datatypes:
      [jar] Building jar: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/lib/biomoby-datatypes.jar

jar-services:
      [jar] Building jar: 
/home/av07/gafl/elarsonneur/workspace/jMoby/build/lib/biomoby-skeletons.jar

deploy-remote:
    [mkdir] Created dir: 
/tmp/mobyremotedeploy-elarsonneur/null1398203687/moby-services-to-deploy-2010-05-26

create-wsdd:
[Create Solstis_getExpDescFromAuthor.wsdd] Copying 1 file to 
/tmp/mobyremotedeploy-elarsonneur/null1398203687/moby-services-to-deploy-2010-05-26/deploy-wsdd

create-wsdd:
[Create Solstis_getTrait.wsdd] Copying 1 file to 
/tmp/mobyremotedeploy-elarsonneur/null1398203687/moby-services-to-deploy-2010-05-26/deploy-wsdd

create-wsdd:
[Create Solstis_getAuthor.wsdd] Copying 1 file to 
/tmp/mobyremotedeploy-elarsonneur/null1398203687/moby-services-to-deploy-2010-05-26/deploy-wsdd

create-wsdd:
[Create Solstis_getExperiment.wsdd] Copying 1 file to 
/tmp/mobyremotedeploy-elarsonneur/null1398203687/moby-services-to-deploy-2010-05-26/deploy-wsdd

create-wsdd:
[Create Solstis_getExpFromDataset.wsdd] Copying 1 file to 
/tmp/mobyremotedeploy-elarsonneur/null1398203687/moby-services-to-deploy-2010-05-26/deploy-wsdd

create-wsdd:
[Create Solstis_getProject.wsdd] Copying 1 file to 
/tmp/mobyremotedeploy-elarsonneur/null1398203687/moby-services-to-deploy-2010-05-26/deploy-wsdd

create-wsdd:
[Create Solstis_getExperimentDesc.wsdd] Copying 1 file to 
/tmp/mobyremotedeploy-elarsonneur/null1398203687/moby-services-to-deploy-2010-05-26/deploy-wsdd

create-wsdd:
[Create Solstis_getDatasetDescFromKeyword.wsdd] Copying 1 file to 
/tmp/mobyremotedeploy-elarsonneur/null1398203687/moby-services-to-deploy-2010-05-26/deploy-wsdd

create-wsdd:
[Create Solstis_getFactor.wsdd] Copying 1 file to 
/tmp/mobyremotedeploy-elarsonneur/null1398203687/moby-services-to-deploy-2010-05-26/deploy-wsdd

BUILD FAILED
/home/av07/gafl/elarsonneur/workspace/jMoby/xmls/deployBuild.xml:306: 
The following error occurred while executing this line:
/home/av07/gafl/elarsonneur/workspace/jMoby/xmls/deployBuild.xml:371: 
The following error occurred while executing this line:
/home/av07/gafl/elarsonneur/workspace/jMoby/xmls/deployBuild.xml:224: 
Property 'service.jar' is not defined.


Thanks,

Elise.






Edward Kawas wrote:
> Hi Elise,
>
> Did you make sure to generate the skeletons and their implementations first?
> Hard to say what the problem is without knowing what you did to get here.
>
> Eddie
>
>   
>> -----Original Message-----
>> From: moby-dev-bounces at lists.open-bio.org [mailto:moby-dev-
>> bounces at lists.open-bio.org] On Behalf Of Elise Larsonneur
>> Sent: Wednesday, May 26, 2010 2:03 AM
>> To: moby-dev at lists.open-bio.org
>> Subject: [MOBY-dev] moby services deployment
>>
>> Hi !
>>
>> When I want to deploy moby services by ant dashboard on remote machine,
>> I meet this problem :
>>
>> The following error occurred while executing this line:
>> /home/av07/gafl/elarsonneur/workspace/jMoby/xmls/deployBuild.xml:371:
>> The following error occurred while executing this line:
>> /home/av07/gafl/elarsonneur/workspace/jMoby/xmls/deployBuild.xml:224:
>> Property 'service.jar' is not defined.
>>
>> What can I do for resolving this problem ?
>>
>> Thanks,
>>
>> Elise Larsonneur
>> Bioinformatics trainee.
>> UR GAFL
>> INRA Avignon
>> France
>>
>> _______________________________________________
>> MOBY-dev mailing list
>> MOBY-dev at lists.open-bio.org
>> http://lists.open-bio.org/mailman/listinfo/moby-dev
>>     
>
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev
>   




More information about the MOBY-dev mailing list