public TransactionServiceJotmImpl(InitialContextInitializer initializer, InitParams params) throws RemoteException
{
current = Current.getCurrent();
if (current == null)
{
TransactionFactory tm = new TransactionFactoryImpl();
current = new Current(tm);
// Change the timeout only if JOTM is not initialized yet
if (params != null && params.getValueParam("timeout") != null)
{