From serge.huber@jahia.com Mon Nov 25 10:19:58 2002 Received: (qmail 35828 invoked from network); 25 Nov 2002 09:20:20 -0000 Received: from unknown (HELO aline.hexocube.com) (80.74.132.18) by bsd.ultra-secure.de with SMTP; 25 Nov 2002 09:20:20 -0000 Received: (qmail 15183 invoked by uid 529); 25 Nov 2002 09:19:59 -0000 Mailing-List: contact install_list-help@jahia.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: List-Unsubscribe: Reply-To: Delivered-To: mailing list install_list@jahia.org Received: (qmail 15175 invoked from network); 25 Nov 2002 09:19:59 -0000 Message-Id: <5.1.0.14.0.20021125101643.02696ec0@mail.jahia.com> X-Sender: shuber@jahia.com@mail.jahia.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 25 Nov 2002 10:19:58 +0100 To: From: Serge Huber Subject: Re: Help with install on FreeBSD needed. 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-UID: 16 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