[opencms-dev] R: Serialization policy file *.gwt.rpc not found

Tobias Herrmann t.herrmann at alkacon.com
Wed Jan 23 08:49:55 CET 2013


Hi Lisa,

to solve this, I need to know a few configuration settings. In the file /WEB-INF/conf/opencms-importexport.xml, what are you settings for the nodes <rfs-prefix> and <vfs-prefix>? Is OpenCms the root application of your servlet container? What kind of rewrite or proxy rules do you have for OpenCms in 
your IIS?

Greetings, Tobias

--

Alkacon Software GmbH - The OpenCms Experts

http://www.alkacon.com
http://www.opencms.org

Am 22.01.2013 17:28, schrieb lruggeri at maticad.it:
> Hi Tobias,
> it seems the file is not called directly from the browser.
>
> The browser calls this url directly:
>   https://www.site.com/org.opencms.ade.upload.CmsUploadService.gwt
>
> This url is handled by the servlet, which handles also the POST data from
> where the path of the policy file is retrieved:
> 7|0|9|https://www.site.com/opencms/resources/ade/upload/|9C084B18DE6C5D4F831
> AAA6137CBD5BF|org.opencms.gwt.shared.rpc.I_CmsUploadService|checkUploadFiles
> |java.util.List|java.lang.String/2004016611|java.util.ArrayList/4159755760|a
> pplogo.png|/|1|2|3|4|2|5|6|7|1|6|8|9|
>
> The path goes through varius methods and then becomes:
> /sites/default/opencms/resources/ade/upload/9C084B18DE6C5D4F831AAA6137CBD5BF
> .gwt.rpc
>
> Then OpenCms tries to read the file and does not find it.
> (If I type the url of the exported file in the address bar of the browser
> (/opencms/resources/ade/upload/9C084B18DE6C5D4F831AAA6137CBD5BF.gwt.rpc) the
> file is served directly from IIS)
>
> Bye, Lisa
>
> -----Messaggio originale-----
> Da: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
> Per conto di Tobias Herrmann
> Inviato: martedì 22 gennaio 2013 15.57
> A: The OpenCms mailing list
> Oggetto: Re: [opencms-dev] Serialization policy file *.gwt.rpc not found
>
> Hi Lisa,
>
> this may be an issue with you IIS configuration. These files get exported to
> the real file system and should be delivered from there. Just like the files
> beneath the /export/ folder.
> So either you configure your IIS in a way, that these files are served
> directly from the file system, or through your servlet container, only the
> opencms servlet should not be called.
>
> Greetings, Tobias
> --
>
> Alkacon Software GmbH - The OpenCms Experts
>
> http://www.alkacon.com
> http://www.opencms.org
>
> Am 22.01.2013 14:49, schrieb Ladislav Kulhanek:
>> I have the same problem. I have many those exceptions in my log file.
>> In my opencms, those exceptions are thrown at many ADE actions, not only
> file upload. I have not examined it in detail. I'm running OpencCMS 8.5,
> tomcat 6, Linux CentOS. Previously, I was running OpenCMS 8.0.4 and there
> were the same exceptions there.
>>
>> Ladislav Kulhanek
>>
>>
>>
>> 2013/1/22 <lruggeri at maticad.it <mailto:lruggeri at maticad.it>>
>>
>>      Hi,____
>>
>>      i’m running OpenCms 8.5 with JBoss and IIS.____
>>
>>      Whenever i open the file editor or upload a file i see many
>> exceptions about serialization policy file *.gwt.rpc not found.____
>>
>>      __ __
>>
>>      Stepping with the debugger i found this:____
>>
>>      __1.__The requested url is like this
>> /opencms/resources/ade/upload/9C084B18DE6C5D4F831AAA6137CBD5BF.gwt.rpc
>> ____
>>
>>      __2.__Opencms prepends /sites/default/ to the url____
>>
>>      __3.__Opencms search the file
>> /sites/default/opencms/resources/ade/upload/9C084B18DE6C5D4F831AAA6137
>> CBD5BF.gwt.rpc in the VFS and does not found it____
>>
>>      __4.__The file can be found in
>> /opencms/resources/ade/upload/9C084B18DE6C5D4F831AAA6137CBD5BF.gwt.rpc
>> (served by IIS)____
>>
>>      __5.__The file can be found in
>> /system/modules/org.opencms.ade.upload/resources/9C084B18DE6C5D4F831AA
>> A6137CBD5BF.gwt.rpc (in the VFS)____
>>
>>      __ __
>>
>>      What can be done to avoid theese exceptions?____
>>
>>      Bye Lisa____
>>
>>      __ __
>>
>>      __ __
>>
>>
>>      _______________________________________________
>>      This mail is sent to you from the opencms-dev mailing list
>>      To change your list options, or to unsubscribe from the list, please
> visit
>>      http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list To change
>> your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>
>>
>>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list To change your
> list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>



More information about the opencms-dev mailing list