• jichun
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
Hi, All
 
We created 2 simple java application which triggered by windows task manager at different time to access SF.
one is triggered every 30 min and one is 1 hrs.
 
But sometime Java throws a error message, not all the time.
-------------------------------------------------------------------

2008/05/14 10:00:09 [ERROR] BatchSFToDayBreak - main((String[]) <INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Session timed out>AxisFault
 faultCode: {urn:fault.enterprise.soap.sforce.com}INVALID_SESSION_ID
 faultSubcode:
 faultString: INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Session timed out
 faultActor:
 faultNode:
 faultDetail:
 {urn:fault.enterprise.soap.sforce.com}UnexpectedErrorFault:<ns1:exceptionCode>INVALID_SESSION_ID</ns1:exceptionCode><ns1:exceptionMessage>Invalid Session ID found in SessionHeader: Session timed out</ns1:exceptionMessage>

-------------------------------------------------------------------
 My java application will login again every time when triggered, and java program only run abt 1 mins. why the session will timeout? do I need to update my stub?

Thanks

 
Hi, All
 
We created 2 simple java application which triggered by windows task manager at different time to access SF.
one is triggered every 30 min and one is 1 hrs.
 
But sometime Java throws a error message, not all the time.
-------------------------------------------------------------------

2008/05/14 10:00:09 [ERROR] BatchSFToDayBreak - main((String[]) <INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Session timed out>AxisFault
 faultCode: {urn:fault.enterprise.soap.sforce.com}INVALID_SESSION_ID
 faultSubcode:
 faultString: INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Session timed out
 faultActor:
 faultNode:
 faultDetail:
 {urn:fault.enterprise.soap.sforce.com}UnexpectedErrorFault:<ns1:exceptionCode>INVALID_SESSION_ID</ns1:exceptionCode><ns1:exceptionMessage>Invalid Session ID found in SessionHeader: Session timed out</ns1:exceptionMessage>

-------------------------------------------------------------------
 My java application will login again every time when triggered, and java program only run abt 1 mins. why the session will timeout? do I need to update my stub?

Thanks