Problem with JMS adapter Configuration

Hello all,
I am trying to work with JMS adapter connected to JBOSS App Server. I followed the Installation guide for the installation and configuration.

I am facing a major problem with creating connections. Whenever i create a conncetion factory in wmJMSAdmin->JMS->Connection factories…it created it, but in case i need to restart the server for any reason…these connection factories gets deleted.

Please suggest what may be the reason for such behaviour and what is the possible solution for the same.