[jboss-jira] [JBoss JIRA] Commented: (JBAS-7674) Windows file locking problem with the data/jnp-service.url file

oglueck (JIRA) jira-events at lists.jboss.org
Wed Jan 12 07:23:49 EST 2011


    [ https://issues.jboss.org/browse/JBAS-7674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574912#comment-12574912 ] 

oglueck commented on JBAS-7674:
-------------------------------

I still see this in JBossAS-6.

1. Open an Explorer Window in the data directory (where the jnp-service.url) file is created
2. Startup JBoss
3. Shutdown JBoss
4. The file is left behind and is locked by explorer.exe

I suspect the Windows Explorer treats this as a web-link file (.url) and tries to parse it. But the file is empty, Explorer fails to parse but doesn't unlock it (probably a simple bug in Explorer).
Probably the best thing is to chose a file extension different from .url, such that Explorer will not try to do something with it.

> Windows file locking problem with the data/jnp-service.url file
> ---------------------------------------------------------------
>
>                 Key: JBAS-7674
>                 URL: https://issues.jboss.org/browse/JBAS-7674
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Management services
>    Affects Versions: JBossAS-5.1.0.GA, 6.0.0.M1
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: 6.0.0.M2
>
>
> In some circumstances, windows is reporting the AS is holding a lock on the data/jnp-service.url file when it isn't running.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list