Thanks for pointing to this, but I think the problem is not there.
I suspect the classes are somehow not getting to the classpath.

I'm running jdk1.3.1_05. Note, earlier I ran JBoss w/o these problems
on this same VM.

Please, let me know whether it's only me watching it.

Thanks,
alex

Monday, January 13, 2003, 7:31:06 PM, you wrote:

SMS> Our FileURLConnection  should be picked due to the org.jboss.net.protocol
SMS> package being placed into the java.protocol.handler.pkgs by thiscode in
SMS> org.jboss.system.server.ServerImpl.doInit:

SMS>       // Include the default JBoss protocol handler package
SMS>       String handlerPkgs = System.getProperty("java.protocol.handler.pkgs");
SMS>       if (handlerPkgs != null)
SMS>       {
SMS>          handlerPkgs += "|org.jboss.net.protocol";
SMS>       }
SMS>       else
SMS>       {
SMS>          handlerPkgs = "org.jboss.net.protocol";
SMS>       }
SMS>       System.setProperty("java.protocol.handler.pkgs", handlerPkgs);

SMS> xxxxxxxxxxxxxxxxxxxxxxxx
SMS> Scott Stark
SMS> Chief Technology Officer
SMS> JBoss Group, LLC
SMS> xxxxxxxxxxxxxxxxxxxxxxxx

SMS> ----- Original Message ----- 
SMS> From: "Alex Loubyansky" <[EMAIL PROTECTED]>
SMS> To: "JBoss-Dev" <[EMAIL PROTECTED]>
SMS> Sent: Monday, January 13, 2003 4:10 AM
SMS> Subject: [JBoss-dev] URLConnection and opened files


>> I am investingating the problem with inability remove deployed files.
>> 
>> First, I've found that URLDeploymentScanner uses
>> sun.net.www.protocol.file.FileURLConnection. For example here:
>> URLConnection connection;
>> if (watchUrl != null)
>> {
>>    connection = watchUrl.openConnection();
>> }
>> else
>> {
>>    connection = url.openConnection();
>> }
>> The connection is of type sun.net.www.protocol.file.FileURLConnection.
>> There are at least two problems with it:
>> 1. incorrect last modified (occurs to be always 0)
>> 2. after invoking connection.getLastModified() the target file can't
>> be removed on windows.
>> I guess org.jboss.net.protocol.file.FileURLConnection shuold be used
>> instead. But haven't figured out how to set it instead of Sun's.
>> Could someone hint?
>> 
>> Thanks,
>> alex




-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to