Openfire sourcecode open

I have question about openfire which will be used our commercial project.

I knew that Openfire license is GPL.

then…

Case 1. We should make public the source code if we use openfire?

Case 1-2. If so, Then I should open the just openfire sourcecode? Or sourcecode of server using openfire?

Case 2. If we modify the openfire sourcecode, Then we sould make pulic the modified source code?

Case 2-2. If so, just openfire source code? Or sourcecode of server using openfire?

I expect your reply.

Thanks.