openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Urbanek <>
Subject Odd Problem (FileNotFoundException) using OWB with Websphere 7.0 on z/Os
Date Fri, 12 Aug 2011 15:15:26 GMT

I encountered an odd problem with Websphere and OWB. When using OWB on 
Websphere in the Method AnnotationDB.scanUrlPath() an 
FileNotFoundException occurs. 
The reason is, that there is always a "r:" prefix on the jar paths that 
get scanned. When I do a sysout(url) in the method ensureCorrectUrlFormat
() the output looks like the following:


([...] is truncated)

The only way i managed to get OWB running is to add the following code to 
the beginning of the ensureCorrectUrlFormat() Method:

        if (url.startsWith("r:")){

That doesn't seem like a good solution to me. Has anyone a better idea how 
to solve this issue?

Best regards Marcel

RSC Commercial Services GmbH & Co. OHG, Wanheimer Strasse 70, D-40468 Duesseldorf - Sitz:
Duesseldorf - Registergericht: Duesseldorf HRA 12655
Persoenlich haftende Gesellschafter:
C&A Retail GmbH - Sitz: Zug/Schweiz - Handelsregister Kanton Zug: CH-
Geschaeftsfuehrer: Bart F. Brenninkmeijer, Martijn N. N. Brenninkmeijer, Tjeerd E. van der
Zee, Robert H. A. M. Smeele, Anthony H. Stam,
FRM PARTICIPATIONS S.A. - Sitz: Luxemburg/Luxemburg - Handels- und Firmenregister Luxemburg:
B 58158
Verwaltungsratsmitglieder: Rafael G. E. Bogaerts, John Drury, Michel de Groote, Johny Seré,
Robert H. A. M. Smeele

View raw message