Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Using EMF/GWT with Juno SR1
Using EMF/GWT with Juno SR1 [message #988502] Fri, 30 November 2012 09:38 Go to next message
Vincenzo Caselli is currently offline Vincenzo Caselli
Messages: 100
Registered: January 2012
Senior Member
Hi,
we are trying to use the (great!) EMF/GWT integration work with Juno SR1 (aka 4.2.1).
It seems that the wiki page (http://wiki.eclipse.org/EMF/GWT) is a bit old, so we tried to search for updates. In the end we came out with the following 'recipe' and would like to know if we take the correct path.

We started from
Juno SR1 - Eclipse IDE for Java EE Developers

then installed emf-xsd-Update-2.9.0M3.zip
(Question: Is there an update site for EMF 2.9, alternative to downloading the zip file?)

then installed GPE from the official GWT Update site
Google Update Site for Eclipse 4.2 - http://dl.google.com/eclipse/plugin/4.2

Then created an EMF Model, generated for GWT and launched the GWT Model Editor plug-in: well, there is an error indeed, stating that a <threadsafe> should be present in appengine-web.xml, but just putting the following line
<threadsafe>true</threadsafe>

make the application start and the user can see create a ResourceSet and object instances (even if there are other errors here, in console, but that may be detailed a little later).

There are also some other errors: when the application starts we get the errors below, but the application still allows to create a ResourceSet.

Is there a more correct way to get to EMF/GWT integration with Juno SR1?
Thank you

Vincenzo Caselli



Initializing App Engine server
Nov 30, 2012 9:25:46 AM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
Nov 30, 2012 9:25:46 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed E:\IDE\Eclipse_4.2_Juno\SR1\Juno_SR1_GWT\wrk\it.rcpvision.gwt.model.editor\war\WEB-INF/appengine-web.xml
Nov 30, 2012 9:25:46 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed E:\IDE\Eclipse_4.2_Juno\SR1\Juno_SR1_GWT\wrk\it.rcpvision.gwt.model.editor\war\WEB-INF/web.xml
Nov 30, 2012 9:25:48 AM com.google.apphosting.utils.jetty.JettyLogger info
INFO: jetty-6.1.x
Nov 30, 2012 9:25:51 AM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Started SelectChannelConnector@0.0.0.0:8888
Nov 30, 2012 9:25:52 AM com.google.appengine.tools.development.DevAppServerImpl start
INFO: The server is running at http://localhost:8888/
Nov 30, 2012 9:25:52 AM com.google.appengine.tools.development.DevAppServerImpl start
INFO: The admin console is running at http://localhost:8888/_ah/admin
Nov 30, 2012 9:26:11 AM com.google.appengine.tools.development.ApiProxyLocalImpl log
SEVERE: javax.servlet.ServletContext log: Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.Map org.eclipse.emf.ecore.resource.URIService.fetch(java.lang.String,java.util.Map)' threw an unexpected exception: java.lang.NoClassDefFoundError: com/google/gwt/core/client/GWTBridge
	at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389)
	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
	at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
	at com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocketFilter.java:74)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(ResponseRewriterFilter.java:123)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:34)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:61)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:125)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
	at com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:94)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:383)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: java.lang.NoClassDefFoundError: com/google/gwt/core/client/GWTBridge
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70)
	at com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:64)
	at org.eclipse.emf.ecore.plugin.EcorePlugin.<clinit>(EcorePlugin.java:56)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70)
	at com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:64)
	at org.eclipse.emf.server.ecore.resource.DatastoreUtil.<clinit>(DatastoreUtil.java:46)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70)
	at com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:64)
	at org.eclipse.emf.server.ecore.resource.URIServiceImpl.fetch(URIServiceImpl.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:115)
	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
	... 38 more
Caused by: java.lang.ClassNotFoundException: com.google.gwt.core.client.GWTBridge
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:207)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 59 more

Failed
com.google.gwt.user.client.rpc.StatusCodeException: 500 The call failed on the server; see server log for details
	at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:209)
	at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
	at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
	at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
	at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
	at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
	at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
	at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
	at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
	at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
	at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
	at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
	at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:242)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
	at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
	at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
	at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
	at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
	at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
	at java.lang.Thread.run(Unknown Source)
Nov 30, 2012 9:26:15 AM com.google.appengine.tools.development.LocalResourceFileServlet doGet
WARNING: No file found for: /com.google.gwt.safehtml.shared.SafeUriString@6a2a5781
Nov 30, 2012 9:26:16 AM com.google.appengine.tools.development.LocalResourceFileServlet doGet
WARNING: No file found for: /favicon.ico


[Updated on: Fri, 30 November 2012 09:44]

Report message to a moderator

Re: Using EMF/GWT with Juno SR1 [message #988549 is a reply to message #988502] Fri, 30 November 2012 12:45 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26044
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Vincenzo,<br>
<br>
Comments below.<br>
<br>
<div class="moz-cite-prefix">On 30/11/2012 10:38 AM, Vincenzo
Caselli wrote:<br>
</div>
<blockquote cite="mid:k99ur7$tfi$1@xxxxxxxxe.org" type="cite">Hi,
<br>
we are trying to use the (great!) EMF/GWT integration work with
Juno SR1 (aka 4.2.1).
<br>
It seems that the wiki page (<a class="moz-txt-link-freetext" href="http://wiki.eclipse.org/EMF/GWT">http://wiki.eclipse.org/EMF/GWT</a>) is a
bit old, so we tried to search for updates.</blockquote>
Yes, like most of the website...  :-(<br>
<blockquote cite="mid:k99ur7$tfi$1@xxxxxxxxe.org" type="cite"> In
the end we came out with the following 'recipe' and would like to
know if we take the correct path.
<br>
</blockquote>
It's been a while since I tried even testing it.  Kenn noticed this
problem just recently:<a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=390939"><br>
</a>
<blockquote><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=390939">https://bugs.eclipse.org/bugs/show_bug.cgi?id=390939</a><br>
</blockquote>
<br>
<blockquote cite="mid:k99ur7$tfi$1@xxxxxxxxe.org" type="cite">We
started from Juno SR1 - Eclipse IDE for Java EE Developers
<br>
</blockquote>
So that you have the XML tools installed...<br>
<blockquote cite="mid:k99ur7$tfi$1@xxxxxxxxe.org" type="cite">
<br>
then installed emf-xsd-Update-2.9.0M3.zip
<br>
(Question: Is there an update site for EMF 2.9, alternative to
downloading the zip file?)
<br>
</blockquote>
The milestones should be in the Kepler update site...<br>
<blockquote cite="mid:k99ur7$tfi$1@xxxxxxxxe.org" type="cite">
<br>
then installed GPE from the official GWT Update site
<br>
Google Update Site for Eclipse 4.2 -
<a class="moz-txt-link-freetext" href="http://dl.google.com/eclipse/plugin/4.2">http://dl.google.com/eclipse/plugin/4.2</a>
<br>
<br>
Then created an EMF Model, generated for GWT and launched the GWT
Model Editor plug-in: well, there is an error indeed, stating that
a &lt;threadsafe&gt; should be present in appengine-web.xml, but
just putting the following line
<br>
&lt;threadsafe&gt;true&lt;/threadsafe&gt;
<br>
make it work!
<br>
</blockquote>
That must be a new thing.  Please open a bugzilla making it clear
which version of GWT and AppEngine you used.<br>
<blockquote cite="mid:k99ur7$tfi$1@xxxxxxxxe.org" type="cite">
<br>
There are also some other errors: when the application starts we
get the errors below, but the application still allows to create a
ResourceSet.
<br>
</blockquote>
These might be related to the problem Kenn noticed. An other version
of GWT and AppEngine might avoid the problem.  Not sure...<br>
<blockquote cite="mid:k99ur7$tfi$1@xxxxxxxxe.org" type="cite">
<br>
Is there a better way to get to EMF/GWT integration with Juno SR1?
<br>
Thank you
<br>
<br>
Vincenzo Caselli
<br>
<br>
<br>
<br>
Initializing App Engine server
<br>
Nov 30, 2012 9:25:46 AM
com.google.apphosting.utils.jetty.JettyLogger info
<br>
INFO: Logging to JettyLogger(null) via
com.google.apphosting.utils.jetty.JettyLogger
<br>
Nov 30, 2012 9:25:46 AM
com.google.apphosting.utils.config.AppEngineWebXmlReader
readAppEngineWebXml
<br>
INFO: Successfully processed
E:\IDE\Eclipse_4.2_Juno\SR1\Juno_SR1_GWT\wrk\it.rcpvision.gwt.model.editor\war\WEB-INF/appengine-web.xml<br>
Nov 30, 2012 9:25:46 AM
com.google.apphosting.utils.config.AbstractConfigXmlReader
readConfigXml
<br>
INFO: Successfully processed
E:\IDE\Eclipse_4.2_Juno\SR1\Juno_SR1_GWT\wrk\it.rcpvision.gwt.model.editor\war\WEB-INF/web.xml<br>
Nov 30, 2012 9:25:48 AM
com.google.apphosting.utils.jetty.JettyLogger info
<br>
INFO: jetty-6.1.x
<br>
Nov 30, 2012 9:25:51 AM
com.google.apphosting.utils.jetty.JettyLogger info
<br>
INFO: Started <a class="moz-txt-link-abbreviated" href="mailto:SelectChannelConnector@0.0.0.0:8888">SelectChannelConnector@0.0.0.0:8888</a>
<br>
Nov 30, 2012 9:25:52 AM
com.google.appengine.tools.development.DevAppServerImpl start
<br>
INFO: The server is running at <a class="moz-txt-link-freetext" href="http://localhost:8888/">http://localhost:8888/</a>
<br>
Nov 30, 2012 9:25:52 AM
com.google.appengine.tools.development.DevAppServerImpl start
<br>
INFO: The admin console is running at
<a class="moz-txt-link-freetext" href="http://localhost:8888/_ah/admin">http://localhost:8888/_ah/admin</a>
<br>
Nov 30, 2012 9:26:11 AM
com.google.appengine.tools.development.ApiProxyLocalImpl log
<br>
SEVERE: javax.servlet.ServletContext log: Exception while
dispatching incoming RPC call
<br>
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract java.util.Map
org.eclipse.emf.ecore.resource.URIService.fetch(java.lang.String,java.util.Map)'
threw an unexpected exception: java.lang.NoClassDefFoundError:
com/google/gwt/core/client/GWTBridge
<br>
    at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389)<br>
    at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579)
<br>
    at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)<br>
    at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)<br>
    at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)<br>
    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
<br>
    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
<br>
    at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
<br>
    at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)<br>
    at
com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocketFilter.java:74)<br>
    at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)<br>
    at
com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(ResponseRewriterFilter.java:123)<br>
    at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)<br>
    at
com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:34)<br>
    at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)<br>
    at
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:61)<br>
    at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)<br>
    at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)<br>
    at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)<br>
    at
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:125)<br>
    at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)<br>
    at
com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97)<br>
    at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)<br>
    at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
<br>
    at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)<br>
    at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
<br>
    at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
<br>
    at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
<br>
    at
com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:94)<br>
    at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
<br>
    at
com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:383)<br>
    at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
<br>
    at org.mortbay.jetty.Server.handle(Server.java:326)
<br>
    at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
<br>
    at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)<br>
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
<br>
    at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
<br>
    at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
<br>
    at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)<br>
    at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)<br>
Caused by: java.lang.NoClassDefFoundError:
com/google/gwt/core/client/GWTBridge
<br>
    at java.lang.Class.forName0(Native Method)
<br>
    at java.lang.Class.forName(Unknown Source)
<br>
    at
com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70)<br>
    at
com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:64)<br>
    at
org.eclipse.emf.ecore.plugin.EcorePlugin.&lt;clinit&gt;(EcorePlugin.java:56)<br>
    at java.lang.Class.forName0(Native Method)
<br>
    at java.lang.Class.forName(Unknown Source)
<br>
    at
com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70)<br>
    at
com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:64)<br>
    at
org.eclipse.emf.server.ecore.resource.DatastoreUtil.&lt;clinit&gt;(DatastoreUtil.java:46)<br>
    at java.lang.Class.forName0(Native Method)
<br>
    at java.lang.Class.forName(Unknown Source)
<br>
    at
com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70)<br>
    at
com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:64)<br>
    at
org.eclipse.emf.server.ecore.resource.URIServiceImpl.fetch(URIServiceImpl.java:85)<br>
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
<br>
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
<br>
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
<br>
    at java.lang.reflect.Method.invoke(Unknown Source)
<br>
    at
com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:115)<br>
    at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
<br>
    ... 38 more
<br>
Caused by: java.lang.ClassNotFoundException:
com.google.gwt.core.client.GWTBridge
<br>
    at java.net.URLClassLoader$1.run(Unknown Source)
<br>
    at java.security.AccessController.doPrivileged(Native Method)
<br>
    at java.net.URLClassLoader.findClass(Unknown Source)
<br>
    at java.lang.ClassLoader.loadClass(Unknown Source)
<br>
    at
com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:207)<br>
    at java.lang.ClassLoader.loadClass(Unknown Source)
<br>
    ... 59 more
<br>
<br>
Failed
<br>
com.google.gwt.user.client.rpc.StatusCodeException: 500 The call
failed on the server; see server log for details
<br>
    at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:209)<br>
    at
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)<br>
    at
com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)<br>
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
<br>
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
<br>
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
<br>
    at java.lang.reflect.Method.invoke(Unknown Source)
<br>
    at
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
<br>
    at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
<br>
    at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)<br>
    at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)<br>
    at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)<br>
    at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)<br>
    at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
<br>
    at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)<br>
    at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)<br>
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
<br>
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:242)
<br>
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
<br>
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
<br>
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
<br>
    at java.lang.reflect.Method.invoke(Unknown Source)
<br>
    at
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
<br>
    at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
<br>
    at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)<br>
    at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)<br>
    at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)<br>
    at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)<br>
    at java.lang.Thread.run(Unknown Source)
<br>
Nov 30, 2012 9:26:15 AM
com.google.appengine.tools.development.LocalResourceFileServlet
doGet
<br>
WARNING: No file found for:
/com.google.gwt.safehtml.shared.SafeUriString@6a2a5781
<br>
Nov 30, 2012 9:26:16 AM
com.google.appengine.tools.development.LocalResourceFileServlet
doGet
<br>
WARNING: No file found for: /favicon.ico
<br>
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>
Re: Using EMF/GWT with Juno SR1 [message #988627 is a reply to message #988549] Fri, 30 November 2012 17:59 Go to previous messageGo to next message
Vincenzo Caselli is currently offline Vincenzo Caselli
Messages: 100
Registered: January 2012
Senior Member
Hi Ed,
your answer was posted in HTML on the thread, not very easy to read Wink

Anyway the problem Kenn noticed seems to be fixed and committed on 2.8.2 and master on 2012-10-03; so it should be included in 2.9.0 M3 (released on 2012-11-09).
I can confirm that the compilation (of just a simple model) succeeds.

I tried to use the Kepler update site with Juno SR1, installed EMF from there, but didn't get the org.eclipse.emf.gwt.* plugins. Anyway the previous recipe with the downloaded zip file is ok.

I submitted this on bugzilla
https://bugs.eclipse.org/bugs/show_bug.cgi?id=395499

Cheers
Vincenzo
Re: Using EMF/GWT with Juno SR1 [message #988637 is a reply to message #988627] Fri, 30 November 2012 19:26 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26044
Registered: July 2009
Senior Member
Vincenzo,

Comments below.

On 30/11/2012 6:59 PM, Vincenzo Caselli wrote:
> Hi Ed,
> your answer was posted in HTML on the thread, not very easy to read ;)
>
> Anyway the problem Kenn noticed seems to be fixed and committed on
> 2.8.2 and master on 2012-10-03; so it should be included in 2.9.0 M3
> (released on 2012-11-09).
> I can confirm that the compilation (of just a simple model) succeeds.
>
> I tried to use the Kepler update site with Juno SR1, installed EMF
> from there, but didn't get the org.eclipse.emf.gwt.* plugins.
Those don't get installed in the IDE (can't be installed in the IDE),
they must be provisioned in the target platform...
> Anyway the previous recipe with the downloaded zip file is ok.
>
> I submitted this on bugzilla
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=395499
>
> Cheers
> Vincenzo
Re: Using EMF/GWT with Juno SR1 [message #988861 is a reply to message #988637] Mon, 03 December 2012 13:41 Go to previous messageGo to next message
Vincenzo Caselli is currently offline Vincenzo Caselli
Messages: 100
Registered: January 2012
Senior Member
Hi Ed,
I defined a target platform and, from Kepler update site (http://download.eclipse.org/releases/kepler), installed:

Modeling
EMF - Eclipse Modeling Framework SDK 2.9.0.v20121109-0549

but still plugins org.eclipse.emf.gwt.* seems not to be there.
Should I install other feautures or are there other EMF integration update sites?

Re: Using EMF/GWT with Juno SR1 [message #988890 is a reply to message #988861] Mon, 03 December 2012 14:53 Go to previous messageGo to next message
Guillaume Hillairet is currently offline Guillaume Hillairet
Messages: 81
Registered: July 2009
Member
Vincenzo,

You can use this update site
http://download.eclipse.org/modeling/emf/emf/updates/2.8/, then select
EMF GWT Target Components and uncheck Include Required Software.

BRs,
Guillaume

On 2012-12-03 14:41:59 +0100, Vincenzo Caselli said:

> Hi Ed,
> I defined a target platform and, from Kepler update site
> (http://download.eclipse.org/releases/kepler), installed:
>
> Modeling
> EMF - Eclipse Modeling Framework SDK 2.9.0.v20121109-0549
>
> but still plugins org.eclipse.emf.gwt.* seems not to be there.
> Should I install other feautures or are there other EMF integration
> update sites?
Re: Using EMF/GWT with Juno SR1 [message #989345 is a reply to message #988861] Wed, 05 December 2012 18:33 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26044
Registered: July 2009
Senior Member
Vincenzo,

They can't be installed in the IDE so I don't think they're aggregated
into the release train; only the development time tools are there...


On 03/12/2012 2:41 PM, Vincenzo Caselli wrote:
> Hi Ed,
> I defined a target platform and, from Kepler update site
> (http://download.eclipse.org/releases/kepler), installed:
>
> Modeling
> EMF - Eclipse Modeling Framework SDK 2.9.0.v20121109-0549
>
> but still plugins org.eclipse.emf.gwt.* seems not to be there.
> Should I install other feautures or are there other EMF integration
> update sites?
>
>
Re: Using EMF/GWT with Juno SR1 [message #989703 is a reply to message #988502] Fri, 07 December 2012 11:16 Go to previous messageGo to next message
Vincenzo Caselli is currently offline Vincenzo Caselli
Messages: 100
Registered: January 2012
Senior Member
Thanks Ed and Guillaume,
is there any updated tutorial or other links with hints on how to use EMF/GWT integration with Juno?

Thank you
Vincenzo
Re: Using EMF/GWT with Juno SR1 [message #989772 is a reply to message #989703] Fri, 07 December 2012 16:41 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26044
Registered: July 2009
Senior Member
Vincenzo,

No, I've had no time to keep up...

On 07/12/2012 12:16 PM, Vincenzo Caselli wrote:
> Thanks Ed and Guillaume,
> is there any updated tutorial or other links with hints on how to use
> EMF/GWT integration with Juno?
>
> Thank you
> Vincenzo
Re: Using EMF/GWT with Juno SR1 [message #997711 is a reply to message #989772] Tue, 08 January 2013 15:33 Go to previous messageGo to next message
Anton Hughes is currently offline Anton Hughes
Messages: 25
Registered: January 2013
Junior Member
Hi Vincenzo

I just wanted to add that I also, am very interested to learn more about GWT with EMF.

I would greatly appreciate the finer details of building an app using EMF 4 GWT.

I see great potential here, I'm just lacking the knowledge to make it happen.
Re: Using EMF/GWT with Juno SR1 [message #1063217 is a reply to message #988890] Wed, 12 June 2013 16:56 Go to previous messageGo to next message
Darren Hurt is currently offline Darren Hurt
Messages: 15
Registered: July 2009
Junior Member
Is there a later version of these org.eclipse.emf.gwt plug-ins that works with Kepler?
I just can't get the example to work. I get

Caused by:</h3><pre>java.lang.SecurityException: class "org.eclipse.emf.ecore.impl.EFactoryImpl"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(Unknown Source)
at java.lang.ClassLoader.preDefineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:215)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)










AND when i save model changes from browser I get:



Could not initialize class org.eclipse.emf.server.ecore.resource.URIServiceImpl


Caused by:
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.emf.server.ecore.resource.URIServiceImpl
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:428)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocketFilter.java:74)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(ResponseRewriterFilter.java:123)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:34)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:63)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:125)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.tools.development.DevAppServerServersFilter









I also get:

[ERROR] [boreas.BoreasEditor] - Line 741: No source code is available for type java.util.regex.Pattern; did you forget to inherit a required module?

during the GWT compile (I think).....


Re: Using EMF/GWT with Juno SR1 [message #1063231 is a reply to message #1063217] Wed, 12 June 2013 18:05 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26044
Registered: July 2009
Senior Member
Darren,

Sorry I've not had a chance to look at signing issues.

On 12/06/2013 7:03 PM, Darren Hurt wrote:
> Is there a later version of these org.eclipse.emf.gwt plug-ins that
> works with Kepler?
> I just can't get the example to work. I get
>
> Caused by:</h3><pre>java.lang.SecurityException: class
> "org.eclipse.emf.ecore.impl.EFactoryImpl"'s signer information does
> not match signer information of other classes in the same package
> at java.lang.ClassLoader.checkCerts(Unknown Source)
> at java.lang.ClassLoader.preDefineClass(Unknown Source)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at java.security.SecureClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.access$100(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:215)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
>
>
>
>
>
>
>
>
>
>
> AND when i save model changes from browser I get:
>
>
>
> Could not initialize class
> org.eclipse.emf.server.ecore.resource.URIServiceImpl
>
>
> Caused by:
> java.lang.NoClassDefFoundError: Could not initialize class
> org.eclipse.emf.server.ecore.resource.URIServiceImpl
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> Source)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> at java.lang.reflect.Constructor.newInstance(Unknown Source)
> at java.lang.Class.newInstance0(Unknown Source)
> at java.lang.Class.newInstance(Unknown Source)
> at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
> at
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:428)
> at
> org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
> at
> com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocketFilter.java:74)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(ResponseRewriterFilter.java:123)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:34)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:63)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:125)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at com.google.appengine.tools.development.DevAppServerServersFilter
>
>
>
>
>
>
>
>
>
> I also get:
>
> [ERROR] [boreas.BoreasEditor] - Line 741: No source code is
> available for type java.util.regex.Pattern; did you forget to inherit
> a required module?
>
> during the GWT compile (I think).....
>
>
>
Previous Topic:creating filter methods in emf code.
Next Topic:Free text between tags in XML
Goto Forum:
  


Current Time: Tue Sep 16 07:29:53 GMT 2014

Powered by FUDForum. Page generated in 0.02075 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software