Separate web applications use the same connection pool

Hi, I have two web applications connected to a single database in the database, how to create the same pool of connections for both? I create the c3p0 variables in the persistence.xml file of both, or only one? thank you so much