Vine job submission porlet: Job fail

View: New views
14 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)
< 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


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


Re: Vine job submission porlet: Job fail

by txcom2003 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, i'm glad that someone else has used vine, so we can share our
experience here.


I just try to help...

maybe you should disable the option wsMdsResource first and restart tomcat
to figure out what the problem is. Because according to the catalina
output there seems a lot of problem that related to MDS service.

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

try to check the output of that job and debug globus container log, ty
issue command
globus@host:~$  tail -f /path-to-globus/var/container.log  whether that
job has been submitted or not.

at last, if you think that it's a bug, try to update sportlet and vine
from svn repository. the command are :

globus@host:~$ svn checkout https://gforge.man.poznan.pl/svn/sportlets/trunk
sportlets
globus@host:~$ svn checkout https://gforge.man.poznan.pl/svn/vine/vine/trunk
vine

and try reinstall sportlet vine again with that update.

Hope that will help, even just little.

Regard

Tonny








_______________________________________________
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

Hmm, that's strange. Could you set property log4j.logger.org.vinetoolkit to ALL inside log4j.properties file in $CATALINA_HOME/webapps/vine/WEB-INF/classes/ and check if you have any additional informations in your log file ??

Dominik


2008/6/11 Mohamed Wahib <mwahibium@...>:
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)
< 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


_______________________________________________
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 dominik tarnawczyk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
You don't need do checkout Sportlets from svn repository because in Vine there already are newest Sportlets in jar file.

Dominik

2008/6/11 <txcom2003@...>:
Hi, i'm glad that someone else has used vine, so we can share our
experience here.


I just try to help...

maybe you should disable the option wsMdsResource first and restart tomcat
to figure out what the problem is. Because according to the catalina
output there seems a lot of problem that related to MDS service.

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

try to check the output of that job and debug globus container log, ty
issue command
globus@host:~$  tail -f /path-to-globus/var/container.log  whether that
job has been submitted or not.

at last, if you think that it's a bug, try to update sportlet and vine
from svn repository. the command are :

globus@host:~$ svn checkout https://gforge.man.poznan.pl/svn/sportlets/trunk
sportlets
globus@host:~$ svn checkout https://gforge.man.poznan.pl/svn/vine/vine/trunk
vine

and try reinstall sportlet vine again with that update.

Hope that will help, even just little.

Regard

Tonny








_______________________________________________
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 txcom2003 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Oops sorry i didn't know that Sportlet that's included in vine is the
newest version. Thanks for fixing my comment.

> Hi,
> You don't need do checkout Sportlets from svn repository because in Vine
> there already are newest Sportlets in jar file.
>
> Dominik
>
> 2008/6/11 <txcom2003@...>:
>
>> Hi, i'm glad that someone else has used vine, so we can share our
>> experience here.
>>
>>
>> I just try to help...
>>
>> maybe you should disable the option wsMdsResource first and restart
>> tomcat
>> to figure out what the problem is. Because according to the catalina
>> output there seems a lot of problem that related to MDS service.
>>
>> <!  <wsMdsResource label="PSNC (WS-MDS)"/> -->
>>
>> try to check the output of that job and debug globus container log, ty
>> issue command
>> globus@host:~$  tail -f /path-to-globus/var/container.log  whether that
>> job has been submitted or not.
>>
>> at last, if you think that it's a bug, try to update sportlet and vine
>> from svn repository. the command are :
>>
>> globus@host:~$ svn checkout
>> https://gforge.man.poznan.pl/svn/sportlets/trunk
>> sportlets
>> globus@host:~$ svn checkout
>> https://gforge.man.poznan.pl/svn/vine/vine/trunk
>> vine
>>
>> and try reinstall sportlet vine again with that update.
>>
>> Hope that will help, even just little.
>>
>> Regard
>>
>> Tonny
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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 Mircea Deaconu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

 Try to look in $GLOBUS_LOCATION/var/log. I had some problems once that were due to the user under which gridsphere was running not being in the sudoers file but try to check the log first. You could also use the vine users mail list, maybe you'll have more luck there.

Mircea.

--- On Thu, 6/12/08, txcom2003@... <txcom2003@...> wrote:

> From: txcom2003@... <txcom2003@...>
> Subject: Re: [Gridsphere-users] Vine job submission porlet: Job fail
> To: "GridSphere Users" <gridsphere-users@...>
> Date: Thursday, June 12, 2008, 10:46 AM
> Oops sorry i didn't know that Sportlet that's
> included in vine is the
> newest version. Thanks for fixing my comment.
>
> > Hi,
> > You don't need do checkout Sportlets from svn
> repository because in Vine
> > there already are newest Sportlets in jar file.
> >
> > Dominik
> >
> > 2008/6/11 <txcom2003@...>:
> >
> >> Hi, i'm glad that someone else has used vine,
> so we can share our
> >> experience here.
> >>
> >>
> >> I just try to help...
> >>
> >> maybe you should disable the option wsMdsResource
> first and restart
> >> tomcat
> >> to figure out what the problem is. Because
> according to the catalina
> >> output there seems a lot of problem that related
> to MDS service.
> >>
> >> <!  <wsMdsResource label="PSNC
> (WS-MDS)"/> -->
> >>
> >> try to check the output of that job and debug
> globus container log, ty
> >> issue command
> >> globus@host:~$  tail -f
> /path-to-globus/var/container.log  whether that
> >> job has been submitted or not.
> >>
> >> at last, if you think that it's a bug, try to
> update sportlet and vine
> >> from svn repository. the command are :
> >>
> >> globus@host:~$ svn checkout
> >> https://gforge.man.poznan.pl/svn/sportlets/trunk
> >> sportlets
> >> globus@host:~$ svn checkout
> >> https://gforge.man.poznan.pl/svn/vine/vine/trunk
> >> vine
> >>
> >> and try reinstall sportlet vine again with that
> update.
> >>
> >> Hope that will help, even just little.
> >>
> >> Regard
> >>
> >> Tonny
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> 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 i tried all the proposed solutions but none worked out :(
   Again to summarize, i made sure MANUALLY that i could run GRAM jobs from the host hosting the portal on the host running the GT4.0.5 container.
  I tried doing that using the job manager vine portlet ... for both modes of running the container (8443 and -nosec 8080) it doesn't work, and the globus-gatekeeper.log contains nothing which means the connection is not happening between the portlet and the container.

 The catalina.out files are giving errors with WsMDSresource, though i disabled that in the Domain.xml file and any way the job construction continues after the error but later throws another GSS credential error.

 I cann't know for sure what is the reason, but most probably it's a problem in the vine session that should have the active certificates to use in job submission.

 I attached 2 files: catalina8443.out is the log when i tested using 8443 globus container and catalina8080.out when i tested using the 8080 globus container.

 Any help will be appreciated, any other files of logs u need to c just tell me.

Wahib
 

Mircea Deaconu <mirceade@...> wrote:
Hi,

Try to look in $GLOBUS_LOCATION/var/log. I had some problems once that were due to the user under which gridsphere was running not being in the sudoers file but try to check the log first. You could also use the vine users mail list, maybe you'll have more luck there.

Mircea.

--- On Thu, 6/12/08, txcom2003@... wrote:

> From: txcom2003@...
> Subject: Re: [Gridsphere-users] Vine job submission porlet: Job fail
> To: "GridSphere Users"
> Date: Thursday, June 12, 2008, 10:46 AM
> Oops sorry i didn't know that Sportlet that's
> included in vine is the
> newest version. Thanks for fixing my comment.
>
> > Hi,
> > You don't need do checkout Sportlets from svn
> repository because in Vine
> > there already are newest Sportlets in jar file.
> >
> > Dominik
> >
> > 2008/6/11 :
> >
> >> Hi, i'm glad that someone else has used vine,
> so we can share our
> >> experience here.
> >>
> >>
> >> I just try to help...
> >>
> >> maybe you should disable the option wsMdsResource
> first and restart
> >> tomcat
> >> to figure out what the problem is. Because
> according to the catalina
> >> output there seems a lot of problem that related
> to MDS service.
> >>
> >> > (WS-MDS)"/> -->
> >>
> >> try to check the output of that job and debug
> globus container log, ty
> >> issue command
> >> globus@host:~$ tail -f
> /path-to-globus/var/container.log whether that
> >> job has been submitted or not.
> >>
> >> at last, if you think that it's a bug, try to
> update sportlet and vine
> >> from svn repository. the command are :
> >>
> >> globus@host:~$ svn checkout
> >> https://gforge.man.poznan.pl/svn/sportlets/trunk
> >> sportlets
> >> globus@host:~$ svn checkout
> >> https://gforge.man.poznan.pl/svn/vine/vine/trunk
> >> vine
> >>
> >> and try reinstall sportlet vine again with that
> update.
> >>
> >> Hope that will help, even just little.
> >>
> >> Regard
> >>
> >> Tonny
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> 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


catalina8443.out (91K) Download Attachment
catalina8080.out (361K) Download Attachment

Re: Vine job submission porlet: Job fail

by shashik () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi mohamed,


I am working on gridsphere 3.1 with vine.but i am not be able to retrieved credential.
can you help me regarding this that how can i configure gridsphere with vine and globus for my SGE.
i have change in Domain.xml but whenever i click on credential management portal and submit nothing will happen.
Please reply me ASAP.

Thanks
Shashikant Kabra



Mohamed Wahib wrote:
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@gridsphere.org
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users