I took the first shot at implementing the new GCM CCS server on Google App Engine using the Smack library for XMPP.
However, I get below exceptions and could not find a way to resolve it. I do have smack.jar in WEB-INF/lib directory. Has anyone else tried it out and know how to resolve this?
[s~mighty-app/0-58.369479717923256319].<stderr>: Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.LastActivityManager
[s~mighty-app/0-58.369479717923256319].<stderr>: Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.commands.AdHocCommandManager
Error for /client
java.lang.NoClassDefFoundError: javax.naming.InitialContext is a restricted class. Please see the Google App Engine developer's guide for more details.
at com.google.appengine.runtime.Request.process-0046d50b9de5cb22(Request.java)
at javax.naming.InitialContext.<clinit>(InitialContext.java)
at org.jivesoftware.smack.util.dns.JavaxResolver.<clinit>(JavaxResolver.java:45)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:111)
at org.jivesoftware.smack.SmackConfiguration.parseClassToLoad(SmackConfiguration.java:335)
at org.jivesoftware.smack.SmackConfiguration.<clinit>(SmackConfiguration.java:95)
at org.jivesoftware.smack.Connection.<clinit>(Connection.java:125)
at org.jivesoftware.smack.ConnectionConfiguration.<init>(ConnectionConfiguration.java:78)
at com.xmpp.test.GcmXmppSender.connect(GcmXmppSender.java:243)
...