migration from GWT 1.4 to GWT 1.7 throwing exception content type was text/palin

2010-03-28 Thread pravn
Hi,

 After migrating to GWT 1.7 from GWT 1.4 we are getting an exception
saying  content type was text/plain; Expcted text/x-gwt-rpc.

Can anyone suggest what might be the reason? Is there any
configuration changes required?

We have checked the jar files used and all of them are from GWT 1.7
only.

Appreciate your inputs to resolve this issue.

Thanks and Regards,
Praveen

-- 
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-tool...@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: Isssues in migration to GWT 1.5

2008-12-26 Thread pravn

hi,

 I tried to remove jar fiels one by one and tested.
 This issue is coming only when i add weblogic.jar file which is used
by webservices modules.
 Anyone used weblogic.jar library with GWT 1.5?

Thanks and Regards,
Praveen



On Dec 26, 10:23 am, pravn pravn...@gmail.com wrote:
 Hi,

  Our current application is using GWT 1.4.
 When i try to migrate into GWt 1.5 I am facing following exception 
 inhostedmode
 Exception in thread main java.lang.NoClassDefFoundError
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0
 (Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance
 (Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
 (Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at javax.xml.parsers.FactoryFinder.newInstance(Unknown Source)
         at javax.xml.parsers.FactoryFinder.findJarServiceProvider
 (Unknown Source)
         at javax.xml.parsers.FactoryFinder.find(Unknown Source)
         at javax.xml.parsers.DocumentBuilderFactory.newInstance
 (Unknown Source)
         at org.apache.commons.modeler.util.DomUtil.readXml
 (DomUtil.java:284)
         at
 org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.execute
 (MbeansDescriptorsDOMSource.java:130)
         at
 org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.loadDescripto­rs
 (MbeansDescriptorsDOMSource.java:120)
         at org.apache.commons.modeler.Registry.load(Registry.java:819)
         at org.apache.commons.modeler.Registry.loadDescriptors
 (Registry.java:931)
         at org.apache.commons.modeler.Registry.loadDescriptors
 (Registry.java:909)
         at org.apache.commons.modeler.Registry.findDescriptor
 (Registry.java:992)
         at org.apache.commons.modeler.Registry.findManagedBean
 (Registry.java:696)
         at org.apache.commons.modeler.Registry.findManagedBean
 (Registry.java:1047)
         at org.apache.commons.modeler.Registry.registerComponent
 (Registry.java:859)
         at org.apache.coyote.tomcat5.CoyoteConnector.initialize
 (CoyoteConnector.java:1351)
         at org.apache.catalina.startup.Embedded.start(Embedded.java:
 851)
         at com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer.init
 (EmbeddedTomcatServer.java:244)
         at com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer.start
 (EmbeddedTomcatServer.java:69)
         at com.google.gwt.dev.GWTShell.startUp(GWTShell.java:778)
         at com.google.gwt.dev.GWTShell.run(GWTShell.java:582)
         at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

 When i tried to compile and generate js fiels, only
 com.abc.xyz.Test.nocahce.js
 GWT 1.4 compilers where generating multiple js fiels and corresponding
 xml fiels also.
 Can u plz asdvice me what  might have gone wrong while migrating GWT
 1.5?

 Thanks in advance.
 pravn
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



need to change http response of RPC to 302

2008-10-08 Thread pravn

Hi,

 I have written one RPC method  isUserAdmin() which returns String[].
 Due to some vulnerability reasons, i have to set the http reponse
status of this method  as 302.

I added following line as first line in method to change the status.
/
this.getThreadLocalResponse().setStatus(302);
//

No use whatever i have done. It's still returning http 200 only.


Is there any way to change http status in RPC method?


Thanx in advance.

Regards,
Prvn

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---