Hi All,

I've searched the web and and this group for an answer to my problem,
some leads but no solutions...

In hosted mode the app works fine, but as soon as I package it into a
war and deploy to tomcat or jboss, the onModuleLoad never get's called
and the container reports no problems.
What gets displayed is the entrypoint html file contents, but
obviously none of the div contents.

web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee";
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
                  http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
           version="2.5">
    <servlet>
        <servlet-name>mypackage.crewCheckIn.CrewCheckIn/
CrewCheckInService</servlet-name>
        <servlet-
class>mypackage.crewCheckIn.server.CrewCheckInServiceImpl</servlet-
class>
    </servlet>
    <servlet-mapping>
        <servlet-name>mypackage.crewCheckIn.CrewCheckIn/
CrewCheckInService</servlet-name>
        <url-pattern>/mypackage.crewCheckIn.CrewCheckIn/
mypackage.crewCheckIn.CrewCheckIn/CrewCheckInService</url-pattern>
    </servlet-mapping>
</web-app>

CrewCheckIn.gwt.xml :

<module>
    <inherits name='com.google.gwt.user.User'/>
    <entry-point class='mypackage.crewCheckIn.client.CrewCheckIn'/>
    <servlet path='/mypackage.crewCheckIn.CrewCheckIn/
CrewCheckInService'
class='mypackage.crewCheckIn.server.CrewCheckInServiceImpl'/>
</module>

CrewCheckIn.html :

<html>
<head>

    <title>Crew CheckIn</title>
    <meta name='gwt:module'
content='mypackage.crewCheckIn.CrewCheckIn'>

</head>
<body>

<script language='javascript'
src='mypackage.crewCheckIn.CrewCheckIn.nocache.js'></script>
<h1>Crew CheckIn</h1>

<div id="contents"></div>
<div id="rpc" style="display:none;">Working...</div>

</body>
</html>

Has anybody experienced this before?

Thanks


--~--~---------~--~----~------------~-------~--~----~
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