[MOBY-dev] moby services deployment

Edward Kawas edward.kawas at gmail.com
Fri Jun 4 16:56:07 UTC 2010


Hi Elise,

I just tried generating java services with dashboard. I took a clean Ubuntu
image, downloaded java 1.6 and Biomoby cvs source code. I built and ran
dashboard. I opened the MoSeS generator and selected a service and then
proceeded to generate datatypes, followed by generate services. I then hit
the deploy button (expecting it to fail because I don't have an instance of
tomcat running). I did not see any error about a missing services.jar.

Could you please send me a screen shot of your MoSeS panel just before you
hit the deploy button?

Thanks,

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: Friday, June 04, 2010 1:46 AM
> To: Core developer announcements
> Subject: Re: [MOBY-dev] moby services deployment
> 
> Re !
> 
> In fact, the problem is that the task *-find-services* (in deployBuil.xml
file)
> find a service called "jar". Where do this task retrieve the service names
?
> 
> dashboard console with further messages :
> 
> Selected services:
>     Solstis_getAuthor/avilin05.avignon.inra.fr
> 
> -find-services:
> [Services names] *Solstis_getAuthor,jar *
> <---------------------------------problem : service called "jar"
> 
> jar-datatypes:
>       [jar] Building jar:
> /home/av07/gafl/elarsonneur/workspace/jMoby/build/lib/biomoby-
> datatypes.jar
> 
> deploy-remote:
>     [mkdir] Created dir:
> /tmp/mobyremotedeploy-elarsonneur/null117677270/moby-services-to-
> deploy-2010-06-04
> 
> create-wsdd:
> [Value property src.webapps]
> /home/av07/gafl/elarsonneur/workspace/jMoby/src/webapps/standard.ws
> dd.template}
> [Value property impl.class] impl.class
> [Value property service.service_name] *service.Solstis_getAuthor* [Create
> Solstis_getAuthor.wsdd] Copying 1 file to /tmp/mobyremotedeploy-
> elarsonneur/null117677270/moby-services-to-deploy-2010-06-04/deploy-
> wsdd
> 
> create-wsdd:
> [Value property src.webapps]
> /home/av07/gafl/elarsonneur/workspace/jMoby/src/webapps/standard.ws
> dd.template}
> [Value property impl.class] impl.class
> [Value property service.service_name] *service.jar*
> 
> BUILD FAILED
> /home/av07/gafl/elarsonneur/workspace/jMoby/xmls/deployBuild.xml:311:
> The following error occurred while executing this line:
> /home/av07/gafl/elarsonneur/workspace/jMoby/xmls/deployBuild.xml:376:
> The following error occurred while executing this line:
> /home/av07/gafl/elarsonneur/workspace/jMoby/xmls/deployBuild.xml:229:
> Property 'service.jar' is not defined.
> 
> 
> 
> *TARGET   -find-services :*
> <!--
> ==========================================================
> ======== -->
> <!-- This target creates a comma-delimited list of names of services,
-->
> <!-- taken from properties: service.*,  and fills it in property
-->
> <!-- 'services.list'
-->
> <!--
> ==========================================================
> ======== --> <target name="-find-services">
>   <propertyselector
>     property="services.list"
>     delimiter=","
>     match="service\..*?([^.]+)$"
>     select="\1"
>     casesensitive="false" />
>   <fail unless="services.list">-
> 
>      No list of service names found.
>      ===============================
>      Each service that you want to deploy should be defined
>      by a property of the following form (parts in upper-cases should be
>      replaced by the real values):
>         service.SERVICE-NAME = IMPLEMENTATION-CLASS-NAME
> 
>      Each service that you want to undeploy can be defined in the same
>      way (implementation class is not needed), or simpler by creating
>      a property 'services.list' containing a comma-delimited list of
>      names of services to be undeployed.
>   </fail>
>   <echo message="${services.list}" taskname="Services names"/> </target>
> 
> 
> 
> 
> Thanks.
> 
> Elise Larsonneur.
> 
> Bioinformatics trainee.
> UR GAFL
> INRA Avignon
> France
> 
> 
> 
> 
> 
> Edward Kawas wrote:
> > The ant file is meant to help you copy your class files from a
> > specific location (more about that in the links that I sent you) and
> > creates the services.jar file for you. If you have to edit the build
> > file then you are doing something wrong (in the sense that you aren't
> > generating your services in the manner that MoSeS wishes that you
> would).
> >
> > Eddie
> >
> >
> _______________________________________________
> 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