You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@abdera.apache.org by Kiran Subbaraman <ki...@yahoo.com> on 2007/10/08 06:44:36 UTC

Help with APP Server example

I had a look at the examples, for APP server, from here:
http://svn.apache.org/repos/asf/incubator/abdera/java/trunk/examples/src/main/java/org/apache/abdera/examples/appserver/

Created classes which are similar to the ones in the example - basically a
copy-paste. 

Added AbderaServlet to the web.xml, and set init-params to point to my
service context. The param name being:
<param-name>org.apache.abdera.protocol.server.ServiceContext</param-name>

Created a WAR, and deployed in Geronimo.
I enter the url localhost:8080/atom/ and get a 404. Though I notice that my
service context is created and the getTargetResolver, and getProviderManager
methods are invoked. I had inserted sys.out statements to track the flow. 
I get a 404 for any of the /atom/feed, or /atom/feed/specific-id urls too.

I had a look at the following content to understand if there was a way out,
not much help for my simple scenario:
Spring integration: http://cwiki.apache.org/ABDERA/spring-integration.html
Discussion thread:
http://www.nabble.com/Advice-on-implementing-an-APP-server-tf3260839.html

Is there any other configuration setting required from an Abdera perspective
to make this work?

Kiran
-- 
View this message in context: http://www.nabble.com/Help-with-APP-Server-example-tf4585793.html#a13090425
Sent from the abdera-user mailing list archive at Nabble.com.


Re: Help with APP Server example

Posted by James M Snell <ja...@gmail.com>.
HttpResponseServletAdapter has no dependencies on the spring module and
it is part of the server module in trunk. It does not ship with the
0.3.0 release because that change was made after the 0.3.0 branch was cut.

- James

David Calavera wrote:
> Kiran, AbderaServlet doesn't work without HttpResponseServletAdapter, so an
> abdera server doesn't work unless you are using spring integration or other
> servlet.
> 
> Regards
> 
> On 10/8/07, Kiran Subbaraman <ki...@yahoo.com> wrote:
>>
>> I guess that the attached link is the reason why I was seeing this error:
>>
>> http://www.nabble.com/HttpResponseServletAdapter-class-is-missed-in-0.3.0-final-zip-tf4586949.html
>>
>> Again, there was no details in the error to suspect that the missing class
>> caused it. Let me check with the previous SNAPSHOT builds of ABDERA 0.3 to
>> confirm that this is the case.
>> Kiran
>>
>>
>> Kiran Subbaraman wrote:
>>> I had a look at the examples, for APP server, from here:
>>>
>> http://svn.apache.org/repos/asf/incubator/abdera/java/trunk/examples/src/main/java/org/apache/abdera/examples/appserver/
>>> Created classes which are similar to the ones in the ....
>>>
>> --
>> View this message in context:
>> http://www.nabble.com/Help-with-APP-Server-example-tf4585793.html#a13097244
>> Sent from the abdera-user mailing list archive at Nabble.com.
>>
>>
> 
> 

Re: Help with APP Server example

Posted by David Calavera <da...@gmail.com>.
Kiran, AbderaServlet doesn't work without HttpResponseServletAdapter, so an
abdera server doesn't work unless you are using spring integration or other
servlet.

Regards

On 10/8/07, Kiran Subbaraman <ki...@yahoo.com> wrote:
>
>
> I guess that the attached link is the reason why I was seeing this error:
>
> http://www.nabble.com/HttpResponseServletAdapter-class-is-missed-in-0.3.0-final-zip-tf4586949.html
>
> Again, there was no details in the error to suspect that the missing class
> caused it. Let me check with the previous SNAPSHOT builds of ABDERA 0.3 to
> confirm that this is the case.
> Kiran
>
>
> Kiran Subbaraman wrote:
> >
> > I had a look at the examples, for APP server, from here:
> >
> http://svn.apache.org/repos/asf/incubator/abdera/java/trunk/examples/src/main/java/org/apache/abdera/examples/appserver/
> >
> > Created classes which are similar to the ones in the ....
> >
>
> --
> View this message in context:
> http://www.nabble.com/Help-with-APP-Server-example-tf4585793.html#a13097244
> Sent from the abdera-user mailing list archive at Nabble.com.
>
>


-- 
David Calavera
http://www.thinkincode.net

Re: Help with APP Server example

Posted by Kiran Subbaraman <ki...@yahoo.com>.
I guess that the attached link is the reason why I was seeing this error:
http://www.nabble.com/HttpResponseServletAdapter-class-is-missed-in-0.3.0-final-zip-tf4586949.html

Again, there was no details in the error to suspect that the missing class
caused it. Let me check with the previous SNAPSHOT builds of ABDERA 0.3 to
confirm that this is the case.
Kiran


Kiran Subbaraman wrote:
> 
> I had a look at the examples, for APP server, from here:
> http://svn.apache.org/repos/asf/incubator/abdera/java/trunk/examples/src/main/java/org/apache/abdera/examples/appserver/
> 
> Created classes which are similar to the ones in the ....
> 

-- 
View this message in context: http://www.nabble.com/Help-with-APP-Server-example-tf4585793.html#a13097244
Sent from the abdera-user mailing list archive at Nabble.com.