I think this is because something (scannotation?) is truncating off 4 characters (expecting "jar:" or "zip:"), but you are probably getting "wsjar:" which leaves the "r:" at the end.
Sincerely, Joe On Fri, Aug 12, 2011 at 11:15 AM, Marcel Urbanek <[email protected]> wrote: > Hi, > > 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: > > > r:file:/SYS[...]/EAI_N01_jsf-showcase-2.0.29-SNAPSHOT.ear/jsf-showcase-2.0.29-SNAPSHOT.war/WEB-INF/lib/myfaces-extcdi-jsf20-module-api-0.9.0.jar > > ([...] 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:")){ > url=url.substring(2); > } > > 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 Straße 70, D-40468 > Düsseldorf - Sitz: Düsseldorf - Registergericht: Düsseldorf HRA 12655 > Persönlich haftende Gesellschafter: > C&A Retail GmbH - Sitz: Zug/Schweiz - Handelsregister Kanton Zug: > CH-170.4.010.137-5 > Geschäftsführer: 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
