aspose file tools*
The moose likes JForum and the fly likes why lck file block database even i access it first time after deploying? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "why lck file block database even i access it first time after deploying?" Watch "why lck file block database even i access it first time after deploying?" New topic
Author

why lck file block database even i access it first time after deploying?

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
i am getting exception.database already in use(which comes when lck file gets generated.)
Here only in one linux server its giving me this exception.
in all others lck file gets generated only when i acceseed the url of site at least once. second time without deleting i get this exception in all normal case.
But only in one linux machine i am unable to figure out why its reacting like this.
is there any dependency on this what i can find out and solve.

or please guide me what to do here.

i am fully confused.

Is this a problem of jboss(or any slimmed down version), Linux machine,
or anything else.wher to modify what .
is it just based on jform-custom.conf as i am using it.


thanks.
vijendra

[originally posted on jforum.net by vijendra]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
This problems usually happen when there is a crash, or something related, and the SO / VM keeps the lock on the file.
The only way I see to "solve" this is to restart Tomcat, but if is it happening too much, it may be something else.

The WEB-INF/config/database/hsqldb directory have full writing permissions?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why lck file block database even i access it first time after deploying?