This sounds like input streams that are not properly closed by the
code and that are only closed by the garbage collector.

Andreas

On Tue, Feb 1, 2011 at 10:35, Ruwan Linton <[email protected]> wrote:
> Hi Momchil,
>
> This is the expected behavior. Synapse reads its configuration from the
> configuration files available in the repository/conf/synapse-config
> directory and in Windows JVM take a lock when it opens the file descriptor.
> This happens in the middle of starting Synapse server and once the
> configuration building is done Synapse is going to release those file
> descriptors and hence the JVM.
>
> So after starting the server you can do those operations to the
> configuration files. In general it is considered a bad practice to change
> these files while synapse is starting.
>
> May I know your use case so that I can see whether I can provide any help in
> resolving the problem that you are trying to achieve with changing/deleting
> the files while synapse is starting?
>
> Thanks,
> Ruwan
>
> On Mon, Jan 31, 2011 at 9:07 PM, Atanassov, Momchil <
> [email protected]> wrote:
>
>> Hi there,
>>
>> I'm using Synapse 2.0 (30-Nov-2010 release, not the last build) and I'm
>> having the following problem.
>> Whenever I start Synapse I can't delete or modify any existing proxy,
>> sequence, etc. files. Windows warns me that JVM has a lock on those files.
>> The actual message is "The action can't be completed because the file is
>> open in Java(tm) Platform SE binary.".
>>
>> However, deleting deployed resources that were added after synapse was
>> started is no problem. Eventually (after some time) those files that were
>> deployed at synapse startup get released and are available for
>> deletion/modification but neither do I know when that will happen, nor do I
>> have any control over it.
>>
>> Is this behavior expected? Is it an issue that you have resolved in the
>> last builds? Any info is appreciated.
>>
>> Many thanks in advance,
>> Momchil Atanasov
>>
>>
>>
>
>
> --
> Ruwan Linton
> Member, Apache Software Foundation; http://www.apache.org
> Software Architect & Product Manager, WSO2 Inc.; http://wso2.org
>
> phone: +1 408 754 7388 ext 51789
> email: [email protected]; cell: +94 77 341 3097
> blog: http://blog.ruwan.org
> linkedin: http://www.linkedin.com/in/ruwanlinton
> google: http://www.google.com/profiles/ruwan.linton
> tweet: http://twitter.com/ruwanlinton
>

Reply via email to