A single-mode microwave cavity field, coupled to its reservoir, interacting generally with a superconducting charge qubit is considered. Using a certain canonical transformation for the qubit states, the system is transformed into the usual Jaynes-Cummings model. The solution of the master equation of this system, in the case of a high-Q cavity is obtained. The temporal evolution of the population inversion is explored. The effects of cavity damping on the purity of the qubit, the field and the global system state are studied. It is found that due to the coupling between the system and environment, the purity is lost. The entanglement is compared with total correlation. It is found that, with the damping parameter, the asymptotic value of the correlation measure is not null, since the global system evolves to a classically correlated state. The negativity is used as an indicator of the degree of entanglement between the qubit and the field. The results indicate the sensitivity of these aspects to change of the damping parameter.