Hi Vipul,

Please post your questions to the mailing lists on sourceforge.

Regarding your error:
It looks like there is some problem with the calc file.
Make sure that the file exists and that the file name is correctly 
specified in the

examples/apps/calc.xml

The broker looks for input files (such as calc) in  the current 
directory where it is running, unless you specify a relative directory
in the application description file - i.e examples/apps/calc.xml , for 
example.

HTH.

Cheers
Krishna.

Vipul Delwadia wrote:
> Message body follows:
>
> Hi,
>
> I'm not sure if you are the 'right' person to email, but
> here it goes:
>
> I am trying to get Gridbus Broker to work with Alchemi, with
> the sample calc application, and not getting any success.
> The error I get is: "Error encoding from file calc.Windows",
> followed by a whole lot of trace output (I will post it at
> the end of this message). I have tried running the broker on
> Windows and NetBSD, and I have changed the following:
>
> examples/services/alchemi.xml - changed the url to the cross
> platform manager
>
> examples/credentials/credentials.xml -
> <credentials id="auth1" type="auth">
>   <auth username="user" password="user" />
> </credentials>
>
> The command I am running is this:
> gbb.sh -a examples/apps/calc.xml -s
> examples/services/alchemi.xml -c
> examples/credentials/credentials.xml
> This is from the GBB_HOME directory.
>
> I have followed the instructions carefully, and have
> correctly set GBB_HOME, PATH, and run the setupDB.sh script.
>
> Any help would be much appreciated, I am running around in
> circles trying to get this to work.
>
> Thank you and regards,
> Vipul Delwadia
>
> PS: Here is the full output...
>
> Starting Gridbus Broker v.3.0.1 ...
> INFO [main]-(HSQLDBUtil.java:35) - Starting HSQLDB server
> with broker database ...
> [EMAIL PROTECTED]: [Thread[main,5,main]]: setNoSystemExit(true)
> [EMAIL PROTECTED]: [Thread[main,5,main]]: checkRunning(false)
> entered
> [EMAIL PROTECTED]: [Thread[main,5,main]]: checkRunning(false)
> exited
> INFO [main]-(HSQLDBUtil.java:91) - Done.
> INFO [main]-(BrokerStorage.java:50) - Initialising Broker
> Storage...
> INFO [main]-(BrokerStorage.java:61) - Done: 2049 ms.
> WARN [main]-(Broker.java:121) - Log-mode debug NOT enabled...
> INFO [main]-(Broker.java:123) - Broker version : 3.0.1
> INFO [main]-(Broker.java:124) - Current user (user.name) :
> delwadvipu
> INFO [main]-(Broker.java:125) - Current directory (user.dir)
> : /mnt/scratch/gridbus/gridbusbroker-3.0.1
> INFO [main]-(Broker.java:505) - Starting Scheduling of
> application : 9B2828DC-6D39-6D0A-FFF3-B6ED917D85CF
> INFO [main]-(Broker.java:565) - Starting ServiceMonitor for
> application ... 9B2828DC-6D39-6D0A-FFF3-B6ED917D85CF
> INFO [main]-(Broker.java:590) - Using scheduling algorithm: none
> INFO [main]-(Broker.java:592) - Created scheduler:
> org.gridbus.broker.scheduler.RoundRobinScheduler
> INFO
> [Scheduler.9B2828DC-6D39-6D0A-FFF3-B6ED917D85CF]-(Scheduler.java:237)
> - Starting Scheduling...
> INFO [main]-(Broker.java:551) - Starting JobMonitor... for
> application 9B2828DC-6D39-6D0A-FFF3-B6ED917D85CF
> INFO [main]-(StartRun.java:252) -
>
>  --- Application performance statistics----
>
> Job Status : Done      Failed    Active    Pending   Submtd
>    Schedld   StageIn   StageOut  Unknown   Ready     Total 
>    IsAlive   JobLimit  AvgCompT
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
> 130.195.10 : 0         0         0         0         0     
>    0         0         0         0         -         0     
>    Y         1         0.0
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
> Total      : 0         0         0         0         0     
>    0         0         0         0         3         3
>
> Deadline   : 12:56:21.366 Thu, 23 Nov 2006
> Time left  : 23:59:58.13
>
> Budget     : 9.223372E18 G$
> Budg.spent : 0.0 G$
>
> Current Schedule - time spent so far: 00:00:01.988
> INFO
> [Scheduler.9B2828DC-6D39-6D0A-FFF3-B6ED917D85CF]-(Scheduler.java:399)
> - Mapped job j0(status=SCHEDULED) to server 13-130.195.10.40
> Error encoding from file calc.Windows
> ERROR:  ''
> WARN [Dispatch-j0]-(Dispatcher.java:90) - Error submitting
> job.j0. Resetting it... :
> org.gridbus.broker.exceptions.JobSubmissionFailedException:
> Error abcd executing jobwrapper.
>         at
> org.gridbus.broker.common.JobWrapper.executeJob(JobWrapper.java:99)
>         at
> org.gridbus.broker.common.ComputeServer.submitJob(ComputeServer.java:196)
>         at
> org.gridbus.broker.common.Dispatcher.dispatchJob(Dispatcher.java:75)
>         at
> org.gridbus.broker.common.Dispatcher.run(Dispatcher.java:53)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: javax.xml.transform.TransformerException:
> java.lang.NullPointerException
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown
> Source)
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown
> Source)
>         at
> org.gridbus.alchemi.client.util.AlchemiXmlUtil.getStringFromDOM(AlchemiXmlUtil.java:72)
>         at
> org.gridbus.alchemi.client.util.AlchemiXmlUtil.getTaskXml(AlchemiXmlUtil.java:147)
>         at
> org.gridbus.alchemi.client.GApplication.start(GApplication.java:102)
>         at
> org.gridbus.broker.services.compute.alchemi.AlchemiJobWrapper.execute(AlchemiJobWrapper.java:211)
>         at
> org.gridbus.broker.common.JobWrapper.executeJob(JobWrapper.java:96)
>         ... 4 more
> Caused by: java.lang.NullPointerException
>         at
> com.sun.org.apache.xml.internal.serializer.ToUnknownStream.characters(Unknown
> Source)
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown
> Source)
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown
> Source)
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown
> Source)
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown
> Source)
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown
> Source)
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown
> Source)
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(Unknown
> Source)
>         ... 11 more


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
alchemi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-users

Reply via email to