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
] URLConnection and opened files
Yes, I thought about it too. There are two cases:
- the thread creating URL can't find custom handlers;
- Sun's handler was somehow initialized/used before (before setting the
property or somehow else?)
But I can't understand why my standalone test doesn't work. I
SMS
SMS - Original Message -
SMS From: Alex Loubyansky [EMAIL PROTECTED]
SMS To: Scott M Stark [EMAIL PROTECTED]
SMS Sent: Tuesday, January 14, 2003 7:07 AM
SMS Subject: Re[4]: [JBoss-dev] URLConnection and opened files
I'm a bit confused. I wrote a simple
, January 15, 2003 5:21 AM
To: Scott M Stark
Subject: Re[6]: [JBoss-dev] URLConnection and opened files
Here are my findings.
First, JBoss-3.0 is ok. The problem is in JBoss-3.2 and HEAD.
Second, I found the cause.
The resources we want to load with our custom handlers
through class loaders must
- 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
OK - changed this in 3.2 and HEAD and I can now delete a .war archive I
couldn't before.
Alex, can you let me know if this worked for you. Sorry about the hassle.
Yes, the setup of the URL handlers should be the very first thing
done in doInit.
There is nothing in that layer that can rely on
Thursday, January 16, 2003, 1:38:59 AM, you wrote:
JB OK - changed this in 3.2 and HEAD and I can now delete a .war archive I
JB couldn't before.
JB Alex, can you let me know if this worked for you. Sorry about the hassle.
Yes, it works now.
Thanks,
alex
I'm a bit confused. I wrote a simple standalone test.
- main
public static void main(String[] args) throws Exception
{
// set handler pkgs
System.out.println(java.protocol.handler.pkgs: +
System.getProperty(java.protocol.handler.pkgs));
URL url = new URL(file, null, args[0]);
, January 14, 2003 7:07 AM
Subject: Re[4]: [JBoss-dev] URLConnection and opened files
I'm a bit confused. I wrote a simple standalone test.
- main
public static void main(String[] args) throws Exception
{
// set handler pkgs
System.out.println(java.protocol.handler.pkgs
-dev] URLConnection and opened files
I'm a bit confused. I wrote a simple standalone test.
- main
public static void main(String[] args) throws Exception
{
// set handler pkgs
System.out.println(java.protocol.handler.pkgs: +
System.getProperty(java.protocol.handler.pkgs));
URL
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
Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: Alex Loubyansky [EMAIL PROTECTED]
To: JBoss-Dev [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 4:10 AM
Subject: [JBoss-dev] URLConnection and opened files
I am investingating the problem
]
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
On Mon, 13 Jan 2003, Scott M Stark wrote:
Our FileURLConnection should be picked due to the org.jboss.net.protocol
package being placed into the java.protocol.handler.pkgs by thiscode in
org.jboss.system.server.ServerImpl.doInit:
// Include the default JBoss protocol handler package
] URLConnection and opened files
On Mon, 13 Jan 2003, Scott M Stark wrote:
Our FileURLConnection should be picked due to the org.jboss.net.protocol
package being placed into the java.protocol.handler.pkgs by thiscode in
org.jboss.system.server.ServerImpl.doInit:
// Include
Message -
From: Alex Loubyansky [EMAIL PROTECTED]
To: Scott M Stark [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 11:30 AM
Subject: Re[2]: [JBoss-dev] URLConnection and opened files
Thanks for pointing to this, but I think the problem is not there.
I suspect the classes are somehow
PROTECTED]
SMS Sent: Monday, January 13, 2003 11:30 AM
SMS Subject: Re[2]: [JBoss-dev] URLConnection and opened files
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
17 matches
Mail list logo