geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Cabrera (JIRA)" <...@geronimo.apache.org>
Subject [jira] Commented: (GERONIMO-1233) Bulk patch for ORB contribution
Date Fri, 02 Dec 2005 16:19:30 GMT
    [ http://issues.apache.org/jira/browse/GERONIMO-1233?page=comments#action_12359165 ] 

Alan Cabrera commented on GERONIMO-1233:
----------------------------------------

The tests fail because I have a space in the path to my M2 repo; I'm on a windows box.  The
error I get is:

[server:err] java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
[server:err]    java.net.MalformedURLException: no protocol: and
[server:err]    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
[server:err]    at org.apache.geronimo.corba.testframework.TestAgent.main(TestAgent.java:150)
[server:err] Caused by: java.net.MalformedURLException: no protocol: and
[server:err]    at java.net.URL.<init>(URL.java:537)
[server:err]    at java.net.URL.<init>(URL.java:434)
[server:err]    at java.net.URL.<init>(URL.java:383)
[server:err]    at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747)
[server:err]    at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147)
[server:err]    at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631)
[server:err]    at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257)
[server:err]    at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:200)
[server:err]    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
[server:err]    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
[server:err]    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
[server:err]    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
[server:err]    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
[server:err]    ... 2 more
[server:out] EOF
[server:err] Exception in thread "main"
[server:err] EOF

The proper way fix this is to install a custom RMIClassLoader that handles spaces.  The problem
is that, currently, the only way around this is to declare it on the command line for the
entire build/test.  The Surefire group is working on extending the surefire testing framework
to allow spawning of tests and it is there that we will declare our custom RMIClassLoader.


> Bulk patch for ORB contribution
> -------------------------------
>
>          Key: GERONIMO-1233
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1233
>      Project: Geronimo
>         Type: Sub-task
>   Components: CORBA
>     Versions: 1.1
>     Reporter: Kresten Krab Thorup
>     Assignee: Alan Cabrera
>  Attachments: gcorba-nov-28-2005.patch.gz, gcorba-nov-29-2005.patch.gz, tools-dependency.patch
>
> This is the (hopefully) last bulk patch for the ORB.
> This includes the following elements:
> - JUnit tests for "hello world" functionality (client stream-based invocations)
> - code to make the JUnit test work.
> As such, this is a platform where we can now start doing work in smaller chunks.  Up
til now "nothing worked" so it was rather difficult to submit individual patches tied to individual
Jira issues.
> The patch needs the idlj plugin in a version that is not yet in maven repository

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message