Hi Miguel,

Sounds like you are not using an ant script to build a WAR file? It is
much easier to deploy a GWT app on JBoss as a WAR - just toss it into
the deploy directory and off it goes.

Search group for "build.xml ant deploy" for numerous examples to crib
from. If you find one that uses a build.properties as well, then you
can reuse it for all your GWT projects by just adjusting the
properties.

regards
gregor

On Nov 19, 3:34 pm, Lonifasiko <[EMAIL PROTECTED]> wrote:
> Hi,
>
> After seeing that StockWatcher RPC example works great under GWT
> hosted mode, I'm trying to deploy StockWatcher RPC example of GWT
> Tutorial (http://code.google.com/docreader/#p=google-web-toolkit-
> doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideRPCDeployment) under
> JBoss version 4.2.3. GA.
>
> The error under JBoss console is "Cannot load servlet class:
> com.google.gwt.sample.stockwatcher.server.StockPriceServiceImpl".
>
> I think problem could be related to the content copied under "WEB-INF
> \classes". Tutorial says:
>
> "Copy the compiled class files from your project to the /WEB-INF/
> classes folder in the staging area. Make sure you include all of the
> subdirectories as well."
>
> I've tried placing under this directory all .class files under "bin",
> both client and server side .class files, only server-side ones,
> mantaining and not mantaining directories structure above .class
> files, but at the moment there is no way to access de GWT RPC example
> under JBoss.
>
> URL and servlet mapping under web.xml file also seem to be correct:
>
> <servlet>
>    <servlet-name>StockPrices</servlet-name>
>    <servlet-
> class>com.google.gwt.sample.stockwatcher.server.StockPriceServiceImpl</
> servlet-class>
>  </servlet>
>
>  <!-- Standard Action Servlet Mapping -->
>  <servlet-mapping>
>    <servlet-name>StockPrices</servlet-name>
>    <url-pattern>/stockPrices</url-pattern>
>  </servlet-mapping>
>
> Am I missing something else?
>
> I'd really appreciate any help of any GWT and JBoss expert. Thanks
> very much in advance.
>
> Miguel
> Blog: http//lonifasiko.blogspot.com
--~--~---------~--~----~------------~-------~--~----~
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