From: Aamir Y. <aam...@gm...> - 2007-06-21 13:30:51
|
Thanks man, now works fine. -- Aamir Yaseen On 6/21/07, Timothy Wall <tw...@us...> wrote: > > You need a single argument of type String[], not 14 separate > arguments. You encode it like this in the first argument slot: > > [arg1,arg2,arg3,arg4] > > The brackets indicate the argument is an array; the elements are > separated by commas. > > On Jun 21, 2007, at 8:27 AM, Aamir Yaseen wrote: > > > Hello Twall, > > I am having problem in passing arguments to my application while > > launching. > > > > I can launch my Application using following command. > > >java -jar edb-debugger.jar -h 10.90.1.15 -p 5444 -U enterprisedb - > > w edb -d edb -s list_emp -i -e > > but when i pass above arguments to application in abbot. abbot give > > the following Error. > > > > Error: java.lang.NoSuchMethodException : No matching method main > > with return type * and 14 arguments found in class > > com.enterprisedb.debugger.wsApp > > in step 'Launch com.enterprisedb.debugger.wsApp.main(-h,10.90.1.15,- > > p,5444,-U,enterprisedb,-w,edb,-d,edb,-s,list_emp,-i,-e)' > > at C:\abbot\Editor.xml:3 > > java.lang.NoSuchMethodException: No matching method main with > > return type * and 14 arguments found in class > > com.enterprisedb.debugger.wsApp > > at abbot.script.Call.resolveMethods(Call.java :268) > > at abbot.script.Call.getMethods(Call.java:218) > > at abbot.script.Call.invoke(Call.java:162) > > at abbot.script.Call.runStep(Call.java:129) > > at abbot.script.Launch.synchronizedRunStep(Launch.java :138) > > at abbot.script.Launch.runStep(Launch.java:203) > > at abbot.script.Step.run(Step.java:92) > > at abbot.script.StepRunner.runStep(StepRunner.java:277) > > at abbot.script.StepRunner.run(StepRunner.java :194) > > at abbot.script.Launch.launch(Launch.java:164) > > at abbot.editor.ScriptEditor$LaunchAction.run(ScriptEditor.java: > > 2608) > > at java.lang.Thread.run(Thread.java:595) > > > > Any Clue?? > > > > > > -- > > Regards, > > Aamir Yaseen > > > > ---------------------------------------------------------------------- > > --- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > abbot-users mailing list > > abb...@li... > > https://lists.sourceforge.net/lists/listinfo/abbot-users > > Timothy Wall > http://abbot.sf.net > > > |