users@glassfish.java.net

Glassfish Server Configuration + SUSE Environment

From: Jay Patel <jay4smile_at_yahoo.com>
Date: Fri, 15 Mar 2013 12:28:15 +0800 (SGT)

Hello,

I have installed Glassfish 3.1 server on SUSE Environment.
I have created one RESTLET Application.in that Application my Welcome File is index.jsp
After Deployment of my Application my Welcome file displayed properly.But When I called my service I got below Exception on Server side log...

[#|2013-03-15T00:28:18.007+0530|WARNING|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=94;_ThreadName=Thread-1;|StandardWrapperValve[RestletServlet]:
PWC1406: Servlet.service() for servlet RestletServlet threw exception
java.lang.NoSuchMethodError:
org.restlet.routing.VirtualHost.attach(Ljava/lang/String;Lorg/restlet/Restlet;)Lorg/restlet/routing/TemplateRoute;
    at
org.restlet.ext.servlet.ServerServlet.createServer(ServerServlet.java:510)
    at org.restlet.ext.servlet.ServerServlet.getServer(ServerServlet.java:914)
    at org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1082)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
    at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
    at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
    at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
    at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
    at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
    at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:662)

I have deployed this Application on Glassfish which was installed on MAC OS.Its working.

So, Can Anyone help me out. I need to solve this exception anyhow.Is there any permission problem Which I have to give.???
Is there something missing from my side in My Application
or its server fault.I have googled this error but I am unable to find
anything


JAY PATELDeveloper-JAVA
IndiaNIC Pvt. Ltd
(M): 9998842390