Re: Where is the server log ?
Daniel thanks a lot.. we have found log file folder! :) here is my log file guys.. I will look but if u understand something.. pls let me know Reachable types computed on: Sat Aug 15 16:27:38 EEST 2009 com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException Serialization status Instantiable Path 'com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' is reachable as a subtype of type 'class com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' Started from 'com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' java.lang.Exception Serialization status Field serializable Path 'java.lang.Exception' is reachable as a supertype of type 'class java.lang.RuntimeException' 'java.lang.RuntimeException' is reachable as a supertype of type 'class com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' 'com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' is reachable as a subtype of type 'class com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' Started from 'com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' java.lang.RuntimeException Serialization status Field serializable Path 'java.lang.RuntimeException' is reachable as a supertype of type 'class com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' 'com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' is reachable as a subtype of type 'class com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' Started from 'com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' java.lang.String Serialization status Instantiable Path 'java.lang.String' is reachable as a subtype of type 'class java.lang.String' Started from 'java.lang.String' java.lang.Throwable Serialization status Field serializable Path 'java.lang.Throwable' is reachable as a supertype of type 'class java.lang.Exception' 'java.lang.Exception' is reachable as a supertype of type 'class java.lang.RuntimeException' 'java.lang.RuntimeException' is reachable as a supertype of type 'class com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' 'com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' is reachable as a subtype of type 'class com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' Started from 'com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' java.util.ArrayList Serialization status Instantiable Path 'java.util.ArrayList' is reachable as a subtype of type 'class java.util.ArrayList' Started from 'java.util.ArrayList' java.util.HashMap Serialization status Instantiable Path 'java.util.HashMap' is reachable as a subtype of type 'interface java.util.Map' 'java.util.Map' is reachable from field '_proxyInformations' of type 'net.sf.gilead.pojo.java5.LightEntity' 'net.sf.gilead.pojo.java5.LightEntity' is reachable as a supertype of type 'class net.tolgaozdemir.gwt.client.domain.Entry' 'net.tolgaozdemir.gwt.client.domain.Entry' is reachable as a subtype of type 'class net.tolgaozdemir.gwt.client.domain.Entry' Started from 'net.tolgaozdemir.gwt.client.domain.Entry' java.util.IdentityHashMap Serialization status Instantiable Path 'java.util.IdentityHashMap' is reachable as a subtype of type 'interface java.util.Map' 'java.util.Map' is reachable from field '_proxyInformations' of type 'net.sf.gilead.pojo.java5.LightEntity' 'net.sf.gilead.pojo.java5.LightEntity' is reachable as a supertype of type 'class net.tolgaozdemir.gwt.client.domain.Entry' 'net.tolgaozdemir.gwt.client.domain.Entry' is reachable as a subtype of type 'class net.tolgaozdemir.gwt.client.domain.Entry' Started from 'net.tolgaozdemir.gwt.client.domain.Entry' java.util.LinkedHashMap Serialization status Instantiable Path 'java.util.LinkedHashMap' is reachable as a subtype of type 'interface java.util.Map' 'java.util.Map' is reachable from field '_proxyInformations' of type 'net.sf.gilead.pojo.java5.LightEntity' 'net.sf.gilead.pojo.java5.LightEntity' is reachable as a supertype of type 'class net.tolgaozdemir.gwt.client.domain.Entry' 'net.tolgaozdemir.gwt.client.domain.Entry' is reachable as a subtype of type 'class net.tolgaozdemir.gwt.client.domain.Entry' Started from 'net.tolgaozdemir.gwt.client.domain.Entry' java.util.TreeMap Serialization status Instantiable Path 'java.util.TreeMap' is reachable as a subtype of type 'interface java.util.Map' 'java.util.Map' is reachable from field '_proxyInformations' of type 'net.sf.gilead.pojo.java5.LightEntity' 'net.sf.gilead.pojo.java5.LightEntity' is reachable as a supertype of type 'class net.tolgaozdemir.gwt.client.domain.Entry' 'net.tolgaozdemir.gwt.client.domain.Entr
Re: Where is the server log ?
While searching for something else, I saw some gwt directories in the Local Settings\Temp dir, which had some log files in them. C:\Documents and Settings\MyName\Local Settings\Temp\gwtc2884477077954149866.tmp\myModuleName\shell\gen These look like logs for the RPCs. On Mon, Aug 17, 2009 at 9:47 AM, Trevis wrote: > > This isnt a direct answer to your question but i think that this is > the root of what is going wrong. Class instances that you send to the > client have to play by the rules of GWT. The class cant have imports > that are not available on the javascript runtime code. > > import javax.persistence.Entity; > import javax.persistence.Table; > > those classes are almost certainly not in the limited environment. > > Trevis > > > > > On Aug 17, 8:21 am, tolga ozdemir wrote: > > this thread seems the same.. But I cannot reach the solution yet.. I > > receive this error.. I cannot retrieve a List of my object via RPC > > service > > > > http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > > > ::: HERE IS MY OBJECT ::: > > > > package net.tolgaozdemir.gwt.client.domain; > > > > import javax.persistence.Entity; > > import javax.persistence.Table; > > > > import com.google.gwt.user.client.rpc.IsSerializable; > > import net.sf.gilead.pojo.java5.LightEntity; > > > > public class Entry extends LightEntity implements IsSerializable{ > > > > /** > > * > > */ > > private static final long serialVersionUID = > -4123250238413358095L; > > > > private Integer ID; > > private String entry; > > > > // Properties > > /** > > * @return the id > > */ > > public final Integer getId() { > > return ID; > > } > > /** > > * @param id the id to set > > */ > > public final void setId(Integer id) { > > this.ID = id; > > } > > > > public String getEntry(){ > > return entry; > > } > > > > public void setEntry(String entry){ > > this.entry = entry; > > } > > > > public Entry(){ > > > > } > > > > } > > > --~--~-~--~~~---~--~~ 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.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Where is the server log ?
This isnt a direct answer to your question but i think that this is the root of what is going wrong. Class instances that you send to the client have to play by the rules of GWT. The class cant have imports that are not available on the javascript runtime code. import javax.persistence.Entity; import javax.persistence.Table; those classes are almost certainly not in the limited environment. Trevis On Aug 17, 8:21 am, tolga ozdemir wrote: > this thread seems the same.. But I cannot reach the solution yet.. I > receive this error.. I cannot retrieve a List of my object via RPC > service > > http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > ::: HERE IS MY OBJECT ::: > > package net.tolgaozdemir.gwt.client.domain; > > import javax.persistence.Entity; > import javax.persistence.Table; > > import com.google.gwt.user.client.rpc.IsSerializable; > import net.sf.gilead.pojo.java5.LightEntity; > > public class Entry extends LightEntity implements IsSerializable{ > > /** > * > */ > private static final long serialVersionUID = -4123250238413358095L; > > private Integer ID; > private String entry; > > // Properties > /** > * @return the id > */ > public final Integer getId() { > return ID; > } > /** > * @param id the id to set > */ > public final void setId(Integer id) { > this.ID = id; > } > > public String getEntry(){ > return entry; > } > > public void setEntry(String entry){ > this.entry = entry; > } > > public Entry(){ > > } > > } --~--~-~--~~~---~--~~ 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.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Where is the server log ?
this thread seems the same.. But I cannot reach the solution yet.. I receive this error.. I cannot retrieve a List of my object via RPC service http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/8744f69c06e7241d ::: HERE IS MY OBJECT ::: package net.tolgaozdemir.gwt.client.domain; import javax.persistence.Entity; import javax.persistence.Table; import com.google.gwt.user.client.rpc.IsSerializable; import net.sf.gilead.pojo.java5.LightEntity; public class Entry extends LightEntity implements IsSerializable{ /** * */ private static final long serialVersionUID = -4123250238413358095L; private Integer ID; private String entry; // Properties /** * @return the id */ public final Integer getId() { return ID; } /** * @param id the id to set */ public final void setId(Integer id) { this.ID = id; } public String getEntry(){ return entry; } public void setEntry(String entry){ this.entry = entry; } public Entry(){ } } --~--~-~--~~~---~--~~ 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.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Where is the server log ?
Yes.. if it is so.. I recieve a 500 - POST error my request seems full and content type text/x-gwt-rpc whereas my Response's content type text/plain Simply I want to use RPC services with hibernate and I have a function returns a list of my Entry object this is my method.. public List listAllEntries() { Session session=null; try{ session = HibernateContext.getSessionFactory().openSession(); return new ArrayList( session.createQuery("from tblentry ").list() ); } catch (RuntimeException e) { throw e; } finally { if (session != null) { session.close(); } } } but I recieve this error... :( --~--~-~--~~~---~--~~ 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.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Where is the server log ?
If you're running in hosted mode they should be written to the eclipse console. Have you got it open! Sent from my Archimedes A3000 -Original Message- From: tolga ozdemir Date: Sun, 16 Aug 2009 09:13:46 To: Google Web Toolkit Subject: Where is the server log ? Hi, I use GWT 1.7 and eclipse on Windows XP.. As a sample, I use a hibernate project.. I have a function with signature List listEntries(); When I run the project I got this error com.google.gwt.user.client.rpc.StatusCodeException: The call failed on the server; see server log for details at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived So, where is this server log file located on my computer? Do you have any idea?? --~--~-~--~~~---~--~~ 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.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Where is the server log ?
Hi, I use GWT 1.7 and eclipse on Windows XP.. As a sample, I use a hibernate project.. I have a function with signature List listEntries(); When I run the project I got this error com.google.gwt.user.client.rpc.StatusCodeException: The call failed on the server; see server log for details at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived So, where is this server log file located on my computer? Do you have any idea?? --~--~-~--~~~---~--~~ 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.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Where is the server log?
Hello everybody, I'm really desperate because my gwt app (based on 1.5.3) keeps crashing on the server side. The error message keeps telling me to check the server log. But where are they in hosted mode? When I look for log files using find . | grep .log$ | xargs ls -la I only see the timestamp of one file changing: ./www/MYPACKAGE-aux/MYPACKAGE.web.client.SERVICE.rpc.log (MYPACKAGE and SERVICE are placeholder for the real names) But in this file I don't find stacktraces / errors, only statements like this: java.util.ArrayList Serialization status Instantiable Path 'java.util.ArrayList< MYPACKAGE.data.types.QuestionData>' is reachable as a subtype of type 'class java.util.ArrayList (etc.) Please help! Thank you very much! J.F --~--~-~--~~~---~--~~ 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.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---