Server Side java.lang.ClassNotFoundException

2010-02-23 Thread Deerman
Hello.

I deployed this war to Tomcat and the client side works fine. However,
whenever I try and access the server-side, I get the following error
message in the log.

Feb 23, 2010 1:06:36 PM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Allocate exception for servlet ProviderDataService
java.lang.ClassNotFoundException:
com.google.gwt.user.client.rpc.RemoteService
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1387)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1233)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:698)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
124)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:
1847)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:
890)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1354)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1233)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:698)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
124)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:
1847)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:
890)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1354)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1233)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
1094)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:
808)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
845)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
447)
at java.lang.Thread.run(Thread.java:637)

Can anybody give some guidance?

Thanks

-- 
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: Image Rotates Itself

2010-01-19 Thread Deerman
Thank you for your reply.

The thing is I am actually not rotating anything. I am simply adding
the image to the Image object and it is rotating itself.
I checked the war folder, (that is where the image resides) and it is
not rotated. But when it is displayed, it is rotated.

Could it be a pixel issue or length width issue perhaps? I am totally
stumped.

On Jan 19, 10:09 am, Ashar Lohmar asharloh...@gmail.com wrote:
 Hi
 just a hint ... for example picasa if you say to rotate a image by
 clicking the round arrow it shows it rotated, but the image isn't
 really rotated picasa only makes an configuration file (hidden) that
 will be read every time u go there and it says in it that the image
 should be presented rotated, I saw the same thing on other picture
 managers to.
 maybe that's your problem or something similar to that.

 to check that this is the case, open the image with paint for example.

 I don't see another reason why this could happen, or maybe I'm wrong.

 Good luck

 On Jan 18, 5:10 pm, Deerman deermang...@gmail.com wrote:



  I am reading in an image from the user on the server side and copying
  it to the war folder. This process works fine.

  Then, through an RPC call, I get the location of the image and display
  the image to my Image object (which is placed in a VerticalPanel).

  The image is visibly, but the problem is for some images they are
  either rotated 90 degrees or -90 degrees. Am I missing something?

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




Image Rotates Itself

2010-01-18 Thread Deerman
I am reading in an image from the user on the server side and copying
it to the war folder. This process works fine.

Then, through an RPC call, I get the location of the image and display
the image to my Image object (which is placed in a VerticalPanel).

The image is visibly, but the problem is for some images they are
either rotated 90 degrees or -90 degrees. Am I missing something?

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




Moving From Mac To Windows Error

2009-12-30 Thread Deerman
Hi. I moved my project from my mac to a windows machine. I cleaned the
project, rebuilt, and I get the following error when I try to run it.

Starting Jetty on port 0
   [WARN] Failed startup of context
com.google.gwt.dev.shell.jetty.JettyLauncher
$webappcontextwithrel...@68c26c{/,E:\workspace\Project\war}
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)
at org.mortbay.jetty.webapp.TagLibConfiguration.configureWebApp
(TagLibConfiguration.java:168)
at org.mortbay.jetty.webapp.WebAppContext.startContext
(WebAppContext.java:1217)
at org.mortbay.jetty.handler.ContextHandler.doStart
(ContextHandler.java:513)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
448)
at com.google.gwt.dev.shell.jetty.JettyLauncher
$WebAppContextWithReload.doStart(JettyLauncher.java:447)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerWrapper.doStart
(HandlerWrapper.java:130)
at org.mortbay.jetty.handler.RequestLogHandler.doStart
(RequestLogHandler.java:115)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerWrapper.doStart
(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:39)
at com.google.gwt.dev.shell.jetty.JettyLauncher.start
(JettyLauncher.java:536)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:377)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:938)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:690)
at com.google.gwt.dev.DevMode.main(DevMode.java:251)

--

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.