You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by Gareth Williams <GW...@bmtdsl.co.uk> on 2018/01/03 10:47:56 UTC

Add Apache Knox Services

I am unable to add new services to my Apache Knox installation. For example, I have created a tomcat site which hosts a static html file.  I have added it to Knox as a service called 'Simple'.

When I attempt to visit a page within one of the new services, I receive a 404 page from jetty (not tomcat).

I have attached my topology and services xml files and my log files.

Thanks,

Gareth

Re: Add Apache Knox Services

Posted by larry mccay <lm...@apache.org>.
It all looks okay to me.
You may need to touch the sandbox.xml file.

If you happen to have had it configured in the topology before you added
the service definition AND restarted then the generated webapp wouldn't
have known about the service and it wouldn't have been added to the
gateway.xml file in the webapp.

You can check that file - if you like or just touch the topology and see if
the new deployment works.

On Wed, Jan 3, 2018 at 5:47 AM, Gareth Williams <GW...@bmtdsl.co.uk>
wrote:

> I am unable to add new services to my Apache Knox installation. For
> example, I have created a tomcat site which hosts a static html file.  I
> have added it to Knox as a service called ‘Simple’.
>
> When I attempt to visit a page within one of the new services, I receive a
> 404 page from jetty (not tomcat).
>
> I have attached my topology and services xml files and my log files.
>
> Thanks,
>
> Gareth
>