Vine job submission porlet: Job fail

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

Vine job submission porlet: Job fail

by Mohamed Wahib :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

  I'm trying to run a simple GRAM job using the Vine job submission portlet.

  1- I made sure that the job could be submitted manually from the host having
      the portal to the host running the gt4 container, and i used a certificate that i
     manually got from the MyProxy Server  (same as the credential porltlet does).

  2- Now i started by retrieving a certificate through the credential portlet.
 
 3- Upon submitting a simple job "/bin/date" .. the status of the job remains as
    "submitting"  for about a min. and the catalina.out at this point is giving:
2654142:DEBUG:(CredentialManagerImpl.java:getCredentialContexts:65)
< Getting credentials for mhgrid >     

4- By tracing catalina.out, every thing was going well till it reached:
      < Obtaining portal credential >
   then it started the errors:
   < unexpected error in QueryResourcePropertiesResponse:    java.lang.SecurityException - Unable to obtain required GSS credential >
         
5- What i under stand is that either the job portlet first attempts to retrieve the portal's certificate (which is strange coz in Domain.xml i made the simple adding of the portal as a portal with no host certificate) ... or after the credential portlet retrieves the certificate the job portlet is not able to use the certificate though they are in the same session.

 The full catalina.out file is below, i'll really appreciate any help.

  Wahib


cataline.out>>

 2651323:INFO:(BaseInfoTimerTask.java:run:45)
< Runnning WsGramJobStatusPoller timer task >

2651323:DEBUG:(AbstractSession.java:createServiceContext:130)
< Creating service context: 15293c5883806b6881211de7ac1868fe >

2651323:DEBUG:(AbstractServiceContext.java:init:39)
< 15293c5883806b6881211de7ac1868fe Initing service context >

2651324:DEBUG:(AbstractSession.java:createServiceContext:145)
< Number of service contexts: 1 in session: 39dfd00736da6beadea6f182381f0e5f >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:173)
< Destroying service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractServiceContext.java:destroyServiceContext:259)
< Destroying service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractServiceContext.java:destroyServiceContext:337)
< Destroyed service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:181)
< Destroyed service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:199)
< Number of service contexts: 0 in session: 39dfd00736da6beadea6f182381f0e5f >

2651327:INFO:(BaseInfoTimerTask.java:run:45)
< Runnning WdMdsMonitorService timer task >

2651327:DEBUG:(AbstractSession.java:createServiceContext:130)
< Creating service context: 2a7c287de463736aed2cc8850d99e1fb >

2651327:DEBUG:(AbstractServiceContext.java:init:39)
< 2a7c287de463736aed2cc8850d99e1fb Initing service context >

2651327:DEBUG:(AbstractSession.java:createServiceContext:145)
< Number of service contexts: 1 in session: 39dfd00736da6beadea6f182381f0e5f >

2651328:DEBUG:(AbstractServiceFactory.java:createService:20)
< Creating service ResourceManager >

2651328:DEBUG:(AbstractServiceFactory.java:createService:20)
< Creating service HibernateService >

2651329:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.gt4.spi.impl.mds.WsMdsResource resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651329:DEBUG:(HibernateServiceImpl.java:getSession:99)
< 1213099987100 Opening Hibernate data session >

2651343:DEBUG:(WsMdsResourceModule.java:initResourceModule:85)
< WsMdsResourceModule initResourceModule: resource dn: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651343:DEBUG:(BaseResourceModule.java:init:64)
< Inited resource module : bacf9bfedfe41a9a1f8687effe8d7740 for resource: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651343:DEBUG:(WsMdsResourceModule.java:query:148)
< Querying: https://max02.naregi.hokudai.ac.jp:8443/wsrf/services/DefaultIndexService with query: //*[local-name()="Entry" and  child::*[local-name()="MemberServiceEPR" and     child::*[local-name()="Address" and contains(text(), "ManagedJobFactoryService")] and     child::*[local-name()="ReferenceProperties" and        child::*[local-name()="ResourceID" and text()!="Multi"]     ]  ]] >

2651350:DEBUG:(WsMdsResourceModule.java:queryMDS4Index:214)
< Obtaining portal credential >

2651351:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.grid.security.gss.spi.impl.GssCertConfiguration resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651352:ERROR:(WsMdsResourceModule.java:queryMDS4Index:292)
< unexpected error in QueryResourcePropertiesResponse: java.lang.SecurityException - Unable to obtain required GSS credential >

java.lang.SecurityException: Unable to obtain required GSS credential
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.queryMDS4Index(WsMdsResourceModule.java:228)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:154)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:117)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WdMdsMonitorService$WsMdsMonitorTask.performTask(WdMdsMonitorService.java:53)
    at org.vinetoolkit.grid.info.spi.impl.BaseInfoTimerTask.run(BaseInfoTimerTask.java:63)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
2651352:WARN:(WsMdsResourceModule.java:query:158)
< Query response is null >

2651361:DEBUG:(WsMdsResourceModule.java:initResourceModule:85)
< WsMdsResourceModule initResourceModule: resource dn: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651361:DEBUG:(BaseResourceModule.java:init:64)
< Inited resource module : dc65c1b394a723d81ce3b77225c4937f for resource: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651361:DEBUG:(WsMdsResourceModule.java:query:148)
< Querying: https://max02.naregi.hokudai.ac.jp:8443/wsrf/services/DefaultIndexService with query: //*[local-name()="Entry" and  child::*[local-name()="MemberServiceEPR" and     child::*[local-name()="Address" and contains(text(), "ManagedJobFactoryService")] and     child::*[local-name()="ReferenceProperties" and        child::*[local-name()="ResourceID" and text()!="Multi"]     ]  ]] >

2651368:DEBUG:(WsMdsResourceModule.java:queryMDS4Index:214)
< Obtaining portal credential >

2651368:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.grid.security.gss.spi.impl.GssCertConfiguration resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651369:ERROR:(WsMdsResourceModule.java:queryMDS4Index:292)
< unexpected error in QueryResourcePropertiesResponse: java.lang.SecurityException - Unable to obtain required GSS credential >

java.lang.SecurityException: Unable to obtain required GSS credential
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.queryMDS4Index(WsMdsResourceModule.java:228)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:154)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:117)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WdMdsMonitorService$WsMdsMonitorTask.performTask(WdMdsMonitorService.java:53)
    at org.vinetoolkit.grid.info.spi.impl.BaseInfoTimerTask.run(BaseInfoTimerTask.java:63)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
2651370:WARN:(WsMdsResourceModule.java:query:158)
< Query response is null >





    


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users


Re: Vine job submission porlet: Job fail

by dominik tarnawczyk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Could you paste Domain.xml ? Part of logs you put are from WsMdsResource, please look for WsGramResource entries.

Best regards,
Dominik

2008/6/10 Mohamed Wahib <mwahibium@...>:
Hi,

  I'm trying to run a simple GRAM job using the Vine job submission portlet.

  1- I made sure that the job could be submitted manually from the host having
      the portal to the host running the gt4 container, and i used a certificate that i
     manually got from the MyProxy Server  (same as the credential porltlet does).

  2- Now i started by retrieving a certificate through the credential portlet.
 
 3- Upon submitting a simple job "/bin/date" .. the status of the job remains as
    "submitting"  for about a min. and the catalina.out at this point is giving:
2654142:DEBUG:(CredentialManagerImpl.java:getCredentialContexts:65)
< Getting credentials for mhgrid >     

4- By tracing catalina.out, every thing was going well till it reached:
      < Obtaining portal credential >
   then it started the errors:
   < unexpected error in QueryResourcePropertiesResponse:    java.lang.SecurityException - Unable to obtain required GSS credential >
         
5- What i under stand is that either the job portlet first attempts to retrieve the portal's certificate (which is strange coz in Domain.xml i made the simple adding of the portal as a portal with no host certificate) ... or after the credential portlet retrieves the certificate the job portlet is not able to use the certificate though they are in the same session.

 The full catalina.out file is below, i'll really appreciate any help.

  Wahib


cataline.out>>

 2651323:INFO:(BaseInfoTimerTask.java:run:45)
< Runnning WsGramJobStatusPoller timer task >

2651323:DEBUG:(AbstractSession.java:createServiceContext:130)
< Creating service context: 15293c5883806b6881211de7ac1868fe >

2651323:DEBUG:(AbstractServiceContext.java:init:39)
< 15293c5883806b6881211de7ac1868fe Initing service context >

2651324:DEBUG:(AbstractSession.java:createServiceContext:145)
< Number of service contexts: 1 in session: 39dfd00736da6beadea6f182381f0e5f >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:173)
< Destroying service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractServiceContext.java:destroyServiceContext:259)
< Destroying service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractServiceContext.java:destroyServiceContext:337)
< Destroyed service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:181)
< Destroyed service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:199)
< Number of service contexts: 0 in session: 39dfd00736da6beadea6f182381f0e5f >

2651327:INFO:(BaseInfoTimerTask.java:run:45)
< Runnning WdMdsMonitorService timer task >

2651327:DEBUG:(AbstractSession.java:createServiceContext:130)
< Creating service context: 2a7c287de463736aed2cc8850d99e1fb >

2651327:DEBUG:(AbstractServiceContext.java:init:39)
< 2a7c287de463736aed2cc8850d99e1fb Initing service context >

2651327:DEBUG:(AbstractSession.java:createServiceContext:145)
< Number of service contexts: 1 in session: 39dfd00736da6beadea6f182381f0e5f >

2651328:DEBUG:(AbstractServiceFactory.java:createService:20)
< Creating service ResourceManager >

2651328:DEBUG:(AbstractServiceFactory.java:createService:20)
< Creating service HibernateService >

2651329:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.gt4.spi.impl.mds.WsMdsResource resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651329:DEBUG:(HibernateServiceImpl.java:getSession:99)
< 1213099987100 Opening Hibernate data session >

2651343:DEBUG:(WsMdsResourceModule.java:initResourceModule:85)
< WsMdsResourceModule initResourceModule: resource dn: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651343:DEBUG:(BaseResourceModule.java:init:64)
< Inited resource module : bacf9bfedfe41a9a1f8687effe8d7740 for resource: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651343:DEBUG:(WsMdsResourceModule.java:query:148)
< Querying: https://max02.naregi.hokudai.ac.jp:8443/wsrf/services/DefaultIndexService with query: //*[local-name()="Entry" and  child::*[local-name()="MemberServiceEPR" and     child::*[local-name()="Address" and contains(text(), "ManagedJobFactoryService")] and     child::*[local-name()="ReferenceProperties" and        child::*[local-name()="ResourceID" and text()!="Multi"]     ]  ]] >

2651350:DEBUG:(WsMdsResourceModule.java:queryMDS4Index:214)
< Obtaining portal credential >

2651351:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.grid.security.gss.spi.impl.GssCertConfiguration resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651352:ERROR:(WsMdsResourceModule.java:queryMDS4Index:292)
< unexpected error in QueryResourcePropertiesResponse: java.lang.SecurityException - Unable to obtain required GSS credential >

java.lang.SecurityException: Unable to obtain required GSS credential
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.queryMDS4Index(WsMdsResourceModule.java:228)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:154)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:117)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WdMdsMonitorService$WsMdsMonitorTask.performTask(WdMdsMonitorService.java:53)
    at org.vinetoolkit.grid.info.spi.impl.BaseInfoTimerTask.run(BaseInfoTimerTask.java:63)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
2651352:WARN:(WsMdsResourceModule.java:query:158)
< Query response is null >

2651361:DEBUG:(WsMdsResourceModule.java:initResourceModule:85)
< WsMdsResourceModule initResourceModule: resource dn: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651361:DEBUG:(BaseResourceModule.java:init:64)
< Inited resource module : dc65c1b394a723d81ce3b77225c4937f for resource: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651361:DEBUG:(WsMdsResourceModule.java:query:148)
< Querying: https://max02.naregi.hokudai.ac.jp:8443/wsrf/services/DefaultIndexService with query: //*[local-name()="Entry" and  child::*[local-name()="MemberServiceEPR" and     child::*[local-name()="Address" and contains(text(), "ManagedJobFactoryService")] and     child::*[local-name()="ReferenceProperties" and        child::*[local-name()="ResourceID" and text()!="Multi"]     ]  ]] >

2651368:DEBUG:(WsMdsResourceModule.java:queryMDS4Index:214)
< Obtaining portal credential >

2651368:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.grid.security.gss.spi.impl.GssCertConfiguration resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651369:ERROR:(WsMdsResourceModule.java:queryMDS4Index:292)
< unexpected error in QueryResourcePropertiesResponse: java.lang.SecurityException - Unable to obtain required GSS credential >

java.lang.SecurityException: Unable to obtain required GSS credential
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.queryMDS4Index(WsMdsResourceModule.java:228)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:154)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:117)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WdMdsMonitorService$WsMdsMonitorTask.performTask(WdMdsMonitorService.java:53)
    at org.vinetoolkit.grid.info.spi.impl.BaseInfoTimerTask.run(BaseInfoTimerTask.java:63)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
2651370:WARN:(WsMdsResourceModule.java:query:158)
< Query response is null >





    


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users



_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users

Re: Vine job submission porlet: Job fail

by Mohamed Wahib :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

 Thanks for the swift reply, i attached both the Domain.xml and catalina.out files with the e-mail.

Wahib

Dominik Tarnawczyk <dtarnawczyk@...> wrote:
Hi,
Could you paste Domain.xml ? Part of logs you put are from WsMdsResource, please look for WsGramResource entries.

Best regards,
Dominik

2008/6/10 Mohamed Wahib <mwahibium@...>:
Hi,

  I'm trying to run a simple GRAM job using the Vine job submission portlet.

  1- I made sure that the job could be submitted manually from the host having
      the portal to the host running the gt4 container, and i used a certificate that i
     manually got from the MyProxy Server  (same as the credential porltlet does).

  2- Now i started by retrieving a certificate through the credential portlet.
 
 3- Upon submitting a simple job "/bin/date" .. the status of the job remains as
    "submitting"  for about a min. and the catalina.out at this point is giving:
2654142:DEBUG:(CredentialManagerImpl.java:getCredentialContexts:65)
< Getting credentials for mhgrid >     

4- By tracing catalina.out, every thing was going well till it reached:
      < Obtaining portal credential >
   then it started the errors:
   < unexpected error in QueryResourcePropertiesResponse:    java.lang.SecurityException - Unable to obtain required GSS credential >
         
5- What i under stand is that either the job portlet first attempts to retrieve the portal's certificate (which is strange coz in Domain.xml i made the simple adding of the portal as a portal with no host certificate) ... or after the credential portlet retrieves the certificate the job portlet is not able to use the certificate though they are in the same session.

 The full catalina.out file is below, i'll really appreciate any help.

  Wahib


cataline.out>>

 2651323:INFO:(BaseInfoTimerTask.java:run:45)
< Runnning WsGramJobStatusPoller timer task >

2651323:DEBUG:(AbstractSession.java:createServiceContext:130)
< Creating service context: 15293c5883806b6881211de7ac1868fe >

2651323:DEBUG:(AbstractServiceContext.java:init:39)
< 15293c5883806b6881211de7ac1868fe Initing service context >

2651324:DEBUG:(AbstractSession.java:createServiceContext:145)
< Number of service contexts: 1 in session: 39dfd00736da6beadea6f182381f0e5f >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:173)
< Destroying service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractServiceContext.java:destroyServiceContext:259)
< Destroying service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractServiceContext.java:destroyServiceContext:337)
< Destroyed service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:181)
< Destroyed service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:199)
< Number of service contexts: 0 in session: 39dfd00736da6beadea6f182381f0e5f >

2651327:INFO:(BaseInfoTimerTask.java:run:45)
< Runnning WdMdsMonitorService timer task >

2651327:DEBUG:(AbstractSession.java:createServiceContext:130)
< Creating service context: 2a7c287de463736aed2cc8850d99e1fb >

2651327:DEBUG:(AbstractServiceContext.java:init:39)
< 2a7c287de463736aed2cc8850d99e1fb Initing service context >

2651327:DEBUG:(AbstractSession.java:createServiceContext:145)
< Number of service contexts: 1 in session: 39dfd00736da6beadea6f182381f0e5f >

2651328:DEBUG:(AbstractServiceFactory.java:createService:20)
< Creating service ResourceManager >

2651328:DEBUG:(AbstractServiceFactory.java:createService:20)
< Creating service HibernateService >

2651329:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.gt4.spi.impl.mds.WsMdsResource resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651329:DEBUG:(HibernateServiceImpl.java:getSession:99)
< 1213099987100 Opening Hibernate data session >

2651343:DEBUG:(WsMdsResourceModule.java:initResourceModule:85)
< WsMdsResourceModule initResourceModule: resource dn: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651343:DEBUG:(BaseResourceModule.java:init:64)
< Inited resource module : bacf9bfedfe41a9a1f8687effe8d7740 for resource: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651343:DEBUG:(WsMdsResourceModule.java:query:148)
< Querying: https://max02.naregi.hokudai.ac.jp:8443/wsrf/services/DefaultIndexService with query: //*[local-name()="Entry" and  child::*[local-name()="MemberServiceEPR" and     child::*[local-name()="Address" and contains(text(), "ManagedJobFactoryService")] and     child::*[local-name()="ReferenceProperties" and        child::*[local-name()="ResourceID" and text()!="Multi"]     ]  ]] >

2651350:DEBUG:(WsMdsResourceModule.java:queryMDS4Index:214)
< Obtaining portal credential >

2651351:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.grid.security.gss.spi.impl.GssCertConfiguration resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651352:ERROR:(WsMdsResourceModule.java:queryMDS4Index:292)
< unexpected error in QueryResourcePropertiesResponse: java.lang.SecurityException - Unable to obtain required GSS credential >

java.lang.SecurityException: Unable to obtain required GSS credential
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.queryMDS4Index(WsMdsResourceModule.java:228)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:154)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:117)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WdMdsMonitorService$WsMdsMonitorTask.performTask(WdMdsMonitorService.java:53)
    at org.vinetoolkit.grid.info.spi.impl.BaseInfoTimerTask.run(BaseInfoTimerTask.java:63)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
2651352:WARN:(WsMdsResourceModule.java:query:158)
< Query response is null >

2651361:DEBUG:(WsMdsResourceModule.java:initResourceModule:85)
< WsMdsResourceModule initResourceModule: resource dn: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651361:DEBUG:(BaseResourceModule.java:init:64)
< Inited resource module : dc65c1b394a723d81ce3b77225c4937f for resource: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651361:DEBUG:(WsMdsResourceModule.java:query:148)
< Querying: https://max02.naregi.hokudai.ac.jp:8443/wsrf/services/DefaultIndexService with query: //*[local-name()="Entry" and  child::*[local-name()="MemberServiceEPR" and     child::*[local-name()="Address" and contains(text(), "ManagedJobFactoryService")] and     child::*[local-name()="ReferenceProperties" and        child::*[local-name()="ResourceID" and text()!="Multi"]     ]  ]] >

2651368:DEBUG:(WsMdsResourceModule.java:queryMDS4Index:214)
< Obtaining portal credential >

2651368:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.grid.security.gss.spi.impl.GssCertConfiguration resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651369:ERROR:(WsMdsResourceModule.java:queryMDS4Index:292)
< unexpected error in QueryResourcePropertiesResponse: java.lang.SecurityException - Unable to obtain required GSS credential >

java.lang.SecurityException: Unable to obtain required GSS credential
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.queryMDS4Index(WsMdsResourceModule.java:228)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:154)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:117)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WdMdsMonitorService$WsMdsMonitorTask.performTask(WdMdsMonitorService.java:53)
    at org.vinetoolkit.grid.info.spi.impl.BaseInfoTimerTask.run(BaseInfoTimerTask.java:63)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
2651370:WARN:(WsMdsResourceModule.java:query:158)
< Query response is null >





    


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users


<domain name="gt4" label="Globus Toolkit 4" description="Globus Toolkit 4">

    <!-- Credential repository authentication (For use with "myproxyResource") -->
    <authenticationModule key="CredentialRepositoryAuthModule"/>

    <!-- Portlet authentication -->
    <authenticationModule key="PortletAuthModule"/>

    <!-- Portal -->
    <hostResource hostname="localhost"
                  label="Portal"
                  description="Portal">

        <!-- Portal file system (Do not remove!) -->
        <portalFileSystem label="Portal File System" description="Portal File System"/>

    </hostResource>

    <!-- Rage1 Cluster -->
    <hostResource hostname="max02.naregi.hokudai.ac.jp"
                  label="MHGrid GT4 Resource"
                  description="MHGrid GT4 Demonstration Resource">

        <!-- MyProxy -->
        <myproxyResource label="MHGrid (MyProxy)"
                         useCredential="false"
                         checkConnection="true"
                         timeoutMiliseconds="2000"/>

        <!-- GridFtp -->
        <gridftpResource label="PSNC (Grid-FTP)"/>

        <!--WS MDS-->
        <wsMdsResource label="PSNC (WS-MDS)"/>

    </hostResource>

<!-- Rage2 Cluster -->
    <hostResource hostname="vir02.naregi.hokudai.ac.jp"
                  label="MHGrid GT4 Resource2"
                  description="MHGrid GT4 Demonstration Resource2">

        <!-- WS-GRAM -->
        <wsGramResource label="MHGrid (WS-GRAM@vir02)" port="8080">

            <!-- possible values: FORK, LSF, PBS, MULTI, CONDOR -->
            <resourceAttribute name="factoryType" value="FORK"/>
            <resourceAttribute name="WsrfResource.AuthorizationType" value="host"/>
            <resourceAttribute name="WsrfResource.DelegationEnabled" value="true"/>
            <resourceAttribute name="WsrfResource.MessageProtectionType" value="2"/>

        </wsGramResource>


    </hostResource>

</domain>


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users


catalina.out (4M) Download Attachment

Re: Vine job submission porlet: Job fail

by dominik tarnawczyk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I see that the problem might be on your GT4 installation. Our client uses "https" connection and it seems that server uses "http". Please configure your GT4 to use "https" and try again.

Dominik

2008/6/10 Mohamed Wahib <mwahibium@...>:
Hi,

 Thanks for the swift reply, i attached both the Domain.xml and catalina.out files with the e-mail.

Wahib


Dominik Tarnawczyk <dtarnawczyk@...> wrote:
Hi,
Could you paste Domain.xml ? Part of logs you put are from WsMdsResource, please look for WsGramResource entries.

Best regards,
Dominik

2008/6/10 Mohamed Wahib <mwahibium@...>:
Hi,

  I'm trying to run a simple GRAM job using the Vine job submission portlet.

  1- I made sure that the job could be submitted manually from the host having
      the portal to the host running the gt4 container, and i used a certificate that i
     manually got from the MyProxy Server  (same as the credential porltlet does).

  2- Now i started by retrieving a certificate through the credential portlet.
 
 3- Upon submitting a simple job "/bin/date" .. the status of the job remains as
    "submitting"  for about a min. and the catalina.out at this point is giving:
2654142:DEBUG:(CredentialManagerImpl.java:getCredentialContexts:65)
< Getting credentials for mhgrid >     

4- By tracing catalina.out, every thing was going well till it reached:
      < Obtaining portal credential >
   then it started the errors:
   < unexpected error in QueryResourcePropertiesResponse:    java.lang.SecurityException - Unable to obtain required GSS credential >
         
5- What i under stand is that either the job portlet first attempts to retrieve the portal's certificate (which is strange coz in Domain.xml i made the simple adding of the portal as a portal with no host certificate) ... or after the credential portlet retrieves the certificate the job portlet is not able to use the certificate though they are in the same session.

 The full catalina.out file is below, i'll really appreciate any help.

  Wahib


cataline.out>>

 2651323:INFO:(BaseInfoTimerTask.java:run:45)
< Runnning WsGramJobStatusPoller timer task >

2651323:DEBUG:(AbstractSession.java:createServiceContext:130)
< Creating service context: 15293c5883806b6881211de7ac1868fe >

2651323:DEBUG:(AbstractServiceContext.java:init:39)
< 15293c5883806b6881211de7ac1868fe Initing service context >

2651324:DEBUG:(AbstractSession.java:createServiceContext:145)
< Number of service contexts: 1 in session: 39dfd00736da6beadea6f182381f0e5f >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:173)
< Destroying service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractServiceContext.java:destroyServiceContext:259)
< Destroying service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractServiceContext.java:destroyServiceContext:337)
< Destroyed service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:181)
< Destroyed service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:199)
< Number of service contexts: 0 in session: 39dfd00736da6beadea6f182381f0e5f >

2651327:INFO:(BaseInfoTimerTask.java:run:45)
< Runnning WdMdsMonitorService timer task >

2651327:DEBUG:(AbstractSession.java:createServiceContext:130)
< Creating service context: 2a7c287de463736aed2cc8850d99e1fb >

2651327:DEBUG:(AbstractServiceContext.java:init:39)
< 2a7c287de463736aed2cc8850d99e1fb Initing service context >

2651327:DEBUG:(AbstractSession.java:createServiceContext:145)
< Number of service contexts: 1 in session: 39dfd00736da6beadea6f182381f0e5f >

2651328:DEBUG:(AbstractServiceFactory.java:createService:20)
< Creating service ResourceManager >

2651328:DEBUG:(AbstractServiceFactory.java:createService:20)
< Creating service HibernateService >

2651329:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.gt4.spi.impl.mds.WsMdsResource resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651329:DEBUG:(HibernateServiceImpl.java:getSession:99)
< 1213099987100 Opening Hibernate data session >

2651343:DEBUG:(WsMdsResourceModule.java:initResourceModule:85)
< WsMdsResourceModule initResourceModule: resource dn: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651343:DEBUG:(BaseResourceModule.java:init:64)
< Inited resource module : bacf9bfedfe41a9a1f8687effe8d7740 for resource: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651343:DEBUG:(WsMdsResourceModule.java:query:148)
< Querying: https://max02.naregi.hokudai.ac.jp:8443/wsrf/services/DefaultIndexService with query: //*[local-name()="Entry" and  child::*[local-name()="MemberServiceEPR" and     child::*[local-name()="Address" and contains(text(), "ManagedJobFactoryService")] and     child::*[local-name()="ReferenceProperties" and        child::*[local-name()="ResourceID" and text()!="Multi"]     ]  ]] >

2651350:DEBUG:(WsMdsResourceModule.java:queryMDS4Index:214)
< Obtaining portal credential >

2651351:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.grid.security.gss.spi.impl.GssCertConfiguration resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651352:ERROR:(WsMdsResourceModule.java:queryMDS4Index:292)
< unexpected error in QueryResourcePropertiesResponse: java.lang.SecurityException - Unable to obtain required GSS credential >

java.lang.SecurityException: Unable to obtain required GSS credential
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.queryMDS4Index(WsMdsResourceModule.java:228)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:154)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:117)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WdMdsMonitorService$WsMdsMonitorTask.performTask(WdMdsMonitorService.java:53)
    at org.vinetoolkit.grid.info.spi.impl.BaseInfoTimerTask.run(BaseInfoTimerTask.java:63)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
2651352:WARN:(WsMdsResourceModule.java:query:158)
< Query response is null >

2651361:DEBUG:(WsMdsResourceModule.java:initResourceModule:85)
< WsMdsResourceModule initResourceModule: resource dn: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651361:DEBUG:(BaseResourceModule.java:init:64)
< Inited resource module : dc65c1b394a723d81ce3b77225c4937f for resource: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651361:DEBUG:(WsMdsResourceModule.java:query:148)
< Querying: https://max02.naregi.hokudai.ac.jp:8443/wsrf/services/DefaultIndexService with query: //*[local-name()="Entry" and  child::*[local-name()="MemberServiceEPR" and     child::*[local-name()="Address" and contains(text(), "ManagedJobFactoryService")] and     child::*[local-name()="ReferenceProperties" and        child::*[local-name()="ResourceID" and text()!="Multi"]     ]  ]] >

2651368:DEBUG:(WsMdsResourceModule.java:queryMDS4Index:214)
< Obtaining portal credential >

2651368:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.grid.security.gss.spi.impl.GssCertConfiguration resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651369:ERROR:(WsMdsResourceModule.java:queryMDS4Index:292)
< unexpected error in QueryResourcePropertiesResponse: java.lang.SecurityException - Unable to obtain required GSS credential >

java.lang.SecurityException: Unable to obtain required GSS credential
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.queryMDS4Index(WsMdsResourceModule.java:228)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:154)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:117)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WdMdsMonitorService$WsMdsMonitorTask.performTask(WdMdsMonitorService.java:53)
    at org.vinetoolkit.grid.info.spi.impl.BaseInfoTimerTask.run(BaseInfoTimerTask.java:63)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
2651370:WARN:(WsMdsResourceModule.java:query:158)
< Query response is null >





    


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users



_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users

Re: Vine job submission porlet: Job fail

by Mohamed Wahib :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

 Well that means that the client overrides the port in Domain.xml file as i had it port 8080???
Anyway i ran the container in sec mode (port 8443), and tried again, this time the job is failed very fast, and the globus-gatekeeper.log didn't show any sign of attemp to connection ... the catalina.out is giving:

  8671891:ERROR:(WsGramJobManager.java:doStartJob:322)
< WsGramJobManager: doStartJob() createResponse creation error. >

And i attached the catalina.out file with the e-mail.

Sorry for bothering you, i appreciate your help and effort.

Wahib


Dominik Tarnawczyk <dtarnawczyk@...> wrote:
Hi,
I see that the problem might be on your GT4 installation. Our client uses "https" connection and it seems that server uses "http". Please configure your GT4 to use "https" and try again.

Dominik

2008/6/10 Mohamed Wahib <mwahibium@...>:
Hi,

 Thanks for the swift reply, i attached both the Domain.xml and catalina.out files with the e-mail.

Wahib


Dominik Tarnawczyk <dtarnawczyk@...> wrote:
Hi,
Could you paste Domain.xml ? Part of logs you put are from WsMdsResource, please look for WsGramResource entries.

Best regards,
Dominik

2008/6/10 Mohamed Wahib <mwahibium@...>:
Hi,

  I'm trying to run a simple GRAM job using the Vine job submission portlet.

  1- I made sure that the job could be submitted manually from the host having
      the portal to the host running the gt4 container, and i used a certificate that i
     manually got from the MyProxy Server  (same as the credential porltlet does).

  2- Now i started by retrieving a certificate through the credential portlet.
 
 3- Upon submitting a simple job "/bin/date" .. the status of the job remains as
    "submitting"  for about a min. and the catalina.out at this point is giving:
2654142:DEBUG:(CredentialManagerImpl.java:getCredentialContexts:65)
< Getting credentials for mhgrid >     

4- By tracing catalina.out, every thing was going well till it reached:
      < Obtaining portal credential >
   then it started the errors:
   < unexpected error in QueryResourcePropertiesResponse:    java.lang.SecurityException - Unable to obtain required GSS credential >
         
5- What i under stand is that either the job portlet first attempts to retrieve the portal's certificate (which is strange coz in Domain.xml i made the simple adding of the portal as a portal with no host certificate) ... or after the credential portlet retrieves the certificate the job portlet is not able to use the certificate though they are in the same session.

 The full catalina.out file is below, i'll really appreciate any help.

  Wahib


cataline.out>>

 2651323:INFO:(BaseInfoTimerTask.java:run:45)
< Runnning WsGramJobStatusPoller timer task >

2651323:DEBUG:(AbstractSession.java:createServiceContext:130)
< Creating service context: 15293c5883806b6881211de7ac1868fe >

2651323:DEBUG:(AbstractServiceContext.java:init:39)
< 15293c5883806b6881211de7ac1868fe Initing service context >

2651324:DEBUG:(AbstractSession.java:createServiceContext:145)
< Number of service contexts: 1 in session: 39dfd00736da6beadea6f182381f0e5f >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:173)
< Destroying service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractServiceContext.java:destroyServiceContext:259)
< Destroying service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractServiceContext.java:destroyServiceContext:337)
< Destroyed service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:181)
< Destroyed service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:199)
< Number of service contexts: 0 in session: 39dfd00736da6beadea6f182381f0e5f >

2651327:INFO:(BaseInfoTimerTask.java:run:45)
< Runnning WdMdsMonitorService timer task >

2651327:DEBUG:(AbstractSession.java:createServiceContext:130)
< Creating service context: 2a7c287de463736aed2cc8850d99e1fb >

2651327:DEBUG:(AbstractServiceContext.java:init:39)
< 2a7c287de463736aed2cc8850d99e1fb Initing service context >

2651327:DEBUG:(AbstractSession.java:createServiceContext:145)
< Number of service contexts: 1 in session: 39dfd00736da6beadea6f182381f0e5f >

2651328:DEBUG:(AbstractServiceFactory.java:createService:20)
< Creating service ResourceManager >

2651328:DEBUG:(AbstractServiceFactory.java:createService:20)
< Creating service HibernateService >

2651329:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.gt4.spi.impl.mds.WsMdsResource resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651329:DEBUG:(HibernateServiceImpl.java:getSession:99)
< 1213099987100 Opening Hibernate data session >

2651343:DEBUG:(WsMdsResourceModule.java:initResourceModule:85)
< WsMdsResourceModule initResourceModule: resource dn: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651343:DEBUG:(BaseResourceModule.java:init:64)
< Inited resource module : bacf9bfedfe41a9a1f8687effe8d7740 for resource: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651343:DEBUG:(WsMdsResourceModule.java:query:148)
< Querying: https://max02.naregi.hokudai.ac.jp:8443/wsrf/services/DefaultIndexService with query: //*[local-name()="Entry" and  child::*[local-name()="MemberServiceEPR" and     child::*[local-name()="Address" and contains(text(), "ManagedJobFactoryService")] and     child::*[local-name()="ReferenceProperties" and        child::*[local-name()="ResourceID" and text()!="Multi"]     ]  ]] >

2651350:DEBUG:(WsMdsResourceModule.java:queryMDS4Index:214)
< Obtaining portal credential >

2651351:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.grid.security.gss.spi.impl.GssCertConfiguration resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651352:ERROR:(WsMdsResourceModule.java:queryMDS4Index:292)
< unexpected error in QueryResourcePropertiesResponse: java.lang.SecurityException - Unable to obtain required GSS credential >

java.lang.SecurityException: Unable to obtain required GSS credential
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.queryMDS4Index(WsMdsResourceModule.java:228)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:154)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:117)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WdMdsMonitorService$WsMdsMonitorTask.performTask(WdMdsMonitorService.java:53)
    at org.vinetoolkit.grid.info.spi.impl.BaseInfoTimerTask.run(BaseInfoTimerTask.java:63)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
2651352:WARN:(WsMdsResourceModule.java:query:158)
< Query response is null >

2651361:DEBUG:(WsMdsResourceModule.java:initResourceModule:85)
< WsMdsResourceModule initResourceModule: resource dn: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651361:DEBUG:(BaseResourceModule.java:init:64)
< Inited resource module : dc65c1b394a723d81ce3b77225c4937f for resource: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651361:DEBUG:(WsMdsResourceModule.java:query:148)
< Querying: https://max02.naregi.hokudai.ac.jp:8443/wsrf/services/DefaultIndexService with query: //*[local-name()="Entry" and  child::*[local-name()="MemberServiceEPR" and     child::*[local-name()="Address" and contains(text(), "ManagedJobFactoryService")] and     child::*[local-name()="ReferenceProperties" and        child::*[local-name()="ResourceID" and text()!="Multi"]     ]  ]] >

2651368:DEBUG:(WsMdsResourceModule.java:queryMDS4Index:214)
< Obtaining portal credential >

2651368:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.grid.security.gss.spi.impl.GssCertConfiguration resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651369:ERROR:(WsMdsResourceModule.java:queryMDS4Index:292)
< unexpected error in QueryResourcePropertiesResponse: java.lang.SecurityException - Unable to obtain required GSS credential >

java.lang.SecurityException: Unable to obtain required GSS credential
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.queryMDS4Index(WsMdsResourceModule.java:228)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:154)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:117)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WdMdsMonitorService$WsMdsMonitorTask.performTask(WdMdsMonitorService.java:53)
    at org.vinetoolkit.grid.info.spi.impl.BaseInfoTimerTask.run(BaseInfoTimerTask.java:63)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
2651370:WARN:(WsMdsResourceModule.java:query:158)
< Query response is null >





    


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users



_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users


catalina.out (65K) Download Attachment

Re: Vine job submission porlet: Job fail

by dominik tarnawczyk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Client takes the configuration from Domain.xml.
What version of GT4 are you using ? Are you sure that you haven't any ports blocked on firewall or sth ??

Dominik

2008/6/11 Mohamed Wahib <mwahibium@...>:
Hi,

 Well that means that the client overrides the port in Domain.xml file as i had it port 8080???
Anyway i ran the container in sec mode (port 8443), and tried again, this time the job is failed very fast, and the globus-gatekeeper.log didn't show any sign of attemp to connection ... the catalina.out is giving:

  8671891:ERROR:(WsGramJobManager.java:doStartJob:322)
< WsGramJobManager: doStartJob() createResponse creation error. >

And i attached the catalina.out file with the e-mail.

Sorry for bothering you, i appreciate your help and effort.


Wahib


Dominik Tarnawczyk <dtarnawczyk@...> wrote:
Hi,
I see that the problem might be on your GT4 installation. Our client uses "https" connection and it seems that server uses "http". Please configure your GT4 to use "https" and try again.

Dominik

2008/6/10 Mohamed Wahib <mwahibium@...>:
Hi,

 Thanks for the swift reply, i attached both the Domain.xml and catalina.out files with the e-mail.

Wahib


Dominik Tarnawczyk <dtarnawczyk@...> wrote:
Hi,
Could you paste Domain.xml ? Part of logs you put are from WsMdsResource, please look for WsGramResource entries.

Best regards,
Dominik

2008/6/10 Mohamed Wahib <mwahibium@...>:
Hi,

  I'm trying to run a simple GRAM job using the Vine job submission portlet.

  1- I made sure that the job could be submitted manually from the host having
      the portal to the host running the gt4 container, and i used a certificate that i
     manually got from the MyProxy Server  (same as the credential porltlet does).

  2- Now i started by retrieving a certificate through the credential portlet.
 
 3- Upon submitting a simple job "/bin/date" .. the status of the job remains as
    "submitting"  for about a min. and the catalina.out at this point is giving:
2654142:DEBUG:(CredentialManagerImpl.java:getCredentialContexts:65)
< Getting credentials for mhgrid >     

4- By tracing catalina.out, every thing was going well till it reached:
      < Obtaining portal credential >
   then it started the errors:
   < unexpected error in QueryResourcePropertiesResponse:    java.lang.SecurityException - Unable to obtain required GSS credential >
         
5- What i under stand is that either the job portlet first attempts to retrieve the portal's certificate (which is strange coz in Domain.xml i made the simple adding of the portal as a portal with no host certificate) ... or after the credential portlet retrieves the certificate the job portlet is not able to use the certificate though they are in the same session.

 The full catalina.out file is below, i'll really appreciate any help.

  Wahib


cataline.out>>

 2651323:INFO:(BaseInfoTimerTask.java:run:45)
< Runnning WsGramJobStatusPoller timer task >

2651323:DEBUG:(AbstractSession.java:createServiceContext:130)
< Creating service context: 15293c5883806b6881211de7ac1868fe >

2651323:DEBUG:(AbstractServiceContext.java:init:39)
< 15293c5883806b6881211de7ac1868fe Initing service context >

2651324:DEBUG:(AbstractSession.java:createServiceContext:145)
< Number of service contexts: 1 in session: 39dfd00736da6beadea6f182381f0e5f >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:173)
< Destroying service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractServiceContext.java:destroyServiceContext:259)
< Destroying service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractServiceContext.java:destroyServiceContext:337)
< Destroyed service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:181)
< Destroyed service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:199)
< Number of service contexts: 0 in session: 39dfd00736da6beadea6f182381f0e5f >

2651327:INFO:(BaseInfoTimerTask.java:run:45)
< Runnning WdMdsMonitorService timer task >

2651327:DEBUG:(AbstractSession.java:createServiceContext:130)
< Creating service context: 2a7c287de463736aed2cc8850d99e1fb >

2651327:DEBUG:(AbstractServiceContext.java:init:39)
< 2a7c287de463736aed2cc8850d99e1fb Initing service context >

2651327:DEBUG:(AbstractSession.java:createServiceContext:145)
< Number of service contexts: 1 in session: 39dfd00736da6beadea6f182381f0e5f >

2651328:DEBUG:(AbstractServiceFactory.java:createService:20)
< Creating service ResourceManager >

2651328:DEBUG:(AbstractServiceFactory.java:createService:20)
< Creating service HibernateService >

2651329:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.gt4.spi.impl.mds.WsMdsResource resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651329:DEBUG:(HibernateServiceImpl.java:getSession:99)
< 1213099987100 Opening Hibernate data session >

2651343:DEBUG:(WsMdsResourceModule.java:initResourceModule:85)
< WsMdsResourceModule initResourceModule: resource dn: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651343:DEBUG:(BaseResourceModule.java:init:64)
< Inited resource module : bacf9bfedfe41a9a1f8687effe8d7740 for resource: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651343:DEBUG:(WsMdsResourceModule.java:query:148)
< Querying: https://max02.naregi.hokudai.ac.jp:8443/wsrf/services/DefaultIndexService with query: //*[local-name()="Entry" and  child::*[local-name()="MemberServiceEPR" and     child::*[local-name()="Address" and contains(text(), "ManagedJobFactoryService")] and     child::*[local-name()="ReferenceProperties" and        child::*[local-name()="ResourceID" and text()!="Multi"]     ]  ]] >

2651350:DEBUG:(WsMdsResourceModule.java:queryMDS4Index:214)
< Obtaining portal credential >

2651351:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.grid.security.gss.spi.impl.GssCertConfiguration resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651352:ERROR:(WsMdsResourceModule.java:queryMDS4Index:292)
< unexpected error in QueryResourcePropertiesResponse: java.lang.SecurityException - Unable to obtain required GSS credential >

java.lang.SecurityException: Unable to obtain required GSS credential
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.queryMDS4Index(WsMdsResourceModule.java:228)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:154)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:117)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WdMdsMonitorService$WsMdsMonitorTask.performTask(WdMdsMonitorService.java:53)
    at org.vinetoolkit.grid.info.spi.impl.BaseInfoTimerTask.run(BaseInfoTimerTask.java:63)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
2651352:WARN:(WsMdsResourceModule.java:query:158)
< Query response is null >

2651361:DEBUG:(WsMdsResourceModule.java:initResourceModule:85)
< WsMdsResourceModule initResourceModule: resource dn: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651361:DEBUG:(BaseResourceModule.java:init:64)
< Inited resource module : dc65c1b394a723d81ce3b77225c4937f for resource: WsMdsResource=2,HostResource=max02.naregi.hokudai.ac.jp,Domain=gt4 >

2651361:DEBUG:(WsMdsResourceModule.java:query:148)
< Querying: https://max02.naregi.hokudai.ac.jp:8443/wsrf/services/DefaultIndexService with query: //*[local-name()="Entry" and  child::*[local-name()="MemberServiceEPR" and     child::*[local-name()="Address" and contains(text(), "ManagedJobFactoryService")] and     child::*[local-name()="ReferenceProperties" and        child::*[local-name()="ResourceID" and text()!="Multi"]     ]  ]] >

2651368:DEBUG:(WsMdsResourceModule.java:queryMDS4Index:214)
< Obtaining portal credential >

2651368:DEBUG:(HibernateResourceManager.java:createQuery:434)
< query = select resource from org.vinetoolkit.grid.security.gss.spi.impl.GssCertConfiguration resource  order by resource.ListingOrder, resource.Label, resource.Name >

2651369:ERROR:(WsMdsResourceModule.java:queryMDS4Index:292)
< unexpected error in QueryResourcePropertiesResponse: java.lang.SecurityException - Unable to obtain required GSS credential >

java.lang.SecurityException: Unable to obtain required GSS credential
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.queryMDS4Index(WsMdsResourceModule.java:228)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:154)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WsMdsResourceModule.query(WsMdsResourceModule.java:117)
    at org.vinetoolkit.gt4.spi.impl.mds.app.WdMdsMonitorService$WsMdsMonitorTask.performTask(WdMdsMonitorService.java:53)
    at org.vinetoolkit.grid.info.spi.impl.BaseInfoTimerTask.run(BaseInfoTimerTask.java:63)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
2651370:WARN:(WsMdsResourceModule.java:query:158)
< Query response is null >





    


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users


_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users



_______________________________________________
Gridsphere-users mailing list
Gridsphere-users@...
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users

Re: Vine job submission porlet: Job fail

by Mohamed Wahib :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

 1-  Globus version 4.0.5
 2- I don't think that it's the problem of connection, as i already tested manually to run a job from max02(host having portal) to vir02(host running Globus container).

Wahib

Dominik Tarnawczyk <dtarnawczyk@...> wrote:
Hi,
Client takes the configuration from Domain.xml.
What version of GT4 are you using ? Are you sure that you haven't any ports blocked on firewall or sth ??

Dominik

2008/6/11 Mohamed Wahib <mwahibium@...>:
Hi,

 Well that means that the client overrides the port in Domain.xml file as i had it port 8080???
Anyway i ran the container in sec mode (port 8443), and tried again, this time the job is failed very fast, and the globus-gatekeeper.log didn't show any sign of attemp to connection ... the catalina.out is giving:

  8671891:ERROR:(WsGramJobManager.java:doStartJob:322)
< WsGramJobManager: doStartJob() createResponse creation error. >

And i attached the catalina.out file with the e-mail.

Sorry for bothering you, i appreciate your help and effort.


Wahib


Dominik Tarnawczyk <dtarnawczyk@...> wrote:
Hi,
I see that the problem might be on your GT4 installation. Our client uses "https" connection and it seems that server uses "http". Please configure your GT4 to use "https" and try again.

Dominik

2008/6/10 Mohamed Wahib <mwahibium@...>:
Hi,

 Thanks for the swift reply, i attached both the Domain.xml and catalina.out files with the e-mail.

Wahib


Dominik Tarnawczyk <dtarnawczyk@...> wrote:
Hi,
Could you paste Domain.xml ? Part of logs you put are from WsMdsResource, please look for WsGramResource entries.

Best regards,
Dominik

2008/6/10 Mohamed Wahib <mwahibium@...>:
Hi,

  I'm trying to run a simple GRAM job using the Vine job submission portlet.

  1- I made sure that the job could be submitted manually from the host having
      the portal to the host running the gt4 container, and i used a certificate that i
     manually got from the MyProxy Server  (same as the credential porltlet does).

  2- Now i started by retrieving a certificate through the credential portlet.
 
 3- Upon submitting a simple job "/bin/date" .. the status of the job remains as
    "submitting"  for about a min. and the catalina.out at this point is giving:
2654142:DEBUG:(CredentialManagerImpl.java:getCredentialContexts:65)
< Getting credentials for mhgrid >     

4- By tracing catalina.out, every thing was going well till it reached:
      < Obtaining portal credential >
   then it started the errors:
   < unexpected error in QueryResourcePropertiesResponse:    java.lang.SecurityException - Unable to obtain required GSS credential >
         
5- What i under stand is that either the job portlet first attempts to retrieve the portal's certificate (which is strange coz in Domain.xml i made the simple adding of the portal as a portal with no host certificate) ... or after the credential portlet retrieves the certificate the job portlet is not able to use the certificate though they are in the same session.

 The full catalina.out file is below, i'll really appreciate any help.

  Wahib


cataline.out>>

 2651323:INFO:(BaseInfoTimerTask.java:run:45)
< Runnning WsGramJobStatusPoller timer task >

2651323:DEBUG:(AbstractSession.java:createServiceContext:130)
< Creating service context: 15293c5883806b6881211de7ac1868fe >

2651323:DEBUG:(AbstractServiceContext.java:init:39)
< 15293c5883806b6881211de7ac1868fe Initing service context >

2651324:DEBUG:(AbstractSession.java:createServiceContext:145)
< Number of service contexts: 1 in session: 39dfd00736da6beadea6f182381f0e5f >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:173)
< Destroying service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractServiceContext.java:destroyServiceContext:259)
< Destroying service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractServiceContext.java:destroyServiceContext:337)
< Destroyed service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:181)
< Destroyed service context: 15293c5883806b6881211de7ac1868fe >

2651325:DEBUG:(AbstractSession.java:destroyServiceContext:199)
< Number of service contexts: 0 in session: 39dfd00736da6beadea6f182381f0e5f >

2651327:INFO:(BaseInfoTimerTask.java:run:45)
< Runnning WdMdsMonitorService timer task >

2651327:DEBUG:(AbstractSession.java:createServiceContext:130)
< Creating service context: 2a7c287de463736aed2cc8850d99e1fb >

2651327:DEBUG:(AbstractServiceContext.java:init:39)
< 2a7c287de463736aed2cc8850d99e1fb Initing service context >

2651327:DEBUG:(AbstractSession.java:createServiceContext:145)
< Number of service contexts: 1 in session: 39dfd00736da6beadea6f182381f0e5f >

2651328:DEBUG:(AbstractServiceFactory.java:createService:20)
< Creating service ResourceManager >

2651328:DEBUG:(AbstractServiceFactory.java:createService:20)
< Creating service HibernateService >

2651329:DEBUG:(HibernateResourceManager.java:createQuery:434)