Hi,
I am trying out the sample code for the XMPP implementation. I have
configured an inbound-service in my appengine-web.xml:
<inbound-services>
<service>xmpp_message</service>
</inbound-services>
Also, added all the servlet related tags in my web.xml:
<servlet>
<servlet-name>xmppreceiver</servlet-name>
<servlet-class>com.test.spe.cloud.google.XMPPAgentServlet</servlet-
class>
</servlet>
<servlet-mapping>
<servlet-name>xmppreceiver</servlet-name>
<url-pattern>/_ah/xmpp/message/chat/</url-pattern>
</servlet-mapping>
I have implemented a very basic servlet which reads the incoming
string and sends the same back.
I am getting the following error in my GAE dashboard logs:
Cricitcal:
Uncaught exception from servlet
javax.servlet.UnavailableException: Initialization failed.
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:
200)
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:
168)
......
Warning:
Failed startup of context
com.google.apphosting.utils.jetty.runtimeappenginewebappcont...@aa3518{/,/
base/data/home/apps/mindtree-xmpp/4.345467382720735558}
java.lang.NullPointerException
.....
Error:
javax.servlet.ServletContext log: unavailable
javax.servlet.UnavailableException:
com.test.spe.cloud.google.XMPPAgentServlet
at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:79)
....
Warning:
EXCEPTION
java.lang.ClassNotFoundException:
com.test.spe.cloud.google.XMPPAgentServlet
at
com.google.appengine.runtime.Request.process-028d317b11a1777b(Request.java)
...
__________________________________________________________________________________
Any suggestions on what could be the possible cause for this error? I
am using Eclipse 3.6 with the latest plugins and SDK. I am doing the
deployments through eclipse itself. Am I missing any servlet related
jar files?
Help will be greatly appreciated.
Best,
Ronak
--
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.