abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pratimat <ptummala...@yahoo.com>
Subject Issue running AbderaServer on Glassfish
Date Sun, 10 Aug 2008 15:44:53 GMT

Hello All,

I have been having a few issues with the sample Abdera server (Employee)
which came w/ downloading 0.4.0. As you all know, that server is setup to
run w/ Jetty. I am trying to modify this server and have it run on Glassfish
instead of Jetty, but I am having some issues. I would appreciate any

ISSUE: When I try to run my application, the abdera server is not really
getting started. What am I doing wrong or have I missed out something? When
I run my client I get the following
ERROR: java.lang.ClassCastException:

 This is what I have done so far:

1> Created a web application in Netbeans to run on the Glassfish server.
2> I have modified the web.xml according to the deployment descriptor on the
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
  <servlet id="abdera">
  <servlet-mapping id="abdera-mapping">

3> Instead of the default Provider, i wanted to use the Custom Provider, so
i have created a customprovider.java where I have set my TargetResolver and
4> I have also created servelet EmployeeProviderServlet and instantiated the
custom provider in here.
5> Compiled and ran the application.


View this message in context: http://www.nabble.com/Issue-running-AbderaServer-on-Glassfish-tp18914228p18914228.html
Sent from the abdera-dev mailing list archive at Nabble.com.

View raw message