There was still a problem here in that the jboss.server.home.dir needs to be set before
any log4j calls are made or else  the boot.log that is generated in between startup and
the time the Log4jService is  started is dumped to /log/boot.log. I broke out the
initialization of the base system properties from the homeURL so that the homeURL
can be initialized after the URLStreamHandlerFactory has been set.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

----- Original Message ----- 
From: "Jeremy Boynes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 11:42 AM
Subject: Re[6]: [JBoss-dev] URLConnection and opened files


> Alex
> 
> The light went on and I'm now wondering if I triggered this with the changes
> for deployment scanning.
> 
> IIRC the code used to generate new URLs from the File paths returned during
> the scan, basically using the URL(String) constructor with the path.
> 
> It now creates URLs relative to the location being scanned using the
> URL(URL, String) version. The context URL is the one obtained from
> ServerConfig.getServerHomeURL().
> 
> If this is set before the custom handler factory is set up, then all
> deployed URLs would be using Sun's handler :-(
> 
> I think this is happening because ServerImpl.doInit() creates the
> ServerConfigImpl before setting up the URLStreamHandlerFactory.
> 
> Would it make sense just to move the factory set-up to the very start of
> doInit()?
> 
> Jeremy
> 



-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to