Which is the best: Hibernate, Ibatis, Toplink??
Hi, I wish to know which of the following ORMs is the best to use with GWT and why. Regards -- 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.
Re: Loading text alongside image inside a ComboBox
I'm actually using the javascript wrapper EXT Gwt. There there is a comboBox widget. But it would appear it does not support images inside a comboBox. I understand that Ext issues are to be discussed on this forum. Just excuss me!! --- On Tue, 5/18/10, Stefan Bachert stefanbach...@yahoo.de wrote: From: Stefan Bachert stefanbach...@yahoo.de Subject: Re: Loading text alongside image inside a ComboBox To: Google Web Toolkit google-web-toolkit@googlegroups.com Date: Tuesday, May 18, 2010, 7:26 AM Hi, gwt core does not support a widget called combobox. It supports a widget called listbox which looks like combobox. the base for a html based combobox-like widget is select. The items itself are option You can give the option additional content aka an image using css. However, the gwt listbox api does not give you access to the option items. Maybe you build a select/option structure with ui-binder and assign it to gwt listbox you could use a widget library supporting a combobox like widget. However, I would disadvice from javascript libraries which are just wrappers (like smartGWT). When you like to use a real gwt widget library you may consider GWT mosaic. Stefan Bachert http://gwtworld.de On 17 Mai, 14:44, fomba collins fomba_coll...@yahoo.com wrote: Hello, it may be simple but I don´t know how to do it. I want to put the names of countries alongside their flags inside a ComboBox. Can someone help me on how to do it? reggards -- 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 athttp://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. -- 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.
Integrating icefaces into gwt
Hi, does anyone have an idea on how we can integrate gwt and icefaces projects. I want o integrate an icefaces module into my gwt project. Any help?? efsiken -- 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. -- 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.
Re: Integrating icefaces into gwt
Do you mean it does not work the other way round? --- On Mon, 5/17/10, mariyan nenchev nenchev.mari...@gmail.com wrote: From: mariyan nenchev nenchev.mari...@gmail.com Subject: Re: Integrating icefaces into gwt To: google-web-toolkit@googlegroups.com Date: Monday, May 17, 2010, 7:43 AM I think you should integrate gwt into your icefaces project :) -- 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. -- 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.
Loading text alongside image inside a ComboBox
Hello, it may be simple but I don´t know how to do it. I want to put the names of countries alongside their flags inside a ComboBox. Can someone help me on how to do it? reggards -- 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.
Synchronous Calls with RPC??
Hi, Is there a way of making synchronous calls in GWT using RPC. I actually need something on the client side to ensure that the asynchronous processing in rpc is complete. Can Anyone help? -- 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.
Re: Synchronous Calls with RPC??
I have a method that uses the response of an asynchronous call. Here is it: for(int i=0;ilisteOfApplications.size();i++) { menuItem.setText(listeOfApplications.get(i).toString()); MenuSetup ms1 = new MenuSetup(menu, menuItem); ms1.getSubMenus(); } During each iteraton, the getSubMenus() method has to be called. The getSubMenus() is as follows: public void getSubMenus(){ try { con.getSubMenus(menuItem.getText(), new AsyncCallbackArrayListString() { public void onFailure(Throwable caught) { System.out.println(Remote Procedure Call apps- Failure); } public void onSuccess(ArrayListString result) { Menu men = new Menu(); for(int i =0; i result.size();i++) { MenuItem menuItem1 = new MenuItem(result.get(i)); menuItem1.addSelectionListener(menuListener); men.add(menuItem1); } menuItem.setSubMenu(men); menu.add(menuItem); } }); } catch (Exception e) { e.printStackTrace(); } } Now, for each iteration on the listeOfApplications list, the getSubMenus() is to be called. But what happens here is that all the iterations take place before the getSubMenus() method starts execution. Is there a way to know on the client side that the execution of the asynchronous call has ended? I need this to control my iterations. I have tried wait(); but it does not work. Help!!! --- On Fri, 5/14/10, Olivier Monaco olivier.mon...@free.fr wrote: From: Olivier Monaco olivier.mon...@free.fr Subject: Re: Synchronous Calls with RPC?? To: Google Web Toolkit google-web-toolkit@googlegroups.com Date: Friday, May 14, 2010, 8:41 AM Hi, Doing synchronous call is globally a bad idea. What is your exact need? Olivier On 14 mai, 17:05, fomba collins fomba_coll...@yahoo.com wrote: Hi, Is there a way of making synchronous calls in GWT using RPC. I actually need something on the client side to ensure that the asynchronous processing in rpc is complete. Can Anyone help? -- 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 athttp://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. -- 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.
log4j:WARN No appenders could be found for logger
Hi, I believe this error means that the log4j.properties is not seen in the class path. Please can someone help me with how to insert it into the classpath? -- 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.
Re: GWT 2.0.3
Hi, I had this very problem sometime ago. The issue is you are writing some server code on the client side. No processing needs to be done on the client side. Do all your processing on the server side and through RPC you call the methods on the client side. regards efsiken --- On Sun, 5/9/10, Avinash avinas...@yahoo.com wrote: From: Avinash avinas...@yahoo.com Subject: Re: GWT 2.0.3 To: Google Web Toolkit google-web-toolkit@googlegroups.com Date: Sunday, May 9, 2010, 8:11 AM Hi Sripathi, Thanks for your quick reply, but this application is already in production and the same code and setup works well with GWT 1.1.10. The problem is seen only when we try to upgrade the GWT version. BufferedOutputStream is actually used in Server side code and not in client side code. Thanks, Avinash On May 8, 6:49 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote: You cannot use java.io in your client side code. The jar file common-1.0-SNAPSHOT.jar uses IO libraries, which isn't allowed. --Sri On 7 May 2010 16:42, Avinash avinas...@yahoo.com wrote: Hi All, I am working from migrating a GWT project from very old version 1.1.10 to the newer version. I am using GWT 2.0.3, gwt-maven-1.2, jdk1.5.0_11 and apache- maven-2.2.1. I am getting following error while compiling [INFO] Validating newly compiled units [INFO] [ERROR] Errors in 'jar:file:/D:/projectName/common/target/ common-1.0-SNAPSHOT.jar!/common/business/interfaces/TestFacade.java' [INFO] [ERROR] Line 1341: No source code is available for type java.io.BufferedOutputStream; did you forget to inherit a required module? [INFO] [ERROR] Unexpected [INFO] java.lang.NullPointerException Can someone suggest what can be this issue and how to resolve it? Also if anyone used this kind of setup successfully, then inform the steps. -- 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.comgoogle-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 athttp://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. -- 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.
java.lang.NoClassDefFoundError: Could not initialize class com.server.HibernateSessionFactory
Hi, I have a class (Connection) on the server side that accesses the database through hibernate. The connection on the server side is perfect. I want to use RPC to call these methods on the client side. I then create an Implementation class (ConnectionImpl) on the server that calls one of the methods of the Connection class.ie the method connecto. Here is the Implementation class. public class ConnectionImpl extends RemoteServiceServlet implements ConnectionService{ /** * */ private static final long serialVersionUID = 1L; Connection con = new Connection(); /*The class that performs database access through hibernate*/ public boolean connecto(String login, String password)throws IllegalArgumentException{ return con.connect(login, password);//connect() returns a boolean } } Then on the client side, I have the ConnectionService and ConnectionServiceAsync interfaces: public interface ConnectionService extends RemoteService { boolean connecto(String login, String password)throws IllegalArgumentException; } and public interface ConnectionServiceAsync { void connecto(String login, String password, AsyncCallbackBoolean callback) throws IllegalArgumentException; } The web.xml conf file is as follows: ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app !-- Servlets -- servlet servlet-nameconnectionServlet/servlet-name servlet-classcom.server.ConnectionServiceImpl/servlet-class /servlet servlet-mapping servlet-nameconnectionServlet/servlet-name url-pattern/webtop/connection/url-pattern /servlet-mapping !-- Default page to serve -- welcome-file-list welcome-fileWebtop.html/welcome-file /welcome-file-list /web-app But when I run and enter values to execute through rpc, I get the following error: SEVERE: [1273482832366000] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract boolean com.extjs.gxt.samples.desktop.client.ConnectionService.connecto(java.lang.String,java.lang.String) throws java.lang.IllegalArgumentException' threw an unexpected exception: java.lang.NoClassDefFoundError: Could not initialize class com.extjs.gxt.samples.desktop.server.HibernateSessionFactory 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:188) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) 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.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:51) 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:122) 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.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:349) 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
Security restrictions may not be entirely emulated
Hi, Can someone help me? What can possibly cause this to be written on the output console: Security restrictions may not be entirely emulated efsiken -- 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.
Re: Security restrictions may not be entirely emulated
But if I disable the GAE, the application does not even execute but gives the following errors: Starting Jetty on port [WARN] failed org.mortbay.jetty.nio.selectchannelconnecto...@472d48 java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/lang/Object;)V at org.mortbay.io.nio.SelectorManager$SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:543) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) at com.google.gwt.dev.DevMode.main(DevMode.java:275) [WARN] failed selectchannelconnec...@127.0.0.1: java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/lang/Object;)V at org.mortbay.io.nio.SelectorManager$SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:543) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) at com.google.gwt.dev.DevMode.main(DevMode.java:275) [WARN] failed ser...@136a43c java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/lang/Object;)V at org.mortbay.io.nio.SelectorManager$SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:543) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) at com.google.gwt.dev.DevMode.main(DevMode.java:275) Exception in thread main java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/lang/Object;)V at org.mortbay.io.nio.SelectorManager$SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:543) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) at com.google.gwt.dev.DevMode.main(DevMode.java:275) Is there anything I have to do in addition to deactivating the GAE? Please, this is really posing me a big problem and I need your help. regards --- On Mon, 5/10/10, Sripathi Krishnan sripathikrish...@gmail.com wrote: From: Sripathi Krishnan sripathikrish...@gmail.com Subject: Re: Security restrictions may not be entirely emulated To: google-web-toolkit@googlegroups.com Date: Monday, May 10, 2010, 3:50 AM Most likely you have Google App Engine enabled for your project, and you are trying to perform a restricted operation on the server side (like opening a socket to connect to a database). --Sri On 10 May 2010 15:41, fomba collins fomba_coll...@yahoo.com wrote: Hi, Can someone help me? What can possibly cause this to be written on the output console: Security restrictions may not be entirely emulated efsiken -- You received this message because you are subscribed to the Google Groups Google
Inserting images into a combobox
Hi, Any body knows how we an insert images and text into a combobox side by side? regards -- 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.
Re: Security restrictions may not be entirely emulated
Thanks Sripathy: It works now. --- On Mon, 5/10/10, Sripathi Krishnan sripathikrish...@gmail.com wrote: From: Sripathi Krishnan sripathikrish...@gmail.com Subject: Re: Security restrictions may not be entirely emulated To: google-web-toolkit@googlegroups.com Date: Monday, May 10, 2010, 4:32 AM I just tried disabling GAE in a project that previously was using GAE, and it worked well for me. But others have complained with the same problem when they tried to disable GAE, so its possible something is wrong with the plugin. NoSuchMethodError seems to indicate you have multiple versions of jetty in your classpath. Can you go to Eclipse Project Preferences Java build path Libraries and then remove all GAE specific libraries? Just retain JRE and GWT libraries, plus any other library you need for your project and then try again. If that doesn't work, try creating a new project in Eclipse and be sure to disable GAE at the onset. --Sri On 10 May 2010 16:27, fomba collins fomba_coll...@yahoo.com wrote: But if I disable the GAE, the application does not even execute but gives the following errors: Starting Jetty on port [WARN] failed org.mortbay.jetty.nio.selectchannelconnecto...@472d48 java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/lang/Object;)V at org.mortbay.io.nio.SelectorManager$SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:543) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) at com.google.gwt.dev.DevMode.main(DevMode.java:275) [WARN] failed selectchannelconnec...@127.0.0.1: java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/lang/Object;)V at org.mortbay.io.nio.SelectorManager$SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:543) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) at com.google.gwt.dev.DevMode.main(DevMode.java:275) [WARN] failed ser...@136a43c java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/lang/Object;)V at org.mortbay.io.nio.SelectorManager$SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:543) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) at com.google.gwt.dev.DevMode.main(DevMode.java:275) Exception in thread main java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/lang/Object;)V at org.mortbay.io.nio.SelectorManager$SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:543) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) at com.google.gwt.dev.DevModeBase.run
Problems with deactivated application engine
I discovered the source of my last erro posted on this forum. This was because I deactivated the application engine. Actually my application was generating an HTTP404 error on the browser and when I posted the problem to a forum, I was asked to deactivate the google application engine since it does not permit using databases. I deactivated and it worked. But later on with the engine deactivated, the application generates this error: Starting Jetty on port [WARN] failed org.mortbay.jetty.nio.selectchannelconnecto...@7109c4 java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/ lang/Object;)V at org.mortbay.io.nio.SelectorManager $SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java: 223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java: 303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java: 543) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) at com.google.gwt.dev.DevMode.main(DevMode.java:275) [WARN] failed selectchannelconnec...@127.0.0.1: java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/ lang/Object;)V at org.mortbay.io.nio.SelectorManager $SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java: 223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java: 303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java: 543) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) at com.google.gwt.dev.DevMode.main(DevMode.java:275) [WARN] failed ser...@13ad33d java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/ lang/Object;)V at org.mortbay.io.nio.SelectorManager $SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java: 223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java: 303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java: 543) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) at com.google.gwt.dev.DevMode.main(DevMode.java:275) Exception in thread main java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/lang/Object;)V at org.mortbay.io.nio.SelectorManager $SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java: 223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java: 303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java: 543) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) at com.google.gwt.dev.DevMode.main(DevMode.java:275) If I activate the engine again, the application executes but with an HTTP404 error on the web browser. So whether activated or not, the application engine is posing some problems to me. I don't know if someone has a better solution to this? regards. -- 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.
Re: HTTP ERROR: 404
Hi mram, I discovered that it was because I added the Hibernate core library. Does this prevent some files from being seen? The program executes well without this library but immediately I add this library to the build path it generates this error. Can I use gilead without this library? If so how can I do reverse engineering with gilead? I am using myeclipse6.5. regards efsiken --- On Tue, 5/4/10, mram mram...@gmail.com wrote: From: mram mram...@gmail.com Subject: Re: HTTP ERROR: 404 To: Google Web Toolkit google-web-toolkit@googlegroups.com Date: Tuesday, May 4, 2010, 12:37 PM That happened to me twice. Just need to look if your project is complete (.html, .css, web-inf, meta-inf, compiled code of client side) inside the folder: your_workspace/.metadata/.plugins/org.eclipse.wst.server.core/ tmp0/wtpwebapps/your_project_server Maybe, the .html is missing there. Just copy the missing files there and everything will function fine again!! On 4 mayo, 17:19, efsiken fomba_coll...@yahoo.com wrote: Hello, I have been working on my project that was compiling and executing without any problems. No changes were to the program and suddenly, I could not have the output on the web browser but instead, the following error is shown: HTTP ERROR: 404 Problem accessing /Webtop.html. Reason: NOT_FOUND Powered by Jetty:// What can I do to resolve it? efsiken -- 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 athttp://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. -- 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.
Re: Having problems with Gilead and hibernate integration in gwt
Thanks vkmanoj, I did that and the error disappeared. Now, the problem is that when I add the hibernate core library, in order to manage the DAOs and POJOs generated by the hibernate reverse Engineering, I instead have a HTTP 404 error. Any help? efsiken --- On Tue, 5/4/10, Mano vkma...@gmail.com wrote: From: Mano vkma...@gmail.com Subject: Re: Having problems with Gilead and hibernate integration in gwt To: Google Web Toolkit google-web-toolkit@googlegroups.com Date: Tuesday, May 4, 2010, 12:27 PM Just move your Connection class to the server folder. Classes in server side can access the POJOs in client folder and whatever is there in server folder, not the other way around. (Also remember that client side code get converted into java script and the GWT emulator supports only a subset of what JRE supports) http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsCompatibility.html http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html On May 4, 4:21 am, efsiken fomba_coll...@yahoo.com wrote: Hi, I'm still new to gwt and so permit me if I speak what is not right. I started up a gwt project with amongst other packages, a client and a server package. Then I added the following gilead libraries to the build path: gilead4gwt-1.3.1.1665.jar gilead-core-1.3.1.1665.jar gilead4appengine-1.3.1.1665.jar gilead-hibernate-1.3.1.1665.jar Then I went to the project.gwt.xml file and added inherits name='net.sf.gilead.Gilead4Gwt'/. Till this point, the program could compile and execute without errors. I then added hibernate capabilities to the project and with hibernate reverse engineering, I generated the pojos and DAOs which I sent to the server package. I dont know if up to this point, that is correct (I mean performing hibernate reverse engineering in gwt). I created a class (Connection.java) in the client package that uses the pojos and DAOs in the server package. When I run this class as a java application, it executes without any problem and prints the output on the console as expected. But when I compile the entire project, I have the following errors: [ERROR] Errors in 'file:/C:/Projets/java/webtop/src/com/extjs/gxt/ samples/desktop/client/widget/Connection.java' [ERROR] Line 24: No source code is available for type com.extjs.gxt.samples.desktop.server.Evuti; did you forget to inherit a required module? [ERROR] Line 26: No source code is available for type com.extjs.gxt.samples.desktop.server.Evlang; did you forget to inherit a required module? [ERROR] Line 28: No source code is available for type com.extjs.gxt.samples.desktop.server.EvlangDAO; did you forget to inherit a required module? [ERROR] Line 32: No source code is available for type com.extjs.gxt.samples.desktop.server.EvutiDAO; did you forget to inherit a required module? So I don't know the module I have to inherit or the source to be added. Please can someone help me out? -- 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 athttp://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. -- 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.
Re: Please can anyone help me (urgent)
use the method getValue() --- On Tue, 5/4/10, samounas elmokhtari.as...@gmail.com wrote: From: samounas elmokhtari.as...@gmail.com Subject: Re: Please can anyone help me (urgent) To: Google Web Toolkit google-web-toolkit@googlegroups.com Date: Tuesday, May 4, 2010, 8:21 AM Can u help me please. On 4 mai, 15:16, samounas elmokhtari.as...@gmail.com wrote: i want to retrieve the value writed in the textBoxItem .Because i want to put it in the value of the criteria .like this: new criteria(field,value). please can u tell me how can i retrieve this value. -- 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 athttp://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. -- 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.
Re: Please can anyone help me (urgent)
if self is your TextField instance, then use: self.getValue(); and not sel.getValue --- On Tue, 5/4/10, samounas elmokhtari.as...@gmail.com wrote: From: samounas elmokhtari.as...@gmail.com Subject: Re: Please can anyone help me (urgent) To: Google Web Toolkit google-web-toolkit@googlegroups.com Date: Tuesday, May 4, 2010, 8:40 AM thx for the answer. but i have already tried getvalue than i got this error: (Uncaught exception escaped : com.google.gwt.core.client.JavaScriptException (TypeError): self.getValue is not a function fileName: http://localhost:8080 lineNumber: 195 stack: ()@http://localhost:8080:195 ) this is my code: numRequestItem = new TextItem(numRequest); osiRequestDS = DataSource.get( osiRequestDS ); numRequestItem.setOptionDataSource(osiRequestDS); numRequestItem.getValue(); updateButton.addClickHandler( new ClickHandler() { public void onClick(final ClickEvent event) { osiValuesManager.fetchData(new Criteria(numRequest,(String) numRequestItem.getValue())); //numRequestItem.getValueField() } //new Criteria(String field, String value) } ); Can u help me please? On 4 mai, 15:30, rudolf michael roud...@gmail.com wrote: textBoxItem.getValue()?? have you tried this taking into account that textBoxItem is an instance of TextBox On Tue, May 4, 2010 at 6:21 PM, samounas elmokhtari.as...@gmail.com wrote: Can u help me please. On 4 mai, 15:16, samounas elmokhtari.as...@gmail.com wrote: i want to retrieve the value writed in the textBoxItem .Because i want to put it in the value of the criteria .like this: new criteria(field,value). please can u tell me how can i retrieve this value. -- 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-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group athttp:// 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.comgoogle-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 athttp://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. -- 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.
Re: Error: No source code is available for type com.entities.EvlangDAO; did you forget to inherit a required module?
Thanks. The errors on the extra package sources have been rmoved. But given that inside these classes, I imported other classes from jar files that I added to the under libraries, new errors are generated on the classes of these libraries. Here are the errors: [ERROR] Errors in 'file:/C:/Projets/java/webtop/src/com/extjs/gxt/samples/desktop/client/widget/HibernateSessionFactory.java' [ERROR] Line 23: No source code is available for type java.lang.ThreadLocalT; did you forget to inherit a required module? [ERROR] Line 23: No source code is available for type org.hibernate.Session; did you forget to inherit a required module? [ERROR] Line 24: No source code is available for type org.hibernate.cfg.Configuration; did you forget to inherit a required module? [ERROR] Line 25: No source code is available for type org.hibernate.SessionFactory; did you forget to inherit a required module? [ERROR] Line 48: No source code is available for type org.hibernate.HibernateException; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Projets/java/webtop/src/com/extjs/gxt/samples/desktop/client/widget/BaseHibernateDAO.java' [ERROR] Line 16: No source code is available for type net.sf.gilead.gwt.PersistentRemoteService; did you forget to inherit a required module? [ERROR] Line 31: No source code is available for type org.hibernate.Session; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Projets/java/webtop/src/com/extjs/gxt/samples/desktop/client/widget/IBaseHibernateDAO.java' [ERROR] Line 11: No source code is available for type org.hibernate.Session; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Projets/java/webtop/src/com/extjs/gxt/samples/desktop/client/widget/EvlangDAO.java' [ERROR] Line 26: No source code is available for type org.apache.commons.logging.Log; did you forget to inherit a required module? [ERROR] Line 26: No source code is available for type org.apache.commons.logging.LogFactory; did you forget to inherit a required module? [ERROR] Line 41: No source code is available for type javax.persistence.EntityManager; did you forget to inherit a required module? [ERROR] Line 74: No source code is available for type org.hibernate.criterion.Example; did you forget to inherit a required module? [ERROR] Line 90: No source code is available for type org.hibernate.Query; did you forget to inherit a required module? [ERROR] Line 141: No source code is available for type org.hibernate.LockMode; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Projets/java/webtop/src/com/extjs/gxt/samples/desktop/client/widget/EvutiDAO.java' [ERROR] Line 23: No source code is available for type org.apache.commons.logging.Log; did you forget to inherit a required module? [ERROR] Line 23: No source code is available for type org.apache.commons.logging.LogFactory; did you forget to inherit a required module? [ERROR] Line 65: No source code is available for type org.hibernate.criterion.Example; did you forget to inherit a required module? [ERROR] Line 81: No source code is available for type org.hibernate.Query; did you forget to inherit a required module? [ERROR] Line 136: No source code is available for type org.hibernate.LockMode; did you forget to inherit a required module? Finding entry point classes [ERROR] Unable to find type 'com.extjs.gxt.samples.desktop.client.Webtop' [ERROR] Hint: Previous compiler errors may have made this type unavailable [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly Any help please? Thanks --- On Wed, 4/28/10, Sripathi Krishnan sripathikrish...@gmail.com wrote: From: Sripathi Krishnan sripathikrish...@gmail.com Subject: Re: Error: No source code is available for type com.entities.EvlangDAO; did you forget to inherit a required module? To: google-web-toolkit@googlegroups.com Date: Wednesday, April 28, 2010, 1:54 PM Client side source code must reside under the client sub-package. You should move the DAO's from the com.entities.* package to com.extjs.gxt.samples.desktop.client.entities.* package. If you don't like the client sub-package, you can add additional packages using the source path=. Refer to Organize Projects chapter in the documentation for more information. Modules can specify which subpackages contain translatable source, causing the named package and its subpackages to be added to the source path. Only files found on the source path are candidates to be translated into JavaScript, making it possible to mix client-side and server-side code together in the same classpath
Re: Error: No source code is available for type com.entities.EvlangDAO; did you forget to inherit a required module?
Thanks. Please, where are Data Access Objects supposed to reside in the gwt project? On the Client side or Server Side? --- On Thu, 4/29/10, Sripathi Krishnan sripathikrish...@gmail.com wrote: From: Sripathi Krishnan sripathikrish...@gmail.com Subject: Re: Error: No source code is available for type com.entities.EvlangDAO; did you forget to inherit a required module? To: google-web-toolkit@googlegroups.com Date: Thursday, April 29, 2010, 3:40 AM You can't use hibernate or threadlocal variables on client side code. Think about it, you don't want your javascript code to connect to the database. The list of supported packages/classes can be found here - http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html --Sri On 29 April 2010 12:51, fomba collins fomba_coll...@yahoo.com wrote: Thanks. The errors on the extra package sources have been rmoved. But given that inside these classes, I imported other classes from jar files that I added to the under libraries, new errors are generated on the classes of these libraries. Here are the errors: [ERROR] Errors in 'file:/C:/Projets/java/webtop/src/com/extjs/gxt/samples/desktop/client/widget/HibernateSessionFactory.java' [ERROR] Line 23: No source code is available for type java.lang.ThreadLocalT; did you forget to inherit a required module? [ERROR] Line 23: No source code is available for type org.hibernate.Session; did you forget to inherit a required module? [ERROR] Line 24: No source code is available for type org.hibernate.cfg.Configuration; did you forget to inherit a required module? [ERROR] Line 25: No source code is available for type org.hibernate.SessionFactory; did you forget to inherit a required module? [ERROR] Line 48: No source code is available for type org.hibernate.HibernateException; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Projets/java/webtop/src/com/extjs/gxt/samples/desktop/client/widget/BaseHibernateDAO.java' [ERROR] Line 16: No source code is available for type net.sf.gilead.gwt.PersistentRemoteService; did you forget to inherit a required module? [ERROR] Line 31: No source code is available for type org.hibernate.Session; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Projets/java/webtop/src/com/extjs/gxt/samples/desktop/client/widget/IBaseHibernateDAO.java' [ERROR] Line 11: No source code is available for type org.hibernate.Session; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Projets/java/webtop/src/com/extjs/gxt/samples/desktop/client/widget/EvlangDAO.java' [ERROR] Line 26: No source code is available for type org.apache.commons.logging.Log; did you forget to inherit a required module? [ERROR] Line 26: No source code is available for type org.apache.commons.logging.LogFactory; did you forget to inherit a required module? [ERROR] Line 41: No source code is available for type javax.persistence.EntityManager; did you forget to inherit a required module? [ERROR] Line 74: No source code is available for type org.hibernate.criterion.Example; did you forget to inherit a required module? [ERROR] Line 90: No source code is available for type org.hibernate.Query; did you forget to inherit a required module? [ERROR] Line 141: No source code is available for type org.hibernate.LockMode; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Projets/java/webtop/src/com/extjs/gxt/samples/desktop/client/widget/EvutiDAO.java' [ERROR] Line 23: No source code is available for type org.apache.commons.logging.Log; did you forget to inherit a required module? [ERROR] Line 23: No source code is available for type org.apache.commons.logging.LogFactory; did you forget to inherit a required module? [ERROR] Line 65: No source code is available for type org.hibernate.criterion.Example; did you forget to inherit a required module? [ERROR] Line 81: No source code is available for type org.hibernate.Query; did you forget to inherit a required module? [ERROR] Line 136: No source code is available for type org.hibernate.LockMode; did you forget to inherit a required module? Finding entry point classes [ERROR] Unable to find type 'com.extjs.gxt.samples.desktop.client.Webtop' [ERROR] Hint: Previous compiler errors may have made this type unavailable [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly Any help please? Thanks --- On Wed, 4/28/10, Sripathi Krishnan sripathikrish...@gmail.com wrote: From: Sripathi Krishnan sripathikrish...@gmail.com Subject: Re: Error: No source code is available