Applicability of liner and second order solutions of wave field inside and outside a rectangular harbour is investigated. The matching conditions are used without any simplification. The normal derivatives of the forced waves have unreasonable characteristics along the boundaries.This comes from the Gibbs phenomenon in the linear solution. But the linear waves calculated on the lines through the matching points have good agreements with the results with boundary element method concerned with the harbour resonances.