soaplab-users Mailing List for Soaplab (Page 10)
Brought to you by:
marsenger
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(14) |
Aug
|
Sep
(6) |
Oct
(13) |
Nov
(5) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(4) |
Feb
(8) |
Mar
(4) |
Apr
(8) |
May
(1) |
Jun
(8) |
Jul
(1) |
Aug
(4) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
2007 |
Jan
(7) |
Feb
|
Mar
(2) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2008 |
Jan
|
Feb
(8) |
Mar
(39) |
Apr
(20) |
May
(11) |
Jun
(17) |
Jul
(7) |
Aug
(6) |
Sep
(4) |
Oct
(25) |
Nov
(7) |
Dec
(7) |
2009 |
Jan
(4) |
Feb
(9) |
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
(3) |
Aug
(10) |
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
(6) |
Nov
(1) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Marc L. <Mar...@DE...> - 2006-06-27 14:09:06
|
I thought I finally got it. But it seems I am lost again. Or is it only due to some inconsistency in the system ? Tried to use that trick again, as described below. But this time with a default value set to 'true'. Guess what. It does not work at all. Just the opposite behaviour. Consider the acd: boolean: show_header [ additional: "Y" default: "Y" comment: "defaults" comment: "method --noheader" ] The behaviour I expected was: If the user sets show_header to 'true', the --noheader is not put on the command line. In all other cases (e.g. show_header =3D> false) the = passed value is different from the default and thus, --noheader is put on the command line. It happened to be completely the way around. On the other hand, if this was put in the acd (like in the old post below) it behaves as expected. boolean: no_header [ additional: "Y" default: "N" comment: "defaults" comment: "method --noheader" ] Meaning: if no_header is set to 'true', --noheader is added to the command line, if no_header is ommitted or set to 'false', the option is not added to the command line because 'false' is the default value. Why did it not work in the other way (the first example) ? What is the system behind it ???? Am I missing something ? Cheers, Marc > -----Original Message----- > From: soa...@li...=20 > [mailto:soa...@li...] On Behalf=20 > Of Marc Logghe > Sent: Thursday, February 23, 2006 6:06 PM > To: soa...@li... > Subject: RE: [Soaplab-users] ACD question >=20 > Feels a little strange, answering my own post ;-) >=20 > Finally I used this trick: >=20 > boolean convert_to_uppercase [ > additional: "Y" > prompt: "Convert to uppercase" > default: "false" > comment: "defaults" > comment: "method -u" > ] >=20 > The trick is taking advange of an applab feature and works as=20 > such: if a user passes a value that matches the default value=20 > (here set to false) the option is not passed to the command=20 > line. With any other value different from false (e.g true :-)=20 > applab will pass the option '-u' to the command line. >=20 > You can use that trick also for other parameter types but you=20 > have to take care: you should not lie about the default value !! > Because: Suppose you have a blast service and a paramater=20 > expect_cutoff that defaults to 1E-2 (at least, according to=20 > the acd file). However, the blastall default e-value is 10.0. > Meaning, in the acd you actually lied about the real default=20 > e-value that blastall is using. As a consequence, when a user=20 > really passes the value 1E-2 for the expect_cutoff parameter,=20 > it matches the default value and therefor the option is not=20 > passed to the blastall command line. As a result, blastall is=20 > run with the real e-value of 10.0 !=20 >=20 > Hope it will help somebody, some day ... >=20 > Cheers, > Marc >=20 >=20 >=20 > > -----Original Message----- > > From: soa...@li... > > [mailto:soa...@li...] On=20 > Behalf Of Marc=20 > > Logghe > > Sent: Thursday, February 23, 2006 4:15 PM > > To: soa...@li... > > Subject: [Soaplab-users] ACD question > >=20 > > Hi, > > Suppose you have a command line that takes an option -u (let say it=20 > > means uppercase). If '-u' is omitted, it produces lowercase. > > I started off like this: > >=20 > > boolean convert_to_uppercase [ > > additional: "Y" > > prompt: "Convert to uppercase" > > comment: "method -u" > > ] > >=20 > > A soaplab user would see the option 'convert_to_uppercase'.=20 > > Internally this is mapped by soaplab to '-u' without a value. > > Problem is, no matter what value is given (true or false)=20 > this option=20 > > would be put on the command line and this is not what the user=20 > > expects. > > Is there a way to make this conditinal ? > > Something like: > > comment: "method @($$ =3D=3D true ? '-u' : '') > >=20 > > I have a terrible feeling I am overlooking something ... > > But any suggestions are welcome. > > Thanks, > > Marc > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting=20 > > language that extends applications into web and mobile=20 > media. Attend=20 > > the live webcast and join the prime developer group=20 > breaking into this=20 > > new coding territory! > > = http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > > _______________________________________________ > > Soaplab-users mailing list > > Soa...@li... > > https://lists.sourceforge.net/lists/listinfo/soaplab-users > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting language that extends applications into web and=20 > mobile media. Attend the live webcast and join the prime=20 > developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Soaplab-users mailing list > Soa...@li... > https://lists.sourceforge.net/lists/listinfo/soaplab-users >=20 |
From: Mahmut U. <ul...@eb...> - 2006-06-26 15:07:13
|
Hi Marc, I looked at the problem more from the EMBOSS perspective. I think there are issues on the Soaplab side as well. Would it be possible to send me the ACD file you are working on if it is not confidential? Regards, Mahmut On Mon, 2006-06-26 at 16:37 +0200, Marc Logghe wrote: > Hi Mahmut, > Thanks. > It seemed that trying to verify the quoting played some tricks on me: no > quotes in the soaplab report + dump of @ARGV (the soaplab wrapped > command is a perl script) does not show quotes neither. But it seems to > work, as the output to stdout is catched. > I mean, if the command would end with a ';', then it would be impossible > to redirect the stdout to a file, right ? > It is the difference between > 'command --arg1 blah --arg2 blah ; > outfile' => outfile is empty. > and > 'command --arg1 blah --arg2 blah ";" > outfile' => outfile has content > > Cheers, > Marc > > > > -----Original Message----- > > From: Mahmut Uludag [mailto:ul...@eb...] > > Sent: Monday, June 26, 2006 3:29 PM > > To: Marc Logghe > > Cc: soa...@li... > > Subject: Re: [Soaplab-users] How to quote arguments ? > > > > Hi Marc, > > > > It seems that the following should work (double quotas inside > > single quotas). > > > > comment: 'method --separator "$$"' > > > > Regards, > > Mahmut > > > > > > On Thu, 2006-06-22 at 15:41 +0200, Marc Logghe wrote: > > > Hi, > > > How can one define in acd to double quote an argument ? > > > Trials like > > > comment: "method --separator "$$"" > > > comment: "method --separator \"$$\"" > > > comment: "method --separator '$$'" > > > did not work. > > > > > > Regards, > > > Marc > > > > > > Using Tomcat but need to do more? Need to support web > > services, security? > > > Get stuff done quickly with pre-integrated technology to > > make your job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > > Apache Geronimo > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > > > 42 _______________________________________________ > > > Soaplab-users mailing list > > > Soa...@li... > > > https://lists.sourceforge.net/lists/listinfo/soaplab-users > > > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Soaplab-users mailing list > Soa...@li... > https://lists.sourceforge.net/lists/listinfo/soaplab-users |
From: Marc L. <Mar...@DE...> - 2006-06-26 14:38:10
|
Hi Mahmut, Thanks. It seemed that trying to verify the quoting played some tricks on me: no quotes in the soaplab report + dump of @ARGV (the soaplab wrapped command is a perl script) does not show quotes neither. But it seems to work, as the output to stdout is catched. I mean, if the command would end with a ';', then it would be impossible to redirect the stdout to a file, right ? It is the difference between 'command --arg1 blah --arg2 blah ; > outfile' =3D> outfile is empty. and 'command --arg1 blah --arg2 blah ";" > outfile' =3D> outfile has content Cheers, Marc =09 > -----Original Message----- > From: Mahmut Uludag [mailto:ul...@eb...]=20 > Sent: Monday, June 26, 2006 3:29 PM > To: Marc Logghe > Cc: soa...@li... > Subject: Re: [Soaplab-users] How to quote arguments ? >=20 > Hi Marc, >=20 > It seems that the following should work (double quotas inside=20 > single quotas). >=20 > comment: 'method --separator "$$"' >=20 > Regards, > Mahmut >=20 >=20 > On Thu, 2006-06-22 at 15:41 +0200, Marc Logghe wrote: > > Hi, > > How can one define in acd to double quote an argument ? > > Trials like > > comment: "method --separator "$$"" > > comment: "method --separator \"$$\"" > > comment: "method --separator '$$'" > > did not work. > >=20 > > Regards, > > Marc > >=20 > > Using Tomcat but need to do more? Need to support web=20 > services, security? > > Get stuff done quickly with pre-integrated technology to=20 > make your job=20 > > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > > Apache Geronimo > >=20 > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > > 42 _______________________________________________ > > Soaplab-users mailing list > > Soa...@li... > > https://lists.sourceforge.net/lists/listinfo/soaplab-users >=20 >=20 |
From: Mahmut U. <ul...@eb...> - 2006-06-26 13:29:46
|
Hi Marc, It seems that the following should work (double quotas inside single quotas). comment: 'method --separator "$$"' Regards, Mahmut On Thu, 2006-06-22 at 15:41 +0200, Marc Logghe wrote: > Hi, > How can one define in acd to double quote an argument ? > Trials like > comment: "method --separator "$$"" > comment: "method --separator \"$$\"" > comment: "method --separator '$$'" > did not work. > > Regards, > Marc > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Soaplab-users mailing list > Soa...@li... > https://lists.sourceforge.net/lists/listinfo/soaplab-users |
From: Marc L. <Mar...@DE...> - 2006-06-22 13:41:59
|
Hi, How can one define in acd to double quote an argument ? Trials like comment: "method --separator "$$"" comment: "method --separator \"$$\"" comment: "method --separator '$$'" did not work. Regards, Marc |
From: Martin S. <se...@eb...> - 2006-05-15 13:36:27
|
[ Sorry for cross-posting...] Dear users, Last week, Sourceforge announced a change in their CVS repositories. You need to CVS checkout again (or, if using Eclipse, to change the host from cvs.sourceforge.net to soaplab.cvs.sourceforge.net). This is what SourceForge suggests: Summary of changes, effective 2006-05-12: ----------------------------------------- 1. Hostname for CVS service Old: cvs.sourceforge.net New: soaplab.cvs.sourceforge.net cvs -d:pserver:ano...@cv...:/cvsroot/soaplab co soaplab would be changed to cvs -d:pserver:ano...@so...:/cvsroot/soaplab co soaplab (and similarly for the ssh access) The same has to be applied to other Soaplab modules (at the moment there is only one more there: acdtools). With regards, Martin -- Martin Senger email: mar...@gm... skype: martinsenger |
From: Alberto L. <ala...@eb...> - 2006-04-26 16:39:46
|
it is working now! >>http://www.ebi.ac.uk/soaplab/services gives a 500 server error message. >>Where do I report this error? >> >> >> > They know it already and they are fixing it as we speak. Next time, you >can report it directly to Alberto Labarga <ala...@eb...> (from EBI's >externalservices team), or to su...@eb.... > > Martin > > > |
From: Martin S. <se...@eb...> - 2006-04-26 16:05:26
|
> http://www.ebi.ac.uk/soaplab/services gives a 500 server error message. > Where do I report this error? > They know it already and they are fixing it as we speak. Next time, you can report it directly to Alberto Labarga <ala...@eb...> (from EBI's externalservices team), or to su...@eb.... Martin -- Martin Senger email: mar...@gm... skype: martinsenger |
From: Stian S. <sso...@cs...> - 2006-04-26 16:00:48
|
http://www.ebi.ac.uk/soaplab/services gives a 500 server error message. Where do I report this error? -- Stian Soiland School of Computer Science The University of Manchester http://www.cs.man.ac.uk/~ssoiland/ |
From: Martin S. <se...@eb...> - 2006-04-25 13:16:19
|
> My java version is: > java version "1.4.2" > gij (GNU libgcj) version 4.1.0 20060304 (Red Hat 4.1.0-3) > This is Java I have never tried, I was always working only with Sun java. This GNU java obviously has different internals regarding CORBA classes, which I am afraid I am going to solve (because the Soaplab2 project - that does not use CORBA at all - is on its way). Cheers, Martin -- Martin Senger email: mar...@gm... skype: martinsenger |
From: Per L. <per...@sb...> - 2006-04-25 11:56:07
|
Dear list! After installation of Soaplab, i tried to start the Applab-server by ./run-Applab-server. Then I get the followint message. Can someone please tell me if I have misconfigured something or if I perhaps need to install additional software for it to work properly. Cheers /Per Larsson ./run-AppLab-server Exception in thread "main" java.lang.ClassCastException: gnu.CORBA.typecodes.ArrayTypeCode cannot be cast to com.ooc.CORBA.TypeCode at com.ooc.CORBA.Any.type (Any.java:192) at com.ooc.CORBA.Any.insert_Streamable (Any.java:944) at org.omg.CORBA.StringSeqHelper.insert (libgcj.so.7) at com.ooc.OB.IIOPConfig.parseHost (IIOPConfig.java:47) at com.ooc.OB.IIOPConfig.parseDefaults (IIOPConfig.java:272) at com.ooc.OB.IIOPConfig.parseAll (IIOPConfig.java:317) at com.ooc.OBPortableServer.POAManagerFactory_impl.create_poa_manager (POAManagerFactory_impl.java:148) at com.ooc.OB.ORBControl.initializeRootPOA (ORBControl.java:548) at com.ooc.OBCORBA.ORB_impl.resolve_initial_references (ORB_impl.java:782) at embl.ebi.corbatools.POAServer.POAInit (POAServer.java:73) at embl.ebi.corbatools.POAServer.POAInit (POAServer.java:66) at embl.ebi.AppLabServer.AppLabServer.<init> (AppLabServer.java:50) at Server.<init> (Server.java:25) at Server.main (Server.java:35) |
From: Martin S. <se...@eb...> - 2006-04-12 10:38:38
|
Hi, Sorry for a delayed answer. > Sorry, something seems to have gone wrong... here are the details: > Fault - Could not find class for the service named: > org.embl.ebi.SoaplabServer.applab.AnalysisWSAppLabImpl > This is usually solved by restarting your Tomcat (or by reloading just Axis if you are using Tomcat Manager web page). If it still does not work, check please that you really have file soaplab.jar in your directory: <tomcat-home-directory>/webapps/axis/WEB-INF/lib. Also look if there any additional hint in the tomcat log file (logs/catalina.out). > Presumably this has something to do with the name of my web-server > Why do you think so? Regards, Martin -- Martin Senger email: mar...@gm... skype: martinsenger |
From: Per L. <per...@sb...> - 2006-04-09 10:11:40
|
Dear users! I have run into some problems with soaplab and Apache Axis working together. I got Axis configured properly and can list the web services that are available per default. Then I went ahead and installed Soaplab, and after installation i did ws/deploy-web-services to deploy the default soaplab web-services. Now that I try to make Axis display the services, the message says: Sorry, something seems to have gone wrong... here are the details: Fault - Could not find class for the service named: org.embl.ebi.SoaplabServer.applab.AnalysisWSAppLabImpl Hint: you may need to copy your class files/tree into the right location (which depends on the servlet system you are using).; nested exception is= : java.lang.ClassNotFoundException: org.embl.ebi.SoaplabServer.applab.AnalysisWSAppLabImpl AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: Could not find class for the service named: org.embl.ebi.SoaplabServer.applab.AnalysisWSAppLabImpl Hint: you may need to copy your class files/tree into the right location (which depends on the servlet system you are using).; nested exception is= : java.lang.ClassNotFoundException: org.embl.ebi.SoaplabServer.applab.AnalysisWSAppLabImpl faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:fw Presumably this has something to do with the name of my web-server, but I don't know how to resolve it. Also, I cannot do any of the examples on th= e soaplab webpage, such as ws/run-factory-service -a Cheers /Per Larsson |
From: Martin S. <se...@eb...> - 2006-04-05 08:18:23
|
Hi, For some time, there have been talks about making a new generation of Soaplab. Now, the time seems to be good for that. (Do not worry, the current Soaplab will be still supported.) The new code will be in a separate CVS module (soaplab2). I have created a new mailing list (soaplab-two-dev) for developing the new soaplab. Please consider to subscribe to it here: http://lists.sourceforge.net/lists/listinfo/soaplab-two-dev Below are the main goals and plans for Soaplab2 (sorry for posting it here - this will be hopefully the last post into this list about the Soaplab2): With regards, Martin The main goals of Soaplab2: --------------------------- * Clearer architecture: - Core (representing by the full Soaplab API). Implement also parts that were not implemented so far: iterator pattern (streaming) for input/output, server-push notification. - Plug-ins defining individual "analysis providers"; major "analysis providers" are command-line tools (what is done by AppLab in the current Soaplab), web resource (current Gowlab), access to non-Soaplab web services (e.g. interproscan at EBI). Another candidate is a plug-in for accessing an underlying grid. - Plug-ins defining access protocols (how to call Soaplab from clients). At the moment, the only protocol is SOAP/HTML, but at least REST should be added. * Remove internal dependencies on CORBA (AppLab part). * Make it pure Java: - The Perl launcher (which is now between Soaplab and command-line tools) should be replaced (possibly still keeping his "scripting" character by using e.g. Java beanshell). - Replace the Perl ACD2XML converter by a Java convertor. * "Soaplab Dashboard" - A user interface (presumably web-based) allowing to create and deploy new Soaplab services on-the-fly, including an ACD (or directly XML) editor for Soaplab metadata. - It will need to create and implement a separate "Soaplab Admin API". * Better support for Soaplab WSDL (and better WSDL in the first place, at least for the derived services). Based on work of Peter Ernst from the German Cancer Research Center. * Re-write: clean the code, fix old bugs, make it more maintainable. -- Martin Senger email: mar...@gm... skype: martinsenger |
From: <Lia...@cs...> - 2006-03-06 00:04:06
|
Hi Marc, Thanks for the help, it works like a charm. Although it would appear that only one extra line is needed. The final result is=20 boolean: flag [ comment: "display no" default: "true" comment: "defaults" ] Thanks, Liam -----Original Message----- From: Marc Logghe [mailto:Mar...@DE...]=20 Sent: Friday, March 03, 2006 7:00 PM To: Childs, Liam (PI, Black Mountain); soa...@li... Subject: RE: [Soaplab-users] Boolean qualifiers turned on by default Oh wait. What are you actually trying to achieve ? The configuration like this=20 boolean: flag [ additional: "Y" default: "true" comment: "defaults" ] means the following: 1) the flag option is optional 2) when the flag is set to 'true' by the user it is not passed to the command line (the 'comment: defaults' part) However, this comes from the docs: " comment: defaults A boolean option. If defined it says "put on the command line the value of this parameter even if the value is a default one". By default, the default values are not put on the command-line." But actually this behaviour I do not observe at all, in contrary. It is not put on the command line if the passed value is equal to the configured default value (this comes in handy sometimes, see one of my previous posts http://sourceforge.net/mailarchive/forum.php?thread_id=3D9796424&forum_id= =3D 45617). I believe you want to run the command always like 'command -flag', right ? I mean without the value 'true' coming after and the user should not pass anything. The user should not even be aware of the option ? If that is the case, you should try something like: boolean: flag [ comment: "display no" default: "true" comment: defaults comment: "method -flag" ] HTH, Marc > -----Original Message----- > From: soa...@li...=20 > [mailto:soa...@li...] On Behalf=20 > Of Marc Logghe > Sent: Friday, March 03, 2006 8:37 AM > To: Lia...@cs...; soa...@li... > Subject: RE: [Soaplab-users] Boolean qualifiers turned on by default >=20 > > Is there a way to force soaplab to always start a program with a=20 > > boolean flag. > > eg. Say we have a program with the following command syntax: > >=20 > > command [-flag] > >=20 > > Is there a way to make soaplab call this command with the -flag=20 > > qualifier by default. A solution in xml would be preferable=20 > although=20 > > an acd solution would be great. > >=20 > > I have already tried: > >=20 > > boolean: flag [ > > comment: "defaults" > > ] > >=20 > > boolean: flag [ > > default: "true" > > comment: "defaults" > > ] > >=20 > > boolean: flag [ > > standard: "true" > > default: "true" > > comment: "defaults" > > ] > Hi Liam, >=20 > What happens if you use 'additional' instead of 'standard' ? > boolean: flag [ > additional: "Y" > default: "true" > comment: "defaults" > ] >=20 > Cheers, > Marc >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting language that extends applications into web and=20 > mobile media. Attend the live webcast and join the prime=20 > developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Soaplab-users mailing list > Soa...@li... > https://lists.sourceforge.net/lists/listinfo/soaplab-users >=20 |
From: Marc L. <Mar...@DE...> - 2006-03-03 08:00:27
|
Oh wait. What are you actually trying to achieve ? The configuration like this=20 boolean: flag [ additional: "Y" default: "true" comment: "defaults" ] means the following: 1) the flag option is optional 2) when the flag is set to 'true' by the user it is not passed to the command line (the 'comment: defaults' part) However, this comes from the docs: " comment: defaults A boolean option. If defined it says "put on the command line the value of this parameter even if the value is a default one". By default, the default values are not put on the command-line." But actually this behaviour I do not observe at all, in contrary. It is not put on the command line if the passed value is equal to the configured default value (this comes in handy sometimes, see one of my previous posts http://sourceforge.net/mailarchive/forum.php?thread_id=3D9796424&forum_id= =3D 45617). I believe you want to run the command always like 'command -flag', right ? I mean without the value 'true' coming after and the user should not pass anything. The user should not even be aware of the option ? If that is the case, you should try something like: boolean: flag [ comment: "display no" default: "true" comment: defaults comment: "method -flag" ] HTH, Marc > -----Original Message----- > From: soa...@li...=20 > [mailto:soa...@li...] On Behalf=20 > Of Marc Logghe > Sent: Friday, March 03, 2006 8:37 AM > To: Lia...@cs...; soa...@li... > Subject: RE: [Soaplab-users] Boolean qualifiers turned on by default >=20 > > Is there a way to force soaplab to always start a program with a=20 > > boolean flag. > > eg. Say we have a program with the following command syntax: > >=20 > > command [-flag] > >=20 > > Is there a way to make soaplab call this command with the -flag=20 > > qualifier by default. A solution in xml would be preferable=20 > although=20 > > an acd solution would be great. > >=20 > > I have already tried: > >=20 > > boolean: flag [ > > comment: "defaults" > > ] > >=20 > > boolean: flag [ > > default: "true" > > comment: "defaults" > > ] > >=20 > > boolean: flag [ > > standard: "true" > > default: "true" > > comment: "defaults" > > ] > Hi Liam, >=20 > What happens if you use 'additional' instead of 'standard' ? > boolean: flag [ > additional: "Y" > default: "true" > comment: "defaults" > ] >=20 > Cheers, > Marc >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting language that extends applications into web and=20 > mobile media. Attend the live webcast and join the prime=20 > developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Soaplab-users mailing list > Soa...@li... > https://lists.sourceforge.net/lists/listinfo/soaplab-users >=20 |
From: Marc L. <Mar...@DE...> - 2006-03-03 07:36:45
|
> Is there a way to force soaplab to always start a program=20 > with a boolean flag. > eg. Say we have a program with the following command syntax: >=20 > command [-flag] >=20 > Is there a way to make soaplab call this command with the=20 > -flag qualifier by default. A solution in xml would be=20 > preferable although an acd solution would be great. >=20 > I have already tried: >=20 > boolean: flag [ > comment: "defaults" > ] >=20 > boolean: flag [ > default: "true" > comment: "defaults" > ] >=20 > boolean: flag [ > standard: "true" > default: "true" > comment: "defaults" > ] Hi Liam, What happens if you use 'additional' instead of 'standard' ? boolean: flag [ additional: "Y" default: "true" comment: "defaults" ] Cheers, Marc |
From: <Lia...@cs...> - 2006-03-03 06:39:31
|
Hi all, I'm trying to configure several programs using the Soaplab xml files (AppLabAnalysis.dtd). Is there a way to force soaplab to always start a program with a boolean flag. eg. Say we have a program with the following command syntax: command [-flag] Is there a way to make soaplab call this command with the -flag qualifier by default. A solution in xml would be preferable although an acd solution would be great. I have already tried: boolean: flag [ comment: "defaults" ] boolean: flag [ default: "true" comment: "defaults" ] boolean: flag [ standard: "true" default: "true" comment: "defaults" ] Thanks, Liam Childs Data Analyst CSIRO Plant Industry GPO Box 1600 Canberra ACT 2601 Tel: +61 (0) 262 464 924 Mob: +61 (0) 423 394 921 |
From: Marc L. <Mar...@DE...> - 2006-02-23 17:06:27
|
Feels a little strange, answering my own post ;-) Finally I used this trick: boolean convert_to_uppercase [ additional: "Y" prompt: "Convert to uppercase" default: "false" comment: "defaults" comment: "method -u" ] The trick is taking advange of an applab feature and works as such: if a user passes a value that matches the default value (here set to false) the option is not passed to the command line. With any other value different from false (e.g true :-) applab will pass the option '-u' to the command line. You can use that trick also for other parameter types but you have to take care: you should not lie about the default value !! Because: Suppose you have a blast service and a paramater expect_cutoff that defaults to 1E-2 (at least, according to the acd file). However, the blastall default e-value is 10.0. Meaning, in the acd you actually lied about the real default e-value that blastall is using. As a consequence, when a user really passes the value 1E-2 for the expect_cutoff parameter, it matches the default value and therefor the option is not passed to the blastall command line. As a result, blastall is run with the real e-value of 10.0 !=20 Hope it will help somebody, some day ... Cheers, Marc > -----Original Message----- > From: soa...@li...=20 > [mailto:soa...@li...] On Behalf=20 > Of Marc Logghe > Sent: Thursday, February 23, 2006 4:15 PM > To: soa...@li... > Subject: [Soaplab-users] ACD question >=20 > Hi, > Suppose you have a command line that takes an option -u (let=20 > say it means uppercase). If '-u' is omitted, it produces lowercase. > I started off like this: >=20 > boolean convert_to_uppercase [ > additional: "Y" > prompt: "Convert to uppercase" > comment: "method -u" > ] >=20 > A soaplab user would see the option 'convert_to_uppercase'.=20 > Internally this is mapped by soaplab to '-u' without a value. > Problem is, no matter what value is given (true or false)=20 > this option would be put on the command line and this is not=20 > what the user expects. > Is there a way to make this conditinal ? > Something like: > comment: "method @($$ =3D=3D true ? '-u' : '') >=20 > I have a terrible feeling I am overlooking something ... > But any suggestions are welcome. > Thanks, > Marc >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting language that extends applications into web and=20 > mobile media. Attend the live webcast and join the prime=20 > developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Soaplab-users mailing list > Soa...@li... > https://lists.sourceforge.net/lists/listinfo/soaplab-users >=20 |
From: Marc L. <Mar...@DE...> - 2006-02-23 15:15:26
|
Hi, Suppose you have a command line that takes an option -u (let say it means uppercase). If '-u' is omitted, it produces lowercase. I started off like this: boolean convert_to_uppercase [ additional: "Y" prompt: "Convert to uppercase" comment: "method -u" ] A soaplab user would see the option 'convert_to_uppercase'. Internally this is mapped by soaplab to '-u' without a value. Problem is, no matter what value is given (true or false) this option would be put on the command line and this is not what the user expects. Is there a way to make this conditinal ? Something like: comment: "method @($$ =3D=3D true ? '-u' : '') I have a terrible feeling I am overlooking something ... But any suggestions are welcome. Thanks, Marc |
From: Martin S. <se...@eb...> - 2006-02-21 06:14:09
|
> Has anyone done a soaplab wrapper for the gcg programs? > Well, I sort of did... But not directly: The Soaplab is using XML files describing the applications. These XML files must be first created. Soaplab has a convertor to create them from the ACD files (EMBOSS syntax, but useable for all applications, not only EMBOSS). The first convertor - wrote many years ago - was able to consume both, ACD files and GCG config files. This old convertor was used in the W2H project (contact person Peter Ernst <P....@dk...>). But from that time the Soaplab convertor went its own way and lost the ability to read the GCG config files. So, if somebody can write a convertor from GCG config files to the Soaplab XML files, that would be what's neede tohave GCG application available via Soaplab. Just for your information: the current Soaplab convertor is quite old, and I am going to re-write it this year in Java (it is still in Perl now). I am not saying that I will do it also for GCG config file but perhaps I can discuss it, at least, with Peter (I will be collaborating with him on an another project this year), to see ho he sees it. With regards, Martin -- Martin Senger email: mar...@gm... skype: martinsenger consulting for: International Rice Research Institute Biometrics and Bioinformatics Unit DAPO BOX 7777, Metro Manila Philippines, phone: +63-2-580-5600 (ext.2324) |
From: <Lia...@cs...> - 2006-02-21 03:21:35
|
Dear all, Has anyone done a soaplab wrapper for the gcg programs? Regards, Liam Childs Data Analyst CSIRO Plant Industry GPO Box 1600 Canberra ACT 2601 Tel: +61 (0) 262 464 924 Mob: +61 (0) 423 394 921 |
From: Martin S. <se...@eb...> - 2006-02-17 15:32:52
|
> I am not familiar with the Soaplab code but it seem like there may be > a memory leak somewhere? > Or have I set something up wrongly? > No, the fault is not on your site. I am afraid that there is, indeed, a memory leak in Soaplab. I definitely need to look at it soon - and your problems are just additional motivation for me. But I am afraid that it still take some time to find a slot... I will try what I can. Sorry... Martin -- Martin Senger email: mar...@gm... skype: martinsenger consulting for: International Rice Research Institute Biometrics and Bioinformatics Unit DAPO BOX 7777, Metro Manila Philippines, phone: +63-2-580-5600 (ext.2324) |
From: Tim T. <Tim...@ed...> - 2006-02-17 15:24:56
|
Hi, I have a local install of Soaplab that runs quite happily serving various requests. However, over time Soaplab takes up more and more memory. With each request the memory consumed by Soaplab increases but does not decrease once the request has been serviced. Eventually I get the following error: Exception in thread "ORBacus:ThreadPool-0:Dispatcher-1" java.lang.OutOfMemoryError: Java heap space I am not familiar with the Soaplab code but it seem like there may be a memory leak somewhere? Or have I set something up wrongly? Tim |
From: Martin S. <se...@eb...> - 2006-02-16 14:26:39
|
> Is there something wrong with my set up? > > Can I safely ignore this message? > [Prg] means that it supposes to be an error caused by wrong programming (by me). But I have not seen it before (and this is from the internal CORBA layer which has not been changed at least for four years.. So if the rest of Soaplab works for you, just ignore it. But I will be soon looking closely how to improve Soaplab, so I will take a look at it, as well. Martin -- Martin Senger email: mar...@gm... skype: martinsenger consulting for: International Rice Research Institute Biometrics and Bioinformatics Unit DAPO BOX 7777, Metro Manila Philippines, phone: +63-2-580-5600 (ext.2324) |