asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Maxon <ima...@uci.edu>
Subject Re: Trouble adding a Servlet to the Cluster
Date Wed, 08 Jun 2016 01:55:19 GMT
So I actually do get a page. It's broken because a bunch of the resources
are not available from the serlvet but it does seem to work. How are you
testing your code? It works for me by running AsterixHyracksIntegrationUtil
in IntelliJ.

On Tue, Jun 7, 2016 at 6:30 AM, Till Westmann <tillw@apache.org> wrote:

> Hi Kaveen,
>
> I think that the diff for you current changes is this [1] - hope that's
> right. In that one a (maybe too) quick look didn’t show anything obvious.
> Did you try to run/debug the AsterixHyracksIntegrationUtil in your IDE to
> see if the CCApplicationEntryPoint’s startup proceeds as expected?
>
> Cheers,
> Till
>
> [1]
> https://github.com/apache/incubator-asterixdb/compare/master...KaveenR:asterixdb-1375-static-servlet
>
>
> On 7 Jun 2016, at 14:48, Kaveen Rodrigo wrote:
>
> Hey Till,
>>
>> I did take the APIServlet as template and duplicated it and did the needed
>> modifications to Cluster Controller Entry Point and the configuration xml
>> and a couple of more modifications.
>>
>> This is the branch which I'm working :
>>
>> https://github.com/KaveenR/incubator-asterixdb/commits/asterixdb-1375-static-servlet
>>
>> Still no luck, the logs don't show any errors
>>
>> cheers,
>> Kaveen
>>
>> On 7 June 2016 at 18:00, Till Westmann <tillw@apache.org> wrote:
>>
>> Hi Kaveen,
>>>
>>> I think that the current APIServlet already serves static content, so
>>> that
>>> could be a good example. If that’s not helping, maybe you could post a
>>> link
>>> to a patch to the list? Then anybody could take a look at that diff to
>>> see
>>> what’s happening/not working in more detail.
>>>
>>> Cheers,
>>> Till
>>>
>>>
>>> On 6 Jun 2016, at 15:24, u.k.k.rodrigo@gmail.com wrote:
>>>
>>> Hello all,
>>>
>>>>
>>>>
>>>> I'm trying to create a new servlet and add it into the Cluster
>>>> Controller
>>>> for the new AsterixDB Web UI I'm devoleping.
>>>>
>>>>
>>>> This is what I have done so far, I created aHttpServlet to host the
>>>> static files and added it to the CCAplicationEntryPoint also added the
>>>> port
>>>> numbers a HttpServlet to host the static files and added it to the
>>>> CCAplicationEntryPoint,  I also updated the AsterixExternalProperties
>>>> and
>>>> the configuration xml file with the port I want to use. Everything
>>>> compiles
>>>> and runs but when trying to connect I get connection refused error, the
>>>> servlet is not running.
>>>>
>>>>
>>>> Am I doing anything wrong, Thabks in advance,
>>>>
>>>> Kaveen Rodrigo
>>>>
>>>>
>>>
>>
>> --
>> Kaveen Rodrigo
>> Personal Website - (lifeofenigma.com)
>>
>>
>> Software Engineering Undergraduate,
>> Informatics Institute of Technology Sri Lanka (Affiliated with University
>> of Westminster, UK)
>>
>>
>> *Contact Information*
>>
>> *Mobile* +94779684740
>>
>> *E-Mail*  kaveen.2013175@iit.ac.lk | u.k.k.rodrigo@gmail.com
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message