does the gwt compile need to be re-run?
On Tue, May 11, 2010 at 4:23 AM, Jervisliu <jliu(a)redhat.com> wrote:
Hi, I deployed drools-guvnor.war that is generated from latest trunk
into JBOSS AS, looks like it does not work more. Tried to create a rule,
you got this message on console: "Sorry, a technical error occurred.
Please contact a system administrator.". Following exception has been
logged in log file:
2010-05-11 01:53:50,580 INFO [STDOUT] ERROR 11-05 01:53:50,580
(RepositoryServiceServlet.java:doUnexpectedFailure:82)
com.google.gwt.user.client.rpc.SerializationException: Type
'org.drools.ide.common.client.modeldriven.brl.RuleModel' was not
included in the set of types which can be serialized by this
SerializationPolicy or its Class object could not be loaded. For
security purposes, this type will not be serialized.: instance =
org.drools.ide.common.client.modeldriven.brl.RuleModel@16461d5
2010-05-11 01:53:50,580 ERROR [STDERR]
com.google.gwt.user.client.rpc.SerializationException: Type
'org.drools.ide.common.client.modeldriven.brl.RuleModel' was not
included in the set of types which can be serialized by this
SerializationPolicy or its Class object could not be loaded. For
security purposes, this type will not be serialized.: instance =
org.drools.ide.common.client.modeldriven.brl.RuleModel@16461d5
2010-05-11 01:53:50,580 ERROR [STDERR] at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:610)
2010-05-11 01:53:50,580 ERROR [STDERR] at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:129)
2010-05-11 01:53:50,580 ERROR [STDERR] at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter$ValueWriter$8.write(ServerSerializationStreamWriter.java:152)
2010-05-11 01:53:50,581 ERROR [STDERR] at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:534)
2010-05-11 01:53:50,581 ERROR [STDERR] at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeClass(ServerSerializationStreamWriter.java:700)
2010-05-11 01:53:50,581 ERROR [STDERR] at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:730)
2010-05-11 01:53:50,581 ERROR [STDERR] at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:612)
2010-05-11 01:53:50,581 ERROR [STDERR] at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:129)
2010-05-11 01:53:50,581 ERROR [STDERR] at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter$ValueWriter$8.write(ServerSerializationStreamWriter.java:152)
2010-05-11 01:53:50,581 ERROR [STDERR] at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:534)
2010-05-11 01:53:50,581 ERROR [STDERR] at
com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:609)
2010-05-11 01:53:50,581 ERROR [STDERR] at
com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java:467)
2010-05-11 01:53:50,581 ERROR [STDERR] at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:564)
2010-05-11 01:53:50,581 ERROR [STDERR] at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188)
2010-05-11 01:53:50,581 ERROR [STDERR] at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
2010-05-11 01:53:50,581 ERROR [STDERR] at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
2010-05-11 01:53:50,581 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
2010-05-11 01:53:50,581 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
2010-05-11 01:53:50,581 ERROR [STDERR] at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
2010-05-11 01:53:50,581 ERROR [STDERR] at
java.lang.Thread.run(Unknown Source)
Everything still works fine if I debug Guvnor in Eclipse . I suspect
this is related to our recent changes in ide-common (RuleModel is not
made available to GWT compiler), or am I missing anything?
Thanks,
Jervis
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev