Shared classpath causes java.net.MalformedURLException on windows for jboss51x

Description

Addition of a shared classpath to JBoss 5.1 like this:

1 2 3 4 5 6 7 8 9 10 <container> <containerId>jboss51x</containerId> ... <dependencies> <dependency> <groupId>p6spy</groupId> <artifactId>p6spy</artifactId> <classpath>shared</classpath> </dependency> </dependencies>

causes java.net.MalformedURLException, because the JAR is added to jboss-service.xml as path:

1 <classpath codebase="C:\Documents and Settings\user\.m2\repository\p6spy\p6spy\1.3" archives="p6spy-1.3.jar"/>

,but JBoss expects valid URL like this:

1 <classpath codebase="file:///C:\Documents and Settings\user\.m2\repository\p6spy\p6spy\1.3" archives="p6spy-1.3.jar"/>

Status

Assignee

Savas Ali Tokmen

Reporter

Hrabur Trndafilov

Components

Fix versions

Affects versions

1.1.2

Priority

Major