Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Trouble with a REST web app


I am experimenting with using XAP as the web server for a RESTful application. I have a trivial application that works with Tomcat. When I try to deploy it into XAP I get:

2012-11-25 21:59:49,122 GSC SEVERE [com.gigaspaces.grid.gsc] - Failed to instantiate de.vogella.jersey.first [1]; Caused by: org.jini.rio.core.JSBInstantiationException: java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V

I suspect the problem has to do with asm.jar, but I haven't been able to solve it. Any suggestions?



{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3953]{quote}

asked 2012-11-25 21:13:43 -0500

subuta gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

Are you using the org.objectweb.asm classes?
You might have multiple versions of this library within the PU. This might be causing the problem.

Try to place the latest asm.jar within the \gigaspaces-xap-premium-9.1.x-ga\lib\platform\ext to be loaded first. Lets see if this resolves the problem.

answered 2012-11-26 09:48:43 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-11-25 21:13:43 -0500

Seen: 111 times

Last updated: Nov 26 '12