Hi Rob.

On Mon, Feb 22, 2016 at 3:58 AM, Rob Atkinson <[email protected]>
wrote:

> Hi
>  this may not be a Marmotta issue at all - but maybe it is -
>
> I have another application deployed using a JNDI connection - defined in
> TOMCAT/conf/Catalina/localhost/myapp.xml
>
> When I deploy marmotta - this application stops working - and throws an
> exception:
>  *default context factory java.naming.factory.initial could not be
> initialised*
>
> *Can anyone identify the problem and whether its a Marmotta issue at all?*
>

Marmotta uses its custom JNDI factory, see
https://github.com/apache/marmotta/blob/develop/launchers/marmotta-webapp/src/main/webapp/WEB-INF/web.xml#L26

So it might be the source of your issues, because the error log that you
see looks to come from Marmotta:
https://github.com/apache/marmotta/blob/develop/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/jndi/MarmottaInitialContextFactoryBuilder.java#L48

Which comes to say that Marmotta was not able to retrieve the system
default context factory. So we should find a solution for environments like
yours...

Anybody around here with experience on JNDI at that level?

-- 
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 6602747925
e: [email protected]
w: http://redlink.co

Reply via email to