Problems with BES submission after changing to newer Unicore server version

View: New views
7 Messages — Rating Filter:   Alert me  

Problems with BES submission after changing to newer Unicore server version

by Peter Modos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Unicore Developers,

I'm developing a client application what sends jobs to WS with  
OGSA-BES interface. Until now I have tested it with Unicore 1.3.3 and  
worked correctly.

When I tried the same application (and same job configuration) to work  
together with the newest Unicore server (6.2.2), it didn't work. I  
found the following error in uas.log file:

2009-10-23 10:48:32,317 [31845311@qtp-11816628-2] INFO  
XUUDBAuthoriser  - New client:  
1.2.840.113549.1.9.1=#161c756e69636f72652d737570706f7274406c697374732e73662e6e6574,C=DE,O=unicore.eu,OU=Testing,CN=UNICORE demo  
user
2009-10-23 10:48:32,495 [31845311@qtp-11816628-2] INFO  BESFactoryImpl  
  - Creating New Activity
2009-10-23 10:48:32,496 [31845311@qtp-11816628-2] INFO  BESFactoryImpl  
  - BES accepting new activities: true
2009-10-23 10:48:32,574 [31845311@qtp-11816628-2] INFO  
BasicTSIFactory  - Creating new uspace for  
88532791-7a53-4993-b73b-3cc6e3fff940
client: EMAILADDRESS=unicore-support@..., C=DE, O=unicore.eu,  
OU=Testing, CN=UNICORE demo user
Xlogin: [user], selected login: user, role: user: role from  
authorisation, authenticated using <CONSIGNOR X509v3>
2009-10-23 10:48:32,608 [31845311@qtp-11816628-2] INFO  
BESActivityImpl  - Initializing BESActivity  
<88532791-7a53-4993-b73b-3cc6e3fff940> for client  
EMAILADDRESS=unicore-support@..., C=DE, O=unicore.eu,  
OU=Testing, CN=UNICORE demo user
Xlogin: [user], selected login: user, role: user: role from  
authorisation, authenticated using <CONSIGNOR X509v3>
2009-10-23 10:48:32,683 [31845311@qtp-11816628-2] INFO  
PathedStorageImpl  - SMS init in  
</home/user/setup/UNICORE622/unicorex/data/FILESPACE/88532791-7a53-4993-b73b-3cc6e3fff940/>
2009-10-23 10:48:33,664 [31845311@qtp-11816628-2] INFO  BESFactoryImpl  
  - Getting Activity Statuses
2009-10-23 10:48:34,045 [XNJS-JobRunner-2] ERROR Execution  - Could  
not properly incarnate
<jsdl1:HPCProfileApplication  
xmlns:jsdl1="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"  
xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl"  
xmlns:bes="http://schemas.ggf.org/bes/2006/08/bes-factory"  
xmlns:xsd="http://www.w3.org/2001/XMLSchema"  
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <jsdl1:Executable>/bin/bash</jsdl1:Executable>
   <jsdl1:Argument>bes_executable_2</jsdl1:Argument>
   <jsdl1:Output>bes_stdout.log</jsdl1:Output>
   <jsdl1:Error>bes_stderr.log</jsdl1:Error>
</jsdl1:HPCProfileApplication>,
  got
<xml-fragment/>
2009-10-23 10:48:34,045 [XNJS-JobRunner-2] WARN  Execution  - Failure  
in submit.
2009-10-23 10:48:34,046 [XNJS-JobRunner-2] INFO  JSDLProcessor  -  
Action 88532791-7a53-4993-b73b-3cc6e3fff940 FAILED: Could not submit  
job: java.lang.Exception: Application could not be mapped to an  
executable.
2009-10-23 10:48:34,070 [XNJS-JobRunner-2] ERROR JobRunner  - Error  
during processing action <88532791-7a53-4993-b73b-3cc6e3fff940>
de.fzj.unicore.xnjs.ems.ProcessingException: Could not submit job:  
java.lang.Exception: Application could not be mapped to an executable.
        at  
de.fzj.unicore.xnjs.jsdl.JSDLProcessor.handlePending(JSDLProcessor.java:268)
        at de.fzj.unicore.xnjs.ems.Processor.process(Processor.java:126)
        at de.fzj.unicore.xnjs.ems.JobRunner.run(JobRunner.java:123)
Caused by: de.fzj.unicore.xnjs.ems.ExecutionException:  
java.lang.Exception: Application could not be mapped to an executable.
        at de.fzj.unicore.xnjs.simple.BasicExecution.submit(BasicExecution.java:149)
        at  
de.fzj.unicore.xnjs.jsdl.JSDLProcessor.handlePending(JSDLProcessor.java:257)
        ... 2 more
Caused by: java.lang.Exception: Application could not be mapped to an  
executable.
        at de.fzj.unicore.xnjs.simple.BasicExecution.submit(BasicExecution.java:120)
        ... 3 more
2009-10-23 10:48:34,120 [XNJS-JobRunner-4] INFO  USAGE  -  
[NOT_SUCCESSFUL] [ null] [ 88532791-7a53-4993-b73b-3cc6e3fff940]  
[EMAILADDRESS=unicore-support@..., C=DE, O=unicore.eu,  
OU=Testing, CN=UNICORE demo user]


In my client application I use the following versions of jsdl and bes  
jar files:
- jsdl-xmlbeans-1.2.jar
- ogsabes-core-1.1.3.jar
- ogsabes-types-1.4.jar

I see you continued to develop this files and use newer versions for  
the 6.2.2 server. I don't know if I change to the newer version of jar  
files it will solve my problem and also keeps compatible with older  
Unicore server versions?

Do you know what could be the reason of this problem and how can I solve it?

Thank you in advance for your help!

Greetings,
Peter Modos

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Re: Problems with BES submission after changing to newer Unicore server version

by Bernd Schuller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,

the problem lies with the namespace of the hpcpa JSDL document.
You use xmlns:jsdl1="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"
where the server would like to see "ogf.org" not "ggf.org"
Since it is not so clear to me which is the "correct" one,
the next UNICORE release will simply accept both.

I assume if you use the newer jsdl-xmlbeans on the client it will work
with all UNICORE server versions where BES is integrated (starting with
6.2.0).

Maybe Shahbaz (on CC) who is our BES expert can assist you better with
solving/avoiding this issue.

Best regards,
Bernd.

On Fr, 2009-10-23 at 11:34 +0200, modos@... wrote:

> Dear Unicore Developers,
>
> I'm developing a client application what sends jobs to WS with
> OGSA-BES interface. Until now I have tested it with Unicore 1.3.3 and
> worked correctly.
>
> When I tried the same application (and same job configuration) to work
> together with the newest Unicore server (6.2.2), it didn't work. I
> found the following error in uas.log file:
>
> 2009-10-23 10:48:32,317 [31845311@qtp-11816628-2] INFO
> XUUDBAuthoriser  - New client:
> 1.2.840.113549.1.9.1=#161c756e69636f72652d737570706f7274406c697374732e73662e6e6574,C=DE,O=unicore.eu,OU=Testing,CN=UNICORE demo
> user
> 2009-10-23 10:48:32,495 [31845311@qtp-11816628-2] INFO  BESFactoryImpl
>   - Creating New Activity
> 2009-10-23 10:48:32,496 [31845311@qtp-11816628-2] INFO  BESFactoryImpl
>   - BES accepting new activities: true
> 2009-10-23 10:48:32,574 [31845311@qtp-11816628-2] INFO
> BasicTSIFactory  - Creating new uspace for
> 88532791-7a53-4993-b73b-3cc6e3fff940
> client: EMAILADDRESS=unicore-support@..., C=DE, O=unicore.eu,
> OU=Testing, CN=UNICORE demo user
> Xlogin: [user], selected login: user, role: user: role from
> authorisation, authenticated using <CONSIGNOR X509v3>
> 2009-10-23 10:48:32,608 [31845311@qtp-11816628-2] INFO
> BESActivityImpl  - Initializing BESActivity
> <88532791-7a53-4993-b73b-3cc6e3fff940> for client
> EMAILADDRESS=unicore-support@..., C=DE, O=unicore.eu,
> OU=Testing, CN=UNICORE demo user
> Xlogin: [user], selected login: user, role: user: role from
> authorisation, authenticated using <CONSIGNOR X509v3>
> 2009-10-23 10:48:32,683 [31845311@qtp-11816628-2] INFO
> PathedStorageImpl  - SMS init in
> </home/user/setup/UNICORE622/unicorex/data/FILESPACE/88532791-7a53-4993-b73b-3cc6e3fff940/>
> 2009-10-23 10:48:33,664 [31845311@qtp-11816628-2] INFO  BESFactoryImpl
>   - Getting Activity Statuses
> 2009-10-23 10:48:34,045 [XNJS-JobRunner-2] ERROR Execution  - Could
> not properly incarnate
> <jsdl1:HPCProfileApplication
> xmlns:jsdl1="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"
> xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl"
> xmlns:bes="http://schemas.ggf.org/bes/2006/08/bes-factory"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>    <jsdl1:Executable>/bin/bash</jsdl1:Executable>
>    <jsdl1:Argument>bes_executable_2</jsdl1:Argument>
>    <jsdl1:Output>bes_stdout.log</jsdl1:Output>
>    <jsdl1:Error>bes_stderr.log</jsdl1:Error>
> </jsdl1:HPCProfileApplication>,
>   got
> <xml-fragment/>
> 2009-10-23 10:48:34,045 [XNJS-JobRunner-2] WARN  Execution  - Failure
> in submit.
> 2009-10-23 10:48:34,046 [XNJS-JobRunner-2] INFO  JSDLProcessor  -
> Action 88532791-7a53-4993-b73b-3cc6e3fff940 FAILED: Could not submit
> job: java.lang.Exception: Application could not be mapped to an
> executable.
> 2009-10-23 10:48:34,070 [XNJS-JobRunner-2] ERROR JobRunner  - Error
> during processing action <88532791-7a53-4993-b73b-3cc6e3fff940>
> de.fzj.unicore.xnjs.ems.ProcessingException: Could not submit job:
> java.lang.Exception: Application could not be mapped to an executable.
>       at
> de.fzj.unicore.xnjs.jsdl.JSDLProcessor.handlePending(JSDLProcessor.java:268)
>       at de.fzj.unicore.xnjs.ems.Processor.process(Processor.java:126)
>       at de.fzj.unicore.xnjs.ems.JobRunner.run(JobRunner.java:123)
> Caused by: de.fzj.unicore.xnjs.ems.ExecutionException:
> java.lang.Exception: Application could not be mapped to an executable.
>       at de.fzj.unicore.xnjs.simple.BasicExecution.submit(BasicExecution.java:149)
>       at
> de.fzj.unicore.xnjs.jsdl.JSDLProcessor.handlePending(JSDLProcessor.java:257)
>       ... 2 more
> Caused by: java.lang.Exception: Application could not be mapped to an
> executable.
>       at de.fzj.unicore.xnjs.simple.BasicExecution.submit(BasicExecution.java:120)
>       ... 3 more
> 2009-10-23 10:48:34,120 [XNJS-JobRunner-4] INFO  USAGE  -
> [NOT_SUCCESSFUL] [ null] [ 88532791-7a53-4993-b73b-3cc6e3fff940]
> [EMAILADDRESS=unicore-support@..., C=DE, O=unicore.eu,
> OU=Testing, CN=UNICORE demo user]
>
>
> In my client application I use the following versions of jsdl and bes
> jar files:
> - jsdl-xmlbeans-1.2.jar
> - ogsabes-core-1.1.3.jar
> - ogsabes-types-1.4.jar
>
> I see you continued to develop this files and use newer versions for
> the 6.2.2 server. I don't know if I change to the newer version of jar
> files it will solve my problem and also keeps compatible with older
> Unicore server versions?
>
> Do you know what could be the reason of this problem and how can I solve it?
>
> Thank you in advance for your help!
>
> Greetings,
> Peter Modos
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Unicore-support mailing list
> Unicore-support@...
> https://lists.sourceforge.net/lists/listinfo/unicore-support
--
Dr. Bernd Schuller
Distributed Systems and Grid Computing
Juelich Supercomputing Centre, http://www.fz-juelich.de/jsc
Phone: +49 246161-8736 (fax -8556)
Personal blog: www.jroller.com/page/gridhaus


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Re: Problems with BES submission after changing to newer Unicore server version

by Gabor ROCZEI :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Peter and Bernd Schuller,

On 2009.10.24., at 13:29, Bernd Schuller wrote:

> hi,
>
> the problem lies with the namespace of the hpcpa JSDL document.
> You use xmlns:jsdl1="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"
> where the server would like to see "ogf.org" not "ggf.org"
> Since it is not so clear to me which is the "correct" one,
> the next UNICORE release will simply accept both.
>
> I assume if you use the newer jsdl-xmlbeans on the client it will work
> with all UNICORE server versions where BES is integrated (starting  
> with
> 6.2.0).
>
> Maybe Shahbaz (on CC) who is our BES expert can assist you better with
> solving/avoiding this issue.

This is the standard namespace: http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa 
  We are using only this in the ARC middleware.

Ammunition of this namespace:

The (BES, JSDL) interoperability  document (http://www.ogf.org/documents/GFD.124.pdf 
) referencing to this HPCPA document:

http://www.ogf.org/documents/GFD.111.pdf

and this document content this namespace:  http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa

We can say that this is the standard because the most  middleware  
vendors using this.

Cheers,

     Gabor






------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

smime.p7s (4K) Download Attachment

Re: Problems with BES submission after changing to newer Unicore server version

by Bernd Schuller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Gabor, Peter,

thanks for the clarification, it is clearly a UNICORE bug. We're using
the wrong xsd file apparently.

I've added a tracker item
<https://sourceforge.net/tracker/?func=detail&aid=2885431&group_id=102081&atid=633902>
and it will be fixed in the next release.

Best regards,
Bernd.

On Sa, 2009-10-24 at 14:00 +0200, Gabor Roczei wrote:

> Dear Peter and Bernd Schuller,
>
> On 2009.10.24., at 13:29, Bernd Schuller wrote:
>
> > hi,
> >
> > the problem lies with the namespace of the hpcpa JSDL document.
> > You use xmlns:jsdl1="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"
> > where the server would like to see "ogf.org" not "ggf.org"
> > Since it is not so clear to me which is the "correct" one,
> > the next UNICORE release will simply accept both.
> >
> > I assume if you use the newer jsdl-xmlbeans on the client it will work
> > with all UNICORE server versions where BES is integrated (starting
> > with
> > 6.2.0).
> >
> > Maybe Shahbaz (on CC) who is our BES expert can assist you better with
> > solving/avoiding this issue.
>
>
> This is the standard namespace: http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa
>   We are using only this in the ARC middleware.
>
> Ammunition of this namespace:
>
> The (BES, JSDL) interoperability  document (http://www.ogf.org/documents/GFD.124.pdf
> ) referencing to this HPCPA document:
>
http://www.ogf.org/documents/GFD.111.pdf

>
> and this document content this namespace:  http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa
>
> We can say that this is the standard because the most  middleware
> vendors using this.
>
> Cheers,
>
>      Gabor
>
>
>
>
--
Dr. Bernd Schuller
Distributed Systems and Grid Computing
Juelich Supercomputing Centre, http://www.fz-juelich.de/jsc
Phone: +49 246161-8736 (fax -8556)
Personal blog: www.jroller.com/page/gridhaus


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Re: Problems with BES submission after changing to newer Unicore server version

by Gabor ROCZEI :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Bernd,

On 2009.10.24., at 15:01, Bernd Schuller wrote:

> Hi Gabor, Peter,
>
> thanks for the clarification, it is clearly a UNICORE bug. We're using
> the wrong xsd file apparently.
>
> I've added a tracker item
> <https://sourceforge.net/tracker/?func=detail&aid=2885431&group_id=102081&atid=633902 
> >
> and it will be fixed in the next release.


Great!

Gábor

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

smime.p7s (4K) Download Attachment

Parent Message unknown Fwd: Problems with BES submission after changing to newer Unicore server version

by m.memon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

here is my yesterday's response to this query, which couldn't be
reached due to my email client problems.

--------------------------------------------------------------------------------------------------------------------------------------------------
Dear Peter,

> 2009-10-23 10:48:34,045 [XNJS-JobRunner-2] WARN  Execution  - Failure
> in submit.
> 2009-10-23 10:48:34,046 [XNJS-JobRunner-2] INFO  JSDLProcessor  -
> Action 88532791-7a53-4993-b73b-3cc6e3fff940 FAILED: Could not submit
> job: java.lang.Exception: Application could not be mapped to an
> executable.

I can see the problem occurs during the job execution. It has actually
happened due to a minor typo in xnjs, which prevents xnjs to
understand the jsdl's HPCProfileApplication element.
The changes has been committed to svn and they will be effective in
next release.

For your convenience, I have also attached the patched xnjs lib, which
will solve this problem.

To set this up: please
replace the unicore-servers-6.2.2/unicorex/lib/xnjs-module-core-1.2.2.jar
from your current installation
with the attached one (xnjs-module-core-1.2.3-SNAPSHOT.jar).

> In my client application I use the following versions of jsdl and bes
> jar files:
> - jsdl-xmlbeans-1.2.jar
> - ogsabes-core-1.1.3.jar
> - ogsabes-types-1.4.jar

First of all it is recommended to use the latest release, which has
improvements over the previous ones. In order to avoid any
ambiguities, it is better to use the same versions on server and the
client side.

Regards,

Shahbaz
On Fri, Oct 23, 2009 at 11:34 AM,  <modos@...> wrote:

> Dear Unicore Developers,
>
> I'm developing a client application what sends jobs to WS with
> OGSA-BES interface. Until now I have tested it with Unicore 1.3.3 and
> worked correctly.
>
> When I tried the same application (and same job configuration) to work
> together with the newest Unicore server (6.2.2), it didn't work. I
> found the following error in uas.log file:
>
> 2009-10-23 10:48:32,317 [31845311@qtp-11816628-2] INFO
> XUUDBAuthoriser  - New client:
> 1.2.840.113549.1.9.1=#161c756e69636f72652d737570706f7274406c697374732e73662e6e6574,C=DE,O=unicore.eu,OU=Testing,CN=UNICORE demo
> user
> 2009-10-23 10:48:32,495 [31845311@qtp-11816628-2] INFO  BESFactoryImpl
>  - Creating New Activity
> 2009-10-23 10:48:32,496 [31845311@qtp-11816628-2] INFO  BESFactoryImpl
>  - BES accepting new activities: true
> 2009-10-23 10:48:32,574 [31845311@qtp-11816628-2] INFO
> BasicTSIFactory  - Creating new uspace for
> 88532791-7a53-4993-b73b-3cc6e3fff940
> client: EMAILADDRESS=unicore-support@..., C=DE, O=unicore.eu,
> OU=Testing, CN=UNICORE demo user
> Xlogin: [user], selected login: user, role: user: role from
> authorisation, authenticated using <CONSIGNOR X509v3>
> 2009-10-23 10:48:32,608 [31845311@qtp-11816628-2] INFO
> BESActivityImpl  - Initializing BESActivity
> <88532791-7a53-4993-b73b-3cc6e3fff940> for client
> EMAILADDRESS=unicore-support@..., C=DE, O=unicore.eu,
> OU=Testing, CN=UNICORE demo user
> Xlogin: [user], selected login: user, role: user: role from
> authorisation, authenticated using <CONSIGNOR X509v3>
> 2009-10-23 10:48:32,683 [31845311@qtp-11816628-2] INFO
> PathedStorageImpl  - SMS init in
> </home/user/setup/UNICORE622/unicorex/data/FILESPACE/88532791-7a53-4993-b73b-3cc6e3fff940/>
> 2009-10-23 10:48:33,664 [31845311@qtp-11816628-2] INFO  BESFactoryImpl
>  - Getting Activity Statuses
> 2009-10-23 10:48:34,045 [XNJS-JobRunner-2] ERROR Execution  - Could
> not properly incarnate
> <jsdl1:HPCProfileApplication
> xmlns:jsdl1="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"
> xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl"
> xmlns:bes="http://schemas.ggf.org/bes/2006/08/bes-factory"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>   <jsdl1:Executable>/bin/bash</jsdl1:Executable>
>   <jsdl1:Argument>bes_executable_2</jsdl1:Argument>
>   <jsdl1:Output>bes_stdout.log</jsdl1:Output>
>   <jsdl1:Error>bes_stderr.log</jsdl1:Error>
> </jsdl1:HPCProfileApplication>,
>  got
> <xml-fragment/>
> 2009-10-23 10:48:34,045 [XNJS-JobRunner-2] WARN  Execution  - Failure
> in submit.
> 2009-10-23 10:48:34,046 [XNJS-JobRunner-2] INFO  JSDLProcessor  -
> Action 88532791-7a53-4993-b73b-3cc6e3fff940 FAILED: Could not submit
> job: java.lang.Exception: Application could not be mapped to an
> executable.
> 2009-10-23 10:48:34,070 [XNJS-JobRunner-2] ERROR JobRunner  - Error
> during processing action <88532791-7a53-4993-b73b-3cc6e3fff940>
> de.fzj.unicore.xnjs.ems.ProcessingException: Could not submit job:
> java.lang.Exception: Application could not be mapped to an executable.
>        at
> de.fzj.unicore.xnjs.jsdl.JSDLProcessor.handlePending(JSDLProcessor.java:268)
>        at de.fzj.unicore.xnjs.ems.Processor.process(Processor.java:126)
>        at de.fzj.unicore.xnjs.ems.JobRunner.run(JobRunner.java:123)
> Caused by: de.fzj.unicore.xnjs.ems.ExecutionException:
> java.lang.Exception: Application could not be mapped to an executable.
>        at de.fzj.unicore.xnjs.simple.BasicExecution.submit(BasicExecution.java:149)
>        at
> de.fzj.unicore.xnjs.jsdl.JSDLProcessor.handlePending(JSDLProcessor.java:257)
>        ... 2 more
> Caused by: java.lang.Exception: Application could not be mapped to an
> executable.
>        at de.fzj.unicore.xnjs.simple.BasicExecution.submit(BasicExecution.java:120)
>        ... 3 more
> 2009-10-23 10:48:34,120 [XNJS-JobRunner-4] INFO  USAGE  -
> [NOT_SUCCESSFUL] [ null] [ 88532791-7a53-4993-b73b-3cc6e3fff940]
> [EMAILADDRESS=unicore-support@..., C=DE, O=unicore.eu,
> OU=Testing, CN=UNICORE demo user]
>
>
> In my client application I use the following versions of jsdl and bes
> jar files:
> - jsdl-xmlbeans-1.2.jar
> - ogsabes-core-1.1.3.jar
> - ogsabes-types-1.4.jar
>
> I see you continued to develop this files and use newer versions for
> the 6.2.2 server. I don't know if I change to the newer version of jar
> files it will solve my problem and also keeps compatible with older
> Unicore server versions?
>
> Do you know what could be the reason of this problem and how can I solve it?
>
> Thank you in advance for your help!
>
> Greetings,
> Peter Modos
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Unicore-support mailing list
> Unicore-support@...
> https://lists.sourceforge.net/lists/listinfo/unicore-support
>
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
> Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

xnjs-module-core-1.2.3-SNAPSHOT.jar (583K) Download Attachment

Parent Message unknown Re: Problems with BES submission after changing to newer Unicore server version

by Peter Modos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Shahbaz,

changing the xnjs jar file solved my problem, now my client works with  
both server versions.

Thank you for your help!

Best regards,
Peter

Idézet (Shahbaz Memon <shahbaz.memon@...>):

> Dear Peter,
>
>> 2009-10-23 10:48:34,045 [XNJS-JobRunner-2] WARN  Execution  - Failure
>> in submit.
>> 2009-10-23 10:48:34,046 [XNJS-JobRunner-2] INFO  JSDLProcessor  -
>> Action 88532791-7a53-4993-b73b-3cc6e3fff940 FAILED: Could not submit
>> job: java.lang.Exception: Application could not be mapped to an
>> executable.
>
> I can see the problem occurs during the job execution. It has actually
> occurred due to a minor typo in xnjs, which prevents xnjs to
> understand jsdl's HPCProfileApplication element.
> The changes has been committed to svn and they will be effective in
> next release.
>
> For your convenience, I have also attached the patched xnjs lib, which
> will solve this problem. In your current installation setup, please
> replace the unicore-servers-6.2.2/unicorex/lib/xnjs-module-core-1.2.2.jar
> with the attached one (xnjs-module-core-1.2.3-SNAPSHOT.jar).
>
>> In my client application I use the following versions of jsdl and bes
>> jar files:
>> - jsdl-xmlbeans-1.2.jar
>> - ogsabes-core-1.1.3.jar
>> - ogsabes-types-1.4.jar
>
> This is always recommended to use the same versions on server and the
> client side.
>
> Regards,
>
> Shahbaz
> On Fri, Oct 23, 2009 at 11:34 AM,  <modos@...> wrote:
>> Dear Unicore Developers,
>>
>> I'm developing a client application what sends jobs to WS with
>> OGSA-BES interface. Until now I have tested it with Unicore 1.3.3 and
>> worked correctly.
>>
>> When I tried the same application (and same job configuration) to work
>> together with the newest Unicore server (6.2.2), it didn't work. I
>> found the following error in uas.log file:
>>
>> 2009-10-23 10:48:32,317 [31845311@qtp-11816628-2] INFO
>> XUUDBAuthoriser  - New client:
>> 1.2.840.113549.1.9.1=#161c756e69636f72652d737570706f7274406c697374732e73662e6e6574,C=DE,O=unicore.eu,OU=Testing,CN=UNICORE  
>> demo
>> user
>> 2009-10-23 10:48:32,495 [31845311@qtp-11816628-2] INFO  BESFactoryImpl
>>  - Creating New Activity
>> 2009-10-23 10:48:32,496 [31845311@qtp-11816628-2] INFO  BESFactoryImpl
>>  - BES accepting new activities: true
>> 2009-10-23 10:48:32,574 [31845311@qtp-11816628-2] INFO
>> BasicTSIFactory  - Creating new uspace for
>> 88532791-7a53-4993-b73b-3cc6e3fff940
>> client: EMAILADDRESS=unicore-support@..., C=DE, O=unicore.eu,
>> OU=Testing, CN=UNICORE demo user
>> Xlogin: [user], selected login: user, role: user: role from
>> authorisation, authenticated using <CONSIGNOR X509v3>
>> 2009-10-23 10:48:32,608 [31845311@qtp-11816628-2] INFO
>> BESActivityImpl  - Initializing BESActivity
>> <88532791-7a53-4993-b73b-3cc6e3fff940> for client
>> EMAILADDRESS=unicore-support@..., C=DE, O=unicore.eu,
>> OU=Testing, CN=UNICORE demo user
>> Xlogin: [user], selected login: user, role: user: role from
>> authorisation, authenticated using <CONSIGNOR X509v3>
>> 2009-10-23 10:48:32,683 [31845311@qtp-11816628-2] INFO
>> PathedStorageImpl  - SMS init in
>> </home/user/setup/UNICORE622/unicorex/data/FILESPACE/88532791-7a53-4993-b73b-3cc6e3fff940/>
>> 2009-10-23 10:48:33,664 [31845311@qtp-11816628-2] INFO  BESFactoryImpl
>>  - Getting Activity Statuses
>> 2009-10-23 10:48:34,045 [XNJS-JobRunner-2] ERROR Execution  - Could
>> not properly incarnate
>> <jsdl1:HPCProfileApplication
>> xmlns:jsdl1="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"
>> xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl"
>> xmlns:bes="http://schemas.ggf.org/bes/2006/08/bes-factory"
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>   <jsdl1:Executable>/bin/bash</jsdl1:Executable>
>>   <jsdl1:Argument>bes_executable_2</jsdl1:Argument>
>>   <jsdl1:Output>bes_stdout.log</jsdl1:Output>
>>   <jsdl1:Error>bes_stderr.log</jsdl1:Error>
>> </jsdl1:HPCProfileApplication>,
>>  got
>> <xml-fragment/>
>> 2009-10-23 10:48:34,045 [XNJS-JobRunner-2] WARN  Execution  - Failure
>> in submit.
>> 2009-10-23 10:48:34,046 [XNJS-JobRunner-2] INFO  JSDLProcessor  -
>> Action 88532791-7a53-4993-b73b-3cc6e3fff940 FAILED: Could not submit
>> job: java.lang.Exception: Application could not be mapped to an
>> executable.
>> 2009-10-23 10:48:34,070 [XNJS-JobRunner-2] ERROR JobRunner  - Error
>> during processing action <88532791-7a53-4993-b73b-3cc6e3fff940>
>> de.fzj.unicore.xnjs.ems.ProcessingException: Could not submit job:
>> java.lang.Exception: Application could not be mapped to an executable.
>>        at
>> de.fzj.unicore.xnjs.jsdl.JSDLProcessor.handlePending(JSDLProcessor.java:268)
>>        at de.fzj.unicore.xnjs.ems.Processor.process(Processor.java:126)
>>        at de.fzj.unicore.xnjs.ems.JobRunner.run(JobRunner.java:123)
>> Caused by: de.fzj.unicore.xnjs.ems.ExecutionException:
>> java.lang.Exception: Application could not be mapped to an executable.
>>        at  
>> de.fzj.unicore.xnjs.simple.BasicExecution.submit(BasicExecution.java:149)
>>        at
>> de.fzj.unicore.xnjs.jsdl.JSDLProcessor.handlePending(JSDLProcessor.java:257)
>>        ... 2 more
>> Caused by: java.lang.Exception: Application could not be mapped to an
>> executable.
>>        at  
>> de.fzj.unicore.xnjs.simple.BasicExecution.submit(BasicExecution.java:120)
>>        ... 3 more
>> 2009-10-23 10:48:34,120 [XNJS-JobRunner-4] INFO  USAGE  -
>> [NOT_SUCCESSFUL] [ null] [ 88532791-7a53-4993-b73b-3cc6e3fff940]
>> [EMAILADDRESS=unicore-support@..., C=DE, O=unicore.eu,
>> OU=Testing, CN=UNICORE demo user]
>>
>>
>> In my client application I use the following versions of jsdl and bes
>> jar files:
>> - jsdl-xmlbeans-1.2.jar
>> - ogsabes-core-1.1.3.jar
>> - ogsabes-types-1.4.jar
>>
>> I see you continued to develop this files and use newer versions for
>> the 6.2.2 server. I don't know if I change to the newer version of jar
>> files it will solve my problem and also keeps compatible with older
>> Unicore server versions?
>>
>> Do you know what could be the reason of this problem and how can I solve it?
>>
>> Thank you in advance for your help!
>>
>> Greetings,
>> Peter Modos
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> Unicore-support mailing list
>> Unicore-support@...
>> https://lists.sourceforge.net/lists/listinfo/unicore-support
>>
>> ------------------------------------------------------------------------------------------------
>> ------------------------------------------------------------------------------------------------
>> Forschungszentrum Juelich GmbH
>> 52425 Juelich
>> Sitz der Gesellschaft: Juelich
>> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
>> Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
>> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
>> Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
>> Prof. Dr. Sebastian M. Schmidt
>> ------------------------------------------------------------------------------------------------
>> ------------------------------------------------------------------------------------------------
>>
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support