Hi didier and shawn,

no, the javax.swing.event.EventlistenerList class is called on the server,
tomcat in my case.
I no longer get a syntax error during programming, after I disabled GAE.

There is, however, a runtime error, the Tomcat error log reads as follows:

17.11.2010 10:32:15 org.apache.catalina.core.ApplicationContext log
SCHWERWIEGEND: Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
abstract java.lang.String
s.client.GreetingService.greetServer(java.lang.String) throws
java.lang.IllegalArgumentException' threw an unexpected exception:
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
    no swt-win32-3655 in java.library.path
    no swt-win32 in java.library.path
    Can't load library:
C:\apache-tomcat-7.0.4\temp\swtlib-32\swt-win32-3655.dll
    Can't load library: C:\apache-tomcat-7.0.4\temp\swtlib-32\swt-win32.dll

    at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:378)
    at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:581)
    at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:207)
    at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:243)
    at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:203)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)
    at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:558)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379)
    at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:281)
    at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:357)
    at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1671)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library.
Reasons:
    no swt-win32-3655 in java.library.path
    no swt-win32 in java.library.path
    Can't load library:
C:\apache-tomcat-7.0.4\temp\swtlib-32\swt-win32-3655.dll
    Can't load library: C:\apache-tomcat-7.0.4\temp\swtlib-32\swt-win32.dll

    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:267)
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174)
    at org.eclipse.swt.internal.C.<clinit>(C.java:21)
    at org.eclipse.swt.internal.win32.TCHAR.<clinit>(TCHAR.java:30)
    at
com.skype.connector.windows.WindowsConnector.<clinit>(WindowsConnector.java:120)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at com.skype.connector.Connector.getInstance(Connector.java:108)
    at com.skype.Skype.call(Skype.java:197)
    at s.server.GreetingServiceImpl.greetServer(GreetingServiceImpl.java:25)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
    ... 20 more

Any ideas?

Thanks,
Sebastian



2010/11/17 Didier Durand <durand.did...@gmail.com>

> Hi,
>
> Think I understand now: you want to use the class on client side (i.e.
> within he browser) and you did put it in the client directory. Right ?
>
> Then, GWT wants to compile it to Javascript. At this point,2
> solutions: a) either you provide the source of the class or b) you
> inherit the javascript from a module compiled by somebody else.
>
> I think none is possible in your case: you'll have to find another
> design without your Swing class: tell us what your purpose is and we
> may help.
>
> regards
> didier
>
> On Nov 16, 10:36 pm, Shawn Brown <big.coffee.lo...@gmail.com> wrote:
> > > What is the error?
> >
> > Are you sure javax.swing.* is supported in GWT?
> >
> >  Shawn
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to