[opencms-dev] R: R: R: Serialization policy file *.gwt.rpc not found
lruggeri at maticad.it
lruggeri at maticad.it
Wed Jan 23 11:36:33 CET 2013
Hi Tobias,
i'm sorry but this solution does not seem to work.
Do you have any other suggestion?
Thanks
Bye, Lisa
-----Messaggio originale-----
Da: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
Per conto di Tobias Herrmann
Inviato: mercoledì 23 gennaio 2013 10.02
A: The OpenCms mailing list
Oggetto: Re: [opencms-dev] R: R: Serialization policy file *.gwt.rpc not
found
Hi Lisa,
it seems OpenCms has difficulties to determine the correct web application
context in JBOSS. To avoid this, try setting it using a context init
parameter like this in the web.xml file:
<context-param>
<param-name>WebApplicationContext</param-name>
<param-value>opencms</param-value>
</context-param>
Greetings, Tobias
--
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com
http://www.opencms.org
Am 23.01.2013 09:25, schrieb lruggeri at maticad.it:
> Hi Tobias,
> this is my importexport.xml (i changed the vfs prefix in order to
> remove /opencms/opencms from the url)
>
> <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix>
> <vfs-prefix></vfs-prefix>
>
> I use jakarta isapi rewrite to forward requests from IIS to jboss.
> These are my rewrite rules:
>
> /opencms/opencms/=/opencms/opencms/
> /opencms/=/opencms/
> /=/opencms/opencms/
>
> OpenCms is not the ROOT application in the servlet container. (The
> folder name is still opencms.war) Bye, Lisa
>
> -----Messaggio originale-----
> Da: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org]
> Per conto di Tobias Herrmann
> Inviato: mercoledì 23 gennaio 2013 08.50
> A: The OpenCms mailing list
> Oggetto: Re: [opencms-dev] R: Serialization policy file *.gwt.rpc not
> found
>
> 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/|9C084B18DE6C
>> 7|0|9|5
>> 7|0|9|D4F831
>> AAA6137CBD5BF|org.opencms.gwt.shared.rpc.I_CmsUploadService|checkUplo
>> AAA6137CBD5BF|a
>> AAA6137CBD5BF|dFiles
>> |java.util.List|java.lang.String/2004016611|java.util.ArrayList/41597
>> |5
>> |5760|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/9C084B18DE6C5D4F831AAA613
>> 7
>> CBD5BF
>> .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.r
>> p
>> c) 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,____
>>>
>>> im 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.r
>>> p
>>> c
>>> ____
>>>
>>> __2.__Opencms prepends /sites/default/ to the url____
>>>
>>> __3.__Opencms search the file
>>> /sites/default/opencms/resources/ade/upload/9C084B18DE6C5D4F831AAA61
>>> 3
>>> 7 CBD5BF.gwt.rpc in the VFS and does not found it____
>>>
>>> __4.__The file can be found in
>>> /opencms/resources/ade/upload/9C084B18DE6C5D4F831AAA6137CBD5BF.gwt.r
>>> p
>>> c
>>> (served by IIS)____
>>>
>>> __5.__The file can be found in
>>> /system/modules/org.opencms.ade.upload/resources/9C084B18DE6C5D4F831
>>> A
>>> A
>>> 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
>>
>>
>>
> _______________________________________________
> 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