GWT and Jetty
Hi, I'm starting a servlet extending google's RemoteServiceServlet in Jetty. It did not work with this error: HTTP method GET is not supported by this URL I searched this error and found that RemoteServiceServlet does not implement doGet and doPost. I tried this link http://docs.codehaus.org/display/JETTY/GWT. It didn't work either. Any ideas how I can get it to work? Should I send back the html file in the doGet?What should I do in the doPost? Thank you -- 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.
servercontext and GWT
Hi, Can you use server context with GWT?? If I define a servlet in the web.xml file and then add a server context, can I access the server instance from another class? How could I do this? Thank you -- 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: instance of Servlet in web.xml
I need to fill a queue on the server. I wanted to do it in two ways, 1) what I asked about 2) have the main start the server and fill the queue from that instance(I don't know how to do this -- working on it) What should I do?? I am calling the devMode.main from a main class, not launching as normal. The queue-filling class is in the main. This is what I meant by the same JVM. Thank you On Aug 4, 5:30 pm, lam wrote: > Hi, > I need to get and instance of the servlet specified in web.xml. I have > a main running in the same JVM as the servlet. I need to be able to > fill a queue in the server. How can I do this??? > Any help is appreciated. > Thank you -- 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: instance of Servlet in web.xml
I need to fill a queue on the server. I wanted to do it in two ways, 1) what I asked about 2) have the main start the server and fill the queue from that instance(I don't know how to do this -- working on it) What should I do?? I am calling the devMode.main from a main class, not launching as normal. The queue-filling class is in the main. This is what I meant by the same JVM. Thank you On Aug 5, 12:05 pm, lam wrote: > How would I do it if I was running on a different server, Jetty or > Tomcat? > Thank you for answering > > On Aug 5, 11:18 am, Shawn Brown wrote: > > > > I need to get and instance of the servlet specified in web.xml. I have > > > a main running in the same JVM as the servlet. > > > I think you need to understand GAE. I don't think you know what JVM > > you are running in GAE and that it can be killed at any time and that > > what your client sends may be handled by any JVM. See if java.rmi is > > supported in GAE whitelisted classes if you want to try. > > > GAE instances come and GAE instances go. Even sessions get persisted > > to BigTable (the database) for this reason. -- 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: instance of Servlet in web.xml
I need to fill a queue on the server. I wanted to do it in two ways, 1) what I asked about 2) have the main start the server and fill the queue from that instance(I don't know how to do this -- working on it) What should I do?? I am calling the devMode.main from a main class, not launching as normal. The queue-filling class is in the main. This is what I meant by the same JVM. Thank you On Aug 5, 12:05 pm, lam wrote: > How would I do it if I was running on a different server, Jetty or > Tomcat? > Thank you for answering > > On Aug 5, 11:18 am, Shawn Brown wrote: > > > > I need to get and instance of the servlet specified in web.xml. I have > > > a main running in the same JVM as the servlet. > > > I think you need to understand GAE. I don't think you know what JVM > > you are running in GAE and that it can be killed at any time and that > > what your client sends may be handled by any JVM. See if java.rmi is > > supported in GAE whitelisted classes if you want to try. > > > GAE instances come and GAE instances go. Even sessions get persisted > > to BigTable (the database) for this reason. -- 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: instance of Servlet in web.xml
How would I do it if I was running on a different server, Jetty or Tomcat? Thank you for answering On Aug 5, 11:18 am, Shawn Brown wrote: > > I need to get and instance of the servlet specified in web.xml. I have > > a main running in the same JVM as the servlet. > > I think you need to understand GAE. I don't think you know what JVM > you are running in GAE and that it can be killed at any time and that > what your client sends may be handled by any JVM. See if java.rmi is > supported in GAE whitelisted classes if you want to try. > > GAE instances come and GAE instances go. Even sessions get persisted > to BigTable (the database) for this reason. -- 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: instance of Servlet in web.xml
Hi, Thank you for answereing Currently google app engine. Does it matter? On Aug 4, 6:00 pm, igor mejia wrote: > what server have you have? > > 2010/8/4 lam > > > Hi, > > I need to get and instance of the servlet specified in web.xml. I have > > a main running in the same JVM as the servlet. I need to be able to > > fill a queue in the server. How can I do this??? > > Any help is appreciated. > > Thank you > > > -- > > 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.
instance of Servlet in web.xml
Hi, I need to get and instance of the servlet specified in web.xml. I have a main running in the same JVM as the servlet. I need to be able to fill a queue in the server. How can I do this??? Any help is appreciated. Thank you -- 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.
GWT and maven
hi, I am trying to run a GWT project by calling the main in DevMode. This works fine. However, I want to use the maven plugin for gwt. The output of web-inf and war structure differs. The files are not located where DevMode.main would normally look for them. The files are not located, and it wont run. Can you help me please -- 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: location of .cache.html
I didn't know that in development mode, no cache.html file are created. After I did GWT compile, I found them. thanks :) On Jul 15, 4:01 am, Katharina Probst wrote: > Are you looking for the GWT output JS? If you look at the *.cache.html > files in the war directory, you'll see that they contain JS - they are > actually the obfuscated GWT output, where each permutation gets one > *.cache.html file. > > On Tue, Jul 13, 2010 at 11:18 AM, lam wrote: > > Hi, > > Where is the .cache.html file located? I know that .nocache.js and the > > html pages are located in the WAR file, but I am unable to find the > > cachable file. Thank you > > > -- > > 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.
location of .cache.html
Hi, Where is the .cache.html file located? I know that .nocache.js and the html pages are located in the WAR file, but I am unable to find the cachable file. Thank you -- 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.
Difference between port and codeServerPort
Hi, Can someone please explain what the difference is between the port and codeServerPort is in DevMode. I cannot find any clear documentation. What is a code sever? How is it different from the embedded web server? Why do each of them need a specific TCP port? Thank you -- 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.
GWT lifecycle
Hi, I'm working with GWT and I have a couple of questions. I need to know the exact life cycle. How is the project created? How can you define what is changed into **.nocache.js? How can you add more than one .js file? Are all modules complied into one .js file? Thank you lam -- 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.
jvm crash
I did a "ant build" under samples/Mail with the errors: gwtc: [java] Compiling module com.google.gwt.sample.mail.Mail [java] # [java] # An unexpected error has been detected by Java Runtime Environment: [java] # [java] # SIGSEGV (0xb) at pc=0x0625665c, pid=7535, tid=2690198416 [java] # [java] # Java VM: Java HotSpot(TM) Server VM (10.0-b23 mixed mode linux-x86) [java] # Problematic frame: [java] # V [libjvm.so+0x25665c] [java] # [java] # An error report file with more information is saved as: [java] # /home/falam/Downloads/google ajax/gwt-linux-1.7.0/ samples/Mail/hs_err_pid7535.log [java] # [java] # If you would like to submit a bug report, please visit: [java] # http://java.sun.com/webapps/bugreport/crash.jsp [java] # The crash happened outside the Java Virtual Machine in native code. [java] # See problematic frame for where to report the bug. [java] # BUILD FAILED I found the solutions was "sudo ant build". Seems only super users can compile it under Linux. Wonder if this is expected result? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---