Patches item #512110, was opened at 2002-02-02 05:45
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=512110&group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole (unstable)
Status: Open
Resolution: None
Priority: 5
Submitted By: �smund Hjulstad (ahjulsta)
Assigned to: Nobody/Anonymous (nobody)
Summary: URL <-> file confusion i AbstractWebCont

Initial Comment:

The javadoc for the performDeploy in 
AbstractWebContainer states that it should get a 
String representation of the URL to web application 
war.

At the moment, it only gives the file-name part, 
causing "missing protocol" error messages.

Problem fixed by the following patch: (also attached 
as file on SourceForge)


diff -u -r1.14 AbstractWebContainer.java
--- 
./server/src/main/org/jboss/web/AbstractWebContainer.java 
  2002/02/02 01:00:46     1.14
+++ 
./server/src/main/org/jboss/web/AbstractWebContainer.java 
  2002/02/02 13:43:51
@@ -266,7 +266,7 @@
          URLClassLoader warLoader = 
URLClassLoader.newInstance(empty, appClassLoader);
          thread.setContextClassLoader(warLoader);
          WebDescriptorParser webAppParser = new 
DescriptorParser();
-         WebApplication warInfo = 
performDeploy(di.webContext, di.localUrl.getFile(), 
webAppParser);
+         WebApplication warInfo = 
performDeploy(di.webContext, di.localUrl.toString(), 
webAppParser);
          deploymentMap.put(di.localUrl, warInfo);
       }
       catch(DeploymentException e)




----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=512110&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to