EXHIBIT 10.16



SECOND LOAN MODIFICATION AGREEMENT



This Second Loan Modification Agreement (Loan Modification Agreement) is entered into as of June 26, 2003, by and between VITRIA
TECHNOLOGY, INC. (Borrower) and SILICON VALLEY BANK (Bank).



1. DESCRIPTION OF EXISTING INDEBTEDNESS. Borrower and Bank are parties to, among other documents, a Loan and Security Agreement, dated June 28, 2002 (as amended and/or modified, the Loan Agreement).
The Loan Agreement provided for, among other things, a Committed Revolving Line of Up to Fifteen Million Dollars ($15,000,000). Additionally, Borrower and Bank are parties to a Non-Recourse Receivables Purchase Agreement, dated as of June 28, 2002,
which provides for the purchase by Borrower and sale of receivables by Bank not to exceed an amount outstanding equal to $5,000,000 in the aggregate. Defined terms used but not otherwise defined herein shall have the same meanings as in the Loan
Agreement.



Hereinafter, all indebtedness owing by Borrower to
Bank shall be referred to as the Indebtedness.



2.
DESCRIPTION OF COLLATERAL AND GUARANTIES. Repayment of the Indebtedness is secured by the Collateral as described in the Loan Agreement.



Hereinafter, the above-described security documents and guaranties, together with all other documents securing repayment of the Indebtedness shall be
referred to as the Security Documents. Hereinafter, the Security Documents, together with all other documents evidencing or securing the Indebtedness shall be referred to as the Existing Loan Documents.



3. DESCRIPTION OF CHANGE IN TERMS.



A. Modification(s) to Loan Agreement.



1. The definition of Revolving Maturity Date in Section
13.1 of the Loan Agreement is hereby amended and restated in its entirety to read as follows:



Revolving Maturity Date is June 27, 2004.



2. Section 6.6 of the Loan Agreement is hereby amended and restated in its entirety to read as follows:



6.6 Deposit and Investment Accounts.



Borrower will maintain its primary depository and operating
accounts with Bank. In addition to its primary depository and operating accounts, Borrower will maintain at all times no less than $25,000,000 in investment accounts to be pledged to Bank at SVB Securities (pursuant to a control agreement in form
and substance satisfactory to Bank).



1



---

3. Section 6.10 of the Loan Agreement is hereby amended and restated in its entirety to read as
follows:



6.10 Minimum Cash.



Borrower will maintain at all times unrestricted cash plus
short-term investments (per GAAP) of no less than $80,000,000.



4. CONSISTENT CHANGES. The Existing Loan Documents are hereby amended wherever necessary to reflect the changes described above.



5. PAYMENT OF LOAN FEE. Borrower shall pay Bank all of Banks out-of-pocket expenses.



6. NO DEFENSES OF BORROWER. Borrower (and each guarantor and pledgor
signing below) agrees that, as of the date hereof, it has no defenses against the obligations to pay any amounts under the Indebtedness.



7. CONTINUING VALIDITY. Borrower (and each guarantor and pledgor signing below) understands and agrees that in modifying the existing Indebtedness,
Bank is relying upon Borrowers representations, warranties, and agreements, as set forth in the Existing Loan Documents. Except as expressly modified pursuant to this Loan Modification Agreement, the terms of the Existing Loan Documents remain
unchanged and in full force and effect. Banks agreement to modification + the existing Indebtedness pursuant to this Loan Modification Agreement in no way shall obligate Bank to make any future modifications to the Indebtedness. Nothing in
this Loan Modification Agreement shall constitute a satisfaction of the Indebtedness. It is the intention of Bank and Borrower to retain as liable parties all makers and endorsers of Existing Loan Documents, unless the party is expressly released by
Bank in writing. No maker, endorser, or guarantor will be released by virtue of this Loan Modification Agreement. The terms of this paragraph apply not only to this Loan Modification Agreement, but also to all subsequent loan modification
agreements.



8. CONDITIONS. The effectiveness of this
Loan Modification Agreement is conditioned upon the receipt by Bank of a fully executed copy of this Loan Modification.



2



---

This Loan Modification Agreement is executed as of the date first written above.



|BORROWER:               |  |                         |  | BANK:              
|----------------------- |  | ----------------------- |  | -------------------
|                        |  |                        
|VITRIA TECHNOLOGY, INC. |  |                         |  | SILICON VALLEY BANK
|                        |  |                         |  |                    
|By:                     |  | /s/    JEFF BAIRSTOW    |  |                    
|                        |  |                         |  |                    
|Name:                   |  | Jeff Bairstow           |  |                    
|                        |  |                         |  |                    
|Title:                  |  | Chief Financial Officer |  |                    



3