#13 rpc error while oneCMDB runs behind proxy

open
nobody
GUI bug (7)
5
2009-06-24
2009-06-24
No

I am in the process of testing this tool and figure out if I'll use it for my lab as an CMDB.

I test it locally and all was fine, until I re-install it behind a transparent proxy.

when I try to authenticate, I got this error in the GUI:

The call failed on the server; see server log for details com.google.gwt.user.client.rpc.StatusCodeException: The call failed on the server; see server log for details

this is the stack trace:

==> catalina.2009-06-24.log <==
24-Jun-2009 11:45:21 org.apache.catalina.core.ApplicationContext log
SEVERE: An IncompatibleRemoteServiceException was thrown while processing this call.
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Type 'org.onecmdb.ui.gwt.desktop.client.service.content.ContentData' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes, this type will not be deserialized.
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:298)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:163)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'org.onecmdb.ui.gwt.desktop.client.service.content.ContentData' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes, this type will not be deserialized.
at com.google.gwt.user.server.rpc.impl.LegacySerializationPolicy.validateDeserialize(LegacySerializationPolicy.java:123)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:490)
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:61)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader$ValueReader$8.readValue(ServerSerializationStreamReader.java:131)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeValue(ServerSerializationStreamReader.java:372)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:287)
... 18 more

Discussion

  • Martin Bianco

    Martin Bianco - 2009-06-24

    just in case someone is interested on my mod_proxy config:

    ProxyPass /cmdb/ http://hostB:8080/
    ProxyPassReverse /cmdb/ http://hostA:8080/
    ErrorLog "logs/cmdb-error_log"
    CustomLog "logs/cmdb-access_log" common

     
  • Martin Bianco

    Martin Bianco - 2009-06-24

    sorry guys, note that I made a typo changing the hostnames of the proxy config.

    please read:

    ProxyPass /cmdb/ http://hostA:8080/
    ProxyPassReverse /cmdb/ http://hostA:8080/
    ErrorLog "logs/cmdb-error_log"
    CustomLog "logs/cmdb-access_log" common

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks