On Sun, Apr 8, 2012 at 9:56 PM, Kasun Perera <[email protected]> wrote:
> @Denis
> According to this
> http://wso2.org/library/articles/2011/10/alfresco-wso2-stratos-application-server151 ,
> I can disable the security manager and do the fileupload in my Local app
> server. But when,when it runs on Live server the problem is still there.
> Disabling Security Manger on Live Server is not possible. Is there any
> setting that can be enables for temp file writing?
>
> @Amila
> Is there at least one directory that allows temp file writing on Stratos
> live? So I can configure web app to use that directory for temp files
> writing?

I am afraid, we dont have have such directory location (As far as I know).
>
>
> On Sun, Apr 8, 2012 at 6:26 PM, Amila Jayasekara <[email protected]> wrote:
>>
>> Hi Kasun,
>>
>> It is not possible to do changes to file system through tenant code.
>> So the only way to get rid of this is to, find a work around for temp
>> file writing. One possibility is to write temp file data to a database
>> through "Data Services" and later retrieve them. But as per now,
>> tenant code is not allowed to do any file operations.
>>
>> Thanks
>> AmilaJ
>>
>> On Sat, Apr 7, 2012 at 1:21 PM, Kasun Perera <[email protected]> wrote:
>> >
>> > Hi Supun
>> >
>> > I am  trying to upload a file to the database in the form of a blob
>> > during
>> > which the file upload program writes a temporary file to the disk.
>> >
>> > It seems though the Stratos app server is preventing such temp file to
>> > be
>> > written to the disk due to security reasons. I have attached the stack
>> > trace
>> > of the error.  Would you be able to help us in solving this problem?
>> >
>> > We however cannot avoid writing temp files, so that’s something we have
>> > to
>> > live with. There are other places in the our application where we
>> > require
>> > writing temporarily to disk.
>> >
>> > So the only way this could be solved is by adjusting i.e. modifying the
>> > security manager setting in Stratos ?.
>> > Is this possible (I guess this should be), if YES how?  It would nice if
>> > you
>> > could send us some links on how this problem could be circumvented as
>> > there
>> > aren’t that many posts on this particular problem.
>> >
>> > this is the file-upload class http://paste.org/47685
>> > --
>> > Regards
>> >
>> > Kasun Perera
>> >
>> >
>> > _______________________________________________
>> > Dev mailing list
>> > [email protected]
>> > http://wso2.org/cgi-bin/mailman/listinfo/dev
>> >
>>
>>
>>
>> --
>> Mobile : +94773330538
>
>
>
>
>
> --
> Regards
>
> Kasun Perera
>



-- 
Mobile : +94773330538
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to