Finally my RPC is being called and i am receiving updates from my
server side. The reason it was not working before is:

In my code, on the server side i am loading an application like
example i am loading an OPC client(like calling its instance or
actually launching it), this is working in eclipse very well. When
ever i run the module as a web application, when ever i load the page
my Opc client comes up(the application launches).

But when i deployed it nothing is coming back from the server, my
client is making an RPC call, but the call was never returned even i
waited for 15 mins, the response shows only one button "Load
Response", my application never launches. In simple words,

In my server implementation i am opening up a word file, this is
working in eclipse but when i deployed in tomcat, my word file never
opens, and this is what happening in firebug,

I see the POST in the Console panel of firebug, but i don't see
equivalent POST in net panel. so the RPC (POST) call is made which is
shown in console panel, but it doesn't show up in net panel

POST:
6|0|6|http://localhost:8080/stockwatcher2/stockwatcher/|
3597B04883DC14640FA983D0947C45F0|
com.google.gwt.sample.stockwatcher.client.StockPriceService|getPrices|
[Ljava.lang.String;/2600011424|#INPUT Tag#I|1|2|3|4|3|5|5|5|5|1|6|5|1|
6|5|1|6|

RESPONSE:
LOAD RESPONSE button, nothing is happening when i click it.

If i remove the code that launches the word file, and just make a
general RPC call, i see POST in both the console panel and net panel.
So the RPC call is made which is shown in console panel and it is also
shown up in net panel.

POST:
6|0|5|http://localhost:8080/stockwatcher2/stockwatcher/|
3597B04883DC14640FA983D0947C45F0|
com.google.gwt.sample.stockwatcher.client.StockPriceService|
getInputOutputValues|[Ljava.lang.String;/2600011424|1|2|3|4|2|5|5|5|0|
0|

RESPONSE:
//OK[0,1,["[Lcom.google.gwt.sample.stockwatcher.client.StockPrice;/
4139822560"],0,6]

So can any one help me, y is the app(word file) not launching? do i
need to do something more? does anyone have the same situation.




On Dec 29, 11:34 am, AmaraSat <[email protected]> wrote:
> I followed your URL completely!!
>
> I modifed the build.xml to include external jars, i build the
> build.xml using RunAs Ant Build from eclipse, i selected the options
> build, javac, gwtc, war, libs.
>
> I copied the generated StockWatcher.war file into webapps folder of
> Tomcat.
>
> The folder was unzipped automtically, but i dont see anything in the
> net panle, there are no post massages i only see get messages in net
> panel:
> GET StockWatcher.nocache.js
> GET GoogleCode.png
>
> But its working perfectly from eclipse->RunAs->Web Application
>
> what do you guys think. If i can give the StockWatcher.war file can
> anyone take a look at it?
>
> On Dec 29, 10:06 am, AmaraSat <[email protected]> wrote:
>
> > Thanks for the Response Nirmal,
>
> > Yes i have seen the net panel for firebug i dont see any post
> > messages: So this is what happening!!
>
> > The example for StockWatcher is working.
> > In the stockwatcher example i added some external jar files, its still
> > working
> > Now i have added some native library location to the external jar
> > files, its still working
> > As soon as i modify some code to include new packages and start an
> > external com client(related to the external jar files), its not
> > working
> > Since i am working on eclipse, i am not modifying the Build.xml file,
> > i am manually adding external jars to the lib folder of WEB-INF.
> > Now i compile after this and copy the class files and cache files to
> > webapps in tomcat.
>
> > Is this the correct procedure?
> > Eventhough working with eclipse do i have to modify Build.xml and do
> > ant build instead of GWT compile? i am not modifying it because i
> > never include it in the tomcat webapps folder!!
>
> > On Dec 29, 1:33 am, Nirmal Patel <[email protected]> wrote:
>
> > > Hi Amarsat,
>
> > > As Thomas already pointed; it seems your GUI code is not making any RPC
> > > calls in the first place.
> > > To establish that your GUI is actually making those RPC calls.. check for
> > > those URLs in Firebug Net panel... I am attaching a screenshot of same 
> > > from
> > > my sample app.
>
> > > Here's a guide of deploying
> > > RPC:http://code.google.com/webtoolkit/doc/trunk/DevGuideServerCommunicati.....
> > > (if you havent read it already)
>
> > > Regards,
> > > Nirmal

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