Re: how to deploy a GWT Application online?

2009-08-18 Thread Jason Parekh
Hi Sam,
You'll need to run Tomcat or another server that implements the servlet spec
instead of your WAMP setup.  I don't have any links off hand, but search
around and you shall find a bunch of links for achieving this set up.

jason

On Mon, Aug 17, 2009 at 6:00 PM, sam sabir...@gmail.com wrote:


 Thanks Jason and Lal,

 When I run my application in eclipse it works fine.

 Then, I compiled the application by clicking the red icon ie 'GWT
 Compile Project'. On settings, I picked 'log level'=all, and 'output
 style'=detailed.

 Finally, I get the message:Compilation succeeded -- 97.258s  after
 bunch of other lines.

 Then, I took the content inside the 'war' folder and posted it online
 using dreamweaver.

 Clientside of the application works fine.

 However, when I click on something that requires to get data from
 server Implementation method, then it fails and I get the error:

 com.google.gwt.user.client.rpc.StatusCodeException:

 As for hosting server, my server has 'apache 2.2.11.' My computer also
 has WAMP with 'apache 2.2.11'.

 Is there a way to deploy GWT application online with apache 2.2.11?

 I am new to this, thanks for the support.

 sam

 On Aug 17, 11:13 am, Jason Parekh jasonpar...@gmail.com wrote:
  Hey Sam,
  As Lal explains below, creating the war file and deploying it into Tomcat
  (or another app server) should be enough.
 
  Could you explain how you tried to deploy it online?  How did you package
 it
  all, where did you deploy to, etc.?
 
  Have you tried any other apps on your server that are able to access the
  database?
 
  jason
 
 
 
  On Mon, Aug 17, 2009 at 1:00 AM, sam sabir...@gmail.com wrote:
 
   I have been working on my summer GWT Application Project. Finally, I
   have created an application using eclipse. It has uses RPC, and I use
   JDBC MYSQL to access database.
 
   My application is almost complete; it runs fine in hosted mode and
   accesses database.
 
   But, today I tried to deploy it online. I could not get my client and
   server side to interact, let alone accessing database.
 
   Can anyone help me figure out how to deploy GWT application online?
   How do I get my client and server side to interact when deployed.
   Isn't posting the content under 'war' enough?
 
   Thanks,
   sam
 


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



Re: how to deploy a GWT Application online?

2009-08-17 Thread lalu ml
Hi sam,
 I think you have completed your gwt application in your local
machine with mysql database.So I think its working fine in your local
machine [in eclipse editor].You now create a war for the entire project ie
it contains all codes of client and server and should put into the webapps
of tomcat server or corresponding location of any other server ie jboss or
weblogic or anything.And you can take the url in any browzer.please make
sure the client and server codes[class files] in a single war.

Regards,
   Lal

On Mon, Aug 17, 2009 at 10:30 AM, sam sabir...@gmail.com wrote:


 I have been working on my summer GWT Application Project. Finally, I
 have created an application using eclipse. It has uses RPC, and I use
 JDBC MYSQL to access database.

 My application is almost complete; it runs fine in hosted mode and
 accesses database.

 But, today I tried to deploy it online. I could not get my client and
 server side to interact, let alone accessing database.

 Can anyone help me figure out how to deploy GWT application online?
 How do I get my client and server side to interact when deployed.
 Isn't posting the content under 'war' enough?


 Thanks,
 sam

 


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



Re: how to deploy a GWT Application online?

2009-08-17 Thread Jason Parekh
Hey Sam,
As Lal explains below, creating the war file and deploying it into Tomcat
(or another app server) should be enough.

Could you explain how you tried to deploy it online?  How did you package it
all, where did you deploy to, etc.?

Have you tried any other apps on your server that are able to access the
database?

jason

On Mon, Aug 17, 2009 at 1:00 AM, sam sabir...@gmail.com wrote:


 I have been working on my summer GWT Application Project. Finally, I
 have created an application using eclipse. It has uses RPC, and I use
 JDBC MYSQL to access database.

 My application is almost complete; it runs fine in hosted mode and
 accesses database.

 But, today I tried to deploy it online. I could not get my client and
 server side to interact, let alone accessing database.

 Can anyone help me figure out how to deploy GWT application online?
 How do I get my client and server side to interact when deployed.
 Isn't posting the content under 'war' enough?


 Thanks,
 sam

 


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



Re: how to deploy a GWT Application online?

2009-08-17 Thread sam

Thanks Jason and Lal,

When I run my application in eclipse it works fine.

Then, I compiled the application by clicking the red icon ie 'GWT
Compile Project'. On settings, I picked 'log level'=all, and 'output
style'=detailed.

Finally, I get the message:Compilation succeeded -- 97.258s  after
bunch of other lines.

Then, I took the content inside the 'war' folder and posted it online
using dreamweaver.

Clientside of the application works fine.

However, when I click on something that requires to get data from
server Implementation method, then it fails and I get the error:

com.google.gwt.user.client.rpc.StatusCodeException:

As for hosting server, my server has 'apache 2.2.11.' My computer also
has WAMP with 'apache 2.2.11'.

Is there a way to deploy GWT application online with apache 2.2.11?

I am new to this, thanks for the support.

sam

On Aug 17, 11:13 am, Jason Parekh jasonpar...@gmail.com wrote:
 Hey Sam,
 As Lal explains below, creating the war file and deploying it into Tomcat
 (or another app server) should be enough.

 Could you explain how you tried to deploy it online?  How did you package it
 all, where did you deploy to, etc.?

 Have you tried any other apps on your server that are able to access the
 database?

 jason



 On Mon, Aug 17, 2009 at 1:00 AM, sam sabir...@gmail.com wrote:

  I have been working on my summer GWT Application Project. Finally, I
  have created an application using eclipse. It has uses RPC, and I use
  JDBC MYSQL to access database.

  My application is almost complete; it runs fine in hosted mode and
  accesses database.

  But, today I tried to deploy it online. I could not get my client and
  server side to interact, let alone accessing database.

  Can anyone help me figure out how to deploy GWT application online?
  How do I get my client and server side to interact when deployed.
  Isn't posting the content under 'war' enough?

  Thanks,
  sam
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



how to deploy a GWT Application online?

2009-08-16 Thread sam

I have been working on my summer GWT Application Project. Finally, I
have created an application using eclipse. It has uses RPC, and I use
JDBC MYSQL to access database.

My application is almost complete; it runs fine in hosted mode and
accesses database.

But, today I tried to deploy it online. I could not get my client and
server side to interact, let alone accessing database.

Can anyone help me figure out how to deploy GWT application online?
How do I get my client and server side to interact when deployed.
Isn't posting the content under 'war' enough?


Thanks,
sam

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