Let's fix this for this release. Users may not be able to find this file,
and then think the server has become unusable, so from their point of view,
this is an L1. I'm sure we will see forum & support queries about this. We
can delete this file and start. Anjana, please handle this.


On Wed, May 25, 2011 at 6:41 PM, Sumedha Rubasinghe <[email protected]>wrote:

> I just killed running instance of a server & tried re-booting.
>
> [2011-05-25 18:33:48,741]  INFO
> {org.wso2.carbon.atomikos.TransactionFactory} -  Starting Atomikos
> Transaction Manager 3.7.0
> ERROR: the specified log seems to be in use already. Make sure that no
> other instance is running, or kill any pending process if needed.
> java.lang.RuntimeException: Log already in use?
> at
> com.atomikos.icatch.standalone.UserTransactionServiceImp.createDefault(UserTransactionServiceImp.java:246)
>  at
> com.atomikos.icatch.standalone.UserTransactionServiceImp.init(UserTransactionServiceImp.java:306)
> at
> com.atomikos.icatch.config.UserTransactionServiceImp.init(UserTransactionServiceImp.java:413)
>  at
> com.atomikos.icatch.jta.UserTransactionManager.checkSetup(UserTransactionManager.java:90)
> at
> com.atomikos.icatch.jta.UserTransactionManager.init(UserTransactionManager.java:140)
>  at
> org.wso2.carbon.atomikos.TransactionFactory.initTxManager(TransactionFactory.java:37)
>
> This is due to the lock file (tm.out.lck) created by atomikos in
> repository/log folder & deleting it makes the server boot up normally.
>
> -rw-r--r--   1 sumedha  staff    4358 May 25 15:00 tm.out
> -rw-r--r--   1 sumedha  staff       0 May 25 18:33 tm.out.1
> -rw-r--r--   1 sumedha  staff       0 May 25 18:33 tm.out.lck
>
> But, shouldn't we deal with gracefully?
>
> Created a JIRA[1] for future checkups.
>
>  /sumedha
>
> [1] https://wso2.org/jira/browse/CARBON-10291
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to