jijo-paulose / gwtupload

Automatically exported from code.google.com/p/gwtupload
Other
0 stars 0 forks source link

java.rmi.server.UID is a restricted class #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. By running the app in dev mode in eclipse (sdk 2.0.3 and
appengine-java-sdk-1.3.3.1) (with gwt:run it works fine).
2. Uploading fails with a trace.
3.

What is the expected output? What do you see instead?
File thumbnail should be visible.
Image file failed to upload.

What version of the product are you using? On what operating system?
NA, error is self explanatory.

Please provide any additional information below.
I dont think its a problem with app. I dont have gae as a dependency in pom
whereas eclipse might have attaching while running inside.
However java.rmi.server.UID is a restricted class.
using
<groupId>gwtupload</groupId>
<artifactId>gwtupload</artifactId>
<version>0.5.8-M5</version>

Original issue reported on code.google.com by piyushgarg80 on 31 May 2010 at 3:40

Attachments:

GoogleCodeExporter commented 9 years ago
found -Xmx512m
-javaagent:/media/repo/appengine-java-sdk-1.3.3.1/lib/agent/appengine-agent.jar 
in
eclipse launcher
by removing it is showing "Projects using App Engine 1.2.6 or later require a 
Java
agent. Add this VM argument:
-javaagent:/appengine-java-sdk-1.3.3.1/lib/agent/appengine-agent.jar"
Is gwdupload cause restriction to gae?

Original comment by piyushgarg80 on 31 May 2010 at 3:51

GoogleCodeExporter commented 9 years ago
GWTUpload GAE suport is very experimental because of the restrictions of the 
platform.
Nevertheless you could use gwtupload.jar + gwtupload-gae.jar and extend the 
AppEngineUploadAction instead of UploadAction in your servlet, if not you will 
get errors like the java.rmi.server.UID.
Also I recomend that you upgrade to 0.6-SNAPSHOT or 0.5.8 

Original comment by manuel.carrasco.m on 1 Jul 2010 at 1:19

GoogleCodeExporter commented 9 years ago

Original comment by manuel.carrasco.m on 14 Jul 2010 at 6:34