[kaffe] Running JOnAS (head, 4.6) on Kaffe (head, 1.1.6)

Dalibor Topic robilad at kaffe.org
Wed Sep 21 09:27:28 PDT 2005


Rei Odaira wrote:
> Dalibor Topic wrote:
> 
> 
>>In file conf/jonas.properties, one needs to remove ear services from 
>>jonas.services, since they do not work yet, due to an odd issue with jar 
>>url connections. So one need to set jonas.services to
>>
>>jonas.services    registry,jmx,jtm,db,dbm,security,resource,ejb,ws,web
> 
> 
> Is that the same bug as the one I fixed in [1]?

Hi Rei,

it seems to be a different bug wrt to reative URL resolution. The final 
stack trace ends with
[snip]
    ...9 more
Caused by: WSDLException: faultCode=OTHER_ERROR: Unable to resolve 
imported document at 
'jar:file:/home/dalibor/great-stuff/jonas_4_6/work/apps/jonas/mejb_2005.08.11-18.00.55/mejb.jar!/META-INF/wsdl/ManagementEndpoint.wsdl', 
relative to 
'jar:file:/home/dalibor/great-stuff/jonas_4_6/work/apps/jonas/mejb_2005.08.11-18.00.55/mejb.jar!/META-INF/wsdl/ManagementEndpoint.wsdl'.: 
No entry for 
META-INF/wsdl/file:/home/dalibor/great-stuff/jonas_4_6/work/apps/jonas/mejb_2005.08.11-18.00.55/mejb.jar!/META-INF/wsdl/ManagementEndpoint.wsdl 
exists.: java.io.IOException: No entry for 
META-INF/wsdl/file:/home/dalibor/great-stuff/jonas_4_6/work/apps/jonas/mejb_2005.08.11-18.00.55/mejb.jar!/META-INF/wsdl/ManagementEndpoint.wsdl 
exists.
    at gnu.java.net.protocol.jar.Connection.connect (Connection.java:137)
    at java.net.URLConnection.getContent (URLConnection.java:435)
    at java.net.URL.getContent (URL.java:504)
[snip]
so I guess relative URL resolution plays havoc with some of the code in 
the class libs in this case.

> If so, the patch attached with [1] would help.

Thanks! An equivalent patch was checked into GNU Classpath a few days 
ago, and I picked it up during the regular syncing. If there are other 
patches from you that have not been committed yet, please speak up! ;)

cheers,
dalibor topic




More information about the kaffe mailing list