geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gianny Damour <gianny.dam...@optusnet.com.au>
Subject Re: [M2] Failing *one* test in the kernel module
Date Mon, 20 Feb 2006 11:44:23 GMT
Jacek Laskowski wrote:

>Hi,
>
>  
>
<snip>

>Here's the snippet of the test report:
>
>$ more modules/kernel/target/surefire-reports/org.apache.geronimo.gbean.GBeanNameTest.txt
>...
>java.net.MalformedURLException: no protocol: and
>        at java.net.URL.<init>(URL.java:537)
>        at java.net.URL.<init>(URL.java:434)
>        at java.net.URL.<init>(URL.java:383)
>
>  
>
<snip>

>According to http://java.sun.com/j2se/1.4.2/docs/api/java/rmi/MarshalledObject.html,
>during the serialization (MarshalledObject.get) an object is annotated
>with information that's necessary for deserialization. Upon closer
>look, during debugging session, I've noticed that
>java.rmi.server.RMIClassLoader is provided with the value of null for
>codebase parameter in Maven1 while codebase is set to the entire test
>classpath in M2. Since it contains entires separated with spaces, any
>directory with spaces is divided inappropriately leading to the above
>exception.
>
>Is there anyone who could lend me a hand and sort it out? Should I
>find for help in the user@maven mailing list? Brett, Jason, Vincent -
>could you help with it?
>  
>
As a work-around, I have committed the reset of the RMI code base 
property prior to use MarshalledObject.

Thanks,
Gianny

>Jacek (utterly frustrated by not achieving at least a partial success
>with M2 after the *whole* weekend)
>
>--
>Jacek Laskowski
>http://www.laskowski.org.pl
>
>
>
>  
>



Mime
View raw message