Hello Chad,

I'm using GWT 1.6.4 with the Google plugin for Eclipse.

thank you very much, it worked fine. Great! Unfortunately, I can't get
my application to run. My RMI call fails on the server. When I look
into the tomcat server logs, it says:

com.google.gwt.user.client.rpc.SerializationException: Type
'java.rmi.UnmarshalException' was not included in the set of types
which can be serialized by this SerializationPolicy or its Class
object could not be loaded. For security purposes, this type will not
be serialized.

My server code tries to connect to a remote service. In hosted mode,
it works fine. But not when my application is deployed. Why is an
UnmarshalException being thrown? How can I debug the server-side code
with tomcat? After some research, I found out that it's possible to
debug tomcat java code, but apparently, it's so complicated that I'm
not able to do it. Unfortunately, I haven't found an easy tutorial for
this. Can someone give a little hint on how to do this?



On 20 Jul., 16:56, Chad <[email protected]> wrote:
> Martin,
>
> It can depend on your version of GWT. If you are using the GWT-Eclipse
> Plugin (GEP), you can just click the GWT Compile button from the
> toolbar. After it compiles successfully, open your project folder
> (outside of Eclipse). You will see a war folder inside your project
> folder. Open that war folder. You will see a few files and folders.
> Select everything and create a zip file (this should be a right-click
> action). Name the zip file something.war and that's it. When you drop
> that war file into your Tomcat webapps folder, it will get
> automatically expanded into a folder named the same as the war file
> name (without the extension).
>
> If you are using an older version of GWT, then the manual steps I
> outlined a while back may help and can be found:
>
> http://milamade.com/code/gwt/createwar.htm
>
> HTH,
> Chad
>
> On Jul 20, 8:01 am, martinhansen <[email protected]>
> wrote:
>
> > Hi,
>
> > I want to export my GWT app as a WAR file and deploy it on a tomcat
> > server. I've read dozens of threads about this topic, and I understood
> > nothing. I do not know anything about WAR files, ANT build scripts or
> > tomcat server, I'm totally new to that stuff. I tried to figure it out
> > by myself, but I couldn't get past the first few steps. When I right-
> > click my GWT project in eclipse and select "export/web/WAR file", it
> > always says "Module name is invalid" when it asks for a "web project"
> > name. What to do now? Can someone give me a really basic instruction
> > for this, or a good link to a tutorial? I'm really confused by this, I
> > need to know the very basics.
>
> > Thanks a lot in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to