Hey,

i deployed a gwt-application in tomcat 6.0.18 without any problems. I
pointed a url to the ip-adress and deployed the application unter
webapps/myfolder, so that the app was reachable unter http://mydomain/myfolder.
It worked fine.

But since im using a vhost in tomcat i got a problem.
Every time when gwt tries a callback i get the message: "Requested
resource not found". I did not make any changes in the web.xml.
I added the host like the following in the server.xml:

...
<!-- Define the default virtual host
           Note: XML Schema validation will not work with Xerces 2.2.
       -->
      <Host name="srv2.tudom.de" appBase="tudom"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">
        </Host>

         <!-- VIRTUAL HOST INJECTION POINT -->

    </Engine>

The code is deployed into the folder tudom. The .html works fine, but
my callbacks dont work.
A snippet from my web.xml:


<servlet>
        <servlet-name>StartService</servlet-name>
        <servlet-class>tudom.start.server.StartServiceImpl</servlet-class>
  </servlet>
  <servlet-mapping>
        <servlet-name>StartService</servlet-name>
        <url-pattern>/tudom.start.Start/StartService</url-pattern>
  </servlet-mapping>


When im changing the URL-Pattern to

<url-pattern>/tudom.start.Start/StartService</url-pattern>

the Servlet gets reachable, but this doesnt interest GWT, cause it
still tries to load /tudom.start.Start/StartService.

Could everyone help me? Im now searching some hours and cant find
anything. Hope you can help me.

Greetings

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

Reply via email to