Date: Mon, 25 Nov 2002 10:19:58 +0100 From: Serge Huber <serge.huber@jahia.com> To: <install_list@jahia.org> Subject: Re: Help with install on FreeBSD needed. Message-ID: <5.1.0.14.0.20021125101643.02696ec0@mail.jahia.com> In-Reply-To: <20021124213728.31490.qmail@bsd.ultra-secure.de> References: <5.1.0.14.0.20021124213636.0265f048@mail.jahia.com> <5.1.0.14.0.20021122150207.03ea6dd0@mail.jahia.com> <5.2.0.9.0.20021122102439.017e7e28@mail.jahia.com> <5.2.0.9.0.20021122102439.017e7e28@mail.jahia.com> <5.1.0.14.0.20021122150207.03ea6dd0@mail.jahia.com> <5.1.0.14.0.20021124213636.0265f048@mail.jahia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Rainer, Indeed the logs don't say much more :( Anyway I've checked the code in which the exception is generated, and it looks like this : public void init( JahiaPrivateSettings jSettings ) throws JahiaInitializationException { try { loadConfiguration(jSettings.jahiaEtcDiskPath + this.CONFIG_PATH + File.separator + this.CONFIG_FILE_NAME); } catch (JahiaException je) { JahiaConsole.printe("JahiaUserManagerRoutingService.init#" + "Error while trying to load configuration from " + jSettings.jahiaEtcDiskPath + this.CONFIG_PATH + File.separator + this.CONFIG_FILE_NAME, je); throw new JahiaInitializationException("Error while trying to load configuration from " + jSettings.jahiaEtcDiskPath + this.CONFIG_PATH + File.separator + this.CONFIG_FILE_NAME + " Exception:" + je.getMessage()); } Iterator providerIter = providersTable.keySet().iterator(); while (providerIter.hasNext()) { String curProviderKey = (String) providerIter.next(); UserManagerProviderBean curProvider = (UserManagerProviderBean) providersTable.get(curProviderKey); curProvider.getInstance().init(jSettings); } } On the last line (curProvider.getInstance().init(jSettings)) is where the null pointer exception is generated. I'm guessing the curProvider.getInstance() call is failing for some reason. The getInstance() call uses reflection to get the instance, and maybe this is failing on FreeBSD for some reason ?! Regards, Serge Huber. At 22:37 24.11.2002 +0100, you wrote: >Serge Huber writes: >>Hi Rainer, >>Just one more thought, it seems you might be having a problem with XML >>parsers. Check that you have not modified anything from the default >>install in that regards. > >No, I always wipe the install after an unsuccessful try. >Also, I don't try to replace the tomcat you supply with the one form the >ports-tree, I've given up on that ;-) >>Or it might just be that Tomcat's getRealPath() method behaves >>differently on FreeBSD. > >I've done a run with a log_level of 10, which you'll find attached. > > >cheers, >Rainer >-- >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Rainer Duffner Munich >rainer@ultra-secure.de Germany >http://www.i-duffner.de Freising >======================================== > When shall we three meet again > In thunder, lightning, or in rain? >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > --=_0_4402_1038328479-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20021125101643.02696ec0>