You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by criverapr <cr...@hotmail.com> on 2008/12/29 22:54:23 UTC

locked for editing by user ''

I'm getting a locked for editing by user '' message when trying to open an
excel file that is generated automatically using POI api.  Any ideas?
-- 
View this message in context: http://www.nabble.com/locked-for-editing-by-user-%27%27-tp21209713p21209713.html
Sent from the POI - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: locked for editing by user ''

Posted by criverapr <cr...@hotmail.com>.
Another thing is that if I run the agent locally it doesn't happen.  Could it
be related to security on the server?


David Fisher wrote:
> 
> You could shared the code that uses poi.
> 
> Is the domino agent running on a Windows server?
> 
> Which version of Office and WIndows? Are you in a high security  
> environment?
> 
> Regards,
> Dave
> 
> On Dec 30, 2008, at 8:53 AM, criverapr wrote:
> 
>>
>> Sorry about that I didn't give much detail.  I'm using the following  
>> jar
>> poi-3.2-FINAL-20081019.jar.  I have a lotus domino java agent that  
>> runs
>> every night and uses poi to generate a simple excel file.  Let me  
>> know if
>> you need more info.  Thank you for the prompt response.
>>
>>
>> David Fisher wrote:
>>>
>>> It would help to understand which version of the api you are using.
>>>
>>> What do you mean by automatically generated? Are you using a tool  
>>> that
>>> uses poi?
>>>
>>> Is this a simple Excel file, or complex?
>>>
>>> On Dec 29, 2008, at 3:54 PM, criverapr wrote:
>>>
>>>>
>>>> I'm getting a locked for editing by user '' message when trying to
>>>> open an
>>>> excel file that is generated automatically using POI api.  Any  
>>>> ideas?
>>>> -- 
>>>> View this message in context:
>>>> http://www.nabble.com/locked-for-editing-by-user-%27%27-tp21209713p21209713.html
>>>> Sent from the POI - Dev mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
>>>> For additional commands, e-mail: dev-help@poi.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
>>> For additional commands, e-mail: dev-help@poi.apache.org
>>>
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/locked-for-editing-by-user-%27%27-tp21209713p21218119.html
>> Sent from the POI - Dev mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
>> For additional commands, e-mail: dev-help@poi.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/locked-for-editing-by-user-%27%27-tp21209713p21231715.html
Sent from the POI - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: locked for editing by user ''

Posted by David Fisher <df...@jmlafferty.com>.
You could shared the code that uses poi.

Is the domino agent running on a Windows server?

Which version of Office and WIndows? Are you in a high security  
environment?

Regards,
Dave

On Dec 30, 2008, at 8:53 AM, criverapr wrote:

>
> Sorry about that I didn't give much detail.  I'm using the following  
> jar
> poi-3.2-FINAL-20081019.jar.  I have a lotus domino java agent that  
> runs
> every night and uses poi to generate a simple excel file.  Let me  
> know if
> you need more info.  Thank you for the prompt response.
>
>
> David Fisher wrote:
>>
>> It would help to understand which version of the api you are using.
>>
>> What do you mean by automatically generated? Are you using a tool  
>> that
>> uses poi?
>>
>> Is this a simple Excel file, or complex?
>>
>> On Dec 29, 2008, at 3:54 PM, criverapr wrote:
>>
>>>
>>> I'm getting a locked for editing by user '' message when trying to
>>> open an
>>> excel file that is generated automatically using POI api.  Any  
>>> ideas?
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/locked-for-editing-by-user-%27%27-tp21209713p21209713.html
>>> Sent from the POI - Dev mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
>>> For additional commands, e-mail: dev-help@poi.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
>> For additional commands, e-mail: dev-help@poi.apache.org
>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/locked-for-editing-by-user-%27%27-tp21209713p21218119.html
> Sent from the POI - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: locked for editing by user ''

Posted by criverapr <cr...@hotmail.com>.
Yes I'm closing the file stream.  I have attached the code.


Martin Brown-6 wrote:
> 
> On Tue, 2008-12-30 at 06:53 -0800, criverapr wrote:
>> Sorry about that I didn't give much detail.  I'm using the following jar
>> poi-3.2-FINAL-20081019.jar.  I have a lotus domino java agent that runs
>> every night and uses poi to generate a simple excel file.
> 
> Is your Java application always closing the file / file stream? If not
> then Windows file sharing might cause the error you are experiencing.
> 
> Cheers
> 
> Martin
> 
> 
> Filtered by 3BClean from http://www.3bview.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
> 
> 
> 
http://www.nabble.com/file/p21219097/ExcelWriter.txt ExcelWriter.txt 
-- 
View this message in context: http://www.nabble.com/locked-for-editing-by-user-%27%27-tp21209713p21219097.html
Sent from the POI - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: locked for editing by user ''

Posted by Martin Brown <ma...@3bview.com>.
On Tue, 2008-12-30 at 06:53 -0800, criverapr wrote:
> Sorry about that I didn't give much detail.  I'm using the following jar
> poi-3.2-FINAL-20081019.jar.  I have a lotus domino java agent that runs
> every night and uses poi to generate a simple excel file.

Is your Java application always closing the file / file stream? If not
then Windows file sharing might cause the error you are experiencing.

Cheers

Martin


Filtered by 3BClean from http://www.3bview.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: locked for editing by user ''

Posted by criverapr <cr...@hotmail.com>.
Sorry about that I didn't give much detail.  I'm using the following jar
poi-3.2-FINAL-20081019.jar.  I have a lotus domino java agent that runs
every night and uses poi to generate a simple excel file.  Let me know if
you need more info.  Thank you for the prompt response.


David Fisher wrote:
> 
> It would help to understand which version of the api you are using.
> 
> What do you mean by automatically generated? Are you using a tool that  
> uses poi?
> 
> Is this a simple Excel file, or complex?
> 
> On Dec 29, 2008, at 3:54 PM, criverapr wrote:
> 
>>
>> I'm getting a locked for editing by user '' message when trying to  
>> open an
>> excel file that is generated automatically using POI api.  Any ideas?
>> -- 
>> View this message in context:
>> http://www.nabble.com/locked-for-editing-by-user-%27%27-tp21209713p21209713.html
>> Sent from the POI - Dev mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
>> For additional commands, e-mail: dev-help@poi.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/locked-for-editing-by-user-%27%27-tp21209713p21218119.html
Sent from the POI - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: locked for editing by user ''

Posted by David Fisher <df...@jmlafferty.com>.
It would help to understand which version of the api you are using.

What do you mean by automatically generated? Are you using a tool that  
uses poi?

Is this a simple Excel file, or complex?

On Dec 29, 2008, at 3:54 PM, criverapr wrote:

>
> I'm getting a locked for editing by user '' message when trying to  
> open an
> excel file that is generated automatically using POI api.  Any ideas?
> -- 
> View this message in context: http://www.nabble.com/locked-for-editing-by-user-%27%27-tp21209713p21209713.html
> Sent from the POI - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org