It seems that when deploying the .jar file used by your application are not
being uploaded to the server in GAE.
so, as I alredy told you the only thing that could be causing this error (at
least the one I know) is the lack of the .jar files (libraries) in the right
Directory I mean, war/WEB-INF/lib/


Ronmell.

2010/7/20 Sajid <[email protected]>

> Hi Ronmell,
>
> I haven't run the examples. My application runs perfectly on local
> server. but after deployment, it gives the error.
>
> On Jul 21, 12:21 am, Ronmell Fuentes <[email protected]> wrote:
> > when running the examples you've got the same error?
> >
> > 2010/7/20 Sajid <[email protected]>
> >
> > > I have already checked that. All jars are in WEB-INF lib folder.
> >
> > > On Jul 20, 11:58 pm, Ronmell Fuentes <[email protected]> wrote:
> > > > Hi Sajid.
> >
> > > > Try to copy all the .jar files used by your app to the /WAR/lib
> directory
> > > of
> > > > your app.
> >
> > > > Ronmell
> >
> > > > 2010/7/20 Sajid <[email protected]>
> >
> > > > > Hi
> >
> > > > > I am using spring 3, jsf2 and jpa. I load entity manager factory
> sing
> > > > > spring context xml. However, I am getting class not found error for
> > > > > javax.persistence.EntityManagerFactory
> >
> > > > > StackTrace:
> > > > > #
> >
> > > > > javax.servlet.ServletException: java.lang.RuntimeException:
> > > > > java.lang.ClassNotFoundException:
> > > > > javax.persistence.EntityManagerFactory
> > > > >        at
> >
> > >
> com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:
> > > > > 240)
> > > > >        at
> > > > >
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> > > > > 152)
> > > > >        at org.mortbay.jetty.Server.handle(Server.java:326)
> > > > >        at
> > > > > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> > > > > 542)
> > > > >        at org.mortbay.jetty.HttpConnection
> > > > > $RequestHandler.headerComplete(HttpConnection.java:923)
> > > > >        at
> >
> > >
> com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:
> > > > > 76)
> > > > >        at
> > > org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> > > > >        at
> >
> > >
> com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:
> > > > > 135)
> > > > >        at
> >
> > >
> com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
> > > > > 250)
> > > > >        at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> > > > > $6.handleBlockingRequest(RuntimePb.java:7115)
> > > > >        at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> > > > > $6.handleBlockingRequest(RuntimePb.java:7113)
> > > > >        at
> >
> > >
> com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:
> > > > > 24)
> > > > >        at
> > > com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
> > > > > 398)
> > > > >        at com.google.net.rpc.impl.Server$2.run(Server.java:852)
> > > > >        at
> >
> > >
> com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:
> > > > > 56)
> > > > >        at
> >
> > >
> com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:
> > > > > 576)
> > > > >        at com.google.net.rpc.impl.Server.startRpc(Server.java:807)
> > > > >        at
> > > com.google.net.rpc.impl.Server.processRequest(Server.java:369)
> > > > >        at
> >
> > >
> com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:
> > > > > 442)
> > > > >        at
> > > > >
> com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:
> > > > > 319)
> > > > >        at
> > > > >
> com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:
> > > > > 290)
> > > > >        at
> > > com.google.net.async.Connection.handleReadEvent(Connection.java:
> > > > > 474)
> > > > >        at
> >
> > >
> com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:
> > > > > 831)
> > > > >        at
> > > > >
> com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:
> > > > > 207)
> > > > >        at
> > > com.google.net.async.EventDispatcher.loop(EventDispatcher.java:
> > > > > 103)
> > > > >        at
> > > > >
> com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:
> > > > > 251)
> > > > >        at com.google.apphosting.runtime.JavaRuntime
> > > > > $RpcRunnable.run(JavaRuntime.java:417)
> > > > >        at java.lang.Thread.run(Unknown Source)
> > > > > Caused by: java.lang.RuntimeException:
> > > > > java.lang.ClassNotFoundException:
> > > > > javax.persistence.EntityManagerFactory
> > > > >        at
> >
> > >
> com.google.apphosting.runtime.jetty.SessionManager.deserialize(SessionManager.java:
> > > > > 389)
> > > > >        at
> >
> > >
> com.google.apphosting.runtime.jetty.SessionManager.loadSession(SessionManager.java:
> > > > > 307)
> > > > >        at
> >
> > >
> com.google.apphosting.runtime.jetty.SessionManager.getSession(SessionManager.java:
> > > > > 282)
> > > > >        at
> >
> > >
> org.mortbay.jetty.servlet.AbstractSessionManager.getHttpSession(AbstractSessionManager.java:
> > > > > 237)
> > > > >        at
> >
> > >
> org.mortbay.jetty.servlet.SessionHandler.setRequestedId(SessionHandler.java:
> > > > > 246)
> > > > >        at
> > > > >
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> > > > > 136)
> > > > >        at
> > > > >
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> > > > > 765)
> > > > >        at
> > > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> > > > > 418)
> > > > >        at
> >
> > >
> com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:
> > > > > 238)
> > > > >        ... 27 more
> > > > > Caused by: java.lang.ClassNotFoundException:
> > > > > javax.persistence.EntityManagerFactory
> > > > >        at java.net.URLClassLoader$1.run(Unknown Source)
> > > > >        at java.security.AccessController.doPrivileged(Native
> Method)
> > > > >        at java.net.URLClassLoader.findClass(Unknown Source)
> > > > >        at java.lang.ClassLoader.loadClass(Unknown Source)
> > > > >        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown
> Source)
> > > > >        at java.lang.ClassLoader.loadClass(Unknown Source)
> > > > >        at
> >
> > >
> com.google.apphosting.runtime.security.RuntimeClassLoader.loadFilteredClass(RuntimeClassLoader.java:
> > > > > 242)
> > > > >        at
> >
> > >
> com.google.apphosting.runtime.security.RuntimeClassLoader.loadPrivilegedClass(RuntimeClassLoader.java:
> > > > > 197)
> > > > >        at
> >
> > >
> com.google.apphosting.runtime.security.RuntimeClassLoader.loadClass(RuntimeClassLoader.java:
> > > > > 151)
> > > > >        at java.lang.ClassLoader.loadClass(Unknown Source)
> > > > >        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> > > > >        at java.lang.Class.forName0(Native Method)
> > > > >        at java.lang.Class.forName(Unknown Source)
> > > > >        at java.io.ObjectInputStream.resolveProxyClass(Unknown
> Source)
> > > > >        at java.io.ObjectInputStream.readProxyDesc(Unknown Source)
> > > > >        at java.io.ObjectInputStream.readClassDesc(Unknown Source)
> > > > >        at java.io.ObjectInputStream.readOrdinaryObject(Unknown
> Source)
> > > > >        at java.io.ObjectInputStream.readObject0(Unknown Source)
> > > > >        at java.io.ObjectInputStream.defaultReadFields(Unknown
> Source)
> > > > >        at java.io.ObjectInputStream.readSerialData(Unknown Source)
> > > > >        at java.io.ObjectInputStream.readOrdinaryObject(Unknown
> Source)
> > > > >        at java.io.ObjectInputStream.readObject0(Unknown Source)
> > > > >        at java.io.ObjectInputStream.readObject(Unknown Source)
> > > > >        at java.util.HashMap.readObject(Unknown Source)
> > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> > > > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > > Source)
> > > > >        at java.lang.reflect.Method.invoke(Unknown Source)
> > > > >        at java.io.ObjectStreamClass.invokeReadObject(Unknown
> Source)
> > > > >        at java.io.ObjectInputStream.readSerialData(Unknown Source)
> > > > >        at java.io.ObjectInputStream.readOrdinaryObject(Unknown
> Source)
> > > > >        at java.io.ObjectInputStream.readObject0(Unknown Source)
> > > > >        at java.io.ObjectInputStream.defaultReadFields(Unknown
> Source)
> > > > >        at java.io.ObjectInputStream.readSerialData(Unknown Source)
> > > > >        at java.io.ObjectInputStream.readOrdinaryObject(Unknown
> Source)
> > > > >        at java.io.ObjectInputStream.readObject0(Unknown Source)
> > > > >        at java.io.ObjectInputStream.readArray(Unknown Source)
> > > > >        at java.io.ObjectInputStream.readObject0(Unknown Source)
> > > > >        at java.io.ObjectInputStream.readObject(Unknown Source)
> > > > >        at java.util.HashMap.readObject(Unknown Source)
> > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> > > > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > > Source)
> > > > >        at java.lang.reflect.Method.invoke(Unknown Source)
> > > > >        at java.io.ObjectStreamClass.invokeReadObject(Unknown
> Source)
> > > > >        at java.io.ObjectInputStream.readSerialData(Unknown Source)
> > > > >        at java.io.ObjectInputStream.readOrdinaryObject(Unknown
> Source)
> > > > >        at java.io.ObjectInputStream.readObject0(Unknown Source)
> > > > >        at java.io.ObjectInputStream.readArray(Unknown Source)
> > > > >        at java.io.ObjectInputStream.readObject0(Unknown Source)
> > > > >        at java.io.ObjectInputStream.readObject(Unknown Source)
> > > > >        at java.util.HashMap.readObject(Unknown Source)
> > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> > > > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > > Source)
> > > > >        at java.lang.reflect.Method.invoke(Unknown Source)
> > > > >        at java.io.ObjectStreamClass.invokeReadObject(Unknown
> Source)
> > > > >        at java.io.ObjectInputStream.readSerialData(Unknown Source)
> > > > >        at java.io.ObjectInputStream.readOrdinaryObject(Unknown
> Source)
> > > > >        at java.io.ObjectInputStream.readObject0(Unknown Source)
> > > > >        at java.io.ObjectInputStream.readObject(Unknown Source)
> > > > >        at java.util.HashMap.readObject(Unknown Source)
> > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> > > > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > > Source)
> > > > >        at java.lang.reflect.Method.invoke(Unknown Source)
> > > > >        at java.io.ObjectStreamClass.invokeReadObject(Unknown
> Source)
> >
> > ...
> >
> > read more »
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-appengine-java?hl=en.

Reply via email to